Home
last modified time | relevance | path

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

1234

/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java88 Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasSquare()
98 assertEquals("Matrices should match", expected, canvas.getMatrix()); in testScaleToCanvasSquare()
104 final Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasTall()
115 assertEquals("Matrices should match", expected, canvas.getMatrix()); in testScaleToCanvasTall()
121 final Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasWide()
132 assertEquals("Matrices should match", expected, canvas.getMatrix()); in testScaleToCanvasWide()
138 final Matrix expected = new Matrix(canvas.getMatrix()); in testScaleToCanvasMaxSize()
149 assertEquals("Matrices should match", expected, canvas.getMatrix()); in testScaleToCanvasMaxSize()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationAdapter.java138 mTransformation.getMatrix().postTranslate(mContentRelOffset.x, mContentRelOffset.y); in onAnimationUpdateInner()
139 t.setMatrix(mLeash, mTransformation.getMatrix(), mMatrix); in onAnimationUpdateInner()
187 mTransformation.getMatrix().postTranslate(0, 0); in onAnimationUpdateInner()
188 t.setMatrix(mLeash, mTransformation.getMatrix(), mMatrix); in onAnimationUpdateInner()
204 mTransformation.getMatrix().postTranslate( in onAnimationUpdateInner()
206 t.setMatrix(mLeash, mTransformation.getMatrix(), mMatrix); in onAnimationUpdateInner()
213 mTransformation.getMatrix().mapVectors(mVecs); in onAnimationUpdateInner()
/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()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationAdapter.java140 mTransformation.getMatrix().postTranslate(mContentRelOffset.x, mContentRelOffset.y); in onAnimationUpdateInner()
141 t.setMatrix(mLeash, mTransformation.getMatrix(), mMatrix); in onAnimationUpdateInner()
194 mTransformation.getMatrix().postTranslate(0, 0); in onAnimationUpdateInner()
195 t.setMatrix(mLeash, mTransformation.getMatrix(), mMatrix); in onAnimationUpdateInner()
221 mTransformation.getMatrix().postTranslate(offset.x, offset.y); in onAnimationUpdateInner()
222 t.setMatrix(mLeash, mTransformation.getMatrix(), mMatrix); in onAnimationUpdateInner()
229 mTransformation.getMatrix().mapVectors(mVecs); in onAnimationUpdateInner()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DCursorAnchorInfoTest.java41 assertEquals(originalMatrix, originalInstance.getMatrix()); in testCreateForAdditionalParentMatrix()
59 assertEquals(newMatrix, newInstanceByBuilder.getMatrix()); in testCreateForAdditionalParentMatrix()
60 assertEquals(newMatrix, newInstanceByMethod.getMatrix()); in testCreateForAdditionalParentMatrix()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DReduceBrightColorsTintControllerTest.java60 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in setAndGetMatrix()
77 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in setAndGetMatrixClampToZero()
94 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in setAndGetMatrixClampTo100()
112 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in returnsIdentityMatrixWhenNotActivated()
DGlobalSaturationTintControllerTest.java35 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in setAndGetMatrix()
48 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in resetMatrix()
DDisplayWhiteBalanceTintControllerTest.java71 float[] currentMatrix = mDisplayWhiteBalanceTintController.getMatrix(); in displayWhiteBalance_setMatrixValidDwbCalculation()
87 .that(Arrays.equals(mDisplayWhiteBalanceTintController.getMatrix(), in displayWhiteBalance_setMatrixInvalidDwbCalculation()
/frameworks/base/core/java/android/view/animation/
DTransformation.java111 mMatrix.set(t.getMatrix()); in set()
128 mMatrix.preConcat(t.getMatrix()); in compose()
148 mMatrix.postConcat(t.getMatrix()); in postCompose()
164 public Matrix getMatrix() { in getMatrix() method in Transformation
DTranslateXAnimation.java50 Matrix m = t.getMatrix(); in applyTransformation()
53 t.getMatrix().setTranslate(dx, mTmpValues[Matrix.MTRANS_Y]); in applyTransformation()
DTranslateYAnimation.java52 Matrix m = t.getMatrix(); in applyTransformation()
55 t.getMatrix().setTranslate(mTmpValues[Matrix.MTRANS_X], dy); in applyTransformation()
DRotateAnimation.java171 t.getMatrix().setRotate(degrees); in applyTransformation()
173 t.getMatrix().setRotate(degrees, mPivotX * scale, mPivotY * scale); in applyTransformation()
/frameworks/base/libs/hwui/jni/
DPathMeasure.cpp110 static jboolean getMatrix(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, in getMatrix() function in android::SkPathMeasureGlue
114 bool result = pair->fMeasure.getMatrix(dist, matrix, (SkPathMeasure::MatrixFlags)flags); in getMatrix()
149 {"native_getMatrix", "(JFJI)Z", (void*) SkPathMeasureGlue::getMatrix },
DCamera.cpp92 v->getMatrix(native_matrix); in Camera_getMatrix()
100 v->getMatrix(&matrix); in Camera_applyToCanvas()
/frameworks/base/core/java/android/window/
DPictureInPictureSurfaceTransaction.java94 public Matrix getMatrix() { in getMatrix() method in PictureInPictureSurfaceTransaction
162 final Matrix matrix = getMatrix(); in toString()
179 final Matrix matrix = surfaceTransaction.getMatrix(); in apply()
/frameworks/base/services/core/java/com/android/server/wm/animation/
DCurvedTranslateAnimation.java40 t.getMatrix().setTranslate(location.x, location.y); in applyTransformation()
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DTexture.h44 const mat4& getMatrix() const;
/frameworks/native/libs/renderengine/include/renderengine/
DTexture.h44 const mat4& getMatrix() const;
/frameworks/base/graphics/java/android/graphics/
DCamera.java139 public void getMatrix(Matrix matrix) { in getMatrix() method in Camera
/frameworks/native/libs/renderengine/
DTexture.cpp60 const mat4& Texture::getMatrix() const { in getMatrix() function in android::renderengine::Texture
/frameworks/av/media/libstagefright/renderfright/
DTexture.cpp60 const mat4& Texture::getMatrix() const { in getMatrix() function in android::renderengine::Texture
/frameworks/rs/tests/java_api/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/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrYuvLuminanceSource.java69 public byte[] getMatrix() { in getMatrix() method in QrYuvLuminanceSource
/frameworks/base/services/core/java/com/android/server/display/color/
DGlobalSaturationTintController.java38 public float[] getMatrix() { in getMatrix() method in GlobalSaturationTintController

1234