Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DSurfaceTextureGLToGL_test.cpp25 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 …]
DSurfaceTextureGL_test.cpp28 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 …]
DSurfaceTextureFBO_test.cpp27 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/
DUploadedTexture.java219 int texWidth = getTextureWidth(); in uploadToCanvas() local
222 Utils.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()
DGLES20Canvas.java646 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/
DSurfaceTextureRenderer.java266 float texWidth = dimens.getWidth(); in drawFrame() local
269 if (texWidth <= 0 || texHeight <= 0) { in drawFrame()
274 RectF intermediate = new RectF(/*left*/0, /*top*/0, /*right*/texWidth, /*bottom*/texHeight); in drawFrame()
293 width + "x" + height + " surface, intermediate buffer size is " + texWidth + in drawFrame()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java609 int texWidth = mCameraWidth / 4; in grabFrame() local
613 clientTex.allocateWithPixels(pixels, texWidth, texHeight); in grabFrame()