Home
last modified time | relevance | path

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

1234

/aosp12/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DTaskFragmentAnimationAdapter.java77 mTransformation.getMatrix().postTranslate( in onAnimationUpdateInner()
79 t.setMatrix(mLeash, mTransformation.getMatrix(), mMatrix); in onAnimationUpdateInner()
86 mTransformation.getMatrix().mapVectors(mVecs); in onAnimationUpdateInner()
137 mTransformation.getMatrix().getValues(mMatrix); in onAnimationUpdateInner()
148 mTransformation.getMatrix().postTranslate(posX, posY); in onAnimationUpdateInner()
149 t.setMatrix(mLeash, mTransformation.getMatrix(), mMatrix); in onAnimationUpdateInner()
168 mTransformation.getMatrix().postTranslate(0, 0); in onAnimationUpdateInner()
169 t.setMatrix(mLeash, mTransformation.getMatrix(), mMatrix); in onAnimationUpdateInner()
185 mTransformation.getMatrix().postTranslate( in onAnimationUpdateInner()
187 t.setMatrix(mLeash, mTransformation.getMatrix(), mMatrix); in onAnimationUpdateInner()
[all …]
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A 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()
/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A 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()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
H A 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()
H A DGlobalSaturationTintControllerTest.java35 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in setAndGetMatrix()
48 assertThat(tintController.getMatrix()).usingTolerance(0.00001f) in resetMatrix()
H A DDisplayWhiteBalanceTintControllerTest.java71 float[] currentMatrix = mDisplayWhiteBalanceTintController.getMatrix(); in displayWhiteBalance_setMatrixValidDwbCalculation()
87 .that(Arrays.equals(mDisplayWhiteBalanceTintController.getMatrix(), in displayWhiteBalance_setMatrixInvalidDwbCalculation()
/aosp12/frameworks/base/core/java/android/view/animation/
H A DTransformation.java108 mMatrix.set(t.getMatrix()); in set()
125 mMatrix.preConcat(t.getMatrix()); in compose()
144 mMatrix.postConcat(t.getMatrix()); in postCompose()
160 public Matrix getMatrix() { in getMatrix() method in Transformation
H A DTranslateXAnimation.java50 Matrix m = t.getMatrix(); in applyTransformation()
53 t.getMatrix().setTranslate(dx, mTmpValues[Matrix.MTRANS_Y]); in applyTransformation()
H A DTranslateYAnimation.java52 Matrix m = t.getMatrix(); in applyTransformation()
55 t.getMatrix().setTranslate(mTmpValues[Matrix.MTRANS_X], dy); in applyTransformation()
H A DRotateAnimation.java171 t.getMatrix().setRotate(degrees); in applyTransformation()
173 t.getMatrix().setRotate(degrees, mPivotX * scale, mPivotY * scale); in applyTransformation()
H A DScaleAnimation.java254 t.getMatrix().setScale(sx, sy); in applyTransformation()
256 t.getMatrix().setScale(sx, sy, scale * mPivotX, scale * mPivotY); in applyTransformation()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DCursorAnchorInfoCompatWrapper.java81 public Matrix getMatrix() { in getMatrix() method in CursorAnchorInfoCompatWrapper
146 public Matrix getMatrix() { in getMatrix() method in CursorAnchorInfoCompatWrapper.RealWrapper
147 return mInstance.getMatrix(); in getMatrix()
/aosp12/frameworks/base/libs/hwui/jni/
H A 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 },
H A DCamera.cpp92 v->getMatrix(native_matrix); in Camera_getMatrix()
100 v->getMatrix(&matrix); in Camera_applyToCanvas()
/aosp12/frameworks/base/core/java/android/window/
H A DPictureInPictureSurfaceTransaction.java85 public Matrix getMatrix() { in getMatrix() method in PictureInPictureSurfaceTransaction
132 final Matrix matrix = getMatrix(); in toString()
147 final Matrix matrix = surfaceTransaction.getMatrix(); in apply()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DCursorAnchorInfoUtils.java68 if (!currentView.getMatrix().isIdentity()) { in isPositionVisible()
69 currentView.getMatrix().mapPoints(position); in isPositionVisible()
125 final Matrix viewToScreenMatrix = new Matrix(textView.getMatrix()); in extractFromTextViewInternal()
/aosp12/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A 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()
/aosp12/frameworks/layoutlib/bridge/src/android/view/
H A DViewGroup_Delegate.java158 canvas.concat(transformToApply.getMatrix()); in transformCanvas()
162 canvas.concat(child.getMatrix()); in transformCanvas()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimationSpec.java92 tmp.transformation.getMatrix().postTranslate(mPosition.x, mPosition.y); in apply()
93 t.setMatrix(leash, tmp.transformation.getMatrix(), tmp.floats); in apply()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/animation/
H A DCurvedTranslateAnimation.java40 t.getMatrix().setTranslate(location.x, location.y); in applyTransformation()
/aosp12/frameworks/native/libs/renderengine/include/renderengine/
H A DTexture.h44 const mat4& getMatrix() const;
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DCamera.java139 public void getMatrix(Matrix matrix) { in getMatrix() method in Camera
/aosp12/frameworks/av/media/libstagefright/renderfright/include/renderengine/
H A DTexture.h44 const mat4& getMatrix() const;
/aosp12/frameworks/native/libs/renderengine/
H A DTexture.cpp60 const mat4& Texture::getMatrix() const { in getMatrix() function in android::renderengine::Texture
/aosp12/frameworks/av/media/libstagefright/renderfright/
H A DTexture.cpp60 const mat4& Texture::getMatrix() const { in getMatrix() function in android::renderengine::Texture

1234