/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AllAppsList.java | 37 public ArrayList<AppInfo> data = 38 new ArrayList<AppInfo>(DEFAULT_APPLICATIONS_NUMBER); 40 public ArrayList<AppInfo> added = 41 new ArrayList<AppInfo>(DEFAULT_APPLICATIONS_NUMBER); 43 public ArrayList<AppInfo> removed = new ArrayList<AppInfo>(); 45 public ArrayList<AppInfo> modified = new ArrayList<AppInfo>(); 65 public void add(AppInfo info) { in add() 88 public AppInfo get(int index) { in get() 101 add(new AppInfo(context, info, user, mIconCache, null)); in addPackage() 109 final List<AppInfo> data = this.data; in removePackage() [all …]
|
D | LauncherModel.java | 201 public void bindAllApplications(ArrayList<AppInfo> apps); in bindAllApplications() 205 ArrayList<AppInfo> addedApps); in bindAppsAdded() 206 public void bindAppsUpdated(ArrayList<AppInfo> apps); in bindAppsUpdated() 213 ArrayList<AppInfo> appInfos, UserHandleCompat user, int reason); in bindComponentsRemoved() 374 public void addAppsToAllApps(final Context ctx, final ArrayList<AppInfo> allAppsApps) { in addAppsToAllApps() 472 } else if (a instanceof AppInfo) { in addAndBindAddedWorkspaceApps() 473 shortcutInfo = ((AppInfo) a).makeShortcut(); in addAndBindAddedWorkspaceApps() 1713 for (AppInfo app : mBgAllAppsList.data) { in verifyApplications() 2779 final ArrayList<AppInfo> list 2780 = (ArrayList<AppInfo>) mBgAllAppsList.data.clone(); [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 104 public AppInfo(AppInfo info) { in AppInfo() method in AppInfo 123 public static void dumpApplicationInfoList(String tag, String label, ArrayList<AppInfo> list) { in dumpApplicationInfoList() 125 for (AppInfo info: list) { in dumpApplicationInfoList()
|
D | AppsCustomizePagedView.java | 170 private ArrayList<AppInfo> mApps; 218 mApps = new ArrayList<AppInfo>(); in AppsCustomizePagedView() 962 AppInfo info = mApps.get(i); in syncAppsPageItems() 1417 public void setApps(ArrayList<AppInfo> list) { in setApps() 1424 private void addAppsWithoutInvalidate(ArrayList<AppInfo> list) { in addAppsWithoutInvalidate() 1428 AppInfo info = list.get(i); in addAppsWithoutInvalidate() 1435 public void addApps(ArrayList<AppInfo> list) { in addApps() 1441 private int findAppByComponent(List<AppInfo> list, AppInfo item) { in findAppByComponent() 1445 AppInfo info = list.get(i); in findAppByComponent() 1453 private void removeAppsWithoutInvalidate(ArrayList<AppInfo> list) { in removeAppsWithoutInvalidate() [all …]
|
D | DeleteDropTarget.java | 99 return source.supportsAppInfoDropTarget() && (info instanceof AppInfo); in isAllAppsApplication() 160 item instanceof AppInfo) { in willAcceptDrop() 161 AppInfo appInfo = (AppInfo) info; in willAcceptDrop() 162 return (appInfo.flags & AppInfo.DOWNLOADED_FLAG) != 0; in willAcceptDrop() 169 return (shortcutInfo.flags & AppInfo.DOWNLOADED_FLAG) != 0; in willAcceptDrop() 299 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 | Launcher.java | 2554 } else if (tag instanceof AppInfo) { in onClick() 2719 } else if (tag instanceof AppInfo) { in startAppShortcutOrInfoActivity() 2721 intent = ((AppInfo) tag).intent; in startAppShortcutOrInfoActivity() 2904 if ((flags & AppInfo.DOWNLOADED_FLAG) == 0) { in startApplicationUninstallActivity() 2936 if (intent.hasExtra(AppInfo.EXTRA_PROFILE)) { in startActivity() 2937 long serialNumber = intent.getLongExtra(AppInfo.EXTRA_PROFILE, -1); in startActivity() 4195 final ArrayList<AppInfo> addedApps) { in bindAppsAdded() 4601 public void bindAllApplications(final ArrayList<AppInfo> apps) { in bindAllApplications() 4631 public void bindAppsUpdated(final ArrayList<AppInfo> apps) { in bindAppsUpdated() 4728 final ArrayList<AppInfo> appInfos, final UserHandleCompat user, final int reason) { in bindComponentsRemoved() [all …]
|
D | InfoDropTarget.java | 80 if (d.dragInfo instanceof AppInfo) { in acceptDrop() 81 componentName = ((AppInfo) d.dragInfo).componentName; in acceptDrop()
|
D | InstallShortcutReceiver.java | 293 launchIntent = AppInfo.makeLaunchIntent(context, info, user); in PendingInstallShortcutInfo() 364 info.flags = AppInfo.initFlags(activityInfo); in getShortcutInfo()
|
D | LauncherCallbacks.java | 52 public void bindAllApplications(ArrayList<AppInfo> apps); in bindAllApplications()
|
D | ShortcutInfo.java | 166 public ShortcutInfo(AppInfo info) { in ShortcutInfo()
|
D | LauncherExtension.java | 123 public void bindAllApplications(ArrayList<AppInfo> apps) { in bindAllApplications()
|
D | BubbleTextView.java | 143 public void applyFromApplicationInfo(AppInfo info) { in applyFromApplicationInfo()
|
/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() 101 ArrayList<AppInfo> appInfos = new ArrayList<AppInfo>(appEntries.size()); in updateAppList() 103 appInfos.add(new AppInfo(mContext, appEntries.get(i))); in updateAppList() 115 AppInfo info = appInfos.get(i); in updateAppList() 156 static String getAppIconUri(Context context, AppInfo info) { in getAppIconUri()
|
D | AppManagementActivity.java | 62 private AppInfo mAppInfo; 79 mAppInfo = new AppInfo(this, mApplicationsState.getEntry(mPackageName)); in onCreate() 106 mAppInfo = new AppInfo(this, mApplicationsState.getEntry(mPackageName)); in refreshUpdateActions()
|
D | OpenManager.java | 29 private AppInfo mAppInfo; 32 OpenManager(Context context, AppInfo appInfo) { in OpenManager()
|
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 | ForceStopManager.java | 35 private AppInfo mAppInfo; 38 ForceStopManager(Context context, AppInfo appInfo) { in ForceStopManager()
|
D | AppInfo.java | 28 class AppInfo { class 34 AppInfo(Context context, ApplicationsState.AppEntry entry) { in AppInfo() method in AppInfo
|
D | DefaultClearer.java | 46 private final AppInfo mAppInfo; 49 DefaultClearer(Listener listener, AppInfo appInfo) { in DefaultClearer()
|
D | UninstallManager.java | 40 private final AppInfo mAppInfo; 43 UninstallManager(Activity activity, AppInfo appInfo) { in UninstallManager()
|
/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() 808 private static class AppInfo { class in HealthService [all …]
|