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()
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 …]
DSurfaceTextureGL_test.cpp28 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 …]
DSurfaceTextureFBO_test.cpp27 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/
DUploadedTexture.java219 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()
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.java265 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/
DCameraStreamer.java609 int texWidth = mCameraWidth / 4; in grabFrame() local
613 clientTex.allocateWithPixels(pixels, texWidth, texHeight); in grabFrame()