/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 29 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 …]
|
D | SurfaceTextureGLToGL_test.cpp | 26 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 …]
|
D | SurfaceTextureFBO_test.cpp | 28 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/ |
D | UploadedTexture.java | 220 int texHeight = getTextureHeight(); in uploadToCanvas() local 222 Assert.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()
|
D | GLES20Canvas.java | 647 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/core/java/android/hardware/camera2/legacy/ |
D | SurfaceTextureRenderer.java | 266 float texHeight = dimens.getHeight(); in drawFrame() local 268 if (texWidth <= 0 || texHeight <= 0) { in drawFrame() 273 RectF intermediate = new RectF(/*left*/0, /*top*/0, /*right*/texWidth, /*bottom*/texHeight); in drawFrame() 293 "x" + texHeight); in drawFrame()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 610 int texHeight = mCameraHeight + mCameraHeight / 2; in grabFrame() local 613 clientTex.allocateWithPixels(pixels, texWidth, texHeight); in grabFrame()
|