/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | RotationAnimationUtils.java | 121 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/ |
D | DamageAccumulator.cpp | 55 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()
|
D | VectorDrawable.cpp | 316 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()
|
D | DamageAccumulator.h | 61 ANDROID_API void computeCurrentTransform(Matrix4* outMatrix) const;
|
D | SkiaCanvas.h | 82 virtual void getMatrix(SkMatrix* outMatrix) const override;
|
D | SkiaCanvas.cpp | 322 void SkiaCanvas::getMatrix(SkMatrix* outMatrix) const { in getMatrix() 323 *outMatrix = mCanvas->getTotalMatrix(); in getMatrix()
|
D | VectorDrawable.h | 465 void getLocalMatrix(SkMatrix* outMatrix, const GroupProperties& properties);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | RenderNode_Delegate.java | 170 /*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/ |
D | android_graphics_RenderNode.cpp | 342 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/ |
D | RenderNode.java | 483 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/ |
D | BufferLayer.h | 132 void getDrawingTransformMatrix(bool filteringEnabled, float outMatrix[16]);
|
D | BufferLayer.cpp | 790 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/ |
D | Canvas.h | 189 virtual void getMatrix(SkMatrix* outMatrix) const = 0;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 2849 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 …]
|
D | AccessibilityController.java | 352 Matrix outMatrix) { in populateTransformationMatrixLocked() argument 353 windowState.getTransformationMatrix(sTempFloats, outMatrix); in populateTransformationMatrixLocked()
|
D | WindowState.java | 5206 void getTransformationMatrix(float[] float9, Matrix outMatrix) { in getTransformationMatrix() argument 5243 outMatrix.setValues(float9); in getTransformationMatrix()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.h | 179 hal::Dataspace dataspace, android::mat4* outMatrix) = 0; 264 android::mat4* outMatrix) override;
|
D | ComposerHal.h | 201 virtual Error getDataspaceSaturationMatrix(Dataspace dataspace, mat4* outMatrix) = 0; 449 Error getDataspaceSaturationMatrix(Dataspace dataspace, mat4* outMatrix) override;
|
D | ComposerHal.cpp | 1050 Error Composer::getDataspaceSaturationMatrix(Dataspace dataspace, mat4* outMatrix) in getDataspaceSaturationMatrix() argument 1053 *outMatrix = mat4(); in getDataspaceSaturationMatrix() 1064 *outMatrix = mat4(tmpMatrix.data()); in getDataspaceSaturationMatrix()
|
D | HWC2.cpp | 333 Error Display::getDataspaceSaturationMatrix(Dataspace dataspace, android::mat4* outMatrix) in getDataspaceSaturationMatrix() argument 335 auto intError = mComposer.getDataspaceSaturationMatrix(dataspace, outMatrix); in getDataspaceSaturationMatrix()
|