Searched refs:restoreStatus (Results 1 – 6 of 6) sorted by relevance
90 public int restoreStatus; field in LauncherAppWidgetInfo130 restoreStatus = RESTORE_COMPLETED; in LauncherAppWidgetInfo()147 .put(LauncherSettings.Favorites.RESTORED, restoreStatus) in onAddToDatabase()169 return (restoreStatus & FLAG_ID_NOT_VALID) == 0 || in isWidgetIdAllocated()170 (restoreStatus & FLAG_ID_ALLOCATED) == FLAG_ID_ALLOCATED; in isWidgetIdAllocated()174 return (restoreStatus & flag) == flag; in hasRestoreFlag()
2181 (item.restoreStatus != LauncherAppWidgetInfo.RESTORE_COMPLETED)) { in inflateAppWidget()2195 item.restoreStatus |= LauncherAppWidgetInfo.FLAG_ID_ALLOCATED; in inflateAppWidget()2223 item.restoreStatus &= ~LauncherAppWidgetInfo.FLAG_DIRECT_CONFIG; in inflateAppWidget()2229 item.restoreStatus = (appWidgetInfo.configure == null) || isDirectConfig in inflateAppWidget()2240 item.restoreStatus = LauncherAppWidgetInfo.RESTORE_COMPLETED; in inflateAppWidget()2246 if (item.restoreStatus == LauncherAppWidgetInfo.RESTORE_COMPLETED) { in inflateAppWidget()2279 info.restoreStatus = finalRestoreFlag; in completeRestoreAppWidget()2280 if (info.restoreStatus == LauncherAppWidgetInfo.RESTORE_COMPLETED) { in completeRestoreAppWidget()
149 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID; in testPendingWidget_autoRestored()162 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID; in testPendingWidget_withConfigScreen()183 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in testPendingWidget_notRestored_removed()201 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in testPendingWidget_notRestored_brokenInstall()224 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in testPendingWidget_notRestored_activeInstall()
641 appWidgetInfo.restoreStatus = status; in loadWorkspace()648 appWidgetInfo.restoreStatus = c.restoreFlag; in loadWorkspace()661 appWidgetInfo.restoreStatus |= in loadWorkspace()697 (appWidgetInfo.restoreStatus != c.restoreFlag)) { in loadWorkspace()702 appWidgetInfo.restoreStatus) in loadWorkspace()707 if (appWidgetInfo.restoreStatus != in loadWorkspace()
273 widgetInfo.restoreStatus &= in execute()280 widgetInfo.restoreStatus |= LauncherAppWidgetInfo.FLAG_UI_NOT_READY; in execute()
71 mStartState = info.restoreStatus; in PendingAppWidgetHostView()116 return mStartState != mInfo.restoreStatus; in isReinflateIfNeeded()