/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 | 95 int saveCount = 0; in TEST() local 102 saveCount++; in TEST() 113 EXPECT_EQ(saveCount, 2); in TEST() 630 EXPECT_EQ(1, opCanvas.saveCount()); in TEST() 635 EXPECT_EQ(2, opCanvas.saveCount()); in TEST() 640 EXPECT_EQ(1, opCanvas.saveCount()); in TEST() 645 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 | PlaceHolderIconDrawable.java | 50 int saveCount = canvas.save(); in drawInternal() local 54 canvas.restoreToCount(saveCount); in drawInternal()
|
D | UserBadgeDrawable.java | 92 int saveCount = canvas.save(); in draw() local 102 canvas.restoreToCount(saveCount); in draw()
|
D | ClockDrawableWrapper.java | 429 int saveCount = canvas.save(); in drawInternal() local 434 canvas.restoreToCount(saveCount); in drawInternal()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.h | 79 virtual void restoreToCount(int saveCount) override; 80 virtual void restoreUnclippedLayer(int saveCount, const Paint& paint) override; 211 int saveCount; member 215 SaveRec(int saveCount, SaveFlags::Flags saveFlags, size_t clipIndex) in SaveRec() 216 : saveCount(saveCount), saveFlags(saveFlags), clipIndex(clipIndex) {} in SaveRec()
|
D | VectorDrawable.cpp | 433 int saveCount = outCanvas->save(SaveFlags::MatrixClip); in draw() local 450 outCanvas->restoreToCount(saveCount); in draw()
|
/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/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/ |
D | Canvas.java | 553 public void restoreUnclippedLayer(int saveCount, Paint paint) { in restoreUnclippedLayer() argument 554 nRestoreUnclippedLayer(mNativeCanvasWrapper, saveCount, paint.getNativeInstance()); in restoreUnclippedLayer() 688 public void restoreToCount(int saveCount) { in restoreToCount() argument 689 if (saveCount < 1) { in restoreToCount() 696 saveCount = 1; in restoreToCount() 698 nRestoreToCount(mNativeCanvasWrapper, saveCount); in restoreToCount() 1482 private static native void nRestoreUnclippedLayer(long nativeCanvas, int saveCount, 1487 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 | 369 int saveCount = 0; in dispatchDraw() local 372 saveCount = canvas.save(); in dispatchDraw() 475 canvas.restoreToCount(saveCount); in dispatchDraw()
|
D | Switch.java | 1420 final int saveCount = canvas.save(); in onDraw() local 1423 canvas.restoreToCount(saveCount); in onDraw() 1429 final int saveCount = canvas.save(); in onDraw() local 1457 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 | 821 final int saveCount = canvas.save(Canvas.CLIP_SAVE_FLAG); in drawSolid() local 829 canvas.restoreToCount(saveCount); in drawSolid() 888 final int saveCount = canvas.save(Canvas.CLIP_SAVE_FLAG); in drawPatterned() local 953 canvas.restoreToCount(saveCount); in drawPatterned() 1113 final int saveCount = mMaskCanvas.save(); in updateMaskShaderIfNeeded() local 1122 mMaskCanvas.restoreToCount(saveCount); in updateMaskShaderIfNeeded()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 166 virtual void restoreToCount(int saveCount) = 0; 167 virtual void restoreUnclippedLayer(int saveCount, const Paint& paint) = 0;
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasFrontend.cpp | 92 if (saveCount() <= 1) { in internalRestore()
|
D | CanvasFrontend.h | 137 int saveCount() const { return mSaveStack.size(); } in saveCount() function
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 301 final int saveCount = c.save(); in onDraw() local 366 c.restoreToCount(saveCount); in onDraw()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 91 int saveCount = layerCanvas->save(); in renderLayerImpl() local 92 SkASSERT(saveCount == 1); in renderLayerImpl() 119 layerCanvas->restoreToCount(saveCount); in renderLayerImpl()
|
/frameworks/base/core/java/android/view/ |
D | ThreadedRenderer.java | 740 final int saveCount = canvas.save(); in updateRootDisplayList() local 749 canvas.restoreToCount(saveCount); in updateRootDisplayList()
|