Home
last modified time | relevance | path

Searched refs:Category (Results 1 – 25 of 26) 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()
DCardDatabaseHelperTest.java115 ContextualCardProto.ContextualCard.Category.DEFAULT.getNumber()); in insertFakeCard()
/packages/modules/NetworkStack/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()
240 public void removeCategory(Category category) { in removeCategory()
248 public void updateCategory(Category category) { in updateCategory()
852 private Category mCategory;
898 public void bindCategory(Category category) { in bindCategory()
985 private List<Category> mCategories;
988 public CategoryAdapter(List<Category> categories) { in CategoryAdapter()
1074 Category category = mCategories.get(position - NUM_NON_CATEGORY_VIEW_HOLDERS); in onBindViewHolder()
DTopLevelPickerActivity.java52 import com.android.wallpaper.model.Category;
291 Category category = (Category) tab.getTag(); in initializeDesktop()
302 Category category = (Category) tab.getTag(); in initializeDesktop()
632 Category category = mDelegate.getCategoryProvider().getCategory(i); in populateCategoryTabs()
771 if (((Category) tabToSelect.getTag()).isEnumerable()) { in reselectLastTab()
778 Category category = mDelegate.findCategoryForCollectionId(collectionId); in showCategoryDesktop()
/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/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()
DContextualCardManager.java20 import static com.android.settings.intelligence.ContextualCardProto.ContextualCard.Category.DEFERRE…
21 import static com.android.settings.intelligence.ContextualCardProto.ContextualCard.Category.SUGGEST…
/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()
DWallpaperCategory.java29 public class WallpaperCategory extends Category {
DImageCategory.java34 public class ImageCategory extends Category {
DThirdPartyAppCategory.java36 public class ThirdPartyAppCategory extends Category {
/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/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivity.java42 import com.android.wallpaper.model.Category;
73 private Category mCategory;
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceHalfCardRendererHelperTest.java95 .setCategory(ContextualCardProto.ContextualCard.Category.SUGGESTION_VALUE) in buildContextualCard()
DSliceDeferredSetupCardRendererHelperTest.java106 .setCategory(ContextualCardProto.ContextualCard.Category.DEFERRED_SETUP_VALUE) in buildContextualCard()

12