Searched refs:texWidth (Results 1 - 7 of 7) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureFBO_test.cpp27 const int texWidth = 64; local
31 texWidth, texHeight, HAL_PIXEL_FORMAT_RGBA_8888));
45 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255,
69 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0,
H A DSurfaceTextureGLToGL_test.cpp25 const uint32_t texWidth = 32; local
28 mST->setDefaultBufferSize(texWidth, texHeight);
55 ASSERT_EQ(texWidth, buf->getHeight());
58 ASSERT_EQ(texWidth, buf->getWidth());
73 ASSERT_EQ(texWidth, buf->getWidth());
78 const int texWidth = 64; local
81 mST->setDefaultBufferSize(texWidth, texHeight);
126 glViewport(0, 0, texWidth, texHeight);
324 enum { texWidth = 64 }; enumerator in enum:android::__anon1335
331 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeigh
381 enum { texWidth = 64 }; enumerator in enum:android::__anon1337
442 enum { texWidth = 64 }; enumerator in enum:android::__anon1339
[all...]
H A DSurfaceTextureGL_test.cpp28 const int texWidth = 64; local
32 texWidth, texHeight, HAL_PIXEL_FORMAT_YV12));
46 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
56 glViewport(0, 0, texWidth, texHeight);
74 const int texWidth = 64; local
78 texWidth, texHeight, HAL_PIXEL_FORMAT_YV12));
92 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
102 glViewport(0, 0, texWidth, texHeight);
120 const int texWidth = 64; local
124 texWidth, texHeigh
183 enum { texWidth = 16 }; enumerator in enum:android::__anon1341
326 const int texWidth = 64; local
368 const int texWidth = 64; local
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java219 int texWidth = getTextureWidth();
222 Assert.assertTrue(bWidth <= texWidth && bHeight <= texHeight);
228 if (bWidth == texWidth && bHeight == texHeight) {
244 line = getBorderLine(false, config, texWidth);
249 if (mBorder + bWidth < texWidth) {
256 Bitmap line = getBorderLine(false, config, texWidth);
H A DGLES20Canvas.java646 int texWidth = texture.getTextureWidth();
649 source.left /= texWidth;
650 source.right /= texWidth;
655 float xBound = (float) width / texWidth;
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSurfaceTextureRenderer.java265 float texWidth = dimens.getWidth();
268 if (texWidth <= 0 || texHeight <= 0) {
273 RectF intermediate = new RectF(/*left*/0, /*top*/0, /*right*/texWidth, /*bottom*/texHeight);
292 width + "x" + height + " surface, intermediate buffer size is " + texWidth +
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java609 int texWidth = mCameraWidth / 4;
613 clientTex.allocateWithPixels(pixels, texWidth, texHeight);

Completed in 101 milliseconds