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];
48 mSurface.attachToGLContext(mTexture);
53 return mLayer != 0 && mTexture != 0;
76 mSurface = new SurfaceTexture(mTexture, false);
86 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.h137 AutoTexture(const Texture* texture): mTexture(texture) { }
139 if (mTexture && mTexture->cleanup) {
140 glDeleteTextures(1, &mTexture->id);
141 delete mTexture;
146 const Texture* mTexture; member in class:android::uirenderer::AutoTexture
H A DFontRenderer.h66 mTexture(texture), mTextureId(0), mWidth(width), mHeight(height),
69 if (mTexture) {
70 delete[] mTexture;
77 uint8_t* mTexture; member in class:android::uirenderer::CacheTexture
297 if (mCacheTextureSmall != NULL && mCacheTextureSmall->mTexture != NULL) {
300 if (mCacheTexture128 != NULL && mCacheTexture128->mTexture != NULL) {
303 if (mCacheTexture256 != NULL && mCacheTexture256->mTexture != NULL) {
306 if (mCacheTexture512 != NULL && mCacheTexture512->mTexture != NULL) {
H A DSkiaShader.cpp89 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) {
103 mTexture = texture;
129 Texture* texture = mTexture;
130 mTexture = NULL;
H A DFontRenderer.cpp150 const uint8_t* cacheBuffer = cacheTexture->mTexture;
554 if (cacheTexture && cacheTexture->mTexture) {
556 delete[] cacheTexture->mTexture;
557 cacheTexture->mTexture = NULL;
563 if ((!mCacheTexture128 || !mCacheTexture128->mTexture) &&
564 (!mCacheTexture256 || !mCacheTexture256->mTexture) &&
565 (!mCacheTexture512 || !mCacheTexture512->mTexture)) {
575 cacheLine->mCacheTexture->mTexture != NULL) {
592 cacheTexture->mTexture = new uint8_t[width * height];
594 memset(cacheTexture->mTexture,
[all...]
H A DSkiaShader.h165 Texture* mTexture; member in struct:android::uirenderer::SkiaBitmapShader
/frameworks/base/graphics/java/android/renderscript/
H A DProgramVertexFixedFunction.java207 Matrix4f mTexture; field in class:ProgramVertexFixedFunction.Constants
229 mTexture = new Matrix4f();
286 mTexture.load(m);

Completed in 199 milliseconds