/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ThinPatchesActivity.java | 48 private Bitmap mTexture; field in ThinPatchesActivity.PatchView 58 mTexture = Bitmap.createBitmap(4, 3, Bitmap.Config.ARGB_8888); in PatchView() 59 mTexture.setPixel(0, 0, 0xffff0000); in PatchView() 60 mTexture.setPixel(1, 0, 0xffffffff); in PatchView() 61 mTexture.setPixel(2, 0, 0xff000000); in PatchView() 62 mTexture.setPixel(3, 0, 0xffff0000); in PatchView() 63 mTexture.setPixel(0, 1, 0xffff0000); in PatchView() 64 mTexture.setPixel(1, 1, 0xff000000); in PatchView() 65 mTexture.setPixel(2, 1, 0xffffffff); in PatchView() 66 mTexture.setPixel(3, 1, 0xffff0000); in PatchView() [all …]
|
D | ShadersActivity.java | 54 private Bitmap mTexture; field in ShadersActivity.ShadersView 62 mTexture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in ShadersView() 63 mTexWidth = mTexture.getWidth(); in ShadersView() 64 mTexHeight = mTexture.getHeight(); in ShadersView() 68 mRepeatShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, in ShadersView() 71 mTranslatedShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, in ShadersView() 78 mScaledShader = new BitmapShader(mTexture, Shader.TileMode.MIRROR, in ShadersView() 105 canvas.drawBitmap(mTexture, 0.0f, 0.0f, null); in onDraw()
|
D | FramebufferBlendActivity.java | 48 private Bitmap mTexture; field in FramebufferBlendActivity.BlendView 53 mTexture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BlendView() 54 mTexWidth = mTexture.getWidth(); in BlendView() 55 mTexHeight = mTexture.getHeight(); in BlendView() 90 canvas.drawBitmap(mTexture, 0.0f, 0.0f, mPaint); in drawBlendedBitmap() 106 canvas.drawBitmap(mTexture, 0.0f, 0.0f, mPaint); in drawBlendedBitmapInverse()
|
/frameworks/native/libs/renderengine/gl/ |
D | GLShadowTexture.cpp | 37 mTexture.init(Texture::TEXTURE_2D, mName); in GLShadowTexture() 38 mTexture.setFiltering(true); in GLShadowTexture() 39 mTexture.setDimensions(SHADOW_TEXTURE_WIDTH, 1); in GLShadowTexture() 47 return mTexture; in getTexture()
|
D | GLShadowTexture.h | 38 Texture mTexture; variable
|
/frameworks/base/libs/hwui/utils/ |
D | GLUtils.h | 78 glGenTextures(1, &mTexture); in AutoSkiaGlTexture() 79 glBindTexture(GL_TEXTURE_2D, mTexture); in AutoSkiaGlTexture() 82 ~AutoSkiaGlTexture() { glDeleteTextures(1, &mTexture); } in ~AutoSkiaGlTexture() 84 GLuint mTexture = 0; variable
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | ImageWallpaperRenderer.java | 48 private final WallpaperTexture mTexture; field in ImageWallpaperRenderer 56 mTexture = new WallpaperTexture(wpm); in ImageWallpaperRenderer() 63 return mTexture.isWcgContent(); in isWcgContent() 72 mTexture.use(bitmap -> { in onSurfaceCreated() 95 mTexture.use(null /* consumer */); in reportSurfaceSize() 96 mSurfaceSize.set(mTexture.getTextureDimensions()); in reportSurfaceSize()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | BackingStore.java | 583 private TextureSource mTexture = null; field in BackingStore.TextureBacking 588 mTexture = TextureSource.newTexture(); in allocate() 606 mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]); in syncTo() 609 mTexture.allocateWithBitmapPixels(bitmap); in syncTo() 629 mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]); in syncToAllocationBacking() 666 if (mTexture.isAllocated()) { in destroy() 667 mTexture.release(); in destroy() 677 if (!mTexture.isAllocated()) { in getTexture() 678 mTexture.allocate(mDimensions[0], mDimensions[1]); in getTexture() 680 return mTexture; in getTexture()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ProgramVertexFixedFunction.java | 209 Matrix4f mTexture; field in ProgramVertexFixedFunction.Constants 232 mTexture = new Matrix4f(); in Constants() 293 mTexture.load(m); in setTexture()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | VkInteropFunctorDrawable.cpp | 142 glTexture.mTexture, 0); in onDraw()
|