/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/base/libs/hwui/ |
D | AssetAtlas.h | 98 AssetAtlas(): mTexture(nullptr), mImage(nullptr), in AssetAtlas() 128 return mTexture ? mTexture->width() : 0; in getWidth() 136 return mTexture ? mTexture->height() : 0; in getHeight() 144 return mTexture ? mTexture->id() : 0; in getTexture() 162 Texture* mTexture; variable
|
D | AssetAtlas.cpp | 39 if (!mTexture) { in init() 41 mTexture = new Texture(caches); in init() 42 mTexture->wrap(mImage->getTexture(), in init() 55 delete mTexture; in terminate() 56 mTexture = nullptr; in terminate() 97 const float width = float(mTexture->width()); in createEntries() 98 const float height = float(mTexture->height()); in createEntries() 117 Texture* texture = new DelegateTexture(caches, mTexture); in createEntries() 119 texture->wrap(mTexture->id(), pixelRef->info().width(), in createEntries() 120 pixelRef->info().height(), mTexture->format()); in createEntries()
|
D | Image.cpp | 36 mTexture = 0; in Image() 39 glGenTextures(1, &mTexture); in Image() 40 Caches::getInstance().textureState().bindTexture(mTexture); in Image() 55 Caches::getInstance().textureState().deleteTexture(mTexture); in ~Image() 56 mTexture = 0; in ~Image()
|
D | Image.h | 49 return mTexture; in getTexture() 60 GLuint mTexture;
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 113 : mTexture(Caches::getInstance()) in CacheTexture() 119 mTexture.blend = true; in CacheTexture() 163 mTexture.deleteTexture(); in releasePixelBuffer() 169 mTexture.setFilter(linearFiltering ? GL_LINEAR : GL_NEAREST); in setLinearFiltering() 183 mTexture.resize(mWidth, mHeight, mFormat); in allocatePixelBuffer() 184 mTexture.setFilter(getLinearFiltering() ? GL_LINEAR : GL_NEAREST); in allocatePixelBuffer() 185 mTexture.setWrap(GL_CLAMP_TO_EDGE); in allocatePixelBuffer()
|
D | CacheTexture.h | 120 return mTexture; in getTexture() 125 return mTexture.id(); in getTextureId() 185 Texture mTexture; variable
|
/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 | 204 Matrix4f mTexture; field in ProgramVertexFixedFunction.Constants 226 mTexture = new Matrix4f(); in Constants() 286 mTexture.load(m); in setTexture()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Description.h | 46 Texture mTexture; variable
|
D | ProgramCache.cpp | 122 description.mTexture.getTextureTarget() == GL_TEXTURE_EXTERNAL_OES ? Key::TEXTURE_EXT : in computeKey() 123 description.mTexture.getTextureTarget() == GL_TEXTURE_2D ? Key::TEXTURE_2D : in computeKey()
|
D | Description.cpp | 63 mTexture = texture; in setTexture()
|
D | Program.cpp | 133 glUniformMatrix4fv(mTextureMatrixLoc, 1, GL_FALSE, desc.mTexture.getMatrix().asArray()); in setUniforms()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 107 mTexture.init(Texture::TEXTURE_EXTERNAL, mTextureName); in Layer() 958 mTexture.setDimensions(mActiveBuffer->getWidth(), mActiveBuffer->getHeight()); 959 mTexture.setFiltering(useFiltering); 960 mTexture.setMatrix(textureMatrix); 962 engine.setupLayerTexturing(mTexture);
|
D | Layer.h | 558 mutable Texture mTexture; variable
|