Searched refs:mCategories (Results 1 – 6 of 6) sorted by relevance
33 private final List<Category> mCategories; field in TestCategoryProvider48 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()108 return mCategories; in getTestCategories()
47 private final List<String> mCategories; field in IntentFilterData66 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()
55 private List<DashboardCategory> mCategories; field in CategoryManager79 return mCategories; in getCategories()85 mCategories = null; in reloadAllCategories()94 if (mCategories == null) { in updateCategoryFromDenylist()98 for (int i = 0; i < mCategories.size(); i++) { in updateCategoryFromDenylist()99 DashboardCategory category = mCategories.get(i); in updateCategoryFromDenylist()112 if (mCategories == null) { in getTileByComponentMap()116 mCategories.forEach(category -> { in getTileByComponentMap()141 if (mCategories == null) { in tryInitCategories()147 mCategories = TileUtils.getCategories(context, mTileByComponentCache); in tryInitCategories()[all …]
122 private ArrayList<Category> mCategories = new ArrayList<>(); field in CategorySelectorFragment128 mAdapter = new CategoryAdapter(mCategories); in CategorySelectorFragment()204 if (mCategories.indexOf(category) >= 0) { in addCategory()212 while (index < mCategories.size() && priority >= mCategories.get(index).getPriority()) { in addCategory()216 mCategories.add(index, category); in addCategory()224 int index = mCategories.indexOf(category); in removeCategory()226 mCategories.remove(index); in removeCategory()232 int index = mCategories.indexOf(category); in updateCategory()234 mCategories.remove(index); in updateCategory()235 mCategories.add(index, category); in updateCategory()[all …]
80 protected ArrayList<Category> mCategories; field in DefaultCategoryProvider91 mCategories = new ArrayList<>(); in DefaultCategoryProvider()99 for (Category category : mCategories) { in fetchCategories()105 mCategories.clear(); in fetchCategories()116 return mFetchedCategories ? mCategories.size() : 0; in getSize()124 return mCategories.get(index); in getCategory()130 for (int i = 0; i < mCategories.size(); i++) { in getCategory()131 category = mCategories.get(i); in getCategory()148 mCategories.clear(); in resetIfNeeded()165 mCategories.add(category); in doFetch()
180 private ArrayList<DashboardCategory> mCategories = new ArrayList<>(); field in SettingsActivity277 mCategories.clear(); in onCreate()278 mCategories.addAll(categories); in onCreate()469 if (mCategories.size() > 0) { in saveState()470 outState.putParcelableArrayList(SAVE_KEY_CATEGORIES, mCategories); in saveState()