Searched refs:restoreStatus (Results 1 – 6 of 6) sorted by relevance
87 public int restoreStatus; field in LauncherAppWidgetInfo122 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()
2144 (item.restoreStatus != LauncherAppWidgetInfo.RESTORE_COMPLETED)) { in inflateAppWidget()2158 item.restoreStatus |= LauncherAppWidgetInfo.FLAG_ID_ALLOCATED; in inflateAppWidget()2185 item.restoreStatus &= ~LauncherAppWidgetInfo.FLAG_DIRECT_CONFIG; in inflateAppWidget()2191 item.restoreStatus = (appWidgetInfo.configure == null) || isDirectConfig in inflateAppWidget()2202 item.restoreStatus = LauncherAppWidgetInfo.RESTORE_COMPLETED; in inflateAppWidget()2208 if (item.restoreStatus == LauncherAppWidgetInfo.RESTORE_COMPLETED) { in inflateAppWidget()2241 info.restoreStatus = finalRestoreFlag; in completeRestoreAppWidget()2242 if (info.restoreStatus == LauncherAppWidgetInfo.RESTORE_COMPLETED) { in completeRestoreAppWidget()
146 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID; in testPendingWidget_autoRestored()159 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID; in testPendingWidget_withConfigScreen()180 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in testPendingWidget_notRestored_removed()198 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in testPendingWidget_notRestored_brokenInstall()221 item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in testPendingWidget_notRestored_activeInstall()
625 appWidgetInfo.restoreStatus = status; in loadWorkspace()632 appWidgetInfo.restoreStatus = c.restoreFlag; in loadWorkspace()643 appWidgetInfo.restoreStatus |= in loadWorkspace()678 (appWidgetInfo.restoreStatus != c.restoreFlag)) { in loadWorkspace()683 appWidgetInfo.restoreStatus) in loadWorkspace()688 if (appWidgetInfo.restoreStatus != in loadWorkspace()
277 widgetInfo.restoreStatus &= in execute()284 widgetInfo.restoreStatus |= LauncherAppWidgetInfo.FLAG_UI_NOT_READY; in execute()
71 mStartState = info.restoreStatus; in PendingAppWidgetHostView()116 return mStartState != mInfo.restoreStatus; in isReinflateIfNeeded()