/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasFrontendTests.cpp | 51 TEST(CanvasFrontend, saveCount) { in TEST() argument 57 EXPECT_EQ(1, opCanvas.saveCount()); in TEST() 62 EXPECT_EQ(2, opCanvas.saveCount()); in TEST() 67 EXPECT_EQ(1, opCanvas.saveCount()); in TEST() 72 EXPECT_EQ(1, opCanvas.saveCount()); in TEST()
|
D | CanvasOpTests.cpp | 86 int saveCount = 0; in TEST() local 93 saveCount++; in TEST() 104 EXPECT_EQ(saveCount, 2); in TEST() 621 EXPECT_EQ(1, opCanvas.saveCount()); in TEST() 626 EXPECT_EQ(2, opCanvas.saveCount()); in TEST() 631 EXPECT_EQ(1, opCanvas.saveCount()); in TEST() 636 EXPECT_EQ(1, opCanvas.saveCount()); in TEST()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | RoundDrawableWrapper.java | 51 int saveCount = canvas.save(); in draw() local 54 canvas.restoreToCount(saveCount); in draw()
|
D | FixedScaleDrawable.java | 29 int saveCount = canvas.save(); in draw() local 33 canvas.restoreToCount(saveCount); in draw()
|
D | PlaceHolderIconDrawable.java | 50 int saveCount = canvas.save(); in drawInternal() local 54 canvas.restoreToCount(saveCount); in drawInternal()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Canvas_Delegate.java | 206 public static void nRestoreUnclippedLayer(long nativeCanvas, int saveCount, in nRestoreUnclippedLayer() argument 208 nRestoreToCount(nativeCanvas, saveCount); in nRestoreUnclippedLayer() 225 public static void nRestoreToCount(long nativeCanvas, int saveCount) { in nRestoreToCount() argument 233 canvasDelegate.restoreTo(saveCount); in nRestoreToCount()
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/ |
D | StickyHeaderRecyclerView.java | 98 final int saveCount = canvas.save(); in draw() local 118 canvas.restoreToCount(saveCount); in draw()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | StickyHeaderListView.java | 115 final int saveCount = canvas.save(); in draw() local 135 canvas.restoreToCount(saveCount); in draw()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.h | 75 virtual void restoreToCount(int saveCount) override; 76 virtual void restoreUnclippedLayer(int saveCount, const SkPaint& paint) override; 202 int saveCount; member
|
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 381 public GcSnapshot restoreTo(int saveCount) { in restoreTo() argument 382 return doRestoreTo(size(), saveCount); in restoreTo() 547 private GcSnapshot doRestoreTo(int size, int saveCount) { in doRestoreTo() argument 548 if (size <= saveCount) { in doRestoreTo() 555 if (size == saveCount + 1) { // this was the only one that needed restore. in doRestoreTo() 558 return previous.doRestoreTo(size - 1, saveCount); in doRestoreTo()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 537 public void restoreUnclippedLayer(int saveCount, Paint paint) { in restoreUnclippedLayer() argument 538 nRestoreUnclippedLayer(mNativeCanvasWrapper, saveCount, paint.getNativeInstance()); in restoreUnclippedLayer() 672 public void restoreToCount(int saveCount) { in restoreToCount() argument 673 if (saveCount < 1) { in restoreToCount() 680 saveCount = 1; in restoreToCount() 682 nRestoreToCount(mNativeCanvasWrapper, saveCount); in restoreToCount() 1428 private static native void nRestoreUnclippedLayer(long nativeCanvas, int saveCount, 1433 private static native void nRestoreToCount(long canvasHandle, int saveCount);
|
/frameworks/base/core/java/android/widget/ |
D | AbsSeekBar.java | 829 final int saveCount = canvas.save(); 833 canvas.restoreToCount(saveCount); 854 final int saveCount = canvas.save(); 860 canvas.restoreToCount(saveCount); 871 final int saveCount = canvas.save(); 876 canvas.restoreToCount(saveCount);
|
D | QuickContactBadge.java | 167 int saveCount = canvas.getSaveCount(); in onDraw() local 171 canvas.restoreToCount(saveCount); in onDraw()
|
D | ExpandableListView.java | 367 int saveCount = 0; in dispatchDraw() local 370 saveCount = canvas.save(); in dispatchDraw() 473 canvas.restoreToCount(saveCount); in dispatchDraw()
|
D | Switch.java | 1410 final int saveCount = canvas.save(); in onDraw() local 1413 canvas.restoreToCount(saveCount); in onDraw() 1419 final int saveCount = canvas.save(); in onDraw() local 1447 canvas.restoreToCount(saveCount); in onDraw()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedRotateDrawable.java | 68 final int saveCount = canvas.save(); in draw() local 71 canvas.restoreToCount(saveCount); in draw()
|
D | RotateDrawable.java | 155 final int saveCount = canvas.save(); in draw() local 158 canvas.restoreToCount(saveCount); in draw()
|
D | RippleDrawable.java | 814 final int saveCount = canvas.save(Canvas.CLIP_SAVE_FLAG); in drawSolid() local 822 canvas.restoreToCount(saveCount); in drawSolid() 870 final int saveCount = canvas.save(Canvas.CLIP_SAVE_FLAG); in drawPatterned() local 931 canvas.restoreToCount(saveCount); in drawPatterned()
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasFrontend.cpp | 75 if (saveCount() <= 1) { in internalRestore()
|
D | CanvasFrontend.h | 94 int saveCount() const { return mSaveStack.size(); } in saveCount() function
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 164 virtual void restoreToCount(int saveCount) = 0; 165 virtual void restoreUnclippedLayer(int saveCount, const SkPaint& paint) = 0;
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 300 final int saveCount = c.save(); in onDraw() local 365 c.restoreToCount(saveCount); in onDraw()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 115 int saveCount = layerCanvas->save(); in renderLayersImpl() local 116 SkASSERT(saveCount == 1); in renderLayersImpl() 143 layerCanvas->restoreToCount(saveCount); in renderLayersImpl()
|
/frameworks/base/core/java/android/view/ |
D | ThreadedRenderer.java | 558 final int saveCount = canvas.save(); in updateRootDisplayList() local 567 canvas.restoreToCount(saveCount); in updateRootDisplayList()
|