/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 36 int saveCount = -1; in DrawLayer() local 38 saveCount = canvas->save(); in DrawLayer() 69 if (saveCount >= 0) { in DrawLayer() 70 canvas->restoreToCount(saveCount); in DrawLayer()
|
D | SkiaPipeline.cpp | 106 int saveCount = layerCanvas->save(); in renderLayersImpl() local 107 SkASSERT(saveCount == 1); in renderLayersImpl() 126 layerCanvas->restoreToCount(saveCount); in renderLayersImpl()
|
/frameworks/base/libs/hwui/ |
D | CanvasState.cpp | 152 void CanvasState::restoreToCount(int saveCount) { in restoreToCount() argument 153 if (saveCount < 1) saveCount = 1; in restoreToCount() 155 while (mSaveCount > saveCount) { in restoreToCount()
|
D | SkiaCanvas.h | 80 virtual void restoreToCount(int saveCount) override; 168 int saveCount; member
|
D | CanvasState.h | 101 void restoreToCount(int saveCount);
|
D | SkiaCanvas.cpp | 249 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/ |
D | StickyHeaderRecyclerView.java | 98 final int saveCount = canvas.save(); in draw() local 115 canvas.restoreToCount(saveCount); in draw()
|
/frameworks/base/core/java/android/widget/ |
D | AbsSeekBar.java | 693 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);
|
D | QuickContactBadge.java | 165 int saveCount = canvas.getSaveCount(); in onDraw() local 169 canvas.restoreToCount(saveCount); in onDraw()
|
D | ExpandableListView.java | 358 int saveCount = 0; in dispatchDraw() local 361 saveCount = canvas.save(); in dispatchDraw() 464 canvas.restoreToCount(saveCount); in dispatchDraw()
|
D | Switch.java | 1235 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/ |
D | GcSnapshot.java | 377 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/ |
D | StickyHeaderListView.java | 114 final int saveCount = canvas.save(); in draw() local 131 canvas.restoreToCount(saveCount); in draw()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatSeekBarHelper.java | 174 final int saveCount = canvas.save(); in drawTickMarks() local 180 canvas.restoreToCount(saveCount); in drawTickMarks()
|
D | SwitchCompat.java | 1217 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/ |
D | TransformTestActivity.java | 182 int saveCount = canvas.getSaveCount(); in onDraw() local 186 canvas.restoreToCount(saveCount); in onDraw()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedRotateDrawable.java | 67 final int saveCount = canvas.save(); in draw() local 70 canvas.restoreToCount(saveCount); in draw()
|
D | RotateDrawable.java | 153 final int saveCount = canvas.save(); in draw() local 156 canvas.restoreToCount(saveCount); in draw()
|
D | RippleDrawable.java | 695 final int saveCount = canvas.save(Canvas.CLIP_SAVE_FLAG); in draw() local 701 canvas.restoreToCount(saveCount); in draw()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 600 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/ |
D | Canvas_Delegate.java | 225 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/ |
D | SubtitleView.java | 297 final int saveCount = c.save(); in onDraw() local 362 c.restoreToCount(saveCount); in onDraw()
|
/frameworks/base/core/java/android/view/ |
D | ThreadedRenderer.java | 680 final int saveCount = canvas.save(); in updateRootDisplayList() local 689 canvas.restoreToCount(saveCount); in updateRootDisplayList()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 178 virtual void restoreToCount(int saveCount) = 0;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 110 public void restoreToCount(int saveCount) { in restoreToCount() argument
|