Home
last modified time | relevance | path

Searched refs:getTargetComponent (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageUserKey.java22 if (info.getTargetComponent() == null) return null; in fromItemInfo()
23 return new PackageUserKey(info.getTargetComponent().getPackageName(), info.user); in fromItemInfo()
45 if (info.getTargetComponent() == null) return false; in updateFromItemInfo()
47 update(info.getTargetComponent().getPackageName(), info.user); in updateFromItemInfo()
DItemInfoMatcher.java46 ComponentName cn = info.getTargetComponent(); in filterItemInfos()
53 ComponentName cn = s.getTargetComponent(); in filterItemInfos()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DItemInfo.java171 mComponentName = info.getTargetComponent(); in copyFrom()
179 public ComponentName getTargetComponent() { in getTargetComponent() method in ItemInfo
227 + " targetComponent=" + getTargetComponent() in dumpProperties()
277 Optional<ComponentName> nullableComponent = Optional.ofNullable(getTargetComponent()); in buildProto()
308 .setComponentName(getTargetComponent().flattenToShortString()) in buildProto()
DWorkspaceItemInfo.java214 public ComponentName getTargetComponent() { in getTargetComponent() method in WorkspaceItemInfo
215 ComponentName cn = super.getTargetComponent(); in getTargetComponent()
DLauncherAppWidgetInfo.java149 public ComponentName getTargetComponent() { in getTargetComponent() method in LauncherAppWidgetInfo
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java355 ComponentKey componentKey = new ComponentKey(item.getTargetComponent(), item.user); in showCachedItems()
638 final String pkg = itemInfo.getTargetComponent() != null in logLaunchedAppRankingInfo()
639 ? itemInfo.getTargetComponent().getPackageName() : "unknown"; in logLaunchedAppRankingInfo()
646 if (itemInfo.getTargetComponent() == null || itemInfo.user == null) { in logLaunchedAppRankingInfo()
650 final ComponentKey key = new ComponentKey(itemInfo.getTargetComponent(), itemInfo.user); in logLaunchedAppRankingInfo()
702 || itemInfo.getTargetComponent() == null) { in encodeHotseatLayoutIntoPredictionRank()
707 final ComponentKey k = new ComponentKey(itemInfo.getTargetComponent(), itemInfo.user); in encodeHotseatLayoutIntoPredictionRank()
DHotseatPredictionModel.java98 && info.getTargetComponent() != null) { in getAppTargetFromInfo()
99 ComponentName cn = info.getTargetComponent(); in getAppTargetFromInfo()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionUiStateManager.java317 if (itemInfo == null || itemInfo.getTargetComponent() == null || itemInfo.user == null) { in getAllAppsRank()
324 ComponentKey key = new ComponentKey(itemInfo.getTargetComponent(), in getAllAppsRank()
346 if (manager == null || itemInfo.getTargetComponent() == null || itemInfo.user == null in fillInPredictedRank()
357 final ComponentKey k = new ComponentKey(itemInfo.getTargetComponent(), itemInfo.user); in fillInPredictedRank()
DInstantAppItemInfo.java36 public ComponentName getTargetComponent() { in getTargetComponent() method in InstantAppItemInfo
/packages/apps/Launcher3/src/com/android/launcher3/model/
DAddWorkspaceItemsTask.java118 String packageName = item.getTargetComponent() != null in execute()
119 ? item.getTargetComponent().getPackageName() : null; in execute()
238 && info.getTargetComponent() != null in shortcutExists()
240 && compPkgName.equals(info.getTargetComponent().getPackageName())) { in shortcutExists()
DFirstScreenBroadcast.java158 } else if (info.getTargetComponent() != null){ in getPackageName()
159 packageName = info.getTargetComponent().getPackageName(); in getPackageName()
DCacheDataUpdatedTask.java59 ComponentName cn = si.getTargetComponent(); in execute()
DModelWriter.java271 (item) -> item.getTargetComponent() == null ? "" in deleteItemsFromDatabase()
272 : item.getTargetComponent().getPackageName()).collect( in deleteItemsFromDatabase()
DPackageInstallStateChangedTask.java76 ComponentName cn = si.getTargetComponent(); in execute()
/packages/apps/Launcher3/src/com/android/launcher3/
DPendingAddItemInfo.java56 public ComponentName getTargetComponent() { in getTargetComponent() method in PendingAddItemInfo
57 return Optional.ofNullable(super.getTargetComponent()).orElse(componentName); in getTargetComponent()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java98 if (itemInfo.getTargetComponent() == null) return null;
101 itemInfo.getTargetComponent().getPackageName(), itemInfo.user));
176 mItemInfo.getTargetComponent().getPackageName()); in onClick()
DRemoteActionShortcut.java84 + mItemInfo.getTargetComponent().getPackageName(); in onClick()
92 mItemInfo.getTargetComponent().getPackageName()), in onClick()
DPopupPopulator.java136 final ComponentName activity = originalInfo.getTargetComponent(); in createUpdateRunnable()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DPinnedAppsAdapter.java172 ComponentKey key = new ComponentKey(info.getTargetComponent(), info.user); in update()
210 mPinnedApps.contains(new ComponentKey(info.getTargetComponent(), info.user))); in getSystemShortcut()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DWellbeingModel.java332 (activity, info) -> (info.getTargetComponent() == null) ? null : INSTANCE.get(activity)
334 info.getTargetComponent().getPackageName(), info.user.getIdentifier(),
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java277 if (info.getTargetComponent() == null) { in getTitleAndIcon()
302 CacheEntry entry = cacheLocked(infoInOut.getTargetComponent(), infoInOut.user, in getTitleAndIcon()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DInstantAppResolverImpl.java49 ComponentName cn = info.getTargetComponent(); in isInstantApp()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DCacheDataUpdatedTaskTest.java62 return info.getTargetComponent(); in setup()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderNameProvider.java116 .map(WorkspaceItemInfo::getTargetComponent) in getSuggestedFolderName()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsBottomSheet.java100 mOriginalItemInfo.getTargetComponent().getPackageName(), in onWidgetsBound()

12