/frameworks/base/libs/hwui/ |
D | RecordedOp.h | 153 #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 …]
|
D | FrameBuilder.cpp | 444 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 …]
|
D | OpDumper.cpp | 33 op.localMatrix.mapRect(localBounds); in dump()
|
D | BakedOpState.h | 151 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip) in BakedOpState()
|
D | RenderNode.cpp | 523 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()
|
D | SkiaShader.cpp | 73 const SkMatrix& localMatrix, const mat4& modelViewMatrix) { in computeScreenSpaceMatrix() argument 76 shaderMatrix.loadInverse(localMatrix); in computeScreenSpaceMatrix()
|
D | BakedOpState.cpp | 36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix); in ResolvedRenderState()
|
D | DisplayListOp.h | 1419 , localMatrix(transformFromParent) in DrawRenderNodeOp() 1472 const mat4 localMatrix; variable
|
D | OpenGLRenderer.cpp | 854 LayerShader(Layer* layer, const SkMatrix* localMatrix) in LayerShader() argument 855 : INHERITED(localMatrix) in LayerShader()
|
D | BakedOpDispatcher.cpp | 800 RectOp rectOp(op.unmappedBounds, op.localMatrix, op.localClip, &paint); in renderRectForLayer()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | SweepGradient_Delegate.java | 117 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()
|
D | BitmapShader_Delegate.java | 123 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()
|
D | RadialGradient_Delegate.java | 127 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()
|
D | LinearGradient_Delegate.java | 139 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/ |
D | SkiaCanvasTests.cpp | 60 EXPECT_EQ(directOp->localMatrix, pictureOp->localMatrix); in TEST()
|
D | RecordingCanvasTests.cpp | 160 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 …]
|