Home
last modified time | relevance | path

Searched refs:parentMatrix (Results 1 – 21 of 21) sorted by relevance

/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/layer/
DTextLayer.java99 public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
100 super.getBounds(outBounds, parentMatrix, applyParents); in getBounds()
106 void drawLayer(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in drawLayer() argument
109 canvas.setMatrix(parentMatrix); in drawLayer()
138 float parentScale = Utils.getScale(parentMatrix); in drawLayer()
143 drawTextGlyphs(documentData, parentMatrix, font, canvas); in drawLayer()
145 drawTextWithFont(documentData, font, parentMatrix, canvas); in drawLayer()
152 DocumentData documentData, Matrix parentMatrix, Font font, Canvas canvas) { in drawTextGlyphs() argument
155 float parentScale = Utils.getScale(parentMatrix); in drawTextGlyphs()
181 drawGlyphTextLine(textLine, documentData, parentMatrix, font, canvas, parentScale, fontScale); in drawTextGlyphs()
[all …]
DShapeLayer.java29 @Override void drawLayer(@NonNull Canvas canvas, Matrix parentMatrix, int parentAlpha) { in drawLayer() argument
30 contentGroup.draw(canvas, parentMatrix, parentAlpha); in drawLayer()
33 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
34 super.getBounds(outBounds, parentMatrix, applyParents); in getBounds()
DNullLayer.java14 @Override void drawLayer(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in drawLayer() argument
18 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
19 super.getBounds(outBounds, parentMatrix, applyParents); in getBounds()
DImageLayer.java32 @Override public void drawLayer(@NonNull Canvas canvas, Matrix parentMatrix, int parentAlpha) { in drawLayer() argument
44 canvas.concat(parentMatrix); in drawLayer()
51 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
52 super.getBounds(outBounds, parentMatrix, applyParents); in getBounds()
DSolidLayer.java36 @Override public void drawLayer(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in drawLayer() argument
60 parentMatrix.mapPoints(points); in drawLayer()
72 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
73 super.getBounds(outBounds, parentMatrix, applyParents); in getBounds()
DCompositionLayer.java91 @Override void drawLayer(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in drawLayer() argument
94 parentMatrix.mapRect(newClipRect); in drawLayer()
113 layer.draw(canvas, parentMatrix, childAlpha); in drawLayer()
120 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
121 super.getBounds(outBounds, parentMatrix, applyParents); in getBounds()
DBaseLayer.java182 RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
185 boundsMatrix.set(parentMatrix); in getBounds()
201 public void draw(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in draw() argument
210 matrix.set(parentMatrix); in draw()
237 intersectBoundsWithMatte(rect, parentMatrix); in draw()
270 matteLayer.draw(canvas, parentMatrix, alpha); in draw()
368 abstract void drawLayer(Canvas canvas, Matrix parentMatrix, int parentAlpha); in drawLayer() argument
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/
DBaseStrokeContent.java140 @Override public void draw(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in draw() argument
142 if (Utils.hasZeroScaleAxis(parentMatrix)) { in draw()
148 …okeWidth(((FloatKeyframeAnimation) widthAnimation).getFloatValue() * Utils.getScale(parentMatrix)); in draw()
154 applyDashPatternIfNeeded(parentMatrix); in draw()
165 applyTrimPath(canvas, pathGroup, parentMatrix); in draw()
170 path.addPath(pathGroup.paths.get(j).getPath(), parentMatrix); in draw() local
181 private void applyTrimPath(Canvas canvas, PathGroup pathGroup, Matrix parentMatrix) { in applyTrimPath() argument
189 path.addPath(pathGroup.paths.get(j).getPath(), parentMatrix); in applyTrimPath() local
205 trimPathPath.transform(parentMatrix); in applyTrimPath()
248 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
[all …]
DDrawingContent.java8 void draw(Canvas canvas, Matrix parentMatrix, int alpha); in draw() argument
9 void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents); in getBounds() argument
DRepeaterContent.java106 @Override public void draw(Canvas canvas, Matrix parentMatrix, int alpha) { in draw() argument
114 matrix.set(parentMatrix); in draw()
121 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
122 contentGroup.getBounds(outBounds, parentMatrix, applyParents); in getBounds()
DFillContent.java80 @Override public void draw(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in draw() argument
95 path.addPath(paths.get(i).getPath(), parentMatrix); in draw() local
103 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
106 this.path.addPath(paths.get(i).getPath(), parentMatrix); in getBounds() local
DGradientFillContent.java100 @Override public void draw(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in draw() argument
107 path.addPath(paths.get(i).getPath(), parentMatrix); in draw() local
118 shader.setLocalMatrix(parentMatrix); in draw()
132 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
135 path.addPath(paths.get(i).getPath(), parentMatrix); in getBounds() local
DGradientStrokeContent.java66 @Override public void draw(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in draw() argument
70 getBounds(boundsRect, parentMatrix, false); in draw()
78 shader.setLocalMatrix(parentMatrix); in draw()
81 super.draw(canvas, parentMatrix, parentAlpha); in draw()
DContentGroup.java158 @Override public void draw(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in draw() argument
162 matrix.set(parentMatrix); in draw()
207 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() argument
208 matrix.set(parentMatrix); in getBounds()
DStrokeContent.java39 @Override public void draw(Canvas canvas, Matrix parentMatrix, int parentAlpha) { in draw() argument
47 super.draw(canvas, parentMatrix, parentAlpha); in draw()
/external/pdfium/core/fpdfapi/page/
Dcpdf_pattern.cpp13 const CFX_Matrix& parentMatrix) in CPDF_Pattern() argument
14 : m_pDocument(pDoc), m_pPatternObj(pObj), m_ParentMatrix(parentMatrix) { in CPDF_Pattern()
Dcpdf_tilingpattern.cpp19 const CFX_Matrix& parentMatrix) in CPDF_TilingPattern() argument
20 : CPDF_Pattern(pDoc, pPatternObj, parentMatrix) { in CPDF_TilingPattern()
Dcpdf_shadingpattern.cpp33 const CFX_Matrix& parentMatrix) in CPDF_ShadingPattern() argument
34 : CPDF_Pattern(pDoc, pPatternObj, parentMatrix), m_bShading(bShading) { in CPDF_ShadingPattern()
Dcpdf_pattern.h40 const CFX_Matrix& parentMatrix);
Dcpdf_tilingpattern.h41 const CFX_Matrix& parentMatrix);
Dcpdf_shadingpattern.h69 const CFX_Matrix& parentMatrix);