/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
H A D | AppDeletionPreferenceGroupTest.java | 47 private List<AppsAsyncLoader.PackageInfo> mApps; field in class:AppDeletionPreferenceGroupTest 53 mApps = new ArrayList<>(); 54 mApps.add(mPackage1); 64 mGroup.onAppRebuild(mApps); 74 mGroup.onAppRebuild(mApps);
|
H A D | AppStateUsageStatsBridgeTest.java | 69 private ArrayList<ApplicationsState.AppEntry> mApps; field in class:AppStateUsageStatsBridgeTest 81 mApps = new ArrayList<>(); 82 when(mSession.getAllApps()).thenReturn(mApps); 315 mApps.add(clearable); 319 mApps.add(tooNewtoDelete); 324 mApps.add(systemApp); 329 mApps.add(persistentApp); 344 mApps.add(clearable); 348 mApps.add(tooNewtoDelete); 353 mApps [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
H A D | DefaultAppSearchAlgorithm.java | 32 private final List<AppInfo> mApps; field in class:DefaultAppSearchAlgorithm 36 mApps = apps; 66 for (AppInfo info : mApps) {
|
H A D | AppsSearchContainerLayout.java | 62 private AlphabeticalAppsList mApps; field in class:AppsSearchContainerLayout 142 mApps = appsView.getApps(); 145 new DefaultAppSearchAlgorithm(mApps.getApps()), this, mLauncher, this); 180 mApps.setOrderedFilter(apps); 188 if (mApps.setOrderedFilter(null)) {
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
H A D | EnterpriseSetDefaultAppsListPreferenceController.java | 58 private List<EnumMap<EnterpriseDefaultApps, List<ApplicationInfo>>> mApps = field in class:EnterpriseSetDefaultAppsListPreferenceController 74 * Builds data for UI. Updates mUsers and mApps so that they contain non-empty list. 78 mApps = new ArrayList<>(); 94 mApps.add(userMap); 123 createPreferences(prefContext, screen, mApps.get(0)); 135 createPreferences(prefContext, category, mApps.get(i));
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
H A D | AppGridAdapter.java | 41 private List<AppMetaData> mApps; field in class:AppGridAdapter 64 mApps = apps; 105 AppMetaData app = mApps.get(index); 115 return (mApps == null ? 0 : mApps.size()) + (hasRecentlyUsedApps() ? 1 : 0); 123 if (mApps != null) { 124 Collections.sort(mApps, AppLauncherUtils.ALPHABETICAL_COMPARATOR);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsFastScrollHelper.java | 31 private AlphabeticalAppsList mApps; field in class:AllAppsFastScrollHelper 82 mApps = apps; 144 mApps.getFastScrollerSections(); 211 && pos < mApps.getAdapterItems().size()) { 212 AlphabeticalAppsList.AdapterItem item = mApps.getAdapterItems().get(pos);
|
H A D | AllAppsGridAdapter.java | 104 record.setItemCount(mApps.getNumFilteredApps()); 115 getRowsNotForAccessibility(mApps.getAdapterItems().size() - 1); 143 List<AdapterItem> items = mApps.getAdapterItems(); 144 adapterPosition = Math.max(adapterPosition, mApps.getAdapterItems().size() - 1); 167 if (isIconViewType(mApps.getAdapterItems().get(position).viewType)) { 178 private final AlphabeticalAppsList mApps; field in class:AllAppsGridAdapter 195 mApps = apps; 288 AppInfo info = mApps.getAdapterItems().get(position).appInfo; 296 emptyViewText.setGravity(mApps.hasNoFilteredResults() ? Gravity.CENTER : 333 return mApps [all...] |
H A D | AllAppsRecyclerView.java | 49 private AlphabeticalAppsList mApps; field in class:AllAppsRecyclerView 86 mApps = apps; 91 return mApps; 141 if (mApps.hasFilter()) { 152 if (mApps.hasNoFilteredResults()) { 183 int rowCount = mApps.getNumAppRows(); 193 mApps.getFastScrollerSections(); 248 if (mApps == null) { 251 List<AlphabeticalAppsList.AdapterItem> items = mApps.getAdapterItems(); 319 return !mApps [all...] |
H A D | AlphabeticalAppsList.java | 133 private final List<AppInfo> mApps = new ArrayList<>(); field in class:AlphabeticalAppsList 181 return mApps; 245 mApps.clear(); 249 mApps.add(app); 253 Collections.sort(mApps, mAppNameComparator); 263 for (AppInfo info : mApps) { 277 mApps.clear(); 279 mApps.addAll(entry.getValue()); 283 for (AppInfo info : mApps) { 295 * mCachedSectionNames to have been calculated for the set of all apps in mApps [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | ContextMap.java | 152 private List<App> mApps = new ArrayList<App>(); field in class:ContextMap 170 synchronized (mApps) { 177 mApps.add(app); 187 synchronized (mApps) { 188 Iterator<App> i = mApps.iterator(); 205 synchronized (mApps) { 206 Iterator<App> i = mApps.iterator(); 222 synchronized (mApps) { 223 Iterator<App> i = mApps.iterator(); 277 synchronized (mApps) { [all...] |
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
H A D | AppOpsCategory.java | 118 List<AppOpEntry> mApps; field in class:AppOpsCategory.AppListLoader 145 mApps = apps; 169 if (mApps != null) { 172 deliverResult(mApps); 184 if (takeContentChanged() || mApps == null || configChange) { 221 if (mApps != null) { 222 onReleaseResources(mApps); 223 mApps = null;
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
H A D | DataUsageList.java | 114 private PreferenceGroup mApps; field in class:DataUsageList 144 mApps = (PreferenceGroup) findPreference(KEY_APPS_GROUP); 410 mApps.removeAll(); 424 mApps.addPreference(preference); 592 if ((mApps.getPreferenceCount() != 0) != 594 if (mApps.getPreferenceCount() != 0) { 596 getPreferenceScreen().addPreference(mApps);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | RecentNotifyingAppsPreferenceController.java | 77 private List<NotifyingApp> mApps; field in class:RecentNotifyingAppsPreferenceController 159 mApps = mNotificationBackend.getRecentApps(); 248 Collections.sort(mApps); 251 for (NotifyingApp app : mApps) {
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
H A D | AppDeletionType.java | 55 private List<PackageInfo> mApps; field in class:AppDeletionType 99 if (mApps == null) { 104 for (PackageInfo app : mApps) { 155 if (mApps != null) { 156 for (int i = 0, size = mApps.size(); i < size; i++) { 157 final PackageInfo app = mApps.get(i); 191 mApps.size(), 215 return mApps.size(); 240 mApps = data; 243 mAppListener.onAppRebuild(mApps); [all...] |
H A D | DeletionHelperSettings.java | 69 private AppDeletionPreferenceGroup mApps; field in class:DeletionHelperSettings 93 mApps = (AppDeletionPreferenceGroup) findPreference(APPS_KEY); 109 mAppBackend.registerView(mApps); 111 mApps.setDeletionType(mAppBackend); 200 screen.removePreference(mApps);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
H A D | HealthService.java | 62 private Map<BluetoothHealthAppConfiguration, AppInfo> mApps; field in class:HealthService 87 mApps = Collections.synchronizedMap( 116 if (mApps != null) { 118 mApps.entrySet().iterator(); 144 if (mApps != null) { 145 mApps.clear(); 188 AppInfo appInfo = mApps.get(appConfig); 205 mApps.remove(appConfig); 225 int appId = (mApps.get(appConfig)).mAppId; 236 int appId = (mApps [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AppsCustomizePagedView.java | 176 private ArrayList<ApplicationInfo> mApps; field in class:AppsCustomizePagedView 253 mApps = new ArrayList<ApplicationInfo>(); 309 int numApps = mApps.size(); 335 if (index < mApps.size()) { 340 return mNumAppsPages + ((index - mApps.size()) / numItemsPerPage); 353 mNumAppsPages = (int) Math.ceil((float) mApps.size() / (mCellCountX * mCellCountY)); 439 if (mApps.size() > 0 && !mWidgets.isEmpty()) { 1022 int endIndex = Math.min(startIndex + numCells, mApps.size()); 1029 ApplicationInfo info = mApps.get(i); 1527 * We should call thise method whenever the core data changes (mApps, mWidget [all...] |