/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
GlTextureFrameBuffer.java | 43 private int height; field in class:GlTextureFrameBuffer 62 this.height = 0; 85 public void setSize(int width, int height) { 86 if (width == 0 || height == 0) { 87 throw new IllegalArgumentException("Invalid size: " + width + "x" + height); 89 if (width == this.width && height == this.height) { 93 this.height = height; 102 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, pixelFormat, width, height, 0, pixelFormat [all...] |
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
hooks_android.cpp | 19 extern void Init(int width, int height);
24 JNIEXPORT void JNICALL Java_com_android_gputest_GLtestLib_init(JNIEnv * env, jobject obj, jint width, jint height);
28 JNIEXPORT void JNICALL Java_com_android_gputest_GLtestLib_init(__attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj, jint width, jint height)
30 Init(width, height);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PorterDuffColorFilterTest.java | 33 int height = 100; local 34 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888); 36 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); 39 Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888); 48 canvas.drawBitmap(b2, 0, height / 2, p); 49 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); 50 int lowerLeft = target.getPixel(width / 4, height * 3 / 4); 53 int lowerRight = target.getPixel(width * 3 / 4, height * 3 / 4); 61 canvas.drawBitmap(b2, 0, height / 2, p); 62 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)) [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
PassComparer.java | 24 int height) {
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
CanvasClient.java | 27 void draw(Canvas canvas, int width, int height);
|
/developers/build/prebuilts/gradle/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
AutoFitTextureView.java | 49 * @param height Relative vertical size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 55 if (mRatioWidth == width && mRatioHeight == height) { 59 mRatioHeight = height; 67 int height = MeasureSpec.getSize(heightMeasureSpec); local 69 setMeasuredDimension(width, height); 71 if (width < height * mRatioWidth / mRatioHeight) { 74 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height); [all...] |
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/assets/ |
sample.css | 26 height: 48px; 34 height: 180px;
|
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/assets/ |
sample.css | 26 height: 48px; 34 height: 180px;
|
/developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
AutoFitTextureView.java | 49 * @param height Relative vertical size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 55 if (mRatioWidth == width && mRatioHeight == height) { 59 mRatioHeight = height; 67 int height = MeasureSpec.getSize(heightMeasureSpec); local 69 setMeasuredDimension(width, height); 71 if (width < height * mRatioWidth / mRatioHeight) { 74 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height); [all...] |
/development/ndk/platforms/android-18/samples/gles3jni/src/com/android/gles3jni/ |
GLES3JNILib.java | 28 public static native void resize(int width, int height);
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
app.h | 43 extern void appRender(long tick, int width, int height);
|
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
AutoFitTextureView.java | 49 * @param height Relative vertical size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 55 if (mRatioWidth == width && mRatioHeight == height) { 59 mRatioHeight = height; 67 int height = MeasureSpec.getSize(heightMeasureSpec); local 69 setMeasuredDimension(width, height); 71 if (width < height * mRatioWidth / mRatioHeight) { 74 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height); [all...] |
/development/tools/yuv420sp2rgb/ |
cmdline.h | 8 int *height,
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
app.h | 48 extern void appRender(long tick, int width, int height);
|
/external/deqp/modules/egl/ |
teglGLES1RenderUtil.cpp | 41 void clear (int x, int y, int width, int height, const tcu::Vec4& color) 44 glScissor(x, y, width, height); 50 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) 52 dst.setSize(width, height); 53 glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr()); 63 void clear (int x, int y, int width, int height, const tcu::Vec4& color) 65 DE_UNREF(x && y && width && height); 70 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) 72 DE_UNREF(x && y && width && height);
|
teglVGRenderUtil.cpp | 41 void clear (int x, int y, int width, int height, const tcu::Vec4& color) 44 vgClear(x, y, width, height); 48 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) 50 dst.setSize(width, height); 51 vgReadPixels(dst.getAccess().getDataPtr(), width*4, VG_sRGBA_8888, 0, 0, width, height); 61 void clear (int x, int y, int width, int height, const tcu::Vec4& color) 63 DE_UNREF(x && y && width && height); 68 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) 70 DE_UNREF(x && y && width && height);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
AttributeStrategy.java | 21 public Bitmap get(int width, int height, Bitmap.Config config) { 22 final Key key = keyPool.get(width, height, config); 38 public String logBitmap(int width, int height, Bitmap.Config config) { 39 return getBitmapString(width, height, config); 56 private static String getBitmapString(int width, int height, Bitmap.Config config) { 57 return "[" + width + "x" + height + "], " + config; 62 public Key get(int width, int height, Bitmap.Config config) { 64 result.init(width, height, config); 78 private int height; field in class:AttributeStrategy.Key 86 public void init(int width, int height, Bitmap.Config config) [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
PreloadTarget.java | 18 * @param height The height in pixels of the desired resource. 21 public static <Z> PreloadTarget<Z> obtain(int width, int height) { 22 return new PreloadTarget<Z>(width, height); 25 private PreloadTarget(int width, int height) { 26 super(width, height);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/ |
GwtApplicationConfiguration.java | 26 /** the height of the drawing area in pixels **/
27 public int height;
field in class:GwtApplicationConfiguration 55 public GwtApplicationConfiguration (int width, int height) {
57 this.height = height;
|
/external/libgdx/gdx/src/com/badlogic/gdx/ |
ApplicationListener.java | 39 * @param height the new height in pixels */
40 public void resize (int width, int height);
|
Screen.java | 36 public void resize (int width, int height);
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/ |
SizeToAction.java | 34 public void setSize (float width, float height) {
36 endHeight = height;
51 public void setHeight (float height) {
52 endHeight = height;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_etc.h | 32 util_format_etc1_rgb8_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 35 util_format_etc1_rgb8_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 38 util_format_etc1_rgb8_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 41 util_format_etc1_rgb8_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height);
|
u_format_latc.h | 35 util_format_latc1_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 38 util_format_latc1_unorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 41 util_format_latc1_unorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 44 util_format_latc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 55 util_format_latc1_snorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 58 util_format_latc1_snorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 61 util_format_latc1_snorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 64 util_format_latc1_snorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 74 util_format_latc2_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 77 util_format_latc2_unorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); [all...] |
/external/mesa3d/src/gallium/targets/graw-null/ |
graw_null.c | 10 unsigned height,
|