/frameworks/base/libs/hwui/ |
H A D | RecordedOp.h | 153 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint 154 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip 155 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint) 156 #define SUPER_PAINTLESS(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, nullptr) 166 const Matrix4 localMatrix; member in struct:android::uirenderer::RecordedOp 177 , localMatrix(localMatrix) 249 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, argument 251 : RecordedOp(RecordedOpId::CirclePropsOp, Rect(), localMatrix, localClip, paint) 273 FunctorOp(const Matrix4& localMatrix, cons argument 333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, float* left, float* top, float* right, float* bottom, float *rx, float *ry) argument 402 TextOnPathOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) argument [all...] |
H A D | OpDumper.cpp | 33 op.localMatrix.mapRect(localBounds);
|
H A D | FrameBuilder.cpp | 444 Matrix4 shadowMatrixXY(casterNodeOp.localMatrix); 445 Matrix4 shadowMatrixZ(casterNodeOp.localMatrix); 543 mCanvasState.concatMatrix(op.localMatrix); 638 op.localMatrix, 655 op.localMatrix, 730 op.localMatrix, 793 Matrix4 combinedMatrix(op.localMatrix); 842 contentTransform.multiply(op.localMatrix); 896 contentTransform.multiply(beginLayerOp.localMatrix); 918 Matrix4 localMatrix(beginLayerO [all...] |
H A D | BakedOpState.h | 151 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip)
|
H A D | SkiaShader.cpp | 69 * @param localMatrix Local matrix, as returned by SkShader::getLocalMatrix(). 73 const SkMatrix& localMatrix, const mat4& modelViewMatrix) { 76 shaderMatrix.loadInverse(localMatrix); 72 computeScreenSpaceMatrix(mat4& screenSpace, const SkMatrix& unitMatrix, const SkMatrix& localMatrix, const mat4& modelViewMatrix) argument
|
H A D | BakedOpState.cpp | 35 // resolvedMatrix = parentMatrix * localMatrix 36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix);
|
H A D | RenderNode.cpp | 523 info.damageAccumulator->pushTransform(&op->localMatrix); 526 info.damageAccumulator->pushTransform(&op->localMatrix); 725 localTransformFromProjectionSurface.multiply(opState->localMatrix); 954 caster->issueDrawShadowOperation(casterOp->localMatrix, handler); 968 renderer.concatMatrix(childOp->localMatrix);
|
H A D | DisplayListOp.h | 1419 , localMatrix(transformFromParent) 1472 const mat4 localMatrix; member in class:android::uirenderer::DrawRenderNodeOp
|
H A D | OpenGLRenderer.cpp | 854 LayerShader(Layer* layer, const SkMatrix* localMatrix) argument 855 : INHERITED(localMatrix)
|
H A D | BakedOpDispatcher.cpp | 800 RectOp rectOp(op.unmappedBounds, op.localMatrix, op.localClip, &paint);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | SkiaCanvasTests.cpp | 60 EXPECT_EQ(directOp->localMatrix, pictureOp->localMatrix);
|
H A D | RecordingCanvasTests.cpp | 160 EXPECT_TRUE(op.localMatrix.isIdentity()); 277 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); 287 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); 305 ASSERT_TRUE(op.localMatrix.isIdentity()) << "Op must not apply matrix at record time."; 323 EXPECT_TRUE(op.localMatrix.isIdentity()); 330 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); 371 EXPECT_TRUE(op.localMatrix.isIdentity()); 377 EXPECT_TRUE(op.localMatrix.isIdentity()); 427 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); 452 EXPECT_MATRIX_APPROX_EQ(Matrix4::identity(), op.localMatrix) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapShader_Delegate.java | 123 AffineTransform localMatrix = getLocalMatrix(); 125 localMatrix = localMatrix.createInverse(); 129 localMatrix = new AffineTransform(); 137 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel); 148 AffineTransform localMatrix, 151 mLocalMatrix = localMatrix; 146 BitmapShaderContext( AffineTransform canvasMatrix, AffineTransform localMatrix, ColorModel colorModel) argument
|
H A D | LinearGradient_Delegate.java | 139 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); 141 localMatrix = localMatrix.createInverse(); 145 localMatrix = new java.awt.geom.AffineTransform(); 148 return new LinearGradientPaintContext(canvasMatrix, localMatrix, colorModel); 159 java.awt.geom.AffineTransform localMatrix, 162 mLocalMatrix = localMatrix; 157 LinearGradientPaintContext( java.awt.geom.AffineTransform canvasMatrix, java.awt.geom.AffineTransform localMatrix, java.awt.image.ColorModel colorModel) argument
|
H A D | RadialGradient_Delegate.java | 127 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); 129 localMatrix = localMatrix.createInverse(); 133 localMatrix = new java.awt.geom.AffineTransform(); 136 return new RadialGradientPaintContext(canvasMatrix, localMatrix, colorModel); 147 java.awt.geom.AffineTransform localMatrix, 150 mLocalMatrix = localMatrix; 145 RadialGradientPaintContext( java.awt.geom.AffineTransform canvasMatrix, java.awt.geom.AffineTransform localMatrix, java.awt.image.ColorModel colorModel) argument
|
H A D | SweepGradient_Delegate.java | 117 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); 119 localMatrix = localMatrix.createInverse(); 123 localMatrix = new java.awt.geom.AffineTransform(); 126 return new SweepGradientPaintContext(canvasMatrix, localMatrix, colorModel); 137 java.awt.geom.AffineTransform localMatrix, 140 mLocalMatrix = localMatrix; 135 SweepGradientPaintContext( java.awt.geom.AffineTransform canvasMatrix, java.awt.geom.AffineTransform localMatrix, java.awt.image.ColorModel colorModel) argument
|