/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
FadeInTexture.java | 27 private final TiledTexture mTexture; 32 mTexture = texture; 38 mTexture.drawMixed(canvas, mColor, getRatio(), x, y, w, h); 40 mTexture.draw(canvas, x, y, w, h);
|
FadeOutTexture.java | 26 private final BasicTexture mTexture; 30 mTexture = texture; 38 mTexture.draw(canvas, x, y, w, h);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TiledScreenNail.java | 53 private TiledTexture mTexture; 59 mTexture = new TiledTexture(bitmap); 102 if (newer.mTexture != null) { 104 if (mTexture != null) mTexture.recycle(); 106 mTexture = newer.mTexture; 108 newer.mTexture = null; 136 if (mTexture != null) { 137 mTexture.recycle() [all...] |
PreparePageFadeoutTexture.java | 14 private RawTexture mTexture; 30 mTexture = new RawTexture(w, h, true); 42 return mTexture; 53 canvas.beginRenderTarget(mTexture); 57 mTexture = null; 60 mTexture = null;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ThinPatchesActivity.java | 48 private Bitmap mTexture; 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.setPixel(3, 1, 0xffff0000) [all...] |
FramebufferBlendActivity.java | 48 private Bitmap mTexture; 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);
|
ShadersActivity.java | 54 private Bitmap mTexture; 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/ |
Image.cpp | 36 mTexture = 0; 39 glGenTextures(1, &mTexture); 40 Caches::getInstance().textureState().bindTexture(mTexture); 55 Caches::getInstance().textureState().deleteTexture(mTexture); 56 mTexture = 0;
|
Image.h | 49 return mTexture; 60 GLuint mTexture;
|
/packages/services/Car/evs/app/ |
RenderDirectView.cpp | 53 mTexture.reset(createVideoTexture(mEnumerator, mCameraInfo.cameraId.c_str(), sDisplay)); 54 if (!mTexture) { 69 mTexture = nullptr; 95 mTexture->refresh(); 97 glBindTexture(GL_TEXTURE_2D, mTexture->glId());
|
RenderDirectView.h | 47 std::unique_ptr<VideoTex> mTexture;
|
/cts/tests/vr/src/android/vr/cts/ |
RendererProtectedTexturesTest.java | 43 private IntBuffer mTexture; 66 mTexture = IntBuffer.allocate(1); 67 GLES20.glGenTextures(1, mTexture); 69 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTexture.get(0));
|
/external/replicaisland/src/com/replica/replicaisland/ |
FadeDrawableComponent.java | 27 private Texture mTexture; 47 mTexture = null; 108 if (mTexture != null) { 115 bitmap.resize((int)mTexture.width, (int)mTexture.height); 120 bitmap.setTexture(mTexture); 150 mTexture = texture;
|
DrawableBitmap.java | 27 private Texture mTexture; 37 mTexture = texture; 48 mTexture = null; 102 final Texture texture = mTexture; 207 mTexture = texture; 212 return mTexture;
|
ScrollerComponent.java | 32 private Texture mTexture; 66 mTexture = null; 85 mTexture = texture; 99 background.setTexture(mTexture);
|
TiledVertexGrid.java | 30 private Texture mTexture; 46 mTexture = texture; 64 final Texture texture = mTexture; 133 if (!mGenerated && world != null && gl != null && mTexture != null) { 159 final Texture texture = mTexture;
|
/frameworks/base/libs/hwui/font/ |
CacheTexture.cpp | 116 : mTexture(Caches::getInstance()) 122 mTexture.blend = true; 166 mTexture.deleteTexture(); 172 mTexture.setFilter(linearFiltering ? GL_LINEAR : GL_NEAREST); 191 mTexture.resize(mWidth, mHeight, internalFormat, mFormat); 192 mTexture.setFilter(getLinearFiltering() ? GL_LINEAR : GL_NEAREST); 193 mTexture.setWrap(GL_CLAMP_TO_EDGE);
|
CacheTexture.h | 120 return mTexture; 125 return mTexture.id(); 187 Texture mTexture;
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Description.h | 46 Texture mTexture;
|
Description.cpp | 55 mTexture = texture;
|
ProgramCache.cpp | 122 description.mTexture.getTextureTarget() == GL_TEXTURE_EXTERNAL_OES ? Key::TEXTURE_EXT : 123 description.mTexture.getTextureTarget() == GL_TEXTURE_2D ? Key::TEXTURE_2D :
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
BackingStore.java | 583 private TextureSource mTexture = null; 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/libs/hwui/pipeline/skia/ |
SkiaOpenGLPipeline.cpp | 246 glGenTextures(1, &mTexture); 247 glBindTexture(GL_TEXTURE_2D, mTexture); 251 glDeleteTextures(1, &mTexture); 255 GLuint mTexture = 0;
|
/frameworks/base/rs/java/android/renderscript/ |
ProgramVertexFixedFunction.java | 204 Matrix4f mTexture; 226 mTexture = new Matrix4f(); 286 mTexture.load(m);
|
/frameworks/base/libs/hwui/renderthread/ |
OpenGLPipeline.cpp | 316 glGenTextures(1, &mTexture); 317 caches.textureState().bindTexture(mTexture); 321 mCaches.textureState().deleteTexture(mTexture); 326 GLuint mTexture = 0;
|