Home
last modified time | relevance | path

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

123

/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/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/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.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
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()
DScaleAnimation.java254 t.getMatrix().setScale(sx, sy); in applyTransformation()
256 t.getMatrix().setScale(sx, sy, scale * mPivotX, scale * mPivotY); in applyTransformation()
/frameworks/base/core/java/android/window/
DPictureInPictureSurfaceTransaction.java79 public Matrix getMatrix() { in getMatrix() method in PictureInPictureSurfaceTransaction
121 final Matrix matrix = getMatrix(); in toString()
136 final Matrix matrix = surfaceTransaction.getMatrix(); in apply()
/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/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/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java92 tmp.transformation.getMatrix().postTranslate(mPosition.x, mPosition.y); in apply()
93 t.setMatrix(leash, tmp.transformation.getMatrix(), tmp.floats); in apply()
/frameworks/av/media/libstagefright/renderfright/
DTexture.cpp60 const mat4& Texture::getMatrix() const { in getMatrix() function in android::renderengine::Texture
/frameworks/native/libs/renderengine/
DTexture.cpp60 const mat4& Texture::getMatrix() const { in getMatrix() function in android::renderengine::Texture
/frameworks/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java158 canvas.concat(transformToApply.getMatrix()); in transformCanvas()
162 canvas.concat(child.getMatrix()); in transformCanvas()
/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/services/core/java/com/android/server/display/color/
DGlobalSaturationTintController.java38 public float[] getMatrix() { in getMatrix() method in GlobalSaturationTintController
DTintController.java88 public abstract float[] getMatrix(); in getMatrix() method in TintController

123