Home
last modified time | relevance | path

Searched refs:restoreStatus (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetInfo.java87 public int restoreStatus; field in LauncherAppWidgetInfo
122 restoreStatus = RESTORE_COMPLETED; in LauncherAppWidgetInfo()
139 .put(LauncherSettings.Favorites.RESTORED, restoreStatus) in onAddToDatabase()
160 return (restoreStatus & FLAG_ID_NOT_VALID) == 0 || in isWidgetIdAllocated()
161 (restoreStatus & FLAG_ID_ALLOCATED) == FLAG_ID_ALLOCATED; in isWidgetIdAllocated()
165 return (restoreStatus & flag) == flag; in hasRestoreFlag()
DPendingAppWidgetHostView.java69 mStartState = info.restoreStatus; in PendingAppWidgetHostView()
116 return mStartState != mInfo.restoreStatus; in isReinflateRequired()
DLauncher.java3422 (item.restoreStatus != LauncherAppWidgetInfo.RESTORE_COMPLETED)) {
3438 item.restoreStatus |= LauncherAppWidgetInfo.FLAG_ID_ALLOCATED;
3465 item.restoreStatus &= ~LauncherAppWidgetInfo.FLAG_DIRECT_CONFIG;
3471 item.restoreStatus = (appWidgetInfo.configure == null) || isDirectConfig
3482 item.restoreStatus = LauncherAppWidgetInfo.RESTORE_COMPLETED;
3488 if (item.restoreStatus == LauncherAppWidgetInfo.RESTORE_COMPLETED) {
3529 info.restoreStatus = finalRestoreFlag;
3530 if (info.restoreStatus == LauncherAppWidgetInfo.RESTORE_COMPLETED) {
DInfoDropTarget.java117 ((LauncherAppWidgetInfo) info).restoreStatus == 0) || in supportsDrop()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DBindWidgetTest.java150 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID; in testPendingWidget_autoRestored()
162 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID; in testPendingWidget_withConfigScreen()
181 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in testPendingWidget_notRestored_removed()
200 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in testPendingWidget_notRestored_brokenInstall()
222 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in testPendingWidget_notRestored_activeInstall()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java610 appWidgetInfo.restoreStatus = status; in loadWorkspace()
617 appWidgetInfo.restoreStatus = c.restoreFlag; in loadWorkspace()
624 appWidgetInfo.restoreStatus |= in loadWorkspace()
654 (appWidgetInfo.restoreStatus != c.restoreFlag)) { in loadWorkspace()
659 appWidgetInfo.restoreStatus) in loadWorkspace()
664 if (appWidgetInfo.restoreStatus != in loadWorkspace()
DPackageUpdatedTask.java265 widgetInfo.restoreStatus &= in execute()
272 widgetInfo.restoreStatus |= LauncherAppWidgetInfo.FLAG_UI_NOT_READY; in execute()