Home
last modified time | relevance | path

Searched refs:mMatrix (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientsActivity.java197 private final Matrix mMatrix; field in GradientsActivity.ShadersView
209 mMatrix = new Matrix(); in ShadersView()
228 mMatrix.setScale(1, mDrawWidth); in onDraw()
229 mMatrix.postRotate(90); in onDraw()
230 mMatrix.postTranslate(right, top); in onDraw()
231 mGradient.setLocalMatrix(mMatrix); in onDraw()
237 mMatrix.setScale(1, mDrawHeight); in onDraw()
238 mMatrix.postTranslate(left, top); in onDraw()
239 mGradient.setLocalMatrix(mMatrix); in onDraw()
247 mMatrix.setScale(1, mDrawHeight); in onDraw()
[all …]
DAdvancedGradientsActivity.java43 private final Matrix mMatrix; field in AdvancedGradientsActivity.GradientsView
54 mMatrix = new Matrix(); in GradientsView()
55 mMatrix.setRotate(-45, 0.0f, 0.0f); in GradientsView()
56 mMatrix.postTranslate(100.0f, 100.0f); in GradientsView()
82 mSweepGradient.setLocalMatrix(mMatrix); in onDraw()
100 mRadialGradient.setLocalMatrix(mMatrix); in onDraw()
DBitmaps3dActivity.java46 private Matrix mMatrix; field in Bitmaps3dActivity.BitmapsView
54 mMatrix = new Matrix(); in BitmapsView()
55 mMatrix.setScale(2.0f, 2.0f); in BitmapsView()
56 mMatrix.preTranslate(0.0f, -10.0f); in BitmapsView()
68 canvas.concat(mMatrix); in onDraw()
DTransform3dActivity.java41 private Matrix mMatrix; field in Transform3dActivity.Transform3dView
48 mMatrix = new Matrix(); in Transform3dView()
61 final Matrix matrix = mMatrix; in onDraw()
DTextureViewActivity.java37 private Matrix mMatrix = new Matrix(); field in TextureViewActivity
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java69 private Matrix mMatrix; field in TransformTestActivity.TransformView
105 mMatrix.reset(); in onScale()
106 mMatrix.postTranslate(-sizeX, -sizeY); in onScale()
107 mMatrix.postScale(mScale, mScale); in onScale()
108 mMatrix.postTranslate(mPosX, mPosY); in onScale()
127 mMatrix = new Matrix(); in TransformView()
139 mMatrix.reset(); in setDrawable()
140 mMatrix.postTranslate(-sizeX, -sizeY); in setDrawable()
141 mMatrix.postScale(mScale, mScale); in setDrawable()
142 mMatrix.postTranslate(mPosX, mPosY); in setDrawable()
[all …]
/frameworks/base/core/java/android/view/animation/
DTransformation.java46 protected Matrix mMatrix; field in Transformation
63 if (mMatrix == null) { in clear()
64 mMatrix = new Matrix(); in clear()
66 mMatrix.reset(); in clear()
100 mMatrix.set(t.getMatrix()); in set()
111 mMatrix.preConcat(t.getMatrix()); in compose()
119 return mMatrix; in getMatrix()
159 sb.append(" matrix="); mMatrix.toShortString(sb); in toShortString()
170 mMatrix.printShortString(pw); in printShortString()
/frameworks/base/services/surfaceflinger/
DTransform.cpp37 : mMatrix(other.mMatrix), mType(other.mType) { in Transform()
67 const mat33& A(mMatrix); in operator *()
68 const mat33& B(rhs.mMatrix); in operator *()
69 mat33& D(r.mMatrix); in operator *()
87 return mMatrix[i].v; in operator []()
95 return mMatrix[2][0]; in tx()
99 return mMatrix[2][1]; in ty()
105 vec3& v(mMatrix[i]); in reset()
113 mMatrix[2][0] = tx; in set()
114 mMatrix[2][1] = ty; in set()
[all …]
DTransform.h120 mat33 mMatrix; variable
/frameworks/base/libs/hwui/
DSkiaColorFilter.cpp38 SkiaColorFilter(skFilter, kColorMatrix, true), mMatrix(matrix), mVector(vector) { in SkiaColorMatrixFilter()
47 delete[] mMatrix; in ~SkiaColorMatrixFilter()
57 glUniformMatrix4fv(program->getUniform("colorMatrix"), 1, GL_FALSE, &mMatrix[0]); in setupProgram()
DSkiaColorFilter.h89 float* mMatrix;
/frameworks/base/core/java/android/widget/
DImageView.java62 private Matrix mMatrix; field in ImageView
164 mMatrix = new Matrix(); in initImageView()
510 return mMatrix; in getImageMatrix()
520 if (matrix == null && !mMatrix.isIdentity() || in setImageMatrix()
521 matrix != null && !mMatrix.equals(matrix)) { in setImageMatrix()
522 mMatrix.set(matrix); in setImageMatrix()
812 if (mMatrix.isIdentity()) { in configureBounds()
815 mDrawMatrix = mMatrix; in configureBounds()
822 mDrawMatrix = mMatrix; in configureBounds()
826 mDrawMatrix = mMatrix; in configureBounds()
[all …]
/frameworks/base/core/java/android/view/
DTextureView.java113 private final Matrix mMatrix = new Matrix(); field in TextureView
399 mMatrix.set(transform); in setTransform()
420 transform.set(mMatrix); in getTransform()
427 mLayer.setTransform(mMatrix); in applyTransformMatrix()
DView.java2055 private final Matrix mMatrix = new Matrix(); field in View.TransformationInfo
6988 return mTransformationInfo.mMatrix;
7044 info.mMatrix.reset();
7046 info.mMatrix.setTranslate(info.mTranslationX, info.mTranslationY);
7047 info.mMatrix.preRotate(info.mRotation, info.mPivotX, info.mPivotY);
7048 info.mMatrix.preScale(info.mScaleX, info.mScaleY, info.mPivotX, info.mPivotY);
7055 info.mMatrix.preScale(info.mScaleX, info.mScaleY, info.mPivotX, info.mPivotY);
7061 info.mMatrix.postConcat(info.matrix3D);
7065 info.mMatrixIsIdentity = info.mMatrix.isIdentity();
7085 info.mMatrix.invert(info.mInverseMatrix);
[all …]
/frameworks/base/api/
Dcurrent.txt24378 field protected android.graphics.Matrix mMatrix;
D14.txt24378 field protected android.graphics.Matrix mMatrix;