/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ColorSpaceMatrix.java | 22 private final float[] mMatrix = new float[16]; field in ColorSpaceMatrix 37 System.arraycopy(matrix.mMatrix, 0, mMatrix, 0, matrix.mMatrix.length); in ColorSpaceMatrix() 46 return mMatrix; in getMatrix() 53 Arrays.fill(mMatrix, 0); in identity() 54 mMatrix[0] = mMatrix[5] = mMatrix[10] = mMatrix[15] = 1; in identity() 58 mMatrix[0] = mMatrix[1] = mMatrix[2] = 0.3086f; in convertToLuminance() 59 mMatrix[4] = mMatrix[5] = mMatrix[6] = 0.6094f; in convertToLuminance() 60 mMatrix[8] = mMatrix[9] = mMatrix[10] = 0.0820f; in convertToLuminance() 71 temp[y4 + x] = mMatrix[y4 + 0] * a[x] in multiply() 72 + mMatrix[y4 + 1] * a[4 + x] in multiply() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | EdgeView.java | 44 private float[] mMatrix = new float[4 * 16]; field in EdgeView 71 Matrix.setIdentityM(mMatrix, TOP_M); in onLayout() 72 Matrix.setIdentityM(mMatrix, LEFT_M); in onLayout() 73 Matrix.setIdentityM(mMatrix, BOTTOM_M); in onLayout() 74 Matrix.setIdentityM(mMatrix, RIGHT_M); in onLayout() 76 Matrix.rotateM(mMatrix, LEFT_M, 90, 0, 0, 1); in onLayout() 77 Matrix.scaleM(mMatrix, LEFT_M, 1, -1, 1); in onLayout() 79 Matrix.translateM(mMatrix, BOTTOM_M, 0, h, 0); in onLayout() 80 Matrix.scaleM(mMatrix, BOTTOM_M, 1, -1, 1); in onLayout() 82 Matrix.translateM(mMatrix, RIGHT_M, w, 0, 0); in onLayout() [all …]
|
D | Paper.java | 34 private float[] mMatrix = new float[16]; field in Paper 83 Matrix.setIdentityM(mMatrix, 0); in getTransform() 84 Matrix.translateM(mMatrix, 0, mMatrix, 0, rect.centerX(), rect.centerY(), 0); in getTransform() 85 Matrix.rotateM(mMatrix, 0, degrees, 0, 1, 0); in getTransform() 86 Matrix.translateM(mMatrix, 0, mMatrix, 0, -rect.width() / 2, -rect.height() / 2, 0); in getTransform() 87 return mMatrix; in getTransform()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | MatrixFit.java | 26 private double[][] mMatrix; field in MatrixFit 44 return mMatrix; in getMatrix() 54 mMatrix = new double[mDimension +1][mDimension + mDimension +1]; in fit() 107 mMatrix[i][j] = Q[i][j]; in fit() 110 mMatrix[i][mDimension + 1 + j] = c[i][j]; in fit() 113 if (!gaussianElimination(mMatrix)) { in fit() 126 res[j] += point[i] * mMatrix[i][j+ mDimension +1]; in apply() 128 res[j] += mMatrix[mDimension][j+ mDimension +1]; in apply() 137 str += "x" + i + " * " + mMatrix[i][j+mDimension+1] + " + "; in printEquation() 139 str += mMatrix[mDimension][j+mDimension+1]; in printEquation()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | ThumbnailDrawable.java | 46 private final Matrix mMatrix = new Matrix(); field in ThumbnailDrawable 125 mMatrix.reset(); in updateMatrix() 132 mMatrix.postRotate(90, 0, 0); in updateMatrix() 133 mMatrix.postTranslate(thumbnail.getHeight(), 0); in updateMatrix() 142 mMatrix.postScale(scaleX, scaleY); in updateMatrix() 143 mShader.setLocalMatrix(mMatrix); in updateMatrix()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | TaskThumbnailView.java | 90 private final Matrix mMatrix = new Matrix(); field in TaskThumbnailView 306 mOverlay.initOverlay(mTask, mThumbnailData, mMatrix); in updateOverlay() 360 mMatrix.setRotate(90 * rotationDir); in updateThumbnailMatrix() 369 mMatrix.postTranslate(-mClippedInsets.left, -mClippedInsets.top); in updateThumbnailMatrix() 372 mMatrix.postTranslate(mThumbnailData.thumbnail.getHeight(), 0); in updateThumbnailMatrix() 374 mMatrix.postTranslate(0, mThumbnailData.thumbnail.getWidth()); in updateThumbnailMatrix() 378 mMatrix.setTranslate(-mClippedInsets.left, -mClippedInsets.top); in updateThumbnailMatrix() 395 mMatrix.postScale(thumbnailScale, thumbnailScale); in updateThumbnailMatrix() 396 mBitmapShader.setLocalMatrix(mMatrix); in updateThumbnailMatrix()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | FaceView.java | 43 private Matrix mMatrix = new Matrix(); field in FaceView 124 Util.prepareMatrix(mMatrix, mMirror, mDisplayOrientation, getWidth(), getHeight()); in onDraw() 129 mMatrix.postRotate(mOrientation); // postRotate is clockwise in onDraw() 135 mMatrix.mapRect(mRect); in onDraw()
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconNormalizer.java | 85 private final Matrix mMatrix; field in IconNormalizer 112 mMatrix = new Matrix(); in IconNormalizer() 180 mMatrix.reset(); in isShape() 181 mMatrix.setScale(mBounds.width(), mBounds.height()); in isShape() 182 mMatrix.postTranslate(mBounds.left, mBounds.top); in isShape() 183 maskPath.transform(mMatrix, mShapePath); in isShape()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | FaceView.java | 48 private Matrix mMatrix = new Matrix(); field in FaceView 166 CameraUtil.prepareMatrix(mMatrix, mMirror, mDisplayOrientation, rw, rh); in onDraw() 170 mMatrix.postRotate(mOrientation); // postRotate is clockwise in onDraw() 181 mMatrix.mapRect(mRect); in onDraw()
|
D | RotateLayout.java | 33 private Matrix mMatrix = new Matrix(); field in RotateLayout
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MultiToggleImageButton.java | 75 private Matrix mMatrix = new Matrix(); field in MultiToggleImageButton 268 mMatrix.reset(); in init() 270 mMatrix.setTranslate(0.0f, (Float) animation.getAnimatedValue()); in init() 272 mMatrix.setTranslate((Float) animation.getAnimatedValue(), 0.0f); in init() 275 setImageMatrix(mMatrix); in init()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | FocusOverlayManager.java | 79 private Matrix mMatrix; field in FocusOverlayManager 120 mMatrix = new Matrix(); in FocusOverlayManager() 126 mInitialized = (mMatrix != null); in setFocusRenderer() 170 matrix.invert(mMatrix); in setMatrix() 499 mMatrix.mapRect(rectF); in calculateTapArea()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 398 private final Matrix mMatrix; field in ImageUtils.ImageResizer 445 mMatrix = new Matrix(); in ImageResizer() 716 mMatrix.reset(); in recodeImage() 717 mMatrix.postRotate(mOrientationParams.rotation); in recodeImage() 718 mMatrix.postScale(mOrientationParams.scaleX / mScaleFactor, in recodeImage() 721 mMatrix, false /* filter */); in recodeImage()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | FocusManager.java | 62 private Matrix mMatrix; field in FocusManager 104 mMatrix = new Matrix(); in FocusManager() 132 matrix.invert(mMatrix); in initialize() 455 mMatrix.mapRect(rectF); in calculateTapArea()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | CropImage.java | 570 hv.mMatrix.set(getImageMatrix()); in onLayout() 587 hv.mMatrix.set(getImageMatrix()); in zoomTo() 596 hv.mMatrix.set(getImageMatrix()); in zoomIn() 605 hv.mMatrix.set(getImageMatrix()); in zoomOut() 615 hv.mMatrix.postTranslate(deltaX, deltaY); in postTranslate()
|
D | HighlightView.java | 358 mMatrix.mapRect(r); in computeLayout() 372 mMatrix = new Matrix(m); in setup() 399 Matrix mMatrix; field in HighlightView
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ManageCachePage.java | 95 private float mMatrix[] = new float[16]; 131 GalleryUtils.setViewPointMatrix(mMatrix, 133 canvas.multiplyMatrix(mMatrix, 0);
|
D | AlbumPage.java | 149 private final float mMatrix[] = new float[16]; 168 GalleryUtils.setViewPointMatrix(mMatrix, 175 canvas.multiplyMatrix(mMatrix, 0);
|
D | AlbumSetPage.java | 128 private final float mMatrix[] = new float[16]; 151 GalleryUtils.setViewPointMatrix(mMatrix, 153 canvas.multiplyMatrix(mMatrix, 0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES11Canvas.java | 775 System.arraycopy(mMatrixValues, 0, config.mMatrix, 0, 16); in save() 777 config.mMatrix[0] = Float.NEGATIVE_INFINITY; in save() 807 float mMatrix[] = new float[16]; field in GLES11Canvas.ConfigState 812 if (mMatrix[0] != Float.NEGATIVE_INFINITY) { in restore() 813 System.arraycopy(mMatrix, 0, canvas.mMatrixValues, 0, 16); in restore()
|
D | GLCanvas.java | 64 public abstract void multiplyMatrix(float[] mMatrix, int offset); in multiplyMatrix() argument
|