Searched refs:mMatrix (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DColorMatrixColorFilter.java29 private final ColorMatrix mMatrix = new ColorMatrix(); field in class:ColorMatrixColorFilter
39 mMatrix.set(matrix);
53 mMatrix.set(array);
62 colorMatrix.set(mMatrix);
82 mMatrix.reset();
84 mMatrix.set(matrix);
111 mMatrix.reset();
116 mMatrix.set(array);
122 return nativeColorMatrixFilter(mMatrix.getArray());
H A DCamera.java25 private Matrix mMatrix; field in class:Camera
153 if (mMatrix == null) mMatrix = new Matrix();
154 getMatrix(mMatrix);
155 canvas.concat(mMatrix);
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicColorMatrix.java41 private final Matrix4f mMatrix = new Matrix4f(); field in class:ScriptIntrinsicColorMatrix
83 fp.addMatrix(mMatrix);
94 mMatrix.load(m);
105 mMatrix.load(m);
158 mMatrix.loadIdentity();
159 mMatrix.set(0, 0, 0.299f);
160 mMatrix.set(1, 0, 0.587f);
161 mMatrix.set(2, 0, 0.114f);
162 mMatrix.set(0, 1, 0.299f);
163 mMatrix
[all...]
H A DScriptIntrinsicLUT.java26 private final Matrix4f mMatrix = new Matrix4f(); field in class:ScriptIntrinsicLUT
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicColorMatrix.java31 private final Matrix4f mMatrix = new Matrix4f(); field in class:ScriptIntrinsicColorMatrix
70 fp.addMatrix(mMatrix);
81 mMatrix.load(m);
92 mMatrix.load(m);
145 mMatrix.loadIdentity();
146 mMatrix.set(0, 0, 0.299f);
147 mMatrix.set(1, 0, 0.587f);
148 mMatrix.set(2, 0, 0.114f);
149 mMatrix.set(0, 1, 0.299f);
150 mMatrix
[all...]
H A DScriptIntrinsicLUT.java28 private final Matrix4f mMatrix = new Matrix4f(); field in class:ScriptIntrinsicLUT
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java69 private Matrix mMatrix; field in class:TransformTestActivity.TransformView
105 mMatrix.reset();
106 mMatrix.postTranslate(-sizeX, -sizeY);
107 mMatrix.postScale(mScale, mScale);
108 mMatrix.postTranslate(mPosX, mPosY);
127 mMatrix = new Matrix();
139 mMatrix.reset();
140 mMatrix.postTranslate(-sizeX, -sizeY);
141 mMatrix.postScale(mScale, mScale);
142 mMatrix
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmaps3dActivity.java46 private Matrix mMatrix; field in class:Bitmaps3dActivity.BitmapsView
54 mMatrix = new Matrix();
55 mMatrix.setScale(2.0f, 2.0f);
56 mMatrix.preTranslate(0.0f, -10.0f);
68 canvas.concat(mMatrix);
H A DGradientsActivity.java197 private final Matrix mMatrix; field in class:GradientsActivity.ShadersView
209 mMatrix = new Matrix();
226 mMatrix.setScale(1, mDrawWidth);
227 mMatrix.postRotate(90);
228 mMatrix.postTranslate(right, top);
229 mGradient.setLocalMatrix(mMatrix);
236 mMatrix.setScale(1, mDrawHeight);
237 mMatrix.postTranslate(left, top);
238 mGradient.setLocalMatrix(mMatrix);
247 mMatrix
[all...]
H A DAdvancedGradientsActivity.java43 private final Matrix mMatrix; field in class:AdvancedGradientsActivity.GradientsView
54 mMatrix = new Matrix();
55 mMatrix.setRotate(-45, 0.0f, 0.0f);
56 mMatrix.postTranslate(100.0f, 100.0f);
82 mSweepGradient.setLocalMatrix(mMatrix);
100 mRadialGradient.setLocalMatrix(mMatrix);
H A DTransform3dActivity.java41 private Matrix mMatrix; field in class:Transform3dActivity.Transform3dView
48 mMatrix = new Matrix();
61 final Matrix matrix = mMatrix;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DGroupTest.java26 private ScriptIntrinsicColorMatrix mMatrix; field in class:GroupTest
45 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
57 mMatrix.setColorMatrix(m);
67 b.addKernel(mMatrix.getKernelID());
68 b.addConnection(connect, mConvolve.getKernelID(), mMatrix.getKernelID());
80 mMatrix.setColorMatrix(m);
86 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation);
90 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DGroupTest.java33 private ScriptIntrinsicColorMatrix mMatrix; field in class:GroupTest
52 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
64 mMatrix.setColorMatrix(m);
74 b.addKernel(mMatrix.getKernelID());
75 b.addConnection(connect, mConvolve.getKernelID(), mMatrix.getKernelID());
87 mMatrix.setColorMatrix(m);
93 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation);
97 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation);
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp37 : mMatrix(other.mMatrix), mType(other.mType) {
67 const mat33& A(mMatrix);
68 const mat33& B(rhs.mMatrix);
69 mat33& D(r.mMatrix);
87 return mMatrix[i];
91 return mMatrix[2][0];
95 return mMatrix[2][1];
101 vec3& v(mMatrix[i]);
109 mMatrix[
[all...]
H A DTransform.h106 mat33 mMatrix; member in class:android::Transform
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DUsageIO.java32 private ScriptIntrinsicColorMatrix mMatrix; field in class:UsageIO
41 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
47 mMatrix.setColorMatrix(m);
62 mMatrix.forEach(mScratchPixelsAllocation2, mOutPixelsAllocation);
H A DGroupTest.java33 private ScriptIntrinsicColorMatrix mMatrix; field in class:GroupTest
52 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
64 mMatrix.setColorMatrix(m);
80 c = b.addKernel(mMatrix.getKernelID(),
95 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation);
/frameworks/base/core/java/android/view/animation/
H A DTransformation.java48 protected Matrix mMatrix; field in class:Transformation
68 if (mMatrix == null) {
69 mMatrix = new Matrix();
71 mMatrix.reset();
107 mMatrix.set(t.getMatrix());
124 mMatrix.preConcat(t.getMatrix());
143 mMatrix.postConcat(t.getMatrix());
160 return mMatrix;
233 sb.append(" matrix="); mMatrix.toShortString(sb);
244 mMatrix
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DCircularBitmapDrawable.java43 private final Matrix mMatrix = new Matrix(); field in class:CircularBitmapDrawable
140 mMatrix.reset();
144 mMatrix.postScale(scale, scale);
146 mMatrix.postTranslate(dst.left, dst.top);
147 shader.setLocalMatrix(mMatrix);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DViewInvertHelper.java36 private final ColorMatrix mMatrix = new ColorMatrix(); field in class:ViewInvertHelper
113 mMatrix.set(invert);
115 mMatrix.preConcat(mGrayscaleMatrix);
116 mDarkPaint.setColorFilter(new ColorMatrixColorFilter(mMatrix));
/frameworks/support/transition/api14/android/support/transition/
H A DGhostViewApi14.java118 private final Matrix mMatrix = new Matrix(); field in class:GhostViewApi14
174 mMatrix.set(mCurrentMatrix);
175 mMatrix.postTranslate(mDeltaX, mDeltaY);
176 canvas.setMatrix(mMatrix);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java105 private Matrix mMatrix = new Matrix(); field in class:PhotoView
411 mMatrix.getValues(mValues);
413 mMatrix.mapRect(mTranslateRect);
444 mMatrix.getValues(mValues);
446 mMatrix.mapRect(mTranslateRect);
652 mMatrix.set(mOriginalMatrix);
823 if (fits || mMatrix.isIdentity()) {
827 mDrawMatrix = mMatrix;
846 mMatrix.reset();
861 mMatrix
[all...]
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DMainActivity.java49 Matrix mMatrix = new Matrix(); field in class:MainActivity
202 mMatrix.reset();
204 mMatrix.postTranslate((1 + mXOffset) * (sw - iw * scale) / 2,
206 mMatrix.preScale(scale, scale);
207 boolean ret = mMatrix.invert(mInverseMatrix);
211 mImgView.setImageMatrix(mMatrix);
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DMainActivity.java49 Matrix mMatrix = new Matrix(); field in class:MainActivity
202 mMatrix.reset();
204 mMatrix.postTranslate((1 + mXOffset) * (sw - iw * scale) / 2,
206 mMatrix.preScale(scale, scale);
207 boolean ret = mMatrix.invert(mInverseMatrix);
211 mImgView.setImageMatrix(mMatrix);
/frameworks/base/core/java/android/view/
H A DTextureView.java116 private final Matrix mMatrix = new Matrix(); field in class:TextureView
484 mMatrix.set(transform);
505 transform.set(mMatrix);
512 mLayer.setTransform(mMatrix);

Completed in 406 milliseconds

12