Home
last modified time | relevance | path

Searched refs:getMatrix (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java73 Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasSquare()
81 assertEquals("Matrices should match", expected, canvas.getMatrix()); in testScaleToCanvasSquare()
87 final Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasTall()
96 assertEquals("Matrices should match", expected, canvas.getMatrix()); in testScaleToCanvasTall()
102 final Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasWide()
111 assertEquals("Matrices should match", expected, canvas.getMatrix()); in testScaleToCanvasWide()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMatrixActivity.java46 Log.d("Matrix", "m1=" + canvas.getMatrix()); in onDraw()
50 Log.d("Matrix", "m2=" + canvas.getMatrix()); in onDraw()
52 Log.d("Matrix", "m3=" + canvas.getMatrix()); in onDraw()
DTransform3dActivity.java90 camera.getMatrix(matrix); in rotate()
/frameworks/base/core/java/android/view/animation/
DTransformation.java107 mMatrix.set(t.getMatrix()); in set()
124 mMatrix.preConcat(t.getMatrix()); in compose()
143 mMatrix.postConcat(t.getMatrix()); in postCompose()
159 public Matrix getMatrix() { in getMatrix() method in Transformation
DTranslateYAnimation.java50 Matrix m = t.getMatrix(); in applyTransformation()
53 t.getMatrix().setTranslate(mTmpValues[Matrix.MTRANS_X], dy); in applyTransformation()
DTranslateXAnimation.java50 Matrix m = t.getMatrix(); in applyTransformation()
53 t.getMatrix().setTranslate(dx, mTmpValues[Matrix.MTRANS_Y]); in applyTransformation()
DRotateAnimation.java171 t.getMatrix().setRotate(degrees); in applyTransformation()
173 t.getMatrix().setRotate(degrees, mPivotX * scale, mPivotY * scale); in applyTransformation()
DScaleAnimation.java254 t.getMatrix().setScale(sx, sy); in applyTransformation()
256 t.getMatrix().setScale(sx, sy, scale * mPivotX, scale * mPivotY); in applyTransformation()
DTranslateAnimation.java167 t.getMatrix().setTranslate(dx, dy); in applyTransformation()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DCursorAnchorInfoTest.java116 assertEquals(TRANSFORM_MATRIX, info.getMatrix()); in testBuilder()
141 assertEquals(TRANSFORM_MATRIX, info2.getMatrix()); in testBuilder()
168 assertEquals(TRANSFORM_MATRIX, info3.getMatrix()); in testBuilder()
194 assertEquals(Matrix.IDENTITY_MATRIX, uninitializedInfo.getMatrix()); in testBuilder()
376 assertEquals(MATRIX1, firstInstance.getMatrix()); in testMatrixIsCopied()
380 assertEquals(MATRIX1, firstInstance.getMatrix()); in testMatrixIsCopied()
381 assertEquals(MATRIX2, secondInstance.getMatrix()); in testMatrixIsCopied()
384 assertEquals(MATRIX1, firstInstance.getMatrix()); in testMatrixIsCopied()
385 assertEquals(MATRIX2, secondInstance.getMatrix()); in testMatrixIsCopied()
/frameworks/base/graphics/java/android/graphics/
DCamera.java141 public void getMatrix(Matrix matrix) { in getMatrix() method in Camera
154 getMatrix(mMatrix); in applyToCanvas()
DPathMeasure.java107 public boolean getMatrix(float distance, Matrix matrix, int flags) { in getMatrix() method in PathMeasure
/frameworks/support/design/honeycomb/android/support/design/widget/
DViewGroupUtilsHoneycomb.java62 if (!view.getMatrix().isIdentity()) { in offsetDescendantMatrix()
63 m.preConcat(view.getMatrix()); in offsetDescendantMatrix()
/frameworks/base/core/jni/android/graphics/
DPathMeasure.cpp112 static jboolean getMatrix(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, in getMatrix() function in android::SkPathMeasureGlue
116 bool result = pair->fMeasure.getMatrix(dist, matrix, (SkPathMeasure::MatrixFlags)flags); in getMatrix()
151 {"native_getMatrix", "(JFJI)Z", (void*) SkPathMeasureGlue::getMatrix },
/frameworks/support/v4/honeycomb/android/support/v4/view/
DViewCompatHC.java102 public static Matrix getMatrix(View view) { in getMatrix() method in ViewCompatHC
103 return view.getMatrix(); in getMatrix()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java142 canvas.concat(transformToApply.getMatrix()); in transformCanvas()
147 canvas.concat(child.getMatrix()); in transformCanvas()
/frameworks/native/services/surfaceflinger/RenderEngine/
DTexture.h49 const mat4& getMatrix() const;
DTexture.cpp63 const mat4& Texture::getMatrix() const { in getMatrix() function in android::Texture
/frameworks/base/services/core/java/com/android/server/wm/animation/
DCurvedTranslateAnimation.java40 t.getMatrix().setTranslate(location.x, location.y); in applyTransformation()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DTransform.java73 public Matrix getMatrix(char from, char to) { in getMatrix() method in Transform
172 Matrix m = t.getMatrix(SCREEN_SPACE, VOLUME_SPACE); in main()
DBasicPipeline.java46 Matrix m = state.mTransform.getMatrix(Transform.VOLUME_SPACE, Transform.SCREEN_SPACE); in setupTriangles()
/frameworks/base/core/java/android/transition/
DChangeTransform.java192 Matrix matrix = view.getMatrix(); in captureValues()
331 Matrix currentMatrix = pathAnimatorMatrix.getMatrix(); in createTransformAnimator()
536 public Matrix getMatrix() { in getMatrix() method in ChangeTransform.PathAnimatorMatrix
/frameworks/base/core/java/android/view/
DSurface.java607 public void getMatrix(Matrix m) { in getMatrix() method in Surface.CompatibleCanvas
608 super.getMatrix(m); in getMatrix()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java905 mFrameTransformation.getMatrix().preConcat(mFrameInitialMatrix); in stepAnimation()
916 mSnapshotFinalMatrix.setConcat(mExitTransformation.getMatrix(), mSnapshotInitialMatrix); in stepAnimation()
940 mCustomBlackFrame.setMatrix(mFrameTransformation.getMatrix()); in updateSurfacesInTransaction()
949 … mExitFrameFinalMatrix.setConcat(mExitTransformation.getMatrix(), mFrameInitialMatrix); in updateSurfacesInTransaction()
962 mEnteringBlackFrame.setMatrix(mEnterTransformation.getMatrix()); in updateSurfacesInTransaction()
/frameworks/base/libs/hwui/
DCanvasState.h108 void getMatrix(SkMatrix* outMatrix) const;

123