Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestCategoryProvider.java33 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()
97 mCategories.clear(); in resetIfNeeded()
113 return mCategories; in getTestCategories()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/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/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategorySelectorFragment.java131 private ArrayList<Category> mCategories = new ArrayList<>(); field in CategorySelectorFragment
147 mGroupedCategoryAdapter = new GroupedCategoryAdapter(mCategories); in onCreate()
149 mAdapter = new CategoryAdapter(mCategories); in onCreate()
231 if (mCategories.indexOf(category) >= 0) { in addCategory()
242 while (index < mCategories.size() && priority >= mCategories.get(index).getPriority()) { in addCategory()
246 mCategories.add(index, category); in addCategory()
254 if (mCategories.indexOf(category) >= 0) { in addCategory()
262 while (index < mCategories.size() && priority >= mCategories.get(index).getPriority()) { in addCategory()
266 mCategories.add(index, category); in addCategory()
276 int index = mCategories.indexOf(category); in removeCategory()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DCategoryManager.java61 private List<DashboardCategory> mCategories; field in CategoryManager
88 return mCategories; in getCategories()
94 mCategories = null; in reloadAllCategories()
103 if (mCategories == null) { in updateCategoryFromDenylist()
107 for (int i = 0; i < mCategories.size(); i++) { in updateCategoryFromDenylist()
108 DashboardCategory category = mCategories.get(i); in updateCategoryFromDenylist()
121 if (mCategories == null) { in getTileByComponentMap()
125 mCategories.forEach(category -> { in getTileByComponentMap()
154 if (mCategories == null) { in tryInitCategories()
160 mCategories = TileUtils.getCategories(context, mTileByComponentCache); in tryInitCategories()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultCategoryProvider.java81 protected ArrayList<Category> mCategories; field in DefaultCategoryProvider
92 mCategories = new ArrayList<>(); in DefaultCategoryProvider()
100 for (Category category : mCategories) { in fetchCategories()
106 mCategories.clear(); in fetchCategories()
117 return mFetchedCategories ? mCategories.size() : 0; in getSize()
125 return mCategories.get(index); in getCategory()
131 for (int i = 0; i < mCategories.size(); i++) { in getCategory()
132 category = mCategories.get(i); in getCategory()
149 mCategories.clear(); in resetIfNeeded()
197 mCategories.add(category); in doFetch()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java199 private ArrayList<DashboardCategory> mCategories = new ArrayList<>(); field in SettingsActivity
319 mCategories.clear(); in createUiFromIntent()
320 mCategories.addAll(categories); in createUiFromIntent()
606 if (mCategories.size() > 0) { in saveState()
607 outState.putParcelableArrayList(SAVE_KEY_CATEGORIES, mCategories); in saveState()