Home
last modified time | relevance | path

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

/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.cpp311 void Group::getLocalMatrix(SkMatrix* outMatrix, const GroupProperties& properties) { in getLocalMatrix() argument
312 outMatrix->reset(); in getLocalMatrix()
315 outMatrix->postTranslate(-properties.getPivotX(), -properties.getPivotY()); in getLocalMatrix()
316 outMatrix->postScale(properties.getScaleX(), properties.getScaleY()); in getLocalMatrix()
317 outMatrix->postRotate(properties.getRotation(), 0, 0); in getLocalMatrix()
318 outMatrix->postTranslate(properties.getTranslateX() + properties.getPivotX(), in getLocalMatrix()
DDamageAccumulator.h61 ANDROID_API void computeCurrentTransform(Matrix4* outMatrix) const;
DSkiaCanvas.h80 virtual void getMatrix(SkMatrix* outMatrix) const override;
DSkiaCanvas.cpp319 void SkiaCanvas::getMatrix(SkMatrix* outMatrix) const { in getMatrix()
320 *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/core/jni/
Dandroid_view_RenderNode.cpp344 SkMatrix* outMatrix = reinterpret_cast<SkMatrix*>(outMatrixPtr); in android_view_RenderNode_getAnimationMatrix() local
349 *outMatrix = *animationMatrix; in android_view_RenderNode_getAnimationMatrix()
442 SkMatrix* outMatrix = reinterpret_cast<SkMatrix*>(outMatrixPtr); in android_view_RenderNode_getTransformMatrix() local
448 *outMatrix = *transformMatrix; in android_view_RenderNode_getTransformMatrix()
450 outMatrix->setIdentity(); in android_view_RenderNode_getTransformMatrix()
458 SkMatrix* outMatrix = reinterpret_cast<SkMatrix*>(outMatrixPtr); in android_view_RenderNode_getInverseTransformMatrix() local
461 if (!outMatrix->invert(outMatrix)) { in android_view_RenderNode_getInverseTransformMatrix()
463 outMatrix->setIdentity(); in android_view_RenderNode_getInverseTransformMatrix()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java342 Matrix outMatrix) { in createRotationMatrix() argument
345 outMatrix.reset(); in createRotationMatrix()
348 outMatrix.setRotate(90, 0, 0); in createRotationMatrix()
349 outMatrix.postTranslate(height, 0); in createRotationMatrix()
352 outMatrix.setRotate(180, 0, 0); in createRotationMatrix()
353 outMatrix.postTranslate(width, height); in createRotationMatrix()
356 outMatrix.setRotate(270, 0, 0); in createRotationMatrix()
357 outMatrix.postTranslate(0, width); in createRotationMatrix()
DDisplayContent.java2748 Matrix outMatrix) { in createRotationMatrix() argument
2751 displayHeight, outMatrix); in createRotationMatrix()
2755 float displayWidth, float displayHeight, Matrix outMatrix) { in createRotationMatrix() argument
2758 outMatrix.reset(); in createRotationMatrix()
2761 outMatrix.setRotate(270, 0, 0); in createRotationMatrix()
2762 outMatrix.postTranslate(0, displayHeight); in createRotationMatrix()
2763 outMatrix.postTranslate(rectTop, 0); in createRotationMatrix()
2766 outMatrix.reset(); in createRotationMatrix()
2769 outMatrix.setRotate(90, 0, 0); in createRotationMatrix()
2770 outMatrix.postTranslate(displayWidth, 0); in createRotationMatrix()
[all …]
DAccessibilityController.java269 Matrix outMatrix) { in populateTransformationMatrixLocked() argument
270 windowState.getTransformationMatrix(sTempFloats, outMatrix); in populateTransformationMatrixLocked()
DWindowState.java4823 void getTransformationMatrix(float[] float9, Matrix outMatrix) { in getTransformationMatrix() argument
4859 outMatrix.setValues(float9); in getTransformationMatrix()
/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/DisplayHardware/
DHWC2.h222 android::ui::Dataspace dataspace, android::mat4* outMatrix) = 0;
290 android::mat4* outMatrix) override;
DComposerHal.h188 virtual Error getDataspaceSaturationMatrix(Dataspace dataspace, mat4* outMatrix) = 0;
400 Error getDataspaceSaturationMatrix(Dataspace dataspace, mat4* outMatrix) override;
DComposerHal.cpp1013 Error Composer::getDataspaceSaturationMatrix(Dataspace dataspace, mat4* outMatrix) in getDataspaceSaturationMatrix() argument
1016 *outMatrix = mat4(); in getDataspaceSaturationMatrix()
1027 *outMatrix = mat4(tmpMatrix.data()); in getDataspaceSaturationMatrix()
DHWC2.cpp450 Error Display::getDataspaceSaturationMatrix(Dataspace dataspace, android::mat4* outMatrix) in getDataspaceSaturationMatrix() argument
452 auto intError = mComposer.getDataspaceSaturationMatrix(dataspace, outMatrix); in getDataspaceSaturationMatrix()
/frameworks/base/libs/hwui/hwui/
DCanvas.h203 virtual void getMatrix(SkMatrix* outMatrix) const = 0;