HomeSort by relevance Sort by last modified time
    Searched refs:DashboardCategory (Results 1 - 25 of 25) sorted by null

  /packages/apps/Settings/src/com/android/settings/security/
SecurityFeatureProvider.java 23 import com.android.settingslib.drawer.DashboardCategory;
31 DashboardCategory dashboardCategory);
SecurityFeatureProviderImpl.java 37 import com.android.settingslib.drawer.DashboardCategory;
61 final DashboardCategory dashboardCategory) {
65 int tilesCount = (dashboardCategory != null) ? dashboardCategory.getTilesCount() : 0;
70 initPreferences(context, preferenceScreen, dashboardCategory);
77 updatePreferencesToRunOnWorkerThread(context, preferenceScreen, dashboardCategory);
84 DashboardCategory dashboardCategory) {
85 int tilesCount = (dashboardCategory != null) ? dashboardCategory.getTilesCount() : 0
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DashboardCategory.java 28 public class DashboardCategory implements Parcelable {
30 private static final String TAG = "DashboardCategory";
54 public DashboardCategory() {
131 DashboardCategory(Parcel in) {
135 public static final Creator<DashboardCategory> CREATOR = new Creator<DashboardCategory>() {
136 public DashboardCategory createFromParcel(Parcel source) {
137 return new DashboardCategory(source);
140 public DashboardCategory[] newArray(int size) {
141 return new DashboardCategory[size]
    [all...]
CategoryManager.java 50 private final Map<String, DashboardCategory> mCategoryByKeyMap;
52 private List<DashboardCategory> mCategories;
74 public synchronized DashboardCategory getTilesByCategory(Context context, String categoryKey) {
78 public synchronized DashboardCategory getTilesByCategory(Context context, String categoryKey,
85 public synchronized List<DashboardCategory> getCategories(Context context) {
89 public synchronized List<DashboardCategory> getCategories(Context context, String settingPkg) {
106 DashboardCategory category = mCategories.get(i);
131 for (DashboardCategory category : mCategories) {
143 Map<String, DashboardCategory> categoryByKeyMap) {
179 DashboardCategory newCategory = categoryByKeyMap.get(newCategoryKey)
    [all...]
TileUtils.java 188 * Build a list of DashboardCategory. Each category must be defined in manifest.
193 public static List<DashboardCategory> getCategories(Context context,
199 * Build a list of DashboardCategory.
203 public static List<DashboardCategory> getCategories(Context context,
209 * Build a list of DashboardCategory.
215 public static List<DashboardCategory> getCategories(Context context,
248 HashMap<String, DashboardCategory> categoryMap = new HashMap<>();
250 DashboardCategory category = categoryMap.get(tile.category);
261 ArrayList<DashboardCategory> categories = new ArrayList<>(categoryMap.values());
262 for (DashboardCategory category : categories)
    [all...]
  /packages/apps/Settings/src/com/android/settings/dashboard/
DashboardFeatureProvider.java 23 import com.android.settingslib.drawer.DashboardCategory;
34 * Get tiles (wrapped in {@link DashboardCategory}) for key defined in CategoryKey.
36 DashboardCategory getTilesForCategory(String key);
56 List<DashboardCategory> getAllCategories();
DashboardFeatureProviderImpl.java 36 import com.android.settingslib.drawer.DashboardCategory;
68 public DashboardCategory getTilesForCategory(String key) {
75 final DashboardCategory category = getTilesForCategory(key);
96 public List<DashboardCategory> getAllCategories() {
SummaryLoader.java 36 import com.android.settingslib.drawer.DashboardCategory;
63 public SummaryLoader(Activity activity, List<DashboardCategory> categories) {
91 final DashboardCategory category =
231 public void updateSummaryToCache(DashboardCategory category) {
264 private Tile getTileFromCategory(DashboardCategory category, ComponentName component) {
DashboardFragment.java 38 import com.android.settingslib.drawer.DashboardCategory;
108 final DashboardCategory category =
125 final DashboardCategory category =
202 * Returns the CategoryKey for loading {@link DashboardCategory} for this fragment.
288 * DashboardCategory.
305 * Refresh preference items backed by DashboardCategory.
311 final DashboardCategory category =
SiteMapManager.java 32 import com.android.settingslib.drawer.DashboardCategory;
149 List<DashboardCategory> categories = FeatureFactory.getFactory(context)
152 for (DashboardCategory category : categories) {
DashboardData.java 26 import com.android.settingslib.drawer.DashboardCategory;
69 private final DashboardCategory mCategory;
115 public DashboardCategory getCategory() {
201 * @param item maybe {@link Condition}, {@link Tile}, {@link DashboardCategory} or null
321 private DashboardCategory mCategory;
335 public Builder setCategory(DashboardCategory category) {
DashboardSummary.java 45 import com.android.settingslib.drawer.DashboardCategory;
314 final DashboardCategory category = mDashboardFeatureProvider.getTilesForCategory(
DashboardAdapter.java 54 import com.android.settingslib.drawer.DashboardCategory;
116 DashboardCategory category = null;
153 public void setCategoriesAndSuggestions(DashboardCategory category,
184 public void setCategory(DashboardCategory category) {
477 private void tintIcons(DashboardCategory category, List<Tile> suggestions) {
505 final DashboardCategory category = mDashboardData.getCategory();
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
CategoryManagerTest.java 45 private Map<String, DashboardCategory> mCategoryByKeyMap;
66 final DashboardCategory category = new DashboardCategory();
86 final DashboardCategory category1 = new DashboardCategory();
88 final DashboardCategory category2 = new DashboardCategory();
107 final DashboardCategory category1 = new DashboardCategory();
126 final DashboardCategory category = new DashboardCategory()
    [all...]
TileUtilsTest.java 216 List<DashboardCategory> categoryList = TileUtils.getCategories(
  /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
SummaryLoaderTest.java 26 import com.android.settingslib.drawer.DashboardCategory;
68 final List<DashboardCategory> categories = new ArrayList<>();
96 final DashboardCategory category = new DashboardCategory();
DashboardSummaryTest.java 27 import com.android.settingslib.drawer.DashboardCategory;
86 verify(mSummaryLoader).updateSummaryToCache(nullable(DashboardCategory.class));
DashboardAdapterTest.java 55 import com.android.settingslib.drawer.DashboardCategory;
509 final DashboardCategory category = mock(DashboardCategory.class);
537 final DashboardCategory category = mock(DashboardCategory.class);
569 final DashboardCategory category = mock(DashboardCategory.class);
DashboardFeatureProviderImplTest.java 40 import com.android.settingslib.drawer.DashboardCategory;
340 .thenReturn(new DashboardCategory());
351 final DashboardCategory category = new DashboardCategory();
DashboardFragmentTest.java 43 import com.android.settingslib.drawer.DashboardCategory;
67 private DashboardCategory mDashboardCategory;
DashboardDataTest.java 34 import com.android.settingslib.drawer.DashboardCategory;
65 private DashboardCategory mDashboardCategory;
  /packages/apps/Settings/tests/robotests/src/com/android/settings/security/
SecurityFeatureProviderImplTest.java 33 import com.android.settingslib.drawer.DashboardCategory;
117 DashboardCategory dashboardCategory = new DashboardCategory();
118 dashboardCategory.addTile(new Tile());
120 mContext, getPreferenceScreen(), dashboardCategory);
143 DashboardCategory dashboardCategory = getDashboardCategory();
144 dashboardCategory.getTile(0).intent = new Intent().setPackage("package");
145 dashboardCategory.getTile(0).metaData = bundle
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/search/
SiteMapManagerTest.java 34 import com.android.settingslib.drawer.DashboardCategory;
105 final DashboardCategory category = new DashboardCategory();
  /packages/apps/Settings/tests/robotests/src/com/android/settings/
SecuritySettingsTest.java 36 import com.android.settingslib.drawer.DashboardCategory;
75 private DashboardCategory mDashboardCategory;
  /packages/apps/Settings/src/com/android/settings/
SettingsActivity.java 65 import com.android.settingslib.drawer.DashboardCategory;
198 private ArrayList<DashboardCategory> mCategories = new ArrayList<>();
310 ArrayList<DashboardCategory> categories =
    [all...]

Completed in 440 milliseconds