Home
last modified time | relevance | path

Searched refs:localMatrix (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/
DRecordedOp.h153 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localCl…
154 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBas…
155 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint)
156 #define SUPER_PAINTLESS(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip…
166 const Matrix4 localMatrix; member
177 , localMatrix(localMatrix) in RecordedOp()
249 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, in CirclePropsOp()
251 : RecordedOp(RecordedOpId::CirclePropsOp, Rect(), localMatrix, localClip, paint) in CirclePropsOp()
273 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor) in FunctorOp()
274 : RecordedOp(RecordedOpId::FunctorOp, Rect(), localMatrix, localClip, nullptr) in FunctorOp()
[all …]
DFrameBuilder.cpp444 Matrix4 shadowMatrixXY(casterNodeOp.localMatrix); in deferShadow()
445 Matrix4 shadowMatrixZ(casterNodeOp.localMatrix); in deferShadow()
543 mCanvasState.concatMatrix(op.localMatrix); in deferRenderNodeOpImpl()
638 op.localMatrix, in deferVectorDrawableOp()
655 op.localMatrix, in deferCirclePropsOp()
730 op.localMatrix, in deferRoundRectPropsOp()
793 Matrix4 combinedMatrix(op.localMatrix); in deferTextureLayerOp()
842 contentTransform.multiply(op.localMatrix); in deferBeginLayerOp()
896 contentTransform.multiply(beginLayerOp.localMatrix); in deferEndLayerOp()
918 Matrix4 localMatrix(beginLayerOp.localMatrix); in deferEndLayerOp() local
[all …]
DOpDumper.cpp33 op.localMatrix.mapRect(localBounds); in dump()
DBakedOpState.h151 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip) in BakedOpState()
DRenderNode.cpp523 info.damageAccumulator->pushTransform(&op->localMatrix); in pushLayerUpdate()
526 info.damageAccumulator->pushTransform(&op->localMatrix); in pushLayerUpdate()
725 localTransformFromProjectionSurface.multiply(opState->localMatrix); in pushLayerUpdate()
954 caster->issueDrawShadowOperation(casterOp->localMatrix, handler); in pushLayerUpdate()
968 renderer.concatMatrix(childOp->localMatrix); in pushLayerUpdate()
DSkiaShader.cpp73 const SkMatrix& localMatrix, const mat4& modelViewMatrix) { in computeScreenSpaceMatrix() argument
76 shaderMatrix.loadInverse(localMatrix); in computeScreenSpaceMatrix()
DBakedOpState.cpp36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix); in ResolvedRenderState()
DDisplayListOp.h1419 , localMatrix(transformFromParent) in DrawRenderNodeOp()
1472 const mat4 localMatrix; variable
DOpenGLRenderer.cpp854 LayerShader(Layer* layer, const SkMatrix* localMatrix) in LayerShader() argument
855 : INHERITED(localMatrix) in LayerShader()
DBakedOpDispatcher.cpp800 RectOp rectOp(op.unmappedBounds, op.localMatrix, op.localClip, &paint); in renderRectForLayer()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DSweepGradient_Delegate.java117 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); in createContext() local
119 localMatrix = localMatrix.createInverse(); in createContext()
123 localMatrix = new java.awt.geom.AffineTransform(); in createContext()
126 return new SweepGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
137 java.awt.geom.AffineTransform localMatrix, in SweepGradientPaintContext() argument
140 mLocalMatrix = localMatrix; in SweepGradientPaintContext()
DBitmapShader_Delegate.java123 AffineTransform localMatrix = getLocalMatrix(); in createContext() local
125 localMatrix = localMatrix.createInverse(); in createContext()
129 localMatrix = new AffineTransform(); in createContext()
137 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel); in createContext()
148 AffineTransform localMatrix, in BitmapShaderContext() argument
151 mLocalMatrix = localMatrix; in BitmapShaderContext()
DRadialGradient_Delegate.java127 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); in createContext() local
129 localMatrix = localMatrix.createInverse(); in createContext()
133 localMatrix = new java.awt.geom.AffineTransform(); in createContext()
136 return new RadialGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
147 java.awt.geom.AffineTransform localMatrix, in RadialGradientPaintContext() argument
150 mLocalMatrix = localMatrix; in RadialGradientPaintContext()
DLinearGradient_Delegate.java139 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); in createContext() local
141 localMatrix = localMatrix.createInverse(); in createContext()
145 localMatrix = new java.awt.geom.AffineTransform(); in createContext()
148 return new LinearGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
159 java.awt.geom.AffineTransform localMatrix, in LinearGradientPaintContext() argument
162 mLocalMatrix = localMatrix; in LinearGradientPaintContext()
/frameworks/base/libs/hwui/tests/unit/
DSkiaCanvasTests.cpp60 EXPECT_EQ(directOp->localMatrix, pictureOp->localMatrix); in TEST()
DRecordingCanvasTests.cpp160 EXPECT_TRUE(op.localMatrix.isIdentity()); in TEST()
277 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in TEST()
287 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in TEST()
305 ASSERT_TRUE(op.localMatrix.isIdentity()) << "Op must not apply matrix at record time."; in RENDERTHREAD_TEST()
323 EXPECT_TRUE(op.localMatrix.isIdentity()); in TEST()
330 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in TEST()
371 EXPECT_TRUE(op.localMatrix.isIdentity()); in TEST()
377 EXPECT_TRUE(op.localMatrix.isIdentity()); in TEST()
427 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in TEST()
452 EXPECT_MATRIX_APPROX_EQ(Matrix4::identity(), op.localMatrix) in TEST()
[all …]