HomeSort by relevance Sort by last modified time
    Searched refs:mTexture (Results 1 - 25 of 41) sorted by null

1 2

  /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 38 mTexture = 0;
41 glGenTextures(1, &mTexture);
42 Caches::getInstance().bindTexture(mTexture);
57 Caches::getInstance().deleteTexture(mTexture);
58 mTexture = 0;
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;
Image.h 49 return mTexture;
60 GLuint mTexture;
Texture.h 118 AutoTexture(const Texture* texture): mTexture(texture) { }
120 if (mTexture && mTexture->cleanup) {
121 mTexture->deleteTexture();
122 delete mTexture;
127 const Texture* mTexture;
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...]
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
TextureParam.java 37 TextureBase mTexture;
49 mTexture = t;
53 return mTexture;
58 if (mTexture != null) {
59 mData.texture = mTexture.getRsData(false).getAllocation();
  /frameworks/base/core/java/android/view/
GLES20TextureLayer.java 30 private int mTexture;
38 mTexture = layerInfo[0];
47 return mLayer != 0 && mTexture != 0;
76 mSurface = new SurfaceTexture(mTexture);
86 mSurface.attachToGLContext(mTexture);
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
TextureStorage9.cpp 114 mTexture = surfaceTexture;
123 mTexture = NULL;
132 mRenderer->ConvertTextureInternalFormat(internalformat), getPool(), &mTexture, NULL);
146 if (mTexture)
148 mTexture->Release();
166 if (mTexture)
168 HRESULT result = mTexture->GetSurfaceLevel(level + mLodOffset, &surface);
174 mTexture->AddDirtyRect(NULL);
202 return mTexture;
209 if (mTexture != NULL && isRenderTarget()
    [all...]
RenderTarget11.cpp 141 mTexture = tex;
147 if (mRenderTarget && mTexture)
153 mTexture->GetDesc(&texDesc);
155 mSubresourceIndex = getRTVSubresourceIndex(mTexture, mRenderTarget);
168 mTexture = tex;
174 if (mDepthStencil && mTexture)
180 mTexture->GetDesc(&texDesc);
182 mSubresourceIndex = getDSVSubresourceIndex(mTexture, mDepthStencil);
195 mTexture = NULL;
226 HRESULT result = device->CreateTexture2D(&desc, NULL, &mTexture);
    [all...]
TextureStorage11.cpp 28 mTexture(NULL),
97 return mTexture;
196 mTexture = swapchain->getOffscreenTexture();
205 mTexture->GetDesc(&texDesc);
270 HRESULT result = device->CreateTexture2D(&desc, NULL, &mTexture);
286 mTexture->GetDesc(&desc);
296 if (mTexture)
298 mTexture->Release();
299 mTexture = NULL;
337 result = device->CreateShaderResourceView(mTexture, &srvDesc, &srv)
    [all...]
RenderTarget11.h 41 ID3D11Texture2D *mTexture;
TextureStorage9.h 80 IDirect3DTexture9 *mTexture;
102 IDirect3DCubeTexture9 *mTexture;
  /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);
  /frameworks/native/services/surfaceflinger/RenderEngine/
Description.h 46 Texture mTexture;
  /external/chromium_org/third_party/angle/src/libEGL/
Surface.cpp 34 mTexture = NULL;
55 mTexture = NULL;
85 if (mTexture)
87 mTexture->releaseTexImage();
88 mTexture = NULL;
405 mTexture = texture;
410 return mTexture;
  /frameworks/base/libs/hwui/font/
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);

Completed in 4844 milliseconds

1 2