Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp36 int saveCount = -1; in DrawLayer() local
38 saveCount = canvas->save(); in DrawLayer()
69 if (saveCount >= 0) { in DrawLayer()
70 canvas->restoreToCount(saveCount); in DrawLayer()
DSkiaPipeline.cpp106 int saveCount = layerCanvas->save(); in renderLayersImpl() local
107 SkASSERT(saveCount == 1); in renderLayersImpl()
126 layerCanvas->restoreToCount(saveCount); in renderLayersImpl()
/frameworks/base/libs/hwui/
DCanvasState.cpp152 void CanvasState::restoreToCount(int saveCount) { in restoreToCount() argument
153 if (saveCount < 1) saveCount = 1; in restoreToCount()
155 while (mSaveCount > saveCount) { in restoreToCount()
DSkiaCanvas.h80 virtual void restoreToCount(int saveCount) override;
168 int saveCount; member
DCanvasState.h101 void restoreToCount(int saveCount);
DSkiaCanvas.cpp249 SkASSERT(!rec || currentSaveCount >= rec->saveCount); in currentSaveRec()
251 return (rec && rec->saveCount == currentSaveCount) ? rec : nullptr; in currentSaveRec()
275 rec->saveCount = mCanvas->getSaveCount(); in recordPartialSave()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DStickyHeaderRecyclerView.java98 final int saveCount = canvas.save(); in draw() local
115 canvas.restoreToCount(saveCount); in draw()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java693 final int saveCount = canvas.save();
697 canvas.restoreToCount(saveCount);
718 final int saveCount = canvas.save();
724 canvas.restoreToCount(saveCount);
734 final int saveCount = canvas.save();
739 canvas.restoreToCount(saveCount);
DQuickContactBadge.java165 int saveCount = canvas.getSaveCount(); in onDraw() local
169 canvas.restoreToCount(saveCount); in onDraw()
DExpandableListView.java358 int saveCount = 0; in dispatchDraw() local
361 saveCount = canvas.save(); in dispatchDraw()
464 canvas.restoreToCount(saveCount); in dispatchDraw()
DSwitch.java1235 final int saveCount = canvas.save(); in onDraw() local
1238 canvas.restoreToCount(saveCount); in onDraw()
1244 final int saveCount = canvas.save(); in onDraw() local
1272 canvas.restoreToCount(saveCount); in onDraw()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java377 public GcSnapshot restoreTo(int saveCount) { in restoreTo() argument
378 return doRestoreTo(size(), saveCount); in restoreTo()
545 private GcSnapshot doRestoreTo(int size, int saveCount) { in doRestoreTo() argument
546 if (size <= saveCount) { in doRestoreTo()
553 if (size == saveCount + 1) { // this was the only one that needed restore. in doRestoreTo()
556 return previous.doRestoreTo(size - 1, saveCount); in doRestoreTo()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStickyHeaderListView.java114 final int saveCount = canvas.save(); in draw() local
131 canvas.restoreToCount(saveCount); in draw()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatSeekBarHelper.java174 final int saveCount = canvas.save(); in drawTickMarks() local
180 canvas.restoreToCount(saveCount); in drawTickMarks()
DSwitchCompat.java1217 final int saveCount = canvas.save(); in onDraw() local
1220 canvas.restoreToCount(saveCount); in onDraw()
1226 final int saveCount = canvas.save(); in onDraw() local
1254 canvas.restoreToCount(saveCount); in onDraw()
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java182 int saveCount = canvas.getSaveCount(); in onDraw() local
186 canvas.restoreToCount(saveCount); in onDraw()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedRotateDrawable.java67 final int saveCount = canvas.save(); in draw() local
70 canvas.restoreToCount(saveCount); in draw()
DRotateDrawable.java153 final int saveCount = canvas.save(); in draw() local
156 canvas.restoreToCount(saveCount); in draw()
DRippleDrawable.java695 final int saveCount = canvas.save(Canvas.CLIP_SAVE_FLAG); in draw() local
701 canvas.restoreToCount(saveCount); in draw()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java600 public void restoreToCount(int saveCount) { in restoreToCount() argument
601 if (saveCount < 1) { in restoreToCount()
608 saveCount = 1; in restoreToCount()
610 nRestoreToCount(mNativeCanvasWrapper, saveCount); in restoreToCount()
1262 private static native void nRestoreToCount(long canvasHandle, int saveCount); in nRestoreToCount() argument
/frameworks/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java225 public static void nRestoreToCount(long nativeCanvas, int saveCount) { in nRestoreToCount() argument
233 canvasDelegate.restoreTo(saveCount); in nRestoreToCount()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java297 final int saveCount = c.save(); in onDraw() local
362 c.restoreToCount(saveCount); in onDraw()
/frameworks/base/core/java/android/view/
DThreadedRenderer.java680 final int saveCount = canvas.save(); in updateRootDisplayList() local
689 canvas.restoreToCount(saveCount); in updateRootDisplayList()
/frameworks/base/libs/hwui/hwui/
DCanvas.h178 virtual void restoreToCount(int saveCount) = 0;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java110 public void restoreToCount(int saveCount) { in restoreToCount() argument

12