Searched refs:category (Results 1 - 25 of 135) sorted by relevance

123456

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DMetricsLoggerCompat.java31 public void action(int category) { argument
32 mMetricsLogger.action(category);
35 public void action(int category, int value) { argument
36 mMetricsLogger.action(category, value);
39 public void visible(int category) { argument
40 mMetricsLogger.visible(category);
43 public void hidden(int category) { argument
44 mMetricsLogger.hidden(category);
47 public void visibility(int category, boolean visible) { argument
48 mMetricsLogger.visibility(category, visibl
[all...]
/frameworks/base/core/java/com/android/internal/logging/
H A DMetricsLogger.java57 public void visible(int category) throws IllegalArgumentException { argument
58 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {
59 throw new IllegalArgumentException("Must define metric category");
61 EventLogTags.writeSysuiViewVisibility(category, 100);
62 saveLog(new LogMaker(category)
67 public void hidden(int category) throws IllegalArgumentException { argument
68 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {
69 throw new IllegalArgumentException("Must define metric category");
71 EventLogTags.writeSysuiViewVisibility(category, 0);
72 saveLog(new LogMaker(category)
77 visibility(int category, boolean visibile) argument
86 visibility(int category, int vis) argument
91 action(int category) argument
98 action(int category, int value) argument
106 action(int category, boolean value) argument
114 action(int category, String pkg) argument
147 visible(Context context, int category) argument
153 hidden(Context context, int category) argument
159 visibility(Context context, int category, boolean visibile) argument
166 visibility(Context context, int category, int vis) argument
173 action(Context context, int category) argument
179 action(Context context, int category, int value) argument
185 action(Context context, int category, boolean value) argument
197 action(Context context, int category, String pkg) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
H A DLogWriter.java29 void visible(Context context, int source, int category); argument
34 void hidden(Context context, int category); argument
39 void action(int category, int value, Pair<Integer, Object>... taggedData); argument
44 void action(int category, boolean value, Pair<Integer, Object>... taggedData); argument
49 void action(Context context, int category, Pair<Integer, Object>... taggedData); argument
54 void actionWithSource(Context context, int source, int category); argument
61 void action(Context context, int category, int value); argument
68 void action(Context context, int category, boolean value); argument
73 void action(Context context, int category, String pkg, Pair<Integer, Object>... taggedData); argument
H A DEventLogWriter.java34 public void visible(Context context, int source, int category) { argument
35 final LogMaker logMaker = new LogMaker(category)
41 public void hidden(Context context, int category) { argument
42 MetricsLogger.hidden(context, category);
45 public void action(int category, int value, Pair<Integer, Object>... taggedData) { argument
47 mMetricsLogger.action(category, value);
49 final LogMaker logMaker = new LogMaker(category)
59 public void action(int category, boolean value, Pair<Integer, Object>... taggedData) { argument
60 action(category, value ? 1 : 0, taggedData);
63 public void action(Context context, int category, Pai argument
67 actionWithSource(Context context, int source, int category) argument
78 action(Context context, int category, int value) argument
84 action(Context context, int category, boolean value) argument
88 action(Context context, int category, String pkg, Pair<Integer, Object>... taggedData) argument
[all...]
H A DMetricsFeatureProvider.java44 public void visible(Context context, int source, int category) { argument
46 writer.visible(context, source, category);
50 public void hidden(Context context, int category) { argument
52 writer.hidden(context, category);
56 public void actionWithSource(Context context, int source, int category) { argument
58 writer.actionWithSource(context, source, category);
66 public void action(VisibilityLoggerMixin visibilityLogger, int category, int value) { argument
68 writer.action(category, value,
77 public void action(VisibilityLoggerMixin visibilityLogger, int category, boolean value) { argument
79 writer.action(category, valu
84 action(Context context, int category, Pair<Integer, Object>... taggedData) argument
92 action(Context context, int category, int value) argument
100 action(Context context, int category, boolean value) argument
106 action(Context context, int category, String pkg, Pair<Integer, Object>... taggedData) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
H A DSuggestionCategory.java20 public String category; field in class:SuggestionCategory
H A DSuggestionList.java41 public void addSuggestions(SuggestionCategory category, List<Tile> suggestions) { argument
42 mSuggestions.put(category, suggestions);
59 // If there is no category, or more than 1 category, it's not exclusive by definition.
62 for (SuggestionCategory category : mSuggestions.keySet()) {
63 if (category.exclusive) {
H A DSuggestionParser.java135 final SuggestionCategory category = mSuggestionList.get(i);
136 if (category.exclusive && !isExclusiveCategoryExpired(category)) {
137 // If suggestions from an exclusive category are present, parsing is stopped
138 // and only suggestions from that category are displayed. Note that subsequent
144 readSuggestions(category, exclusiveSuggestions, false /* isSmartSuggestion */);
147 exclusiveList.addSuggestions(category, exclusiveSuggestions);
151 // Either the category is not exclusive, or the exclusiveness expired so we should
152 // treat it as a normal category.
154 readSuggestions(category, suggestion
189 readSuggestions( SuggestionCategory category, List<Tile> suggestions, boolean isSmartSuggestionEnabled) argument
314 isCategoryDone(String category) argument
319 markCategoryDone(String category) argument
327 isExclusiveCategoryExpired(SuggestionCategory category) argument
[all...]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DCategoryManagerTest.java61 tile1.category = CategoryKey.CATEGORY_ACCOUNT;
62 tile2.category = CategoryKey.CATEGORY_ACCOUNT;
63 final DashboardCategory category = new DashboardCategory();
64 category.addTile(tile1);
65 category.addTile(tile2);
66 mCategoryByKeyMap.put(CategoryKey.CATEGORY_ACCOUNT, category);
80 final String oldCategory = "com.android.settings.category.wireless";
81 tile1.category = CategoryKey.CATEGORY_ACCOUNT;
82 tile2.category = oldCategory;
103 final String oldCategory = "com.android.settings.category
[all...]
/frameworks/base/core/java/android/nfc/cardemulation/
H A DAidGroup.java49 final String category; field in class:AidGroup
56 * @param category The category of this group, e.g. {@link CardEmulation#CATEGORY_PAYMENT}
58 public AidGroup(List<String> aids, String category) { argument
70 if (isValidCategory(category)) {
71 this.category = category;
73 this.category = CardEmulation.CATEGORY_OTHER;
82 AidGroup(String category, String description) { argument
84 this.category
199 isValidCategory(String category) argument
[all...]
H A DCardEmulation.java55 * card emulation service for a certain category. This will
59 * {@link #EXTRA_SERVICE_COMPONENT}, for the category
67 * The category extra for {@link #ACTION_CHANGE_DEFAULT}.
71 public static final String EXTRA_CATEGORY = "category";
96 * category.
101 * that the default service has registered in this category,
111 * or {@link OffHostApduService}, whenever an Application ID (AID) of this category
185 * the default service to handle a card emulation category.
190 * selection modes a default can't be set at the category level. For categories where
197 * @param category Th
202 isDefaultServiceForCategory(ComponentName service, String category) argument
264 categoryAllowsForegroundPreference(String category) argument
291 getSelectionModeForCategory(String category) argument
325 registerAidsForService(ComponentName service, String category, List<String> aids) argument
361 getAidsForService(ComponentName service, String category) argument
398 removeAidsForService(ComponentName service, String category) argument
538 setDefaultServiceForCategory(ComponentName service, String category) argument
583 getServices(String category) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DINfcCardEmulation.aidl29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category);
31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category);
34 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category);
35 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category);
36 List<ApduServiceInfo> getServices(int userHandle, in String category);
/frameworks/support/preference/src/androidTest/java/androidx/preference/tests/
H A DExpandablePreferenceTest.java90 PreferenceCategory category = new PreferenceCategory(mContext);
92 mScreen.addPreference(category);
94 category.setKey("category");
95 category.setInitialExpandedChildrenCount(1);
97 category.addPreference(mPreference1);
98 category.addPreference(mPreference2);
99 category.addPreference(mPreference3);
105 assertEquals(category, preferenceGroupAdapter.getItem(0));
114 PreferenceCategory category
[all...]
H A DPreferenceParentGroupTest.java60 PreferenceCategory category = new PreferenceCategory(mContext);
61 assertNull(category.getParent());
66 screen.addPreference(category);
67 assertEquals(screen, category.getParent());
69 category.addPreference(pref);
70 assertEquals(category, pref.getParent());
72 screen.removePreference(category);
73 assertNull(category.getParent());
75 category.removePreference(pref);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DDozeTrigger.java30 @ViewDebug.ExportedProperty(category="recents")
32 @ViewDebug.ExportedProperty(category="recents")
34 @ViewDebug.ExportedProperty(category="recents")
/frameworks/base/core/java/android/content/om/
H A DOverlayInfo.java101 * Overlay category: theme.
120 public final String category; field in class:OverlayInfo
161 this(source.packageName, source.targetPackageName, source.category, source.baseCodePath,
166 @NonNull String category, @NonNull String baseCodePath, int state, int userId,
170 this.category = category;
182 category = source.readString();
225 dest.writeString(category);
301 result = prime * result + ((category == null) ? 0 : category
165 OverlayInfo(@onNull String packageName, @NonNull String targetPackageName, @NonNull String category, @NonNull String baseCodePath, int state, int userId, int priority, boolean isStatic) argument
[all...]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DTask.java52 @ViewDebug.ExportedProperty(category="recents")
54 @ViewDebug.ExportedProperty(category="recents")
56 @ViewDebug.ExportedProperty(category="recents")
58 @ViewDebug.ExportedProperty(category="recents")
60 @ViewDebug.ExportedProperty(category="recents")
136 @ViewDebug.ExportedProperty(category="recents")
138 @ViewDebug.ExportedProperty(category="recents")
140 @ViewDebug.ExportedProperty(category="recents")
142 @ViewDebug.ExportedProperty(category="recents")
144 @ViewDebug.ExportedProperty(category
[all...]
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
H A DMediaRouteSelector.java82 * Returns true if the selector contains the specified category.
84 * @param category The category to check.
85 * @return True if the category is present.
87 public boolean hasControlCategory(String category) { argument
88 if (category != null) {
92 if (mControlCategories.get(i).equals(category)) {
237 * Adds a {@link MediaControlIntent media control category} to the builder.
239 * @param category The category t
244 addControlCategory(@onNull String category) argument
[all...]
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
H A DMediaRouteSelector.java83 * Returns true if the selector contains the specified category.
85 * @param category The category to check.
86 * @return True if the category is present.
88 public boolean hasControlCategory(String category) { argument
89 if (category != null) {
93 if (mControlCategories.get(i).equals(category)) {
238 * Adds a {@link MediaControlIntent media control category} to the builder.
240 * @param category The category t
245 addControlCategory(@onNull String category) argument
[all...]
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DRelationWithReservedKeywordTest.java63 Category category = new Category(1, "cat1");
64 mDb.getDao().insert(category);
69 assertThat(categoryWithTopics.get(0).category, is(category));
90 Category category = (Category) o;
92 if (id != category.id) return false;
93 return name != null ? name.equals(category.name) : category.name == null;
129 public Category category; field in class:RelationWithReservedKeywordTest.CategoryWithTopics
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DCategoryManager.java47 // Tile cache (key: category key, value: category)
104 DashboardCategory category = mCategories.get(i);
105 for (int j = 0; j < category.getTilesCount(); j++) {
106 Tile tile = category.getTile(j);
108 category.removeTile(j--);
129 for (DashboardCategory category : mCategories) {
130 mCategoryByKeyMap.put(category.key, category);
142 // A package can use a) CategoryKey, b) old category key
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/model/
H A DVideoInfo.java71 public void setCategory(String category) { argument
72 mCategory = category;
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/model/
H A DVideoInfo.java71 public void setCategory(String category) { argument
72 mCategory = category;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DAppItem.java30 public int category; field in class:AppItem
67 int comparison = Integer.compare(category, another.category);
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
H A DApplicationsStateTest.java50 mEntry.info.category = ApplicationInfo.CATEGORY_GAME;
58 mEntry.info.category = ApplicationInfo.CATEGORY_GAME;
65 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED;
72 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO;
79 mEntry.info.category = ApplicationInfo.CATEGORY_GAME;
86 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED;
93 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO;
100 mEntry.info.category = ApplicationInfo.CATEGORY_GAME;
107 mEntry.info.category = ApplicationInfo.CATEGORY_IMAGE;
114 mEntry.info.category
[all...]

Completed in 596 milliseconds

123456