/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ThinPatchesActivity.java | 48 private Bitmap mTexture; field in class:ThinPatchesActivity.PatchView 58 mTexture = Bitmap.createBitmap(4, 3, Bitmap.Config.ARGB_8888); 59 mTexture.setPixel(0, 0, 0xffff0000); 60 mTexture.setPixel(1, 0, 0xffffffff); 61 mTexture.setPixel(2, 0, 0xff000000); 62 mTexture.setPixel(3, 0, 0xffff0000); 63 mTexture.setPixel(0, 1, 0xffff0000); 64 mTexture.setPixel(1, 1, 0xff000000); 65 mTexture.setPixel(2, 1, 0xffffffff); 66 mTexture [all...] |
H A D | FramebufferBlendActivity.java | 48 private Bitmap mTexture; field in class:FramebufferBlendActivity.BlendView 53 mTexture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); 54 mTexWidth = mTexture.getWidth(); 55 mTexHeight = mTexture.getHeight(); 90 canvas.drawBitmap(mTexture, 0.0f, 0.0f, mPaint); 106 canvas.drawBitmap(mTexture, 0.0f, 0.0f, mPaint);
|
H A D | ShadersActivity.java | 54 private Bitmap mTexture; field in class:ShadersActivity.ShadersView 62 mTexture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); 63 mTexWidth = mTexture.getWidth(); 64 mTexHeight = mTexture.getHeight(); 68 mRepeatShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, 71 mTranslatedShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, 78 mScaledShader = new BitmapShader(mTexture, Shader.TileMode.MIRROR, 105 canvas.drawBitmap(mTexture, 0.0f, 0.0f, null);
|
/frameworks/base/libs/hwui/ |
H A D | Image.cpp | 38 mTexture = 0; 41 glGenTextures(1, &mTexture); 42 Caches::getInstance().bindTexture(mTexture); 57 Caches::getInstance().deleteTexture(mTexture); 58 mTexture = 0;
|
H A D | AssetAtlas.h | 109 AssetAtlas(): mTexture(NULL), mImage(NULL), mGenerationId(0), 140 return mTexture ? mTexture->width : 0; 148 return mTexture ? mTexture->height : 0; 156 return mTexture ? mTexture->id : 0; 181 Texture* mTexture; member in class:android::uirenderer::AssetAtlas
|
H A D | Image.h | 49 return mTexture; 60 GLuint mTexture; member in class:android::uirenderer::Image
|
H A D | Texture.h | 118 AutoTexture(const Texture* texture): mTexture(texture) { } 120 if (mTexture && mTexture->cleanup) { 121 mTexture->deleteTexture(); 122 delete mTexture; 127 const Texture* mTexture; member in class:android::uirenderer::AutoTexture
|
H A D | AssetAtlas.cpp | 41 mTexture = new Texture(caches); 42 mTexture->id = mImage->getTexture(); 43 mTexture->width = buffer->getWidth(); 44 mTexture->height = buffer->getHeight(); 52 mTexture = NULL; 63 delete mTexture; 64 mTexture = NULL; 112 const float width = float(mTexture->width); 113 const float height = float(mTexture->height); 128 Texture* texture = new DelegateTexture(caches, mTexture); [all...] |
H A D | SkiaShader.cpp | 109 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) { 123 mTexture = texture; 149 Texture* texture = mTexture; 150 mTexture = NULL;
|
H A D | SkiaShader.h | 152 Texture* mTexture; member in struct:android::uirenderer::SkiaBitmapShader
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | TextureParam.java | 37 TextureBase mTexture; field in class:TextureParam 49 mTexture = t; 53 return mTexture; 58 if (mTexture != null) { 59 mData.texture = mTexture.getRsData(false).getAllocation();
|
H A D | SceneManager.java | 79 private FragmentShader mTexture; field in class:SceneManager 371 if (sSceneManager.mTexture == null) { 384 sSceneManager.mTexture = fb.create(); 385 sSceneManager.mTexture.mProgram.bindSampler(Sampler.CLAMP_LINEAR_MIP_LINEAR(rs), 0); 388 return sSceneManager.mTexture; 468 mTexture = null;
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20TextureLayer.java | 30 private int mTexture; field in class:GLES20TextureLayer 38 mTexture = layerInfo[0]; 47 return mLayer != 0 && mTexture != 0; 76 mSurface = new SurfaceTexture(mTexture); 86 mSurface.attachToGLContext(mTexture);
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.cpp | 112 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), mFormat(format), 154 if (mTexture) { 155 delete mTexture; 156 mTexture = NULL; 184 if (!mTexture) { 185 mTexture = PixelBuffer::create(mFormat, mWidth, mHeight); 220 mTexture->upload(x, y, width, height);
|
H A D | CacheTexture.h | 116 return mTexture; 180 PixelBuffer* mTexture; member in class:android::uirenderer::CacheTexture
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Description.h | 46 Texture mTexture; member in class:android::Description
|
H A D | Description.cpp | 63 mTexture = texture;
|
H A D | ProgramCache.cpp | 91 description.mTexture.getTextureTarget() == GL_TEXTURE_EXTERNAL_OES ? Key::TEXTURE_EXT : 92 description.mTexture.getTextureTarget() == GL_TEXTURE_2D ? Key::TEXTURE_2D :
|
H A D | Program.cpp | 133 glUniformMatrix4fv(mTextureMatrixLoc, 1, GL_FALSE, desc.mTexture.getMatrix().asArray());
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | BackingStore.java | 583 private TextureSource mTexture = null; field in class:BackingStore.TextureBacking 588 mTexture = TextureSource.newTexture(); 606 mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]); 609 mTexture.allocateWithBitmapPixels(bitmap); 629 mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]); 666 if (mTexture.isAllocated()) { 667 mTexture.release(); 677 if (!mTexture.isAllocated()) { 678 mTexture.allocate(mDimensions[0], mDimensions[1]); 680 return mTexture; [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ProgramVertexFixedFunction.java | 208 Matrix4f mTexture; field in class:ProgramVertexFixedFunction.Constants 230 mTexture = new Matrix4f(); 287 mTexture.load(m);
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.h | 364 mutable Texture mTexture; member in class:android::Layer
|
H A D | Layer.cpp | 85 mTexture.init(Texture::TEXTURE_EXTERNAL, mTextureName); 535 mTexture.setDimensions(mActiveBuffer->getWidth(), mActiveBuffer->getHeight()); 536 mTexture.setFiltering(useFiltering); 537 mTexture.setMatrix(textureMatrix); 539 engine.setupLayerTexturing(mTexture);
|