Searched refs:mTexture (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DThinPatchesActivity.java48 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 DFramebufferBlendActivity.java48 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 DShadersActivity.java54 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/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DTextureParam.java37 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 DSceneManager.java79 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 DGLES20TextureLayer.java30 private int mTexture; field in class:GLES20TextureLayer
38 mTexture = layerInfo[0];
47 return mLayer != 0 && mTexture != 0;
71 mSurface = new SurfaceTexture(mTexture, false);
81 mSurface.attachToGLContext(mTexture);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTrackingPatternView.java30 private Bitmap mTexture; field in class:TrackingPatternView
38 mTexture = BitmapFactory.decodeResource(getResources(),
40 mTextureWidth = mTexture.getWidth();
41 mTextureHeight = mTexture.getHeight();
49 final Bitmap texture = mTexture;
/frameworks/base/libs/hwui/
H A DTexture.h147 AutoTexture(const Texture* texture): mTexture(texture) { }
149 if (mTexture && mTexture->cleanup) {
150 glDeleteTextures(1, &mTexture->id);
151 delete mTexture;
156 const Texture* mTexture; member in class:android::uirenderer::AutoTexture
H A DSkiaShader.cpp105 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) {
119 mTexture = texture;
145 Texture* texture = mTexture;
146 mTexture = NULL;
H A DSkiaShader.h153 Texture* mTexture; member in struct:android::uirenderer::SkiaBitmapShader
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp111 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height),
152 if (mTexture) {
153 delete mTexture;
154 mTexture = NULL;
182 if (!mTexture) {
183 mTexture = PixelBuffer::create(GL_ALPHA, mWidth, mHeight);
218 mTexture->upload(x, y, width, height, y * mWidth + x);
H A DCacheTexture.h107 return mTexture;
171 PixelBuffer* mTexture; member in class:android::uirenderer::CacheTexture
/frameworks/base/graphics/java/android/renderscript/
H A DProgramVertexFixedFunction.java208 Matrix4f mTexture; field in class:ProgramVertexFixedFunction.Constants
230 mTexture = new Matrix4f();
287 mTexture.load(m);

Completed in 2549 milliseconds