Home
last modified time | relevance | path

Searched refs:outMatrix (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/utils/
DRotationAnimationUtils.java121 public static void createRotationMatrix(int rotation, int width, int height, Matrix outMatrix) { in createRotationMatrix() argument
124 outMatrix.reset(); in createRotationMatrix()
127 outMatrix.setRotate(90, 0, 0); in createRotationMatrix()
128 outMatrix.postTranslate(height, 0); in createRotationMatrix()
131 outMatrix.setRotate(180, 0, 0); in createRotationMatrix()
132 outMatrix.postTranslate(width, height); in createRotationMatrix()
135 outMatrix.setRotate(270, 0, 0); in createRotationMatrix()
136 outMatrix.postTranslate(0, width); in createRotationMatrix()
/frameworks/base/libs/hwui/
DDamageAccumulator.cpp55 static void computeTransformImpl(const DirtyStack* currentFrame, Matrix4* outMatrix) { in computeTransformImpl() argument
57 computeTransformImpl(currentFrame->prev, outMatrix); in computeTransformImpl()
61 currentFrame->renderNode->applyViewPropertyTransforms(*outMatrix); in computeTransformImpl()
64 outMatrix->multiply(*currentFrame->matrix4); in computeTransformImpl()
75 void DamageAccumulator::computeCurrentTransform(Matrix4* outMatrix) const { in computeCurrentTransform()
76 outMatrix->loadIdentity(); in computeCurrentTransform()
77 computeTransformImpl(mHead, outMatrix); in computeCurrentTransform()
DVectorDrawable.cpp316 void Group::getLocalMatrix(SkMatrix* outMatrix, const GroupProperties& properties) { in getLocalMatrix() argument
317 outMatrix->reset(); in getLocalMatrix()
320 outMatrix->postTranslate(-properties.getPivotX(), -properties.getPivotY()); in getLocalMatrix()
321 outMatrix->postScale(properties.getScaleX(), properties.getScaleY()); in getLocalMatrix()
322 outMatrix->postRotate(properties.getRotation(), 0, 0); in getLocalMatrix()
323 outMatrix->postTranslate(properties.getTranslateX() + properties.getPivotX(), in getLocalMatrix()
DDamageAccumulator.h61 ANDROID_API void computeCurrentTransform(Matrix4* outMatrix) const;
DSkiaCanvas.h82 virtual void getMatrix(SkMatrix* outMatrix) const override;
DSkiaCanvas.cpp322 void SkiaCanvas::getMatrix(SkMatrix* outMatrix) const { in getMatrix()
323 *outMatrix = mCanvas->getTotalMatrix(); in getMatrix()
DVectorDrawable.h465 void getLocalMatrix(SkMatrix* outMatrix, const GroupProperties& properties);
/frameworks/layoutlib/bridge/src/android/graphics/
DRenderNode_Delegate.java170 /*package*/ static void getMatrix(RenderNode renderNode, Matrix outMatrix) { in getMatrix() argument
171 outMatrix.reset(); in getMatrix()
181 outMatrix.setTranslate(translationX, translationY); in getMatrix()
182 outMatrix.preRotate(rotation, pivotX, pivotY); in getMatrix()
183 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY); in getMatrix()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp342 SkMatrix* outMatrix = reinterpret_cast<SkMatrix*>(outMatrixPtr); in android_view_RenderNode_getAnimationMatrix() local
347 *outMatrix = *animationMatrix; in android_view_RenderNode_getAnimationMatrix()
440 SkMatrix* outMatrix = reinterpret_cast<SkMatrix*>(outMatrixPtr); in getTransformMatrix() local
446 *outMatrix = *transformMatrix; in getTransformMatrix()
448 outMatrix->setIdentity(); in getTransformMatrix()
460 SkMatrix* outMatrix = reinterpret_cast<SkMatrix*>(outMatrixPtr); in android_view_RenderNode_getInverseTransformMatrix() local
463 if (!outMatrix->invert(outMatrix)) { in android_view_RenderNode_getInverseTransformMatrix()
465 outMatrix->setIdentity(); in android_view_RenderNode_getInverseTransformMatrix()
/frameworks/base/graphics/java/android/graphics/
DRenderNode.java483 public void getMatrix(@NonNull Matrix outMatrix) { in getMatrix() argument
484 nGetTransformMatrix(mNativeRenderNode, outMatrix.native_instance); in getMatrix()
493 public void getInverseMatrix(@NonNull Matrix outMatrix) { in getInverseMatrix() argument
494 nGetInverseTransformMatrix(mNativeRenderNode, outMatrix.native_instance); in getInverseMatrix()
/frameworks/native/services/surfaceflinger/
DBufferLayer.h132 void getDrawingTransformMatrix(bool filteringEnabled, float outMatrix[16]);
DBufferLayer.cpp790 void BufferLayer::getDrawingTransformMatrix(bool filteringEnabled, float outMatrix[16]) { in getDrawingTransformMatrix()
791 GLConsumer::computeTransformMatrix(outMatrix, mBufferInfo.mBuffer, mBufferInfo.mCrop, in getDrawingTransformMatrix()
/frameworks/base/libs/hwui/hwui/
DCanvas.h189 virtual void getMatrix(SkMatrix* outMatrix) const = 0;
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2849 Matrix outMatrix) { in createRotationMatrix() argument
2852 displayHeight, outMatrix); in createRotationMatrix()
2856 float displayWidth, float displayHeight, Matrix outMatrix) { in createRotationMatrix() argument
2859 outMatrix.reset(); in createRotationMatrix()
2862 outMatrix.setRotate(270, 0, 0); in createRotationMatrix()
2863 outMatrix.postTranslate(0, displayHeight); in createRotationMatrix()
2864 outMatrix.postTranslate(rectTop, 0); in createRotationMatrix()
2867 outMatrix.reset(); in createRotationMatrix()
2870 outMatrix.setRotate(90, 0, 0); in createRotationMatrix()
2871 outMatrix.postTranslate(displayWidth, 0); in createRotationMatrix()
[all …]
DAccessibilityController.java352 Matrix outMatrix) { in populateTransformationMatrixLocked() argument
353 windowState.getTransformationMatrix(sTempFloats, outMatrix); in populateTransformationMatrixLocked()
DWindowState.java5206 void getTransformationMatrix(float[] float9, Matrix outMatrix) { in getTransformationMatrix() argument
5243 outMatrix.setValues(float9); in getTransformationMatrix()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.h179 hal::Dataspace dataspace, android::mat4* outMatrix) = 0;
264 android::mat4* outMatrix) override;
DComposerHal.h201 virtual Error getDataspaceSaturationMatrix(Dataspace dataspace, mat4* outMatrix) = 0;
449 Error getDataspaceSaturationMatrix(Dataspace dataspace, mat4* outMatrix) override;
DComposerHal.cpp1050 Error Composer::getDataspaceSaturationMatrix(Dataspace dataspace, mat4* outMatrix) in getDataspaceSaturationMatrix() argument
1053 *outMatrix = mat4(); in getDataspaceSaturationMatrix()
1064 *outMatrix = mat4(tmpMatrix.data()); in getDataspaceSaturationMatrix()
DHWC2.cpp333 Error Display::getDataspaceSaturationMatrix(Dataspace dataspace, android::mat4* outMatrix) in getDataspaceSaturationMatrix() argument
335 auto intError = mComposer.getDataspaceSaturationMatrix(dataspace, outMatrix); in getDataspaceSaturationMatrix()