/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
TransformationNode.h | 32 Matrix* mMatrix;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MatrixTest.java | 24 private Matrix mMatrix; 30 mMatrix = new Matrix(); 36 new Matrix(mMatrix); 40 assertTrue(mMatrix.isIdentity()); 41 mMatrix.setScale(0f, 0f); 42 assertFalse(mMatrix.isIdentity()); 46 assertTrue(mMatrix.rectStaysRect()); 47 mMatrix.postRotate(80); 48 assertFalse(mMatrix.rectStaysRect()); 53 mMatrix.getValues(mValues) [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
ScriptIntrinsicColorMatrix.java | 43 private final Matrix4f mMatrix = new Matrix4f(); 85 fp.addMatrix(mMatrix); 96 mMatrix.load(m); 107 mMatrix.load(m); 160 mMatrix.loadIdentity(); 161 mMatrix.set(0, 0, 0.299f); 162 mMatrix.set(1, 0, 0.587f); 163 mMatrix.set(2, 0, 0.114f); 164 mMatrix.set(0, 1, 0.299f); 165 mMatrix.set(1, 1, 0.587f) [all...] |
ScriptIntrinsicLUT.java | 28 private final Matrix4f mMatrix = new Matrix4f();
|
/frameworks/rs/java/tests/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); 74 b.addKernel(mMatrix.getKernelID()); 75 b.addConnection(connect, mConvolve.getKernelID(), mMatrix.getKernelID()); 85 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation); 89 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation);
|
/frameworks/rs/java/tests/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()); 78 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation); 82 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation);
|
/frameworks/rs/java/tests/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()); 85 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation); 89 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);
|
ScaleToFit.java | 36 private final Matrix mMatrix = new Matrix(); 85 mMatrix.setRectToRect(mSrcR, mDstR, stf); 86 canvas.concat(mMatrix);
|
Vertices.java | 40 private final Matrix mMatrix = new Matrix(); 73 mMatrix.setScale(0.8f, 0.8f); 74 mMatrix.preTranslate(20, 20); 75 mMatrix.invert(mInverse); 81 canvas.concat(mMatrix);
|
/frameworks/base/core/java/android/view/animation/ |
Transformation.java | 46 protected Matrix mMatrix; 63 if (mMatrix == null) { 64 mMatrix = new Matrix(); 66 mMatrix.reset(); 100 mMatrix.set(t.getMatrix()); 111 mMatrix.preConcat(t.getMatrix()); 121 mMatrix.postConcat(t.getMatrix()); 129 return mMatrix; 169 sb.append(" matrix="); mMatrix.toShortString(sb); 180 mMatrix.printShortString(pw) [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicColorMatrix.java | 31 private final Matrix4f mMatrix = new Matrix4f(); 65 fp.addMatrix(mMatrix); 76 mMatrix.load(m); 87 mMatrix.load(m); 97 mMatrix.loadIdentity(); 98 mMatrix.set(0, 0, 0.299f); 99 mMatrix.set(1, 0, 0.587f); 100 mMatrix.set(2, 0, 0.114f); 101 mMatrix.set(0, 1, 0.299f); 102 mMatrix.set(1, 1, 0.587f) [all...] |
ScriptIntrinsicLUT.java | 28 private final Matrix4f mMatrix = new Matrix4f();
|
/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/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);
|
GradientsActivity.java | 197 private final Matrix mMatrix; 209 mMatrix = new Matrix(); 228 mMatrix.setScale(1, mDrawWidth); 229 mMatrix.postRotate(90); 230 mMatrix.postTranslate(right, top); 231 mGradient.setLocalMatrix(mMatrix); 237 mMatrix.setScale(1, mDrawHeight); 238 mMatrix.postTranslate(left, top); 239 mGradient.setLocalMatrix(mMatrix); 247 mMatrix.setScale(1, mDrawHeight) [all...] |
TextureViewActivity.java | 44 private Matrix mMatrix = new Matrix();
|
Transform3dActivity.java | 41 private Matrix mMatrix; 48 mMatrix = new Matrix(); 61 final Matrix matrix = mMatrix;
|
/frameworks/base/graphics/java/android/graphics/ |
Camera.java | 25 private Matrix mMatrix; 153 if (mMatrix == null) mMatrix = new Matrix(); 154 getMatrix(mMatrix); 155 canvas.concat(mMatrix);
|
/frameworks/native/services/surfaceflinger/ |
Transform.h | 106 mat33 mMatrix;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
RotateLayout.java | 31 private Matrix mMatrix = new Matrix();
|
/frameworks/base/libs/hwui/ |
SkiaColorFilter.h | 91 float* mMatrix;
|