Home
last modified time | relevance | path

Searched refs:Category (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java390 ContextualCardProto.ContextualCard.Category.IMPORTANT_VALUE, in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards()
391 ContextualCardProto.ContextualCard.Category.IMPORTANT_VALUE, in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards()
392 ContextualCardProto.ContextualCard.Category.IMPORTANT_VALUE, in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards()
393 ContextualCardProto.ContextualCard.Category.IMPORTANT_VALUE, in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards()
394 ContextualCardProto.ContextualCard.Category.IMPORTANT_VALUE in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards()
410 ContextualCardProto.ContextualCard.Category.IMPORTANT_VALUE, in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards()
411 ContextualCardProto.ContextualCard.Category.IMPORTANT_VALUE, in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards()
412 ContextualCardProto.ContextualCard.Category.IMPORTANT_VALUE, in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards()
413 ContextualCardProto.ContextualCard.Category.IMPORTANT_VALUE, in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards()
414 ContextualCardProto.ContextualCard.Category.SUGGESTION_VALUE in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards()
[all …]
DSettingsContextualCardProviderTest.java83 assertThat(wifiCard.getCardCategory()).isEqualTo(ContextualCard.Category.IMPORTANT); in getContextualCards_wifiSlice_shouldGetImportantCategory()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestCategoryProvider.java20 import com.android.wallpaper.model.Category;
33 private final List<Category> mCategories;
36 Category category1 = new ImageCategory( in TestCategoryProvider()
44 Category category2 = new com.android.wallpaper.testing.TestWallpaperCategory( in TestCategoryProvider()
59 List<Category> categories = getTestCategories(); in fetchCategories()
60 for (Category category : categories) { in fetchCategories()
74 public Category getCategory(int index) { in getCategory()
79 public Category getCategory(String collectionId) { in getCategory()
80 Category category; in getCategory()
91 public List<Category> getTestCategories() { in getTestCategories()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/util/
DSharedLog.java41 private enum Category { enum in SharedLog
106 Log.e(mTag, record(Category.ERROR, e.toString())); in e()
115 Log.e(mTag, record(Category.ERROR, msg)); in e()
129 Log.e(mTag, record(Category.ERROR, msg + ": " + exception.getMessage()), exception); in e()
138 Log.i(mTag, record(Category.NONE, msg)); in i()
147 Log.w(mTag, record(Category.WARN, msg)); in w()
160 record(Category.NONE, msg); in log()
179 record(Category.MARK, msg); in mark()
182 private String record(Category category, String msg) { in record()
188 private String logLine(Category category, String msg) { in logLine()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultCategoryProvider.java23 import com.android.wallpaper.model.Category;
57 protected ArrayList<Category> mCategories;
68 for (Category category : mCategories) { in fetchCategories()
87 public Category getCategory(int index) { in getCategory()
95 public Category getCategory(String collectionId) { in getCategory()
96 Category category; in getCategory()
109 public void onCategoryReceived(Category category) { in doFetch()
128 protected static class FetchCategoriesTask extends AsyncTask<Void, Category, Void> {
207 private Category getOnDeviceCategory() { in getOnDeviceCategory()
236 private Category getDesktopOnDeviceCategory() { in getDesktopOnDeviceCategory()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPickerDelegate.java34 import com.android.wallpaper.model.Category;
165 public void onCategoryReceived(Category category) { in updateThirdPartyCategories()
177 Category oldCategory = findThirdPartyCategory(packageName); in updateThirdPartyCategories()
181 public void onCategoryReceived(Category category) { in updateThirdPartyCategories()
197 private Category findThirdPartyCategory(String packageName) { in findThirdPartyCategory()
200 Category category = mCategoryProvider.getCategory(i); in findThirdPartyCategory()
212 Category oldLiveWallpapersCategory = mCategoryProvider.getCategory( in updateLiveWallpapersCategories()
223 public void onCategoryReceived(Category category) { in updateLiveWallpapersCategories()
229 Category liveWallpapersCategory = in updateLiveWallpapersCategories()
262 public void onCategoryReceived(Category category) { in populateCategories()
[all …]
DCategoryFragment.java56 import com.android.wallpaper.model.Category;
126 private ArrayList<Category> mCategories = new ArrayList<>();
213 public void addCategory(Category category, boolean loading) { in addCategory()
241 public void removeCategory(Category category) { in removeCategory()
249 public void updateCategory(Category category) { in updateCategory()
854 private Category mCategory;
900 public void bindCategory(Category category) { in bindCategory()
987 private List<Category> mCategories;
990 public CategoryAdapter(List<Category> categories) { in CategoryAdapter()
1076 Category category = mCategories.get(position - NUM_NON_CATEGORY_VIEW_HOLDERS); in onBindViewHolder()
DTopLevelPickerActivity.java55 import com.android.wallpaper.model.Category;
317 Category category = (Category) tab.getTag(); in initializeDesktop()
328 Category category = (Category) tab.getTag(); in initializeDesktop()
658 Category category = mDelegate.getCategoryProvider().getCategory(i); in populateCategoryTabs()
797 if (((Category) tabToSelect.getTag()).isEnumerable()) { in reselectLastTab()
804 Category category = mDelegate.findCategoryForCollectionId(collectionId); in showCategoryDesktop()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DSettingsContextualCardProvider.java39 .setCardCategory(ContextualCard.Category.IMPORTANT) in getContextualCards()
45 .setCardCategory(ContextualCard.Category.IMPORTANT) in getContextualCards()
51 .setCardCategory(ContextualCard.Category.IMPORTANT) in getContextualCards()
57 .setCardCategory(ContextualCard.Category.IMPORTANT) in getContextualCards()
65 .setCardCategory(ContextualCard.Category.POSSIBLE) in getContextualCards()
73 .setCardCategory(ContextualCard.Category.DEFAULT) in getContextualCards()
79 .setCardCategory(ContextualCard.Category.DEFAULT) in getContextualCards()
85 .setCardCategory(ContextualCard.Category.IMPORTANT) in getContextualCards()
DContextualCardManager.java20 import static com.android.settings.intelligence.ContextualCardProto.ContextualCard.Category.DEFERRE…
21 import static com.android.settings.intelligence.ContextualCardProto.ContextualCard.Category.SUGGEST…
/packages/modules/ExtServices/src/android/ext/services/notification/
DAgingHelper.java26 import android.ext.services.notification.NotificationCategorizer.Category;
73 @Category int category = mNotificationCategorizer.getCategory(entry); in onNotificationSeen()
106 private void scheduleAging(String key, @Category int category, long duration) { in scheduleAging()
128 private Intent createAgingIntent(String key, @Category int category) { in createAgingIntent()
136 private PendingIntent createPendingIntent(String key, @Category int category) { in createPendingIntent()
150 private void demote(String key, @Category int category) { in demote()
DNotificationCategorizer.java58 public @interface Category {} annotation in NotificationCategorizer
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DSettingsContextualCardProvider.java36 .setCardCategory(ContextualCard.Category.IMPORTANT) in getContextualCards()
42 .setCardCategory(ContextualCard.Category.IMPORTANT) in getContextualCards()
48 .setCardCategory(ContextualCard.Category.IMPORTANT) in getContextualCards()
54 .setCardCategory(ContextualCard.Category.IMPORTANT) in getContextualCards()
62 .setCardCategory(ContextualCard.Category.POSSIBLE) in getContextualCards()
DContextualCardManager.java20 …id.car.developeroptions.intelligence.ContextualCardProto.ContextualCard.Category.DEFERRED_SETUP_VA…
21 …oid.car.developeroptions.intelligence.ContextualCardProto.ContextualCard.Category.SUGGESTION_VALUE;
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DCategory.java28 public abstract class Category { class
40 public Category(String title, String collectionId, int priority) { in Category() method in Category
141 if (!(obj instanceof Category)) return false; in equals()
143 return TextUtils.equals(getCollectionId(), ((Category) obj).getCollectionId()); in equals()
DCategoryProvider.java47 Category getCategory(int index); in getCategory()
56 Category getCategory(String collectionId); in getCategory()
DCategoryReceiver.java28 public void onCategoryReceived(Category category); in onCategoryReceived()
DEmptyCategory.java27 public class EmptyCategory extends Category {
DWallpaperCategory.java29 public class WallpaperCategory extends Category {
DImageCategory.java34 public class ImageCategory extends Category {
DThirdPartyAppCategory.java36 public class ThirdPartyAppCategory extends Category {
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivity.java36 import com.android.wallpaper.model.Category;
64 private Category mCategory;
89 public void onCategoryReceived(Category category) { in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/protos/
Dcontextual_card_list.proto16 enum Category { enum
30 optional Category card_category = 4;
/packages/apps/Settings/protos/
Dcontextual_card_list.proto16 enum Category { enum
30 optional Category card_category = 4;
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivityTest.java60 import com.android.wallpaper.model.Category;
159 List<Category> testCategories = mTestCategoryProvider.getTestCategories(); in setActivityWithMockWallpapers()

12