Home
last modified time | relevance | path

Searched refs:saveCount (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/src/core/
DSkClipStack.h241 Element(int saveCount) { in Element() argument
242 this->initCommon(saveCount, kReplace_SkClipOp, false); in Element()
246 Element(int saveCount, const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
247 this->initRRect(saveCount, rrect, m, op, doAA); in Element()
250 Element(int saveCount, const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
251 this->initRect(saveCount, rect, m, op, doAA); in Element()
254 Element(int saveCount, const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
255 this->initPath(saveCount, path, m, op, doAA); in Element()
258 Element(int saveCount, sk_sp<SkShader> shader) { in Element() argument
259 this->initShader(saveCount, std::move(shader)); in Element()
[all …]
DSkClipStack.cpp172 void SkClipStack::Element::initCommon(int saveCount, SkClipOp op, bool doAA) { in initCommon() argument
173 fSaveCount = saveCount; in initCommon()
184 void SkClipStack::Element::initRect(int saveCount, const SkRect& rect, const SkMatrix& m, in initRect() argument
191 this->initCommon(saveCount, op, doAA); in initRect()
197 this->initAsPath(saveCount, path, m, op, doAA); in initRect()
200 void SkClipStack::Element::initRRect(int saveCount, const SkRRect& rrect, const SkMatrix& m, in initRRect() argument
209 this->initCommon(saveCount, op, doAA); in initRRect()
215 this->initAsPath(saveCount, path, m, op, doAA); in initRRect()
218 void SkClipStack::Element::initPath(int saveCount, const SkPath& path, const SkMatrix& m, in initPath() argument
223 this->initRect(saveCount, r, m, op, doAA); in initPath()
[all …]
/external/skqp/src/core/
DSkClipStack.h225 Element(int saveCount) { in Element() argument
226 this->initCommon(saveCount, kReplace_SkClipOp, false); in Element()
230 Element(int saveCount, const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
231 this->initRRect(saveCount, rrect, m, op, doAA); in Element()
234 Element(int saveCount, const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
235 this->initRect(saveCount, rect, m, op, doAA); in Element()
238 Element(int saveCount, const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
239 this->initPath(saveCount, path, m, op, doAA); in Element()
242 void initCommon(int saveCount, SkClipOp op, bool doAA);
243 void initRect(int saveCount, const SkRect&, const SkMatrix&, SkClipOp, bool doAA);
[all …]
DSkClipStack.cpp150 void SkClipStack::Element::initCommon(int saveCount, SkClipOp op, bool doAA) { in initCommon() argument
151 fSaveCount = saveCount; in initCommon()
162 void SkClipStack::Element::initRect(int saveCount, const SkRect& rect, const SkMatrix& m, in initRect() argument
169 this->initCommon(saveCount, op, doAA); in initRect()
175 this->initAsPath(saveCount, path, m, op, doAA); in initRect()
178 void SkClipStack::Element::initRRect(int saveCount, const SkRRect& rrect, const SkMatrix& m, in initRRect() argument
187 this->initCommon(saveCount, op, doAA); in initRRect()
193 this->initAsPath(saveCount, path, m, op, doAA); in initRRect()
196 void SkClipStack::Element::initPath(int saveCount, const SkPath& path, const SkMatrix& m, in initPath() argument
201 this->initRect(saveCount, r, m, op, doAA); in initPath()
[all …]
/external/skqp/tools/skiaserve/urlhandlers/
DBreakHandler.cpp45 int saveCount = canvas->save(); in handle() local
62 canvas->restoreToCount(saveCount); in handle()
64 saveCount = canvas->save(); in handle()
79 canvas->restoreToCount(saveCount); in handle()
/external/skia/tools/skiaserve/urlhandlers/
DBreakHandler.cpp45 int saveCount = canvas->save(); in handle() local
63 canvas->restoreToCount(saveCount); in handle()
65 saveCount = canvas->save(); in handle()
82 canvas->restoreToCount(saveCount); in handle()
/external/skia/gm/
Dstrokedlines.cpp105 int saveCount = canvas->save(); in draw_row() local
108 canvas->restoreToCount(saveCount); in draw_row()
216 int saveCount = canvas->save(); in onDraw() local
218 canvas->restoreToCount(saveCount); in onDraw()
224 int saveCount = canvas->save(); in onDraw() local
226 canvas->restoreToCount(saveCount); in onDraw()
Dandroidblendmodes.cpp100 int saveCount = canvas->save(); in onDraw() local
102 canvas->restoreToCount(saveCount); in onDraw()
/external/skqp/gm/
Dstrokedlines.cpp86 int saveCount = canvas->save(); in draw_row() local
89 canvas->restoreToCount(saveCount); in draw_row()
202 int saveCount = canvas->save(); in onDraw() local
204 canvas->restoreToCount(saveCount); in onDraw()
210 int saveCount = canvas->save(); in onDraw() local
212 canvas->restoreToCount(saveCount); in onDraw()
Dandroidblendmodes.cpp91 int saveCount = canvas->save(); in onDraw() local
93 canvas->restoreToCount(saveCount); in onDraw()
/external/skia/tools/mdbviz/
DModel.cpp97 int saveCount = canvas.save(); in drawTo() local
105 canvas.restoreToCount(saveCount); in drawTo()
/external/skqp/tools/mdbviz/
DModel.cpp99 int saveCount = canvas.save(); in drawTo() local
107 canvas.restoreToCount(saveCount); in drawTo()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DLottieDrawable.java1137 int saveCount = -1;
1153 saveCount = canvas.save();
1170 if (saveCount > 0) {
1171 canvas.restoreToCount(saveCount);
1188 int saveCount = -1; local
1199 saveCount = canvas.save();
1215 if (saveCount > 0) {
1216 canvas.restoreToCount(saveCount);
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DStickyHeaderRecyclerView.java98 final int saveCount = canvas.save(); in draw() local
118 canvas.restoreToCount(saveCount); in draw()
DStickyHeaderListView.java119 final int saveCount = canvas.save(); in draw() local
139 canvas.restoreToCount(saveCount); in draw()
/external/skia/tests/
DCanvasTest.cpp304 int saveCount = c->getSaveCount(); in __anonf60bc11e0d02() local
309 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anonf60bc11e0d02()
314 int saveCount = c->getSaveCount(); in __anonf60bc11e0e02() local
317 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anonf60bc11e0e02()
320 int saveCount = c->getSaveCount(); in __anonf60bc11e0f02() local
323 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anonf60bc11e0f02()
326 int saveCount = c->getSaveCount(); in __anonf60bc11e1002() local
330 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anonf60bc11e1002()
/external/skqp/tests/
DCanvasTest.cpp410 int saveCount = canvas->getSaveCount(); in SaveMatrixClipStep() local
415 REPORTER_ASSERT(reporter, canvas->getSaveCount() == saveCount, testStep->assertMessage()); in SaveMatrixClipStep()
424 int saveCount = canvas->getSaveCount(); in SaveLayerStep() local
427 REPORTER_ASSERT(reporter, canvas->getSaveCount() == saveCount, testStep->assertMessage()); in SaveLayerStep()
433 int saveCount = canvas->getSaveCount(); in BoundedSaveLayerStep() local
436 REPORTER_ASSERT(reporter, canvas->getSaveCount() == saveCount, testStep->assertMessage()); in BoundedSaveLayerStep()
442 int saveCount = canvas->getSaveCount(); in PaintSaveLayerStep() local
445 REPORTER_ASSERT(reporter, canvas->getSaveCount() == saveCount, testStep->assertMessage()); in PaintSaveLayerStep()
/external/skqp/samplecode/
DSampleClipDrawMatch.cpp239 int saveCount = canvas->save(); in onDrawContent() local
241 canvas->restoreToCount(saveCount); in onDrawContent()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DSubtitlePainter.java446 int saveCount = canvas.save(); in drawTextLayout() local
485 canvas.restoreToCount(saveCount); in drawTextLayout()
/external/skqp/tools/debugger/
DSkDebugCanvas.cpp101 int saveCount = originalCanvas->save(); in drawTo() local
154 filterCanvas.restoreToCount(saveCount); in drawTo()
/external/skia/tools/debugger/
DDebugCanvas.cpp131 int saveCount = originalCanvas->save(); in drawTo() local
190 finalCanvas->restoreToCount(saveCount); in drawTo()
/external/skia/fuzz/
DFuzzCanvas.cpp1083 int saveCount; in fuzz_canvas() local
1084 fuzz->next(&saveCount); in fuzz_canvas()
1085 canvas->restoreToCount(saveCount); in fuzz_canvas()
/external/skqp/fuzz/
DFuzzCanvas.cpp1113 int saveCount; in fuzz_canvas() local
1114 fuzz->next(&saveCount); in fuzz_canvas()
1115 canvas->restoreToCount(saveCount); in fuzz_canvas()
/external/skia/site/docs/user/modules/
Dcanvaskit.md711 const saveCount = canvas.getSaveCount();
714 canvas.restoreToCount(saveCount);
/external/skia/include/core/
DSkCanvas.h757 void restoreToCount(int saveCount);

12