/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() 58 ASSERT_EQ(texWidth, buf->getHeight()); in TEST_F() 61 ASSERT_EQ(texWidth, buf->getWidth()); in TEST_F() 76 ASSERT_EQ(texWidth, buf->getWidth()); in TEST_F() 81 const int texWidth = 64; in TEST_F() local 84 mST->setDefaultBufferSize(texWidth, texHeight); in TEST_F() 132 glViewport(0, 0, texWidth, texHeight); in TEST_F() 339 enum { texWidth = 64 }; in TEST_F() enumerator 349 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 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() 78 const int texWidth = 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() 128 const int texWidth = 64; in TEST_F() local 134 texWidth, texHeight)); in TEST_F() [all …]
|
D | SurfaceTextureFBO_test.cpp | 27 const int texWidth = 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 | 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()
|