Home
last modified time | relevance | path

Searched refs:texHeight (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp29 const int texHeight = 66; in TEST_F() local
34 texWidth, texHeight)); in TEST_F()
50 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F()
60 glViewport(0, 0, texWidth, texHeight); in TEST_F()
79 const int texHeight = 64; in TEST_F() local
84 texWidth, texHeight)); in TEST_F()
100 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F()
110 glViewport(0, 0, texWidth, texHeight); in TEST_F()
129 const int texHeight = 66; in TEST_F() local
134 texWidth, texHeight)); in TEST_F()
[all …]
DSurfaceTextureGLToGL_test.cpp26 const uint32_t texHeight = 64; in TEST_F() local
28 mST->setDefaultBufferSize(texWidth, texHeight); in TEST_F()
59 ASSERT_EQ(texHeight, buf->getWidth()); in TEST_F()
62 ASSERT_EQ(texHeight, buf->getHeight()); in TEST_F()
77 ASSERT_EQ(texHeight, buf->getHeight()); in TEST_F()
82 const int texHeight = 64; in TEST_F() local
84 mST->setDefaultBufferSize(texWidth, texHeight); in TEST_F()
132 glViewport(0, 0, texWidth, texHeight); in TEST_F()
340 enum { texHeight = 64 }; in TEST_F() enumerator
349 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight); in TEST_F()
[all …]
DSurfaceTextureFBO_test.cpp28 const int texHeight = 64; in TEST_F() local
33 texWidth, texHeight)); in TEST_F()
49 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255, in TEST_F()
73 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0, in TEST_F()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java220 int texHeight = getTextureHeight(); in uploadToCanvas() local
222 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas()
228 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas()
240 Bitmap line = getBorderLine(true, config, texHeight); in uploadToCanvas()
250 Bitmap line = getBorderLine(true, config, texHeight); in uploadToCanvas()
255 if (mBorder + bHeight < texHeight) { in uploadToCanvas()
DGLES20Canvas.java647 int texHeight = texture.getTextureHeight(); in convertCoordinate() local
651 source.top /= texHeight; in convertCoordinate()
652 source.bottom /= texHeight; in convertCoordinate()
660 float yBound = (float) height / texHeight; in convertCoordinate()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java610 int texHeight = mCameraHeight + mCameraHeight / 2; in grabFrame() local
613 clientTex.allocateWithPixels(pixels, texWidth, texHeight); in grabFrame()