Searched refs:FLAG_ID_NOT_VALID (Results 1 – 9 of 9) sorted by relevance
20 import static com.android.launcher3.model.data.LauncherAppWidgetInfo.FLAG_ID_NOT_VALID;141 item -> item.restoreStatus = FLAG_ID_NOT_VALID); in testPendingWidget_autoRestored()151 item -> item.restoreStatus = FLAG_ID_NOT_VALID); in testPendingWidget_withConfigScreen()159 & FLAG_ID_NOT_VALID); in testPendingWidget_withConfigScreen()186 addPendingItemToScreen(getInvalidWidgetInfo(), FLAG_ID_NOT_VALID | FLAG_PROVIDER_NOT_READY); in testPendingWidget_notRestored_removed()201 FLAG_ID_NOT_VALID | FLAG_RESTORE_STARTED | FLAG_PROVIDER_NOT_READY); in testPendingWidget_notRestored_brokenInstall()210 assertEquals(FLAG_ID_NOT_VALID, in testPendingWidget_notRestored_brokenInstall()212 & FLAG_ID_NOT_VALID); in testPendingWidget_notRestored_brokenInstall()226 addPendingItemToScreen(item, FLAG_ID_NOT_VALID | FLAG_PROVIDER_NOT_READY); in testPendingWidget_notRestored_activeInstall()235 assertEquals(FLAG_ID_NOT_VALID, in testPendingWidget_notRestored_activeInstall()[all …]
54 public static final int FLAG_ID_NOT_VALID = 1; field in LauncherAppWidgetInfo209 return (restoreStatus & FLAG_ID_NOT_VALID) == 0 in isWidgetIdAllocated()
54 if (item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)) { in inflateAppWidget()104 if (item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)) { in inflateAppWidget()
214 && !mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID) in onAttachedToWindow()379 || mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)); in isReadyForClickSetup()
42 import com.android.launcher3.model.data.LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in <lambda>()312 restoreStatus = FLAG_ID_NOT_VALID or FLAG_UI_NOT_READY in <lambda>()
226 if (info.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)) { in onClickPendingWidget()
533 LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in verifyAndInsert()
3427 if (item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)) {
276 values.put(Favorites.RESTORED, LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in sanitizeDB()