Home
last modified time | relevance | path

Searched refs:runtimeStatusFlags (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DItemInfoWithIcon.java138 public int runtimeStatusFlags = 0; field in ItemInfoWithIcon
155 runtimeStatusFlags = info.runtimeStatusFlags; in ItemInfoWithIcon()
161 return (runtimeStatusFlags & FLAG_DISABLED_MASK) != 0; in isDisabled()
179 return (runtimeStatusFlags & FLAG_ARCHIVED) != 0; in isArchived()
184 return isArchived() && (runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) == 0; in isInactiveArchive()
201 return ((runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) == 0) in isAppStartable()
202 && (((runtimeStatusFlags & FLAG_INCREMENTAL_DOWNLOAD_ACTIVE) != 0) in isAppStartable()
212 if (((runtimeStatusFlags & FLAG_SHOW_DOWNLOAD_PROGRESS_MASK) != 0) in getProgressLevel()
243 runtimeStatusFlags = progress < 100 in setProgressLevel()
244 ? runtimeStatusFlags | FLAG_INSTALL_SESSION_ACTIVE in setProgressLevel()
[all …]
DAppInfo.java105 runtimeStatusFlags |= FLAG_DISABLED_QUIET_USER; in AppInfo()
148 if ((runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) != 0) { in makeWorkspaceItem()
156 if ((runtimeStatusFlags & FLAG_INCREMENTAL_DOWNLOAD_ACTIVE) != 0) { in makeWorkspaceItem()
157 workspaceItemInfo.runtimeStatusFlags |= FLAG_INCREMENTAL_DOWNLOAD_ACTIVE; in makeWorkspaceItem()
189 final int oldRuntimeStatusFlags = info.runtimeStatusFlags; in updateRuntimeFlagsForActivityTarget()
192 info.runtimeStatusFlags |= FLAG_DISABLED_SUSPENDED; in updateRuntimeFlagsForActivityTarget()
194 info.runtimeStatusFlags &= ~FLAG_DISABLED_SUSPENDED; in updateRuntimeFlagsForActivityTarget()
198 info.runtimeStatusFlags |= FLAG_ARCHIVED; in updateRuntimeFlagsForActivityTarget()
200 info.runtimeStatusFlags &= ~FLAG_ARCHIVED; in updateRuntimeFlagsForActivityTarget()
203 info.runtimeStatusFlags |= (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0 in updateRuntimeFlagsForActivityTarget()
[all …]
DWorkspaceItemInfo.java128 runtimeStatusFlags |= FLAG_NOT_PINNABLE; in WorkspaceItemInfo()
188 runtimeStatusFlags &= ~FLAG_DISABLED_BY_PUBLISHER; in updateFromDeepShortcutInfo()
193 runtimeStatusFlags |= FLAG_DISABLED_BY_PUBLISHER; in updateFromDeepShortcutInfo()
197 runtimeStatusFlags |= FLAG_DISABLED_VERSION_LOWER; in updateFromDeepShortcutInfo()
199 runtimeStatusFlags &= ~FLAG_DISABLED_VERSION_LOWER; in updateFromDeepShortcutInfo()
211 return (runtimeStatusFlags & FLAG_DISABLED_VERSION_LOWER) != 0; in isDisabledVersionLower()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWorkspaceItemProcessor.kt282 info.runtimeStatusFlags = in processAppOrDeepShortcut()
283 info.runtimeStatusFlags or ItemInfoWithIcon.FLAG_DISABLED_SUSPENDED in processAppOrDeepShortcut()
290 info.runtimeStatusFlags = in processAppOrDeepShortcut()
291 info.runtimeStatusFlags or ItemInfoWithIcon.FLAG_DISABLED_LOCKED_USER in processAppOrDeepShortcut()
328 info.runtimeStatusFlags = info.runtimeStatusFlags or disabledState in processAppOrDeepShortcut()
330 info.runtimeStatusFlags = in processAppOrDeepShortcut()
331 info.runtimeStatusFlags or ItemInfoWithIcon.FLAG_DISABLED_SAFEMODE in processAppOrDeepShortcut()
352 info.runtimeStatusFlags = in processAppOrDeepShortcut()
353 info.runtimeStatusFlags and in processAppOrDeepShortcut()
DPackageIncrementalDownloadUpdatedTask.java64 appInfo.runtimeStatusFlags &= ~ItemInfoWithIcon.FLAG_INSTALL_SESSION_ACTIVE; in execute()
76 si.runtimeStatusFlags &= ~ItemInfoWithIcon.FLAG_INSTALL_SESSION_ACTIVE; in execute()
DPackageUpdatedTask.java319 si.runtimeStatusFlags ^= FLAG_ARCHIVED; in execute()
333 int oldRuntimeFlags = si.runtimeStatusFlags; in execute()
334 si.runtimeStatusFlags = flagOp.apply(si.runtimeStatusFlags); in execute()
335 if (si.runtimeStatusFlags != oldRuntimeFlags) { in execute()
DUserLockStateChangedTask.java93 si.runtimeStatusFlags &= ~FLAG_DISABLED_LOCKED_USER; in execute()
97 si.runtimeStatusFlags |= FLAG_DISABLED_LOCKED_USER; in execute()
DAllAppsList.java286 info.runtimeStatusFlags = op.apply(info.runtimeStatusFlags); in updateDisabledFlags()
DItemInstallQueue.java309 si.runtimeStatusFlags |= FLAG_ARCHIVED; in getItemInfo()
DLoaderTask.java727 appInfo.runtimeStatusFlags |= FLAG_INSTALL_SESSION_ACTIVE; in loadAllApps()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java295 final int disabledFlags = shortcut.runtimeStatusFlags in handleDisabledItemClicked()
317 if ((shortcut.runtimeStatusFlags & FLAG_DISABLED_SAFEMODE) != 0) { in handleDisabledItemClicked()
319 } else if ((shortcut.runtimeStatusFlags & FLAG_DISABLED_BY_PUBLISHER) != 0 in handleDisabledItemClicked()
320 || (shortcut.runtimeStatusFlags & FLAG_DISABLED_LOCKED_USER) != 0) { in handleDisabledItemClicked()
387 (shortcut.runtimeStatusFlags in onClickAppShortcut()
402 if ((itemInfoWithIcon.runtimeStatusFlags in startAppShortcutOrInfoActivity()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java411 if ((info.runtimeStatusFlags & ItemInfoWithIcon.FLAG_SHOW_DOWNLOAD_PROGRESS_MASK) != 0) { in applyFromApplicationInfo()
955 if ((info.runtimeStatusFlags & FLAG_INCREMENTAL_DOWNLOAD_ACTIVE) != 0 in applyLoadingState()
957 || (info.runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) != 0 in applyLoadingState()
1071 if ((info.runtimeStatusFlags & ItemInfoWithIcon.FLAG_ARCHIVED) != 0 && progressLevel == 0) { in setDownloadStateContentDescription()
1073 } else if ((info.runtimeStatusFlags & ItemInfoWithIcon.FLAG_SHOW_DOWNLOAD_PROGRESS_MASK) in setDownloadStateContentDescription()
1077 if ((info.runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) != 0) { in setDownloadStateContentDescription()
1081 } else if ((info.runtimeStatusFlags in setDownloadStateContentDescription()
DSecondaryDropTarget.java189 if ((iconInfo.runtimeStatusFlags & FLAG_SYSTEM_MASK) != 0 in getButtonType()
190 && (iconInfo.runtimeStatusFlags & FLAG_SYSTEM_NO) == 0) { in getButtonType()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java141 && (((AppInfo) item).runtimeStatusFlags & FLAG_NOT_PINNABLE) == 0) in supportAddToWorkSpace()
143 && (((WorkspaceItemInfo) item).runtimeStatusFlags & FLAG_NOT_PINNABLE) == 0) in supportAddToWorkSpace()
145 && (((PendingAddItemInfo) item).runtimeStatusFlags & FLAG_NOT_PINNABLE) == 0); in supportAddToWorkSpace()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsStore.java232 if ((app.runtimeStatusFlags & FLAG_SHOW_DOWNLOAD_PROGRESS_MASK) == 0) { in updateProgressBar()
DPrivateProfileManager.java186 itemInfo.runtimeStatusFlags |= FLAG_NOT_PINNABLE; in addPrivateSpaceInstallAppButton()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java213 && (appInfo.runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) != 0) { in startDetailsActivityForInfo()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayLauncher.java339 && (((ItemInfoWithIcon) item).runtimeStatusFlags in onIconClicked()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java232 || (itemInfoWithIcon.runtimeStatusFlags & FLAG_NOT_PINNABLE) == 0; in isItemPinnable()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DAppPairsController.java128 && ((att.getItemInfo().runtimeStatusFlags in canSaveAppPair()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java445 if (wii.hasPromiseIconUi() || (wii.runtimeStatusFlags
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java222 || (itemInfoWithIcon.runtimeStatusFlags & FLAG_NOT_PINNABLE) == 0) { in configureForLauncher()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskView.kt1646 runtimeStatusFlags = in <lambda>()
1647 runtimeStatusFlags or ItemInfoWithIcon.FLAG_NOT_PINNABLE in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java563 && (((ItemInfoWithIcon) info).runtimeStatusFlags in fetchIcon()