/cts/tests/openglperf2/jni/graphics/ |
TransformationNode.h | 32 Matrix* mMatrix;
|
/frameworks/base/graphics/java/android/graphics/ |
ColorMatrixColorFilter.java | 29 private final ColorMatrix mMatrix = new ColorMatrix(); 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());
|
Camera.java | 25 private Matrix mMatrix; 153 if (mMatrix == null) mMatrix = new Matrix(); 154 getMatrix(mMatrix); 155 canvas.concat(mMatrix);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MatrixTest.java | 39 private Matrix mMatrix; 44 mMatrix = new Matrix(); 51 assertTrue(new Matrix(mMatrix).isIdentity()); 56 assertTrue(mMatrix.isIdentity()); 57 mMatrix.setScale(0f, 0f); 58 assertFalse(mMatrix.isIdentity()); 63 assertTrue(mMatrix.rectStaysRect()); 64 mMatrix.postRotate(80); 65 assertFalse(mMatrix.rectStaysRect()); 70 assertTrue(mMatrix.isAffine()) [all...] |
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsicColorMatrix.java | 41 private final Matrix4f mMatrix = new Matrix4f(); 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.set(1, 1, 0.587f) [all...] |
ScriptIntrinsicLUT.java | 26 private final Matrix4f mMatrix = new Matrix4f();
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
UsageIO.java | 32 private ScriptIntrinsicColorMatrix mMatrix; 41 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); 47 mMatrix.setColorMatrix(m); 62 mMatrix.forEach(mScratchPixelsAllocation2, mOutPixelsAllocation);
|
GroupTest.java | 33 private ScriptIntrinsicColorMatrix mMatrix; 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/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
GroupTest.java | 26 private ScriptIntrinsicColorMatrix mMatrix; 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/ |
GroupTest.java | 33 private ScriptIntrinsicColorMatrix mMatrix; 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);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PolyToPoly.java | 38 private Matrix mMatrix = new Matrix(); 43 mMatrix.setPolyToPoly(src, 0, dst, 0, src.length >> 1); 44 canvas.concat(mMatrix);
|
Sweep.java | 36 private Matrix mMatrix = new Matrix(); 61 mMatrix.setRotate(mRotate, x, y); 62 mShader.setLocalMatrix(mMatrix);
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
TransformTestActivity.java | 69 private Matrix mMatrix; 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.postTranslate(mPosX, mPosY) [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
CircularBitmapDrawable.java | 43 private final Matrix mMatrix = new Matrix(); 140 mMatrix.reset(); 144 mMatrix.postScale(scale, scale); 146 mMatrix.postTranslate(dst.left, dst.top); 147 shader.setLocalMatrix(mMatrix);
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicColorMatrix.java | 31 private final Matrix4f mMatrix = new Matrix4f(); 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.set(1, 1, 0.587f) [all...] |
ScriptIntrinsicLUT.java | 28 private final Matrix4f mMatrix = new Matrix4f();
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
AbstractAvatarDrawable.java | 57 protected final Matrix mMatrix; 78 mMatrix = new Matrix(); 116 mMatrix.reset(); 122 mMatrix.postScale(scale, scale); 125 mMatrix.postTranslate(bounds.left, bounds.top); 127 shader.setLocalMatrix(mMatrix);
|
/frameworks/base/core/java/android/view/animation/ |
Transformation.java | 48 protected Matrix mMatrix; 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.printShortString(pw) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
AdvancedGradientsActivity.java | 43 private final Matrix mMatrix; 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);
|
Bitmaps3dActivity.java | 46 private Matrix mMatrix; 54 mMatrix = new Matrix(); 55 mMatrix.setScale(2.0f, 2.0f); 56 mMatrix.preTranslate(0.0f, -10.0f); 68 canvas.concat(mMatrix);
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
MainActivity.java | 49 Matrix mMatrix = new Matrix(); 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/ |
MainActivity.java | 49 Matrix mMatrix = new Matrix(); 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);
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
IconNormalizer.java | 85 private final Matrix mMatrix; 124 mMatrix = new Matrix(); 164 mMatrix.reset(); 165 mMatrix.setScale(mBounds.width(), mBounds.height()); 166 mMatrix.postTranslate(mBounds.left, mBounds.top); 167 maskPath.transform(mMatrix);
|
/frameworks/native/services/surfaceflinger/ |
Transform.h | 106 mat33 mMatrix;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
RotateLayout.java | 33 private Matrix mMatrix = new Matrix();
|