/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicColorMatrix.java | 31 private final Matrix4f mMatrix = new Matrix4f(); field in class:ScriptIntrinsicColorMatrix 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 [all...] |
H A D | ScriptIntrinsicLUT.java | 28 private final Matrix4f mMatrix = new Matrix4f(); field in class:ScriptIntrinsicLUT
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptIntrinsicColorMatrix.java | 43 private final Matrix4f mMatrix = new Matrix4f(); field in class:ScriptIntrinsicColorMatrix 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 [all...] |
H A D | ScriptIntrinsicLUT.java | 28 private final Matrix4f mMatrix = new Matrix4f(); field in class:ScriptIntrinsicLUT
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Camera.java | 25 private Matrix mMatrix; field in class:Camera 153 if (mMatrix == null) mMatrix = new Matrix(); 154 getMatrix(mMatrix); 155 canvas.concat(mMatrix);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Transformation.java | 46 protected Matrix mMatrix; field in class:Transformation 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 [all...] |
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
H A D | TransformTestActivity.java | 69 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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | GroupTest.java | 26 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()); 78 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation); 82 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Bitmaps3dActivity.java | 46 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 D | GradientsActivity.java | 197 private final Matrix mMatrix; field in class:GradientsActivity.ShadersView 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 [all...] |
H A D | AdvancedGradientsActivity.java | 43 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 D | Transform3dActivity.java | 41 private Matrix mMatrix; field in class:Transform3dActivity.Transform3dView 48 mMatrix = new Matrix(); 61 final Matrix matrix = mMatrix;
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 37 : 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]; 95 return mMatrix[2][0]; 99 return mMatrix[2][1]; 105 vec3& v(mMatrix[i]); 113 mMatrix[ [all...] |
H A D | Transform.h | 106 mat33 mMatrix; member in class:android::Transform
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | UsageIO.java | 32 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 D | GroupTest.java | 33 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()); 85 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation); 89 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | GroupTest.java | 33 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()); 85 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation); 89 mMatrix.forEach(mScratchPixelsAllocation1, mOutPixelsAllocation);
|
/frameworks/base/libs/hwui/ |
H A D | SkiaColorFilter.cpp | 38 SkiaColorFilter(skFilter, kColorMatrix, true), mMatrix(matrix), mVector(vector) { 50 delete[] mMatrix; 60 glUniformMatrix4fv(program->getUniform("colorMatrix"), 1, GL_FALSE, &mMatrix[0]);
|
H A D | DisplayListOp.h | 199 if (!state.mMatrix.isSimple()) return false; 460 : mMatrix(matrix) {} 463 renderer.setMatrix(mMatrix); 467 if (mMatrix) { 468 OP_LOG("SetMatrix " MATRIX_STRING, MATRIX_ARGS(mMatrix)); 477 SkMatrix* mMatrix; member in class:android::uirenderer::SetMatrixOp 483 : mMatrix(matrix) {} 486 renderer.concatMatrix(mMatrix); 490 OP_LOG("ConcatMatrix " MATRIX_STRING, MATRIX_ARGS(mMatrix)); 496 SkMatrix* mMatrix; member in class:android::uirenderer::ConcatMatrixOp 864 SkMatrix* mMatrix; member in class:android::uirenderer::DrawBitmapMatrixOp [all...] |
H A D | SkiaColorFilter.h | 91 float* mMatrix; member in struct:android::uirenderer::SkiaColorMatrixFilter
|
H A D | DeferredDisplayList.h | 56 // global op bounds, mapped by mMatrix to be in screen space coordinates, clipped 64 mat4 mMatrix; member in class:android::uirenderer::DeferredDisplayState
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 94 private Matrix mMatrix = new Matrix(); field in class:PhotoView 371 mMatrix.getValues(mValues); 373 mMatrix.mapRect(mTranslateRect); 404 mMatrix.getValues(mValues); 406 mMatrix.mapRect(mTranslateRect); 581 mMatrix.set(mOriginalMatrix); 733 if (fits || mMatrix.isIdentity()) { 737 mDrawMatrix = mMatrix; 756 mMatrix.reset(); 771 mMatrix [all...] |
/frameworks/base/core/java/android/view/ |
H A D | TextureView.java | 115 private final Matrix mMatrix = new Matrix(); field in class:TextureView 479 mMatrix.set(transform); 500 transform.set(mMatrix); 507 mLayer.setTransform(mMatrix);
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 68 private Matrix mMatrix; field in class:ImageView 174 mMatrix = new Matrix(); 586 if (matrix == null && !mMatrix.isIdentity() || 587 matrix != null && !mMatrix.equals(matrix)) { 588 mMatrix.set(matrix); 938 if (mMatrix.isIdentity()) { 941 mDrawMatrix = mMatrix; 948 mDrawMatrix = mMatrix; 952 mDrawMatrix = mMatrix; 968 mDrawMatrix = mMatrix; [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 64 public abstract void multiplyMatrix(float[] mMatrix, int offset); argument
|