/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapMesh.java | 43 private final Matrix mMatrix = new Matrix(); 72 mMatrix.setTranslate(10, 10); 73 mMatrix.invert(mInverse); 79 canvas.concat(mMatrix);
|
ScaleToFit.java | 36 private final Matrix mMatrix = new Matrix(); 85 mMatrix.setRectToRect(mSrcR, mDstR, stf); 86 canvas.concat(mMatrix);
|
/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/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Transform3dActivity.java | 41 private Matrix mMatrix; 48 mMatrix = new Matrix(); 61 final Matrix matrix = mMatrix;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ViewInvertHelper.java | 36 private final ColorMatrix mMatrix = new ColorMatrix(); 113 mMatrix.set(invert); 115 mMatrix.preConcat(mGrayscaleMatrix); 116 mDarkPaint.setColorFilter(new ColorMatrixColorFilter(mMatrix));
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
FaceView.java | 48 private Matrix mMatrix = new Matrix(); 166 CameraUtil.prepareMatrix(mMatrix, mMirror, mDisplayOrientation, rw, rh); 170 mMatrix.postRotate(mOrientation); // postRotate is clockwise 181 mMatrix.mapRect(mRect);
|
RotateLayout.java | 33 private Matrix mMatrix = new Matrix();
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
FaceView.java | 43 private Matrix mMatrix = new Matrix(); 124 Util.prepareMatrix(mMatrix, mMirror, mDisplayOrientation, getWidth(), getHeight()); 129 mMatrix.postRotate(mOrientation); // postRotate is clockwise 135 mMatrix.mapRect(mRect);
|
/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);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
WallpaperChooserDialogFragment.java | 323 Matrix mMatrix; 331 mMatrix = null; 338 if (mMatrix == null) { 354 mMatrix = new Matrix(); 355 mMatrix.setScale(scale, scale); 356 mMatrix.postTranslate((int) dx, (int) dy); 359 canvas.drawBitmap(mBitmap, mMatrix, null);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 105 private Matrix mMatrix = new Matrix(); 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.setRectToRect(mTempSrc, scaledDestination, Matrix.ScaleToFit.CENTER) [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
MultiToggleImageButton.java | 75 private Matrix mMatrix = new Matrix(); 268 mMatrix.reset(); 270 mMatrix.setTranslate(0.0f, (Float) animation.getAnimatedValue()); 272 mMatrix.setTranslate((Float) animation.getAnimatedValue(), 0.0f); 275 setImageMatrix(mMatrix);
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayout.java | 70 private Matrix [] mMatrix; 268 mMatrix = new Matrix [mNumberOfFolds]; 271 mMatrix[x] = new Matrix(); 343 mMatrix[x].reset(); 460 mMatrix[x].setPolyToPoly(mSrc, 0, mDst, 0, NUM_OF_POLY_POINTS / 2); 510 canvas.concat(mMatrix[x]);
|
/frameworks/rs/java/tests/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/base/core/java/android/view/ |
TextureView.java | 116 private final Matrix mMatrix = new Matrix(); 481 mMatrix.set(transform); 502 transform.set(mMatrix); 509 mLayer.setTransform(mMatrix);
|
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsicLUT.java | 26 private final Matrix4f mMatrix = new Matrix4f();
|
/frameworks/native/services/surfaceflinger/ |
Transform.h | 105 mat33 mMatrix;
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicLUT.java | 28 private final Matrix4f mMatrix = new Matrix4f();
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
IntrinsicBLAS.java | 238 private void xGEMV_API_test(int trans, int incX, int incY, ArrayList<Allocation> mMatrix) { 239 for (Allocation matA : mMatrix) { 240 for (Allocation vecX : mMatrix) { 244 for (Allocation vecY : mMatrix) { 290 public void L2_xGEMV_API(ArrayList<Allocation> mMatrix) { 293 xGEMV_API_test(trans, incX, incX, mMatrix); 536 private void xGBMV_API_test(int trans, int KL, int KU, int incX, int incY, ArrayList<Allocation> mMatrix) { 537 for (Allocation matA : mMatrix) { 538 for (Allocation vecX : mMatrix) { 542 for (Allocation vecY : mMatrix) { [all...] |
/frameworks/base/libs/hwui/ |
DisplayListOp.h | 196 if (!state.mMatrix.isSimple()) return false; 471 : mMatrix(matrix) {} 476 renderer.setLocalMatrix(mMatrix); 480 if (mMatrix.isIdentity()) { 483 OP_LOG("SetMatrix " SK_MATRIX_STRING, SK_MATRIX_ARGS(&mMatrix)); 490 const SkMatrix mMatrix; 496 : mMatrix(matrix) {} 499 renderer.concatMatrix(mMatrix); 503 OP_LOG("ConcatMatrix " SK_MATRIX_STRING, SK_MATRIX_ARGS(&mMatrix)); 509 const SkMatrix mMatrix; [all...] |
DeferredDisplayList.h | 52 // global op bounds, mapped by mMatrix to be in screen space coordinates, clipped 59 mat4 mMatrix;
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
FocusOverlayManager.java | 79 private Matrix mMatrix; 120 mMatrix = new Matrix(); 126 mInitialized = (mMatrix != null); 170 matrix.invert(mMatrix); 499 mMatrix.mapRect(rectF);
|
/frameworks/base/core/java/android/widget/ |
ImageView.java | 80 private Matrix mMatrix; 206 mMatrix = new Matrix(); 789 if (matrix == null && !mMatrix.isIdentity() || 790 matrix != null && !mMatrix.equals(matrix)) { 791 mMatrix.set(matrix); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 62 public abstract void multiplyMatrix(float[] mMatrix, int offset);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 64 public abstract void multiplyMatrix(float[] mMatrix, int offset);
|