/frameworks/base/libs/hwui/ |
D | RecordedOp.h | 154 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localCl… 155 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBas… 156 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint) 157 #define SUPER_PAINTLESS(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip… 167 const Matrix4 localMatrix; member 178 , 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 | 447 Matrix4 shadowMatrixXY(casterNodeOp.localMatrix); in deferShadow() 448 Matrix4 shadowMatrixZ(casterNodeOp.localMatrix); in deferShadow() 546 mCanvasState.concatMatrix(op.localMatrix); in deferRenderNodeOpImpl() 644 op.localMatrix, in deferVectorDrawableOp() 661 op.localMatrix, in deferCirclePropsOp() 735 op.localMatrix, in deferRoundRectPropsOp() 799 Matrix4 combinedMatrix(op.localMatrix); in deferTextureLayerOp() 848 contentTransform.multiply(op.localMatrix); in deferBeginLayerOp() 902 contentTransform.multiply(beginLayerOp.localMatrix); in deferEndLayerOp() 924 Matrix4 localMatrix(beginLayerOp.localMatrix); in deferEndLayerOp() local [all …]
|
D | OpDumper.cpp | 34 op.localMatrix.mapRect(localBounds); in dump()
|
D | DisplayList.cpp | 114 info.damageAccumulator->pushTransform(&op->localMatrix); in prepareListAndChildren()
|
D | BakedOpState.h | 152 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip) in BakedOpState()
|
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 | RenderNode.cpp | 516 localTransformFromProjectionSurface.multiply(opState->localMatrix); in computeOrderingImpl()
|
D | BakedOpDispatcher.cpp | 789 RectOp rectOp(op.unmappedBounds, op.localMatrix, op.localClip, &paint); in renderRectForLayer()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | SweepGradient_Delegate.java | 121 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); in createContext() local 123 localMatrix = localMatrix.createInverse(); in createContext() 127 localMatrix = new java.awt.geom.AffineTransform(); in createContext() 130 return new SweepGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext() 141 java.awt.geom.AffineTransform localMatrix, in SweepGradientPaintContext() argument 144 mLocalMatrix = localMatrix; in SweepGradientPaintContext()
|
D | BitmapShader_Delegate.java | 124 AffineTransform localMatrix = getLocalMatrix(); in createContext() local 126 localMatrix = localMatrix.createInverse(); in createContext() 130 localMatrix = new AffineTransform(); in createContext() 138 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel); in createContext() 149 AffineTransform localMatrix, in BitmapShaderContext() argument 152 mLocalMatrix = localMatrix; in BitmapShaderContext()
|
D | RadialGradient_Delegate.java | 128 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); in createContext() local 130 localMatrix = localMatrix.createInverse(); in createContext() 134 localMatrix = new java.awt.geom.AffineTransform(); in createContext() 137 return new RadialGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext() 148 java.awt.geom.AffineTransform localMatrix, in RadialGradientPaintContext() argument 151 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 | RecordingCanvasTests.cpp | 188 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST() 314 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in OPENGL_PIPELINE_TEST() 324 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in OPENGL_PIPELINE_TEST() 342 ASSERT_TRUE(op.localMatrix.isIdentity()) << "Op must not apply matrix at record time."; in RENDERTHREAD_OPENGL_PIPELINE_TEST() 360 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST() 367 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in OPENGL_PIPELINE_TEST() 397 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix) << "Expect rounded offset"; in OPENGL_PIPELINE_TEST() 438 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST() 444 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST() 494 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in OPENGL_PIPELINE_TEST() [all …]
|
D | SkiaCanvasTests.cpp | 63 EXPECT_EQ(directOp->localMatrix, pictureOp->localMatrix); in OPENGL_PIPELINE_TEST()
|