Searched refs:mCategoryByKeyMap (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
H A D | CategoryManagerTest.java | 42 private Map<String, DashboardCategory> mCategoryByKeyMap; field in class:CategoryManagerTest 48 mCategoryByKeyMap = new HashMap<>(); 66 mCategoryByKeyMap.put(CategoryKey.CATEGORY_ACCOUNT, category); 70 mCategoryManager.backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMap); 72 assertThat(mCategoryByKeyMap.size()).isEqualTo(1); 73 assertThat(mCategoryByKeyMap.get(CategoryKey.CATEGORY_ACCOUNT)).isNotNull(); 87 mCategoryByKeyMap.put(CategoryKey.CATEGORY_ACCOUNT, category1); 88 mCategoryByKeyMap.put(oldCategory, category2); 92 mCategoryManager.backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMap); 94 assertThat(mCategoryByKeyMap [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | CategoryManager.java | 48 private final Map<String, DashboardCategory> mCategoryByKeyMap; field in class:CategoryManager 66 mCategoryByKeyMap = new ArrayMap<>(); 80 return mCategoryByKeyMap.get(categoryKey); 126 mCategoryByKeyMap.clear(); 130 mCategoryByKeyMap.put(category.key, category); 132 backwardCompatCleanupForCategory(mTileByComponentCache, mCategoryByKeyMap); 133 sortCategories(context, mCategoryByKeyMap); 134 filterDuplicateTiles(mCategoryByKeyMap);
|
Completed in 7 milliseconds