Home
last modified time | relevance | path

Searched refs:save (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DColoredRectsActivity.java79 canvas.save(); in onDraw()
93 canvas.save(); in onDraw()
94 canvas.save(); in onDraw()
99 canvas.save(); in onDraw()
104 canvas.save(); in onDraw()
110 canvas.save(); in onDraw()
116 canvas.save(); in onDraw()
DShapesActivity.java82 canvas.save(); in onDraw()
93 canvas.save(); in onDraw()
104 canvas.save(); in onDraw()
115 canvas.save(); in onDraw()
126 canvas.save(); in onDraw()
137 canvas.save(); in onDraw()
148 canvas.save(); in onDraw()
DLines2Activity.java104 canvas.save(); in onDraw()
112 canvas.save(); in onDraw()
121 canvas.save(); in onDraw()
132 canvas.save(); in onDraw()
140 canvas.save(); in onDraw()
149 canvas.save(); in onDraw()
158 canvas.save(); in onDraw()
181 canvas.save(); in onDraw()
204 canvas.save(); in onDraw()
227 canvas.save(); in onDraw()
DQuickRejectActivity.java57 count = canvas.save(); in onDraw()
64 canvas.save(); in onDraw()
66 canvas.save(); in onDraw()
68 canvas.save(); in onDraw()
81 canvas.save(); in onDraw()
DAlphaLayersActivity.java86 canvas.save(); in dispatchDraw()
95 canvas.save(); in dispatchDraw()
105 canvas.save(); in dispatchDraw()
115 canvas.save(); in dispatchDraw()
127 final int restoreTo = canvas.save(); in dispatchDraw()
DXfermodeActivity.java61 canvas.save(); in onDraw()
82 canvas.save(); in onDraw()
103 canvas.save(); in onDraw()
130 canvas.save(); in drawRects()
DScaledPathsActivity.java68 canvas.save(); in onDraw()
77 canvas.save(); in onDraw()
85 canvas.save(); in drawPath()
DScaledTextActivity.java103 canvas.save(); in onDraw()
119 canvas.save(); in onDraw()
125 canvas.save(); in onDraw()
DLinesActivity.java118 canvas.save(); in onDraw()
150 canvas.save(); in onDraw()
157 canvas.save(); in onDraw()
DMipMapActivity.java65 canvas.save(); in onDraw()
70 canvas.save(); in onDraw()
DClearActivity.java70 canvas.save(); { in onDraw()
75 canvas.save(); { in onDraw()
/frameworks/base/libs/hwui/tests/unit/
DCanvasStateTests.cpp86 state.save(SaveFlags::MatrixClip); in TEST()
96 state.save(SaveFlags::MatrixClip); in TEST()
105 state.save(SaveFlags::MatrixClip); in TEST()
122 state.save(SaveFlags::Clip); in TEST()
132 state.save(SaveFlags::Matrix); in TEST()
146 state.save(SaveFlags::Matrix); // NOTE: clip not saved in TEST()
156 state.save(SaveFlags::Clip); // NOTE: matrix not saved in TEST()
DRecordingCanvasTests.cpp51 canvas.save(SaveFlags::MatrixClip); in TEST()
59 canvas.save(SaveFlags::MatrixClip); in TEST()
75 canvas.save(SaveFlags::MatrixClip); in TEST()
248 canvas.save(SaveFlags::MatrixClip); in TEST()
251 canvas.save(SaveFlags::MatrixClip); in TEST()
257 canvas.save(SaveFlags::MatrixClip); in TEST()
392 canvas.save(SaveFlags::MatrixClip); in TEST()
435 canvas.save(SaveFlags::MatrixClip); in TEST()
461 canvas.save(SaveFlags::MatrixClip); in TEST()
557 canvas.save(SaveFlags::MatrixClip); in TEST()
[all …]
/frameworks/base/libs/hwui/tests/microbench/
DDisplayListCanvasBench.cpp72 canvas.save(SaveFlags::MatrixClip); in BM_DisplayListCanvas_record_saverestore()
73 canvas.save(SaveFlags::MatrixClip); in BM_DisplayListCanvas_record_saverestore()
111 canvas.save(SaveFlags::MatrixClip); in BM_DisplayListCanvas_record_simpleBitmapView()
116 canvas.save(SaveFlags::MatrixClip); in BM_DisplayListCanvas_record_simpleBitmapView()
139 state.save(SaveFlags::MatrixClip); in BM_CanvasState_saverestore()
140 state.save(SaveFlags::MatrixClip); in BM_CanvasState_saverestore()
/frameworks/base/docs/html/training/basics/data-storage/
Dindex.jd29 <p>Most Android apps need to save data, even if only to save information about the app state
31 non-trivial apps also need to save user settings, and some apps must manage large
51 <dd>Learn to save a basic file, such as to store long sequences of data that
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java64 public boolean save() { in save() method in GestureLibraries.FileGestureLibrary
80 mStore.save(new FileOutputStream(file), true); in save()
123 public boolean save() { in save() method in GestureLibraries.ResourceGestureLibrary
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DHorizontalGridView.java329 int save = canvas.save(); in draw() local
333 canvas.restoreToCount(save); in draw()
343 int tmpSave = tmpCanvas.save(); in draw()
363 int tmpSave = tmpCanvas.save(); in draw()
/frameworks/base/libs/hwui/tests/common/scenes/
DShapeAnimation.cpp72 int outerCount = canvas.save(SaveFlags::MatrixClip); in createContent()
82 int middleCount = canvas.save(SaveFlags::MatrixClip); in createContent()
84 int innerCount = canvas.save(SaveFlags::MatrixClip); in createContent()
DClippingAnimation.cpp35 canvas.save(SaveFlags::MatrixClip); in createContent()
46 canvas.save(SaveFlags::MatrixClip); in createContent()
/frameworks/base/docs/html/training/cloudsave/
Dconflict-res.jd40 apps that save data to the cloud using the
50 to save data to the cloud, the saves might conflict, and you must decide how to
51 resolve it. The structure of your cloud save data largely dictates how robust
88 <p>Therefore, design of your cloud save data and conflict resolution code must be
89 <em>context-independent</em>: given two conflicting save states, you must be able
103 save data. When resolving the conflict, pick the data set with the most recent
136 <p>At first thought, it might seem that the cloud save data should simply be the
143 Then device B saves the state to the cloud. When device A attempts to save, a
187 <td>Device A tries to save state to cloud.<br />
206 cloud save is not enough to implement a robust conflict resolution algorithm.</p>
[all …]
/frameworks/support/design/base/android/support/design/widget/
DShadowDrawableWrapper.java208 final int rotateSaved = canvas.save(); in drawShadow()
225 int saved = canvas.save(); in drawShadow()
238 saved = canvas.save(); in drawShadow()
252 saved = canvas.save(); in drawShadow()
265 saved = canvas.save(); in drawShadow()
/frameworks/av/media/libstagefright/foundation/
DAHierarchicalStateMachine.cpp55 sp<AState> save = mState; in handleMessage() local
61 CHECK(save == mState); in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java190 int saved = canvas.save(); in drawShadow()
200 saved = canvas.save(); in drawShadow()
211 saved = canvas.save(); in drawShadow()
221 saved = canvas.save(); in drawShadow()
/frameworks/support/v4/java/android/support/v4/widget/
DSwipeProgressBar.java144 int restoreCount = canvas.save(); in draw()
227 restoreCount = canvas.save(); in draw()
259 canvas.save(); in drawCircle()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DRectShadowPainter.java121 int saved = canvas.save(); in modifyCanvas()
136 int saved = canvas.save(); in sideShadow()
154 int saved = canvas.save(); in drawCorner()

12345678910>>...14