/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
D | ScriptIntrinsicColorMatrix.java | 31 private final Matrix4f mMatrix = new Matrix4f(); field in ScriptIntrinsicColorMatrix 60 fp.addMatrix(mMatrix); in setMatrix() 71 mMatrix.load(m); in setColorMatrix() 82 mMatrix.load(m); in setColorMatrix() 92 mMatrix.loadIdentity(); in setGreyscale() 93 mMatrix.set(0, 0, 0.299f); in setGreyscale() 94 mMatrix.set(1, 0, 0.587f); in setGreyscale() 95 mMatrix.set(2, 0, 0.114f); in setGreyscale() 96 mMatrix.set(0, 1, 0.299f); in setGreyscale() 97 mMatrix.set(1, 1, 0.587f); in setGreyscale() [all …]
|
D | ScriptIntrinsicLUT.java | 28 private final Matrix4f mMatrix = new Matrix4f(); field in ScriptIntrinsicLUT
|
/frameworks/base/graphics/java/android/renderscript/ |
D | ScriptIntrinsicColorMatrix.java | 33 private final Matrix4f mMatrix = new Matrix4f(); field in ScriptIntrinsicColorMatrix 62 fp.addMatrix(mMatrix); in setMatrix() 73 mMatrix.load(m); in setColorMatrix() 84 mMatrix.load(m); in setColorMatrix() 94 mMatrix.loadIdentity(); in setGreyscale() 95 mMatrix.set(0, 0, 0.299f); in setGreyscale() 96 mMatrix.set(1, 0, 0.587f); in setGreyscale() 97 mMatrix.set(2, 0, 0.114f); in setGreyscale() 98 mMatrix.set(0, 1, 0.299f); in setGreyscale() 99 mMatrix.set(1, 1, 0.587f); in setGreyscale() [all …]
|
D | ScriptIntrinsicLUT.java | 30 private final Matrix4f mMatrix = new Matrix4f(); field in ScriptIntrinsicLUT
|
/frameworks/base/core/java/android/view/animation/ |
D | Transformation.java | 46 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() 121 mMatrix.postConcat(t.getMatrix()); in postCompose() 129 return mMatrix; in getMatrix() 169 sb.append(" matrix="); mMatrix.toShortString(sb); in toShortString() 180 mMatrix.printShortString(pw); in printShortString()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GradientsActivity.java | 197 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 …]
|
D | AdvancedGradientsActivity.java | 43 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()
|
D | Bitmaps3dActivity.java | 46 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()
|
D | Transform3dActivity.java | 41 private Matrix mMatrix; field in Transform3dActivity.Transform3dView 48 mMatrix = new Matrix(); in Transform3dView() 61 final Matrix matrix = mMatrix; in onDraw()
|
D | TextureViewActivity.java | 44 private Matrix mMatrix = new Matrix(); field in TextureViewActivity
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
D | TransformTestActivity.java | 69 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/native/services/surfaceflinger/ |
D | Transform.cpp | 37 : 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 …]
|
D | Transform.h | 120 mat33 mMatrix; variable
|
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/ |
D | GroupTest.java | 26 private ScriptIntrinsicColorMatrix mMatrix; field in GroupTest 45 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in createTest() 57 mMatrix.setColorMatrix(m); in createTest() 67 b.addKernel(mMatrix.getKernelID()); in createTest() 68 b.addConnection(connect, mConvolve.getKernelID(), mMatrix.getKernelID()); in createTest() 78 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation); in runTest() 82 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation); in runTest()
|
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ |
D | GroupTest.java | 33 private ScriptIntrinsicColorMatrix mMatrix; field in GroupTest 52 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in createTest() 64 mMatrix.setColorMatrix(m); in createTest() 74 b.addKernel(mMatrix.getKernelID()); in createTest() 75 b.addConnection(connect, mConvolve.getKernelID(), mMatrix.getKernelID()); in createTest() 85 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation); in runTest() 89 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation); in runTest()
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 90 private Matrix mMatrix = new Matrix(); field in PhotoView 309 mMatrix.getValues(mValues); in interceptMoveLeft() 311 mMatrix.mapRect(mTranslateRect); in interceptMoveLeft() 342 mMatrix.getValues(mValues); in interceptMoveRight() 344 mMatrix.mapRect(mTranslateRect); in interceptMoveRight() 518 mMatrix.set(mOriginalMatrix); in resetTransformations() 670 if (fits || mMatrix.isIdentity()) { in configureBounds() 674 mDrawMatrix = mMatrix; in configureBounds() 693 mMatrix.reset(); in generateMatrix() 704 mMatrix.setTranslate(vwidth / 2 - dwidth / 2, vheight / 2 - dheight / 2); in generateMatrix() [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 86 private Matrix mMatrix = new Matrix(); field in PhotoView 307 mMatrix.getValues(mValues); in interceptMoveLeft() 309 mMatrix.mapRect(mTranslateRect); in interceptMoveLeft() 340 mMatrix.getValues(mValues); in interceptMoveRight() 342 mMatrix.mapRect(mTranslateRect); in interceptMoveRight() 516 mMatrix.set(mOriginalMatrix); in resetTransformations() 668 if (fits || mMatrix.isIdentity()) { in configureBounds() 672 mDrawMatrix = mMatrix; in configureBounds() 691 mMatrix.reset(); in generateMatrix() 706 mMatrix.setRectToRect(mTempSrc, scaledDestination, Matrix.ScaleToFit.CENTER); in generateMatrix() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ImageView.java | 63 private Matrix mMatrix; field in ImageView 165 mMatrix = new Matrix(); in initImageView() 554 return mMatrix; in getImageMatrix() 564 if (matrix == null && !mMatrix.isIdentity() || in setImageMatrix() 565 matrix != null && !mMatrix.equals(matrix)) { in setImageMatrix() 566 mMatrix.set(matrix); in setImageMatrix() 887 if (mMatrix.isIdentity()) { in configureBounds() 890 mDrawMatrix = mMatrix; in configureBounds() 897 mDrawMatrix = mMatrix; in configureBounds() 901 mDrawMatrix = mMatrix; in configureBounds() [all …]
|
/frameworks/base/libs/hwui/ |
D | SkiaColorFilter.cpp | 38 SkiaColorFilter(skFilter, kColorMatrix, true), mMatrix(matrix), mVector(vector) { in SkiaColorMatrixFilter() 50 delete[] mMatrix; in ~SkiaColorMatrixFilter() 60 glUniformMatrix4fv(program->getUniform("colorMatrix"), 1, GL_FALSE, &mMatrix[0]); in setupProgram()
|
D | SkiaColorFilter.h | 91 float* mMatrix;
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 114 private final Matrix mMatrix = new Matrix(); field in TextureView 471 mMatrix.set(transform); in setTransform() 492 transform.set(mMatrix); in getTransform() 499 mLayer.setTransform(mMatrix); in applyTransformMatrix()
|
D | View.java | 2626 private final Matrix mMatrix = new Matrix(); field in View.TransformationInfo 8781 return mTransformationInfo.mMatrix; 8837 info.mMatrix.reset(); 8839 info.mMatrix.setTranslate(info.mTranslationX, info.mTranslationY); 8840 info.mMatrix.preRotate(info.mRotation, info.mPivotX, info.mPivotY); 8841 info.mMatrix.preScale(info.mScaleX, info.mScaleY, info.mPivotX, info.mPivotY); 8848 info.mMatrix.preScale(info.mScaleX, info.mScaleY, info.mPivotX, info.mPivotY); 8854 info.mMatrix.postConcat(info.matrix3D); 8858 info.mMatrixIsIdentity = info.mMatrix.isIdentity(); 8878 info.mMatrix.invert(info.mInverseMatrix); [all …]
|
/frameworks/base/api/ |
D | 14.txt | 24378 field protected android.graphics.Matrix mMatrix;
|
D | 15.txt | 24530 field protected android.graphics.Matrix mMatrix;
|
D | 16.txt | 25693 field protected android.graphics.Matrix mMatrix;
|