Home
last modified time | relevance | path

Searched refs:FLAG_ID_NOT_VALID (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DTaplBindWidgetTest.java20 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 …]
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DLauncherAppWidgetInfo.java54 public static final int FLAG_ID_NOT_VALID = 1; field in LauncherAppWidgetInfo
209 return (restoreStatus & FLAG_ID_NOT_VALID) == 0 in isWidgetIdAllocated()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetInflater.kt54 if (item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)) { in inflateAppWidget()
104 if (item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)) { in inflateAppWidget()
DPendingAppWidgetHostView.java214 && !mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID) in onAttachedToWindow()
379 || mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)); in isReadyForClickSetup()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DItemInflaterTest.kt42 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>()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java226 if (info.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)) { in onClickPendingWidget()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java533 LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in verifyAndInsert()
DWorkspace.java3427 if (item.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)) {
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java276 values.put(Favorites.RESTORED, LauncherAppWidgetInfo.FLAG_ID_NOT_VALID in sanitizeDB()