/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AllAppsList.java | 41 public ArrayList<AppInfo> data = 42 new ArrayList<AppInfo>(DEFAULT_APPLICATIONS_NUMBER); 44 public ArrayList<AppInfo> added = 45 new ArrayList<AppInfo>(DEFAULT_APPLICATIONS_NUMBER); 47 public ArrayList<AppInfo> removed = new ArrayList<AppInfo>(); 49 public ArrayList<AppInfo> modified = new ArrayList<AppInfo>(); 69 public void add(AppInfo info) { in add() 92 public AppInfo get(int index) { in get() 106 add(new AppInfo(context, info, user, mIconCache, null)); in addPackage() 115 final List<AppInfo> data = this.data; in removePackage() [all …]
|
D | LauncherModel.java | 195 public void bindAllApplications(ArrayList<AppInfo> apps); in bindAllApplications() 199 ArrayList<AppInfo> addedApps); in bindAppsAdded() 200 public void bindAppsUpdated(ArrayList<AppInfo> apps); in bindAppsUpdated() 201 public void bindAppsRestored(ArrayList<AppInfo> apps); in bindAppsRestored() 205 ArrayList<AppInfo> appInfos, UserHandleCompat user); in bindComponentsRemoved() 366 public void addAppsToAllApps(final Context ctx, final ArrayList<AppInfo> allAppsApps) { in addAppsToAllApps() 376 final ArrayList<AppInfo> restoredAppsFinal = new ArrayList<AppInfo>(); in addAppsToAllApps() 377 Iterator<AppInfo> iter = allAppsApps.iterator(); in addAppsToAllApps() 381 restoredAppsFinal.add((AppInfo) a); in addAppsToAllApps() 393 for (AppInfo info : restoredAppsFinal) { in addAppsToAllApps() [all …]
|
D | AppInfo.java | 39 public class AppInfo extends ItemInfo { class 64 AppInfo() { in AppInfo() method in AppInfo 79 public AppInfo(Context context, LauncherActivityInfoCompat info, UserHandleCompat user, in AppInfo() method in AppInfo 109 public AppInfo(AppInfo info) { in AppInfo() method in AppInfo 128 public static void dumpApplicationInfoList(String tag, String label, ArrayList<AppInfo> list) { in dumpApplicationInfoList() 130 for (AppInfo info: list) { in dumpApplicationInfoList()
|
D | AppsCustomizePagedView.java | 170 private ArrayList<AppInfo> mApps; 218 mApps = new ArrayList<AppInfo>(); in AppsCustomizePagedView() 959 AppInfo info = mApps.get(i); in syncAppsPageItems() 1414 public void setApps(ArrayList<AppInfo> list) { in setApps() 1421 private void addAppsWithoutInvalidate(ArrayList<AppInfo> list) { in addAppsWithoutInvalidate() 1425 AppInfo info = list.get(i); in addAppsWithoutInvalidate() 1432 public void addApps(ArrayList<AppInfo> list) { in addApps() 1438 private int findAppByComponent(List<AppInfo> list, AppInfo item) { in findAppByComponent() 1442 AppInfo info = list.get(i); in findAppByComponent() 1450 private void removeAppsWithoutInvalidate(ArrayList<AppInfo> list) { in removeAppsWithoutInvalidate() [all …]
|
D | DeleteDropTarget.java | 105 return source.supportsAppInfoDropTarget() && (info instanceof AppInfo); in isAllAppsApplication() 166 item instanceof AppInfo) { in willAcceptDrop() 167 AppInfo appInfo = (AppInfo) info; in willAcceptDrop() 168 return (appInfo.flags & AppInfo.DOWNLOADED_FLAG) != 0; in willAcceptDrop() 175 return (shortcutInfo.flags & AppInfo.DOWNLOADED_FLAG) != 0; in willAcceptDrop() 305 AppInfo appInfo = (AppInfo) item; in completeDrop()
|
D | Hotseat.java | 186 ArrayList<AppInfo> allApps, ArrayList<ComponentName> onWorkspace, in addAllAppsFolder() 206 for (AppInfo info: allApps) { in addAllAppsFolder() 217 void addAppsToAllAppsFolder(ArrayList<AppInfo> apps) { in addAppsToAllAppsFolder() 229 for (AppInfo a: apps) { in addAppsToAllAppsFolder()
|
D | FolderIcon.java | 349 ((dragInfo instanceof AppInfo) || (dragInfo instanceof ShortcutInfo))) { in onDragEnter() 365 if (mDragInfo instanceof AppInfo) { 367 item = ((AppInfo) mDragInfo).makeShortcut(); 479 if (d.dragInfo instanceof AppInfo) { 481 item = ((AppInfo) d.dragInfo).makeShortcut();
|
D | Workspace.java | 3932 if (info.container == NO_ID && info instanceof AppInfo) { 3934 info = new ShortcutInfo((AppInfo) info); 4672 void removeItemsByApplicationInfo(final ArrayList<AppInfo> appInfos, UserHandleCompat user) { 4675 for (AppInfo info : appInfos) { 4803 void updateShortcutsAndWidgets(ArrayList<AppInfo> apps) { 4805 final HashMap<UserHandleCompat, ArrayList<AppInfo>> appsPerUser = 4806 new HashMap<UserHandleCompat, ArrayList<AppInfo>>(); 4807 for (AppInfo info : apps) { 4808 ArrayList<AppInfo> filtered = appsPerUser.get(info.user); 4810 filtered = new ArrayList<AppInfo>(); [all …]
|
D | Launcher.java | 2461 } else if (tag instanceof AppInfo) { in onClick() 2641 } else if (tag instanceof AppInfo) { in startAppShortcutOrInfoActivity() 2643 intent = ((AppInfo) tag).intent; in startAppShortcutOrInfoActivity() 2792 if ((flags & AppInfo.DOWNLOADED_FLAG) == 0) { in startApplicationUninstallActivity() 2824 if (intent.hasExtra(AppInfo.EXTRA_PROFILE)) { in startActivity() 2825 long serialNumber = intent.getLongExtra(AppInfo.EXTRA_PROFILE, -1); in startActivity() 4276 final ArrayList<AppInfo> addedApps) { in bindAppsAdded() 4675 public void bindAllApplications(final ArrayList<AppInfo> apps) { in bindAllApplications() 4702 public void bindAppsUpdated(final ArrayList<AppInfo> apps) { in bindAppsUpdated() 4725 public void bindAppsRestored(final ArrayList<AppInfo> apps) { in bindAppsRestored() [all …]
|
D | InfoDropTarget.java | 80 if (d.dragInfo instanceof AppInfo) { in acceptDrop() 81 componentName = ((AppInfo) d.dragInfo).componentName; in acceptDrop()
|
D | DragController.java | 321 public void onAppsRemoved(final ArrayList<String> packageNames, ArrayList<AppInfo> appInfos) { in onAppsRemoved() 327 for (AppInfo info : appInfos) { in onAppsRemoved()
|
D | ShortcutInfo.java | 156 public ShortcutInfo(AppInfo info) { in ShortcutInfo()
|
D | BubbleTextView.java | 143 public void applyFromApplicationInfo(AppInfo info) { in applyFromApplicationInfo()
|
D | IconCache.java | 244 public void getTitleAndIcon(AppInfo application, LauncherActivityInfoCompat info, in getTitleAndIcon()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | AppsBrowseInfo.java | 51 static class AppInfoComparator implements Comparator<AppInfo> { 53 public int compare(AppInfo o1, AppInfo o2) { in compare() 108 ArrayList<AppInfo> appInfos = new ArrayList<AppInfo>(appEntries.size()); in updateAppList() 110 appInfos.add(new AppInfo(mContext, appEntries.get(i))); in updateAppList() 122 AppInfo info = appInfos.get(i); in updateAppList() 163 static String getAppIconUri(Context context, AppInfo info) { in getAppIconUri()
|
D | OpenManager.java | 29 private AppInfo mAppInfo; 32 OpenManager(Context context, AppInfo appInfo) { in OpenManager()
|
D | UninstallManager.java | 29 private final AppInfo mAppInfo; 31 UninstallManager(Activity activity, AppInfo appInfo) { in UninstallManager()
|
D | CacheClearer.java | 36 private final AppInfo mAppInfo; 39 CacheClearer(Listener listener, AppInfo appInfo) { in CacheClearer()
|
D | NotificationSetter.java | 36 private final AppInfo mAppInfo; 39 NotificationSetter(AppInfo appInfo) { in NotificationSetter()
|
D | DataClearer.java | 37 private final AppInfo mAppInfo; 40 DataClearer(Listener listener, AppInfo appInfo) { in DataClearer()
|
D | AppInfo.java | 28 class AppInfo { class 34 AppInfo(Context context, ApplicationsState.AppEntry entry) { in AppInfo() method in AppInfo
|
D | ForceStopManager.java | 35 private AppInfo mAppInfo; 38 ForceStopManager(Context context, AppInfo appInfo) { in ForceStopManager()
|
D | DefaultClearer.java | 46 private final AppInfo mAppInfo; 49 DefaultClearer(Listener listener, AppInfo appInfo) { in DefaultClearer()
|
D | AppManagementActivity.java | 58 private AppInfo mAppInfo; 73 mAppInfo = new AppInfo(this, mApplicationsState.getEntry(mPackageName)); in onCreate()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
D | HealthService.java | 64 private Map <BluetoothHealthAppConfiguration, AppInfo> mApps; 90 AppInfo>()); in start() 116 Iterator <Map.Entry<BluetoothHealthAppConfiguration,AppInfo>>it in cleanupApps() 119 Map.Entry<BluetoothHealthAppConfiguration,AppInfo> entry = it.next(); in cleanupApps() 120 AppInfo appInfo = entry.getValue(); in cleanupApps() 159 AppInfo appInfo = mApps.get(appConfig); in handleMessage() 243 AppInfo appInfo = mApps.get(appConfig); in handleMessage() 411 mApps.put(config, new AppInfo(callback)); in registerAppConfiguration() 529 for (Entry<BluetoothHealthAppConfiguration, AppInfo> e : mApps.entrySet()) { in findAppConfigByAppId() 791 private static class AppInfo { class in HealthService [all …]
|