Home
last modified time | relevance | path

Searched refs:mCategories (Results 1 – 7 of 7) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DIntentFilterData.java47 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DCategoryManager.java53 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/Settings/src/com/android/settings/dashboard/
DCategoryManager.java53 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/
DDefaultCategoryProvider.java57 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/
DCategoryFragment.java126 private ArrayList<Category> mCategories = new ArrayList<>(); field in CategoryFragment
138 mAdapter = new CategoryAdapter(mCategories); in onCreate()
222 if (mCategories.indexOf(category) >= 0) { in addCategory()
229 while (index < mCategories.size() && priority >= mCategories.get(index).getPriority()) { in addCategory()
233 mCategories.add(index, category); in addCategory()
241 int index = mCategories.indexOf(category); in removeCategory()
243 mCategories.remove(index); in removeCategory()
249 int index = mCategories.indexOf(category); in updateCategory()
251 mCategories.remove(index); in updateCategory()
252 mCategories.add(index, category); in updateCategory()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsActivity.java172 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/
DSettingsActivity.java170 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()