/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGLToGL_test.cpp | 25 const uint32_t texWidth = 32; in TEST_F() local 28 mST->setDefaultBufferSize(texWidth, texHeight); in TEST_F() 55 ASSERT_EQ(texWidth, buf->getHeight()); in TEST_F() 58 ASSERT_EQ(texWidth, buf->getWidth()); in TEST_F() 73 ASSERT_EQ(texWidth, buf->getWidth()); in TEST_F() 78 const int texWidth = 64; in TEST_F() local 81 mST->setDefaultBufferSize(texWidth, texHeight); in TEST_F() 126 glViewport(0, 0, texWidth, texHeight); in TEST_F() 329 enum { texWidth = 64 }; in TEST_F() enumerator 336 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight); in TEST_F() [all …]
|
D | SurfaceTextureGL_test.cpp | 28 const int texWidth = 64; in TEST_F() local 32 texWidth, texHeight)); in TEST_F() 48 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F() 58 glViewport(0, 0, texWidth, texHeight); in TEST_F() 76 const int texWidth = 64; in TEST_F() local 80 texWidth, texHeight)); in TEST_F() 96 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F() 106 glViewport(0, 0, texWidth, texHeight); in TEST_F() 124 const int texWidth = 64; in TEST_F() local 128 texWidth, texHeight)); in TEST_F() [all …]
|
D | SurfaceTextureFBO_test.cpp | 27 const int texWidth = 64; in TEST_F() local 31 texWidth, texHeight)); in TEST_F() 47 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255, in TEST_F() 71 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0, in TEST_F()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | UploadedTexture.java | 219 int texWidth = getTextureWidth(); in uploadToCanvas() local 222 Assert.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas() 228 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas() 244 line = getBorderLine(false, config, texWidth); in uploadToCanvas() 249 if (mBorder + bWidth < texWidth) { in uploadToCanvas() 256 Bitmap line = getBorderLine(false, config, texWidth); in uploadToCanvas()
|
D | GLES20Canvas.java | 646 int texWidth = texture.getTextureWidth(); in convertCoordinate() local 649 source.left /= texWidth; in convertCoordinate() 650 source.right /= texWidth; in convertCoordinate() 655 float xBound = (float) width / texWidth; in convertCoordinate()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | SurfaceTextureRenderer.java | 265 float texWidth = dimens.getWidth(); 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() 292 width + "x" + height + " surface, intermediate buffer size is " + texWidth + in drawFrame()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 609 int texWidth = mCameraWidth / 4; in grabFrame() local 613 clientTex.allocateWithPixels(pixels, texWidth, texHeight); in grabFrame()
|