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

12

/frameworks/base/libs/hwui/
H A 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,
93 applyState(deferStruct.mRenderer, saveCount);
100 virtual void replay(ReplayStateStruct& replayStruct, int saveCount, int level,
102 applyState(replayStruct.mRenderer, saveCount);
105 virtual void applyState(OpenGLRenderer& renderer, int saveCount) const = 0;
114 virtual void defer(DeferStateStruct& deferStruct, int saveCount, int level,
123 virtual void replay(ReplayStateStruct& replayStruct, int saveCount, int level,
276 virtual void defer(DeferStateStruct& deferStruct, int saveCount, in
[all...]
H A DCanvasState.cpp104 void CanvasState::restoreToCount(int saveCount) { argument
105 if (saveCount < 1) saveCount = 1;
107 while (mSaveCount > saveCount) {
H A DCanvas.h72 virtual void restoreToCount(int saveCount) = 0;
H A DCanvasState.h96 void restoreToCount(int saveCount);
H A DSkiaCanvas.cpp61 virtual void restoreToCount(int saveCount) override;
133 int saveCount; member in struct:android::SkiaCanvas::SaveRec
238 SkASSERT(NULL == rec || currentSaveCount >= rec->saveCount);
240 if (NULL == rec || rec->saveCount != currentSaveCount) {
317 rec->saveCount = mCanvas->getSaveCount() - 1;
H A DRenderNode.cpp390 * base saveCount (i.e., how RestoreToCount uses saveCount + properties().getCount())
592 inline void operator()(DisplayListOp* operation, int saveCount, bool clipToBounds) { argument
593 operation->defer(mDeferStruct, saveCount, mLevel, clipToBounds);
616 inline void operator()(DisplayListOp* operation, int saveCount, bool clipToBounds) { argument
620 operation->replay(mReplayStruct, saveCount, mLevel, clipToBounds);
H A DDeferredDisplayList.cpp298 int saveCount = -1; variable
299 mOp->applyState(renderer, saveCount);
324 * The count used here represents the flush() time saveCount. This is as opposed to the
326 * (saveCount + mCount) respectively). Since the count is different from the original
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DUserAvatarView.java174 int saveCount = canvas.getSaveCount();
182 canvas.restoreToCount(saveCount);
184 int saveCount = canvas.getSaveCount();
190 canvas.restoreToCount(saveCount);
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java182 int saveCount = canvas.getSaveCount();
186 canvas.restoreToCount(saveCount);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DStickyHeaderListView.java111 final int saveCount = canvas.save();
128 canvas.restoreToCount(saveCount);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java370 * Restores the {@link GcSnapshot} to <var>saveCount</var>.
371 * @param saveCount the saveCount or -1 to only restore 1.
375 public GcSnapshot restoreTo(int saveCount) { argument
376 return doRestoreTo(size(), saveCount);
543 private GcSnapshot doRestoreTo(int size, int saveCount) { argument
544 if (size <= saveCount) {
551 if (size == saveCount + 1) { // this was the only one that needed restore.
554 return previous.doRestoreTo(size - 1, saveCount);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedRotateDrawable.java67 final int saveCount = canvas.save();
70 canvas.restoreToCount(saveCount);
H A DRotateDrawable.java153 final int saveCount = canvas.save();
156 canvas.restoreToCount(saveCount);
H A DRippleDrawable.java690 final int saveCount = canvas.save(Canvas.CLIP_SAVE_FLAG);
696 canvas.restoreToCount(saveCount);
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java157 int saveCount = canvas.getSaveCount();
161 canvas.restoreToCount(saveCount);
H A DExpandableListView.java358 int saveCount = 0;
361 saveCount = canvas.save();
464 canvas.restoreToCount(saveCount);
H A DSwitch.java1230 final int saveCount = canvas.save();
1233 canvas.restoreToCount(saveCount);
1239 final int saveCount = canvas.save();
1267 canvas.restoreToCount(saveCount);
H A DAbsSeekBar.java521 final int saveCount = canvas.save();
524 canvas.restoreToCount(saveCount);
H A DVideoView.java850 final int saveCount = canvas.save();
853 canvas.restoreToCount(saveCount);
/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java296 final int saveCount = c.save();
361 c.restoreToCount(saveCount);
/frameworks/base/core/java/android/view/
H A DThreadedRenderer.java292 final int saveCount = canvas.save();
301 canvas.restoreToCount(saveCount);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java239 /*package*/ static void native_restoreToCount(long nativeCanvas, int saveCount, argument
248 canvasDelegate.restoreTo(saveCount);
1039 * Restores the {@link GcSnapshot} to <var>saveCount</var>
1040 * @param saveCount the saveCount
1042 private void restoreTo(int saveCount) { argument
1043 mSnapshot = mSnapshot.restoreTo(saveCount);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSwitchCompat.java945 final int saveCount = canvas.save();
948 canvas.restoreToCount(saveCount);
954 final int saveCount = canvas.save();
982 canvas.restoreToCount(saveCount);
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java365 final int saveCount = canvas.save();
409 canvas.restoreToCount(saveCount);
/frameworks/support/v4/java/android/support/v4/widget/
H A DMaterialProgressDrawable.java228 final int saveCount = c.save();
231 c.restoreToCount(saveCount);

Completed in 2398 milliseconds

12