Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
DDisplayListOp.h75 virtual void defer(DeferStateStruct& deferStruct, int saveCount, int level,
78 virtual void replay(ReplayStateStruct& replayStruct, int saveCount, int level,
90 virtual void defer(DeferStateStruct& deferStruct, int saveCount, int level, in defer() argument
93 applyState(deferStruct.mRenderer, saveCount); in defer()
100 virtual void replay(ReplayStateStruct& replayStruct, int saveCount, int level, in replay() argument
102 applyState(replayStruct.mRenderer, saveCount); in replay()
105 virtual void applyState(OpenGLRenderer& renderer, int saveCount) const = 0;
114 virtual void defer(DeferStateStruct& deferStruct, int saveCount, int level, in defer() argument
123 virtual void replay(ReplayStateStruct& replayStruct, int saveCount, int level, in replay() argument
276 virtual void defer(DeferStateStruct& deferStruct, int saveCount, int level, in defer() argument
[all …]
DCanvasState.cpp104 void CanvasState::restoreToCount(int saveCount) { in restoreToCount() argument
105 if (saveCount < 1) saveCount = 1; in restoreToCount()
107 while (mSaveCount > saveCount) { in restoreToCount()
DSkiaCanvas.cpp61 virtual void restoreToCount(int saveCount) override;
133 int saveCount; member
238 SkASSERT(NULL == rec || currentSaveCount >= rec->saveCount); in restore()
240 if (NULL == rec || rec->saveCount != currentSaveCount) { in restore()
317 rec->saveCount = mCanvas->getSaveCount() - 1; in recordPartialSave()
DCanvasState.h96 void restoreToCount(int saveCount);
DRenderNode.cpp592 inline void operator()(DisplayListOp* operation, int saveCount, bool clipToBounds) { in operator ()() argument
593 operation->defer(mDeferStruct, saveCount, mLevel, clipToBounds); in operator ()()
616 inline void operator()(DisplayListOp* operation, int saveCount, bool clipToBounds) { in operator ()() argument
620 operation->replay(mReplayStruct, saveCount, mLevel, clipToBounds); in operator ()()
DDisplayListCanvas.cpp129 void DisplayListCanvas::restoreToCount(int saveCount) { in restoreToCount() argument
130 mRestoreSaveCount = saveCount; in restoreToCount()
132 mState.restoreToCount(saveCount); in restoreToCount()
DCanvas.h72 virtual void restoreToCount(int saveCount) = 0;
DDeferredDisplayList.cpp298 int saveCount = -1; in replay() local
299 mOp->applyState(renderer, saveCount); in replay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUserAvatarView.java174 int saveCount = canvas.getSaveCount(); in onDraw() local
182 canvas.restoreToCount(saveCount); in onDraw()
184 int saveCount = canvas.getSaveCount(); in onDraw() local
190 canvas.restoreToCount(saveCount); in onDraw()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStickyHeaderListView.java111 final int saveCount = canvas.save(); in draw() local
128 canvas.restoreToCount(saveCount); in draw()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java375 public GcSnapshot restoreTo(int saveCount) { in restoreTo() argument
376 return doRestoreTo(size(), saveCount); in restoreTo()
543 private GcSnapshot doRestoreTo(int size, int saveCount) { in doRestoreTo() argument
544 if (size <= saveCount) { in doRestoreTo()
551 if (size == saveCount + 1) { // this was the only one that needed restore. in doRestoreTo()
554 return previous.doRestoreTo(size - 1, saveCount); in doRestoreTo()
/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()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java157 int saveCount = canvas.getSaveCount(); in onDraw() local
161 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.java1230 final int saveCount = canvas.save(); in onDraw() local
1233 canvas.restoreToCount(saveCount); in onDraw()
1239 final int saveCount = canvas.save(); in onDraw() local
1267 canvas.restoreToCount(saveCount); in onDraw()
DAbsSeekBar.java521 final int saveCount = canvas.save();
524 canvas.restoreToCount(saveCount);
DVideoView.java850 final int saveCount = canvas.save(); in draw() local
853 canvas.restoreToCount(saveCount); in draw()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java296 final int saveCount = c.save(); in onDraw() local
361 c.restoreToCount(saveCount); in onDraw()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java945 final int saveCount = canvas.save(); in onDraw() local
948 canvas.restoreToCount(saveCount); in onDraw()
954 final int saveCount = canvas.save(); in onDraw() local
982 canvas.restoreToCount(saveCount); in onDraw()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java239 /*package*/ static void native_restoreToCount(long nativeCanvas, int saveCount, in native_restoreToCount() argument
248 canvasDelegate.restoreTo(saveCount); in native_restoreToCount()
1042 private void restoreTo(int saveCount) { in restoreTo() argument
1043 mSnapshot = mSnapshot.restoreTo(saveCount); in restoreTo()
/frameworks/base/core/java/android/view/
DThreadedRenderer.java292 final int saveCount = canvas.save(); in updateRootDisplayList() local
301 canvas.restoreToCount(saveCount); in updateRootDisplayList()
/frameworks/support/design/src/android/support/design/widget/
DCollapsingTextHelper.java365 final int saveCount = canvas.save(); in draw() local
409 canvas.restoreToCount(saveCount); in draw()
/frameworks/support/v4/java/android/support/v4/widget/
DMaterialProgressDrawable.java228 final int saveCount = c.save(); in draw() local
231 c.restoreToCount(saveCount); in draw()

12