/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | TestCategoryProvider.java | 33 private final List<Category> mCategories; field in TestCategoryProvider 48 mCategories = new ArrayList<>(); in TestCategoryProvider() 49 mCategories.add(category1); in TestCategoryProvider() 50 mCategories.add(category2); in TestCategoryProvider() 70 return mCategories == null ? 0 : mCategories.size(); in getSize() 75 return mCategories == null ? null : mCategories.get(index); in getCategory() 81 for (int i = 0; i < mCategories.size(); i++) { in getCategory() 82 category = mCategories.get(i); in getCategory() 92 return mCategories; in getTestCategories()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | IntentFilterData.java | 47 private final List<String> mCategories; field in IntentFilterData 66 mCategories = categories; in IntentFilterData() 78 return mCategories; in getCategories() 100 int categoriesSize = mCategories.size(); in createIntent() 102 String category = mCategories.get(i); in createIntent() 117 int categoriesSize = mCategories.size(); in createIntentFilter() 119 String category = mCategories.get(i); in createIntentFilter() 140 + ", mCategories='" + mCategories + '\'' in toString() 156 && Objects.equals(mCategories, that.mCategories) in equals() 163 return Objects.hash(mAction, mCategories, mDataScheme, mDataType); in hashCode()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | CategoryManager.java | 53 private List<DashboardCategory> mCategories; field in CategoryManager 77 return mCategories; in getCategories() 83 mCategories = null; in reloadAllCategories() 88 if (mCategories == null) { in updateCategoryFromBlacklist() 91 for (int i = 0; i < mCategories.size(); i++) { in updateCategoryFromBlacklist() 92 DashboardCategory category = mCategories.get(i); in updateCategoryFromBlacklist() 109 if (mCategories == null) { in tryInitCategories() 114 mCategories = TileUtils.getCategories(context, mTileByComponentCache); in tryInitCategories() 115 for (DashboardCategory category : mCategories) { in tryInitCategories()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/ |
D | CategoryManager.java | 53 private List<DashboardCategory> mCategories; field in CategoryManager 77 return mCategories; in getCategories() 83 mCategories = null; in reloadAllCategories() 88 if (mCategories == null) { in updateCategoryFromBlacklist() 91 for (int i = 0; i < mCategories.size(); i++) { in updateCategoryFromBlacklist() 92 DashboardCategory category = mCategories.get(i); in updateCategoryFromBlacklist() 109 if (mCategories == null) { in tryInitCategories() 114 mCategories = TileUtils.getCategories(context, mTileByComponentCache); in tryInitCategories() 115 for (DashboardCategory category : mCategories) { in tryInitCategories()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultCategoryProvider.java | 57 protected ArrayList<Category> mCategories; field in DefaultCategoryProvider 62 mCategories = new ArrayList<>(); in DefaultCategoryProvider() 68 for (Category category : mCategories) { in fetchCategories() 74 mCategories.clear(); in fetchCategories() 83 return mFetchedCategories ? mCategories.size() : 0; in getSize() 91 return mCategories.get(index); in getCategory() 97 for (int i = 0; i < mCategories.size(); i++) { in getCategory() 98 category = mCategories.get(i); in getCategory() 111 mCategories.add(category); in doFetch()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | CategoryFragment.java | 126 private ArrayList<Category> mCategories = new ArrayList<>(); field in CategoryFragment 138 mAdapter = new CategoryAdapter(mCategories); in onCreate() 222 if (mCategories.indexOf(category) >= 0) { in addCategory() 230 while (index < mCategories.size() && priority >= mCategories.get(index).getPriority()) { in addCategory() 234 mCategories.add(index, category); in addCategory() 242 int index = mCategories.indexOf(category); in removeCategory() 244 mCategories.remove(index); in removeCategory() 250 int index = mCategories.indexOf(category); in updateCategory() 252 mCategories.remove(index); in updateCategory() 253 mCategories.add(index, category); in updateCategory() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | SettingsActivity.java | 172 private ArrayList<DashboardCategory> mCategories = new ArrayList<>(); field in SettingsActivity 265 mCategories.clear(); in onCreate() 266 mCategories.addAll(categories); in onCreate() 450 if (mCategories.size() > 0) { in saveState() 451 outState.putParcelableArrayList(SAVE_KEY_CATEGORIES, mCategories); in saveState()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsActivity.java | 170 private ArrayList<DashboardCategory> mCategories = new ArrayList<>(); field in SettingsActivity 263 mCategories.clear(); in onCreate() 264 mCategories.addAll(categories); in onCreate() 448 if (mCategories.size() > 0) { in saveState() 449 outState.putParcelableArrayList(SAVE_KEY_CATEGORIES, mCategories); in saveState()
|