Home
last modified time | relevance | path

Searched refs:restored (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewBasicTest.java189 RecyclerView restored = new RecyclerView(mContext); in testSavedStateWithStatelessLayoutManager() local
190 restored.setLayoutManager(new MockLayoutManager()); in testSavedStateWithStatelessLayoutManager()
194 restored.onRestoreInstanceState(savedState); in testSavedStateWithStatelessLayoutManager()
219 RecyclerView restored = new RecyclerView(mContext); in testSavedState() local
221 restored.setLayoutManager(mlmRestored); in testSavedState()
222 restored.setAdapter(new MockAdapter(3)); in testSavedState()
223 restored.onRestoreInstanceState(savedState); in testSavedState()
DStaggeredGridLayoutManagerTest.java1016 RecyclerView restored = new RecyclerView(getActivity()); in testSpanCountChangeOnRestoreSavedState() local
1020 restored.setLayoutManager(mLayoutManager); in testSpanCountChangeOnRestoreSavedState()
1022 restored.setAdapter(mAdapter); in testSpanCountChangeOnRestoreSavedState()
1023 restored.onRestoreInstanceState(savedState); in testSpanCountChangeOnRestoreSavedState()
1026 setRecyclerView(restored); in testSpanCountChangeOnRestoreSavedState()
1140 RecyclerView restored = new RecyclerView(getActivity()); in saveRestore()
1144 restored.setLayoutManager(mLayoutManager); in saveRestore()
1146 restored.setAdapter(mAdapter); in saveRestore()
1147 restored.onRestoreInstanceState(savedState); in saveRestore()
1150 setRecyclerView(restored); in saveRestore()
[all …]
DLinearLayoutManagerTest.java1031 RecyclerView restored = new RecyclerView(getActivity()); in savedStateTest() local
1036 restored.setLayoutManager(mLayoutManager); in savedStateTest()
1038 restored.setAdapter(mTestAdapter); in savedStateTest()
1039 restored.onRestoreInstanceState(savedState); in savedStateTest()
1049 setRecyclerView(restored); in savedStateTest()
/frameworks/base/tests/LegacyRestoreTest/
DREADME7 'adb restore' decrypts and applies the restored archive successfully on a device
18 archives from various points in Android's history can be successfully restored.
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java159 void onStackRestored(boolean restored, boolean external) {} in onStackRestored() argument
325 public boolean restored = false; field in BaseActivity.State
377 out.writeInt(restored ? 1 : 0); in writeToParcel()
399 state.restored = in.readInt() != 0;
581 getDisplayState().restored = true; in onPostExecute()
586 getDisplayState().restored = true; in onPostExecute()
DDocumentsActivity.java188 if (!mState.restored) { in onCreate()
284 mState.restored = true; in onPostExecute()
296 void onStackRestored(boolean restored, boolean external) { in onStackRestored() argument
302 if (!restored) { in onStackRestored()
/frameworks/native/opengl/libs/GLES_trace/
DDESIGN.txt58 gl hooks restored in the next eglSwap, and the other traced contexts get their gl hooks
59 restored when they perform a eglMakeCurrent.
/frameworks/base/libs/hwui/
DCanvasState.h48 virtual void onSnapshotRestored(const Snapshot& removed, const Snapshot& restored) = 0;
DDisplayListCanvas.h131 virtual void onSnapshotRestored(const Snapshot& removed, const Snapshot& restored) override { } in onSnapshotRestored() argument
DOpenGLRenderer.cpp496 void OpenGLRenderer::onSnapshotRestored(const Snapshot& removed, const Snapshot& restored) { in onSnapshotRestored() argument
513 composeLayer(removed, restored); in onSnapshotRestored()
773 void OpenGLRenderer::composeLayer(const Snapshot& removed, const Snapshot& restored) { in composeLayer() argument
797 mRenderState.bindFramebuffer(restored.fbo); in composeLayer()
821 dirtyLayer(rect.left, rect.top, rect.right, rect.bottom, *restored.transform); in composeLayer()
DOpenGLRenderer.h412 virtual void onSnapshotRestored(const Snapshot& removed, const Snapshot& restored) override;
/frameworks/base/docs/html/preview/backup/
Dindex.jd24 app data to Google Drive. The app data is automatically restored if a user changes or upgrades a
241 and can be restored properly.
293 data is automatically restored from the cloud once the app installation is complete.
322 notifications for the restored app. It is important to query the API for a new
/frameworks/base/docs/html/training/monitoring-device-state/
Dconnectivity-monitoring.jd88 should there be none, suspend further updates until connectivity is restored.</p>
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java276 String[] restored = restoredSetting.split(ENABLED_SERVICES_SEPARATOR); in disableNonexistentServices() local
277 mRestored = new ArraySet<String>(Arrays.asList(restored)); in disableNonexistentServices()
/frameworks/base/docs/html/guide/topics/data/
Dbackup.jd71 backup data associated with the user. The primary scenario in which backup data is restored is when
253 backed up and how each portion is then restored to the device. (This can also help you manage
491 onBackup()} is called after the device is restored.</dd>
555 // Finally, write to the state blob (newState) that describes the restored data
928 <p>If your backup agent is successful, all the data you initialized in step 4 is restored.</p>
/frameworks/base/docs/html/guide/components/
Dtasks-and-back-stack.jd93 previous activity resumes (the previous state of its UI is restored). Activities in the stack are
166 restored.</li>
396 starting, that task is brought to the foreground with its last state restored and the activity
505 the root activity. When the user returns to the task again, only the root activity is restored.
Dactivities.jd655 restored by the {@link android.app.Activity} class's default implementation of {@link
661 appropriate, such that any visible changes to the UI are automatically saved and restored when your
682 might correlate to values restored in the UI, but the members that hold those UI values are not
683 restored, by default).</p>
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Drecreating.jd55 recreated, the state of the layout is restored to its previous state with no
/frameworks/base/docs/html/training/basics/fragments/
Dfragment-ui.jd120 // However, if we're being restored from a previous state,
/frameworks/base/docs/html/ndk/reference/
Dgroup___bitmap.jd197 … call, and ensure that, if the pixels had been previously purged, they will have been restored.</p>
/frameworks/base/docs/html/ndk/samples/
Dsample_teapot.jd135 destroyed, then immediately restored in the new orientation), or when the lock
/frameworks/base/docs/html/training/articles/
Dsecurity-gms-provider.jd270 // before the instance state is restored throws an error. So instead,
/frameworks/base/docs/html/about/versions/
Dandroid-3.1-highlights.jd256 apps. The proxy and IP configuration is now backed up and restored across system
Dandroid-3.2.jd338 has returned, but before any saved state has been restored in to the View.</li>
/frameworks/base/docs/html/google/play/billing/v2/
Dbilling_subscriptions.jd300 <p>Your app can store the restored purchase state and other transaction details

12