Home
last modified time | relevance | path

Searched refs:category (Results 1 – 25 of 260) sorted by relevance

1234567891011

/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java34 public static void visible(Context context, int category) throws IllegalArgumentException { in visible() argument
35 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) { in visible()
38 EventLogTags.writeSysuiViewVisibility(category, 100); in visible()
41 public static void hidden(Context context, int category) throws IllegalArgumentException { in hidden() argument
42 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) { in hidden()
45 EventLogTags.writeSysuiViewVisibility(category, 0); in hidden()
48 public static void visibility(Context context, int category, boolean visibile) in visibility() argument
51 visible(context, category); in visibility()
53 hidden(context, category); in visibility()
57 public static void visibility(Context context, int category, int vis) in visibility() argument
[all …]
/frameworks/base/core/java/android/nfc/cardemulation/
DAidGroup.java49 final String category; field in AidGroup
58 public AidGroup(List<String> aids, String category) { in AidGroup() argument
70 if (isValidCategory(category)) { in AidGroup()
71 this.category = category; in AidGroup()
73 this.category = CardEmulation.CATEGORY_OTHER; in AidGroup()
82 AidGroup(String category, String description) { in AidGroup() argument
84 this.category = category; in AidGroup()
92 return category; in getCategory()
104 StringBuilder out = new StringBuilder("Category: " + category + in toString()
120 dest.writeString(category); in writeToParcel()
[all …]
DCardEmulation.java202 public boolean isDefaultServiceForCategory(ComponentName service, String category) { in isDefaultServiceForCategory() argument
204 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, category); in isDefaultServiceForCategory()
214 category); in isDefaultServiceForCategory()
264 public boolean categoryAllowsForegroundPreference(String category) { in categoryAllowsForegroundPreference() argument
265 if (CATEGORY_PAYMENT.equals(category)) { in categoryAllowsForegroundPreference()
291 public int getSelectionModeForCategory(String category) { in getSelectionModeForCategory() argument
292 if (CATEGORY_PAYMENT.equals(category)) { in getSelectionModeForCategory()
325 public boolean registerAidsForService(ComponentName service, String category, in registerAidsForService() argument
327 AidGroup aidGroup = new AidGroup(aids, category); in registerAidsForService()
361 public List<String> getAidsForService(ComponentName service, String category) { in getAidsForService() argument
[all …]
DApduServiceInfo.java113 this.mStaticAidGroups.put(aidGroup.category, aidGroup); in ApduServiceInfo()
116 this.mDynamicAidGroups.put(aidGroup.category, aidGroup); in ApduServiceInfo()
223 if (!mStaticAidGroups.containsKey(currentGroup.category)) { in ApduServiceInfo()
224 mStaticAidGroups.put(currentGroup.category, currentGroup); in ApduServiceInfo()
303 public AidGroup getDynamicAidGroupForCategory(String category) { in getDynamicAidGroupForCategory() argument
304 return mDynamicAidGroups.get(category); in getDynamicAidGroupForCategory()
307 public boolean removeDynamicAidGroupForCategory(String category) { in removeDynamicAidGroupForCategory() argument
308 return (mDynamicAidGroups.remove(category) != null); in removeDynamicAidGroupForCategory()
342 return group.category; in getCategoryForAid()
348 public boolean hasCategory(String category) { in hasCategory() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTask.java57 @ViewDebug.ExportedProperty(category="recents")
59 @ViewDebug.ExportedProperty(category="recents")
61 @ViewDebug.ExportedProperty(category="recents")
63 @ViewDebug.ExportedProperty(category="recents")
65 @ViewDebug.ExportedProperty(category="recents")
67 @ViewDebug.ExportedProperty(category="recents")
134 @ViewDebug.ExportedProperty(category="recents")
136 @ViewDebug.ExportedProperty(category="recents")
145 @ViewDebug.ExportedProperty(category="recents")
147 @ViewDebug.ExportedProperty(category="recents")
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DTileUtils.java139 DashboardCategory category = categoryMap.get(tile.category); in getCategories() local
140 if (category == null) { in getCategories()
141 category = createCategory(context, tile.category); in getCategories()
142 if (category == null) { in getCategories()
143 Log.w(LOG_TAG, "Couldn't find category " + tile.category); in getCategories()
146 categoryMap.put(category.key, category); in getCategories()
148 category.addTile(tile); in getCategories()
151 for (DashboardCategory category : categories) { in getCategories()
152 Collections.sort(category.tiles, TILE_COMPARATOR); in getCategories()
161 DashboardCategory category = new DashboardCategory(); in createCategory() local
[all …]
DSettingsDrawerAdapter.java50 Item category = new Item(); in updateCategories() local
51 category.icon = null; in updateCategories()
53 category.label = dashboardCategory.title; in updateCategories()
54 mItems.add(category); in updateCategories()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSuggestionParser.java114 private void readSuggestions(SuggestionCategory category, List<Tile> suggestions) { in readSuggestions() argument
117 intent.addCategory(category.category); in readSuggestions()
118 if (category.pkg != null) { in readSuggestions()
119 intent.setPackage(category.pkg); in readSuggestions()
131 if (!category.multiple && suggestions.size() > (countBefore + 1)) { in readSuggestions()
142 if (!isCategoryDone(category.category)) { in readSuggestions()
184 public boolean isCategoryDone(String category) { in isCategoryDone() argument
185 String name = Settings.Secure.COMPLETED_CATEGORY_PREFIX + category; in isCategoryDone()
189 public void markCategoryDone(String category) { in markCategoryDone() argument
190 String name = Settings.Secure.COMPLETED_CATEGORY_PREFIX + category; in markCategoryDone()
[all …]
DAppItem.java30 public int category; field in AppItem
67 int comparison = Integer.compare(category, another.category); in compareTo()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteSelector.java87 public boolean hasControlCategory(String category) { in hasControlCategory() argument
88 if (category != null) { in hasControlCategory()
92 if (mControlCategories.get(i).equals(category)) { in hasControlCategory()
244 public Builder addControlCategory(@NonNull String category) { in addControlCategory() argument
245 if (category == null) { in addControlCategory()
252 if (!mControlCategories.contains(category)) { in addControlCategory()
253 mControlCategories.add(category); in addControlCategory()
272 for (String category : categories) { in addControlCategories()
273 addControlCategory(category); in addControlCategories()
/frameworks/base/core/java/android/nfc/
DINfcCardEmulation.aidl29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in isDefaultServiceForCategory() argument
31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in setDefaultServiceForCategory() argument
34 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); in getAidGroupForService() argument
35 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); in removeAidGroupForService() argument
36 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices() argument
/frameworks/base/docs/html/guide/topics/manifest/
Dcategory-element.jd1 page.title=&lt;category&gt;
8 <dd><pre class="stx">&lt;category android:<a href="#nm">name</a>="<i>string</i>" /&gt;</pre></dd>
14 <dd itemprop="description">Adds a category name to an intent filter. See
16 Intent Filters</a> for details on intent filters and the role of category
22 <dd>The name of the category. Standard categories are defined in the
25 by prefixing "{@code android.intent.category.}" to the
28 "{@code android.intent.category.LAUNCHER}".
31 {@link android.content.Intent#CATEGORY_DEFAULT} category in the intent filter. The methods
34 as if they declared the {@link android.content.Intent#CATEGORY_DEFAULT} category.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationBarController.java93 String category = getPackageCategory(packageName); in taskChanged() local
94 if (category != null) { in taskChanged()
95 setCurrentFacet(mFacetCategoryMap.get(category)); in taskChanged()
107 String category = getPackageCategory(packageName); in onPackageChange() local
108 if (mFacetCategoryMap.containsKey(category)) { in onPackageChange()
109 int index = mFacetCategoryMap.get(category); in onPackageChange()
182 String category = categories[j]; in getPackageCategory() local
186 intent.addCategory(category); in getPackageCategory()
191 mFacetPackageMap.put(packageName, mFacetCategoryMap.get(category)); in getPackageCategory()
192 return category; in getPackageCategory()
[all …]
/frameworks/support/compat/java/android/support/v4/hardware/display/
DDisplayManagerCompat.java103 public abstract Display[] getDisplays(String category); in getDisplays() argument
127 public Display[] getDisplays(String category) { in getDisplays() argument
128 return category == null ? getDisplays() : new Display[0]; in getDisplays()
150 public Display[] getDisplays(String category) { in getDisplays() argument
151 return DisplayManagerJellybeanMr1.getDisplays(mDisplayManagerObj, category); in getDisplays()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java105 private static Intent buildHomeIntent(String category) { in buildHomeIntent() argument
107 intent.addCategory(category); in buildHomeIntent()
514 String category = null; in updateLocked() local
518 category = Intent.CATEGORY_CAR_DOCK; in updateLocked()
523 category = Intent.CATEGORY_DESK_DOCK; in updateLocked()
527 category = Intent.CATEGORY_HOME; in updateLocked()
533 + mDockState +", category=" + category); in updateLocked()
536 sendConfigurationAndStartDreamOrDockAppLocked(category); in updateLocked()
555 String category = null; in updateAfterBroadcastLocked() local
561 category = Intent.CATEGORY_CAR_DOCK; in updateAfterBroadcastLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DAnimateableViewBounds.java34 @ViewDebug.ExportedProperty(category="recents")
36 @ViewDebug.ExportedProperty(category="recents")
38 @ViewDebug.ExportedProperty(category="recents")
40 @ViewDebug.ExportedProperty(category="recents")
42 @ViewDebug.ExportedProperty(category="recents")
DTaskStackLayoutAlgorithm.java232 @ViewDebug.ExportedProperty(category="recents")
235 @ViewDebug.ExportedProperty(category="recents")
238 @ViewDebug.ExportedProperty(category="recents")
241 @ViewDebug.ExportedProperty(category="recents")
244 @ViewDebug.ExportedProperty(category="recents")
252 @ViewDebug.ExportedProperty(category="recents")
255 @ViewDebug.ExportedProperty(category="recents")
258 @ViewDebug.ExportedProperty(category="recents")
263 @ViewDebug.ExportedProperty(category="recents")
267 @ViewDebug.ExportedProperty(category="recents")
[all …]
DTaskViewThumbnail.java56 @ViewDebug.ExportedProperty(category="recents")
58 @ViewDebug.ExportedProperty(category="recents")
60 @ViewDebug.ExportedProperty(category="recents")
66 @ViewDebug.ExportedProperty(category="recents")
79 @ViewDebug.ExportedProperty(category="recents")
82 @ViewDebug.ExportedProperty(category="recents")
/frameworks/base/docs/html/training/app-links/
Dindex.jd109 &lt;category android:name="android.intent.category.DEFAULT" /&gt;
110 &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
122 {@code android.intent.category.BROWSABLE} category names.
149 android.intent.category.BROWSABLE} intent category.
166 &lt;category android:name="android.intent.category.DEFAULT" /&gt;
167 &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
201 &lt;category android:name="android.intent.category.DEFAULT" /&gt;
202 &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
210 &lt;category android:name="android.intent.category.DEFAULT" /&gt;
211 &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dfilters.jd79 …<p>請在意圖篩選器中使用 <a href="{@docRoot}guide/topics/manifest/category-element.html">{@code <category>}</…
94 &lt;category android:name="android.intent.category.DEFAULT"/>
103 <action>}</a>、<a href="{@docRoot}guide/topics/manifest/category-element.html">{@code
104 <category>}</a> 與 <a href="{@docRoot}guide/topics/manifest/data-element.html">{@code
125 &lt;category android:name="android.intent.category.DEFAULT"/>
132 &lt;category android:name="android.intent.category.DEFAULT"/>
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/
Dfilters.jd79 …ent с элементом <a href="{@docRoot}guide/topics/manifest/category-element.html">{@code <category>}…
94 &lt;category android:name="android.intent.category.DEFAULT"/>
103 <action>}</a>, <a href="{@docRoot}guide/topics/manifest/category-element.html">{@code
104 <category>}</a> и <a href="{@docRoot}guide/topics/manifest/data-element.html">{@code
125 &lt;category android:name="android.intent.category.DEFAULT"/>
132 &lt;category android:name="android.intent.category.DEFAULT"/>
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/
Dfilters.jd79 …<p><a href="{@docRoot}guide/topics/manifest/category-element.html">{@code <category>}</a> 요소를 사용하여…
94 &lt;category android:name="android.intent.category.DEFAULT"/>
104 <action>}</a>, <a href="{@docRoot}guide/topics/manifest/category-element.html">{@code
105 <category>}</a> 및 <a href="{@docRoot}guide/topics/manifest/data-element.html">{@code
125 &lt;category android:name="android.intent.category.DEFAULT"/>
132 &lt;category android:name="android.intent.category.DEFAULT"/>
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/
Dfilters.jd79 <p><a href="{@docRoot}guide/topics/manifest/category-element.html">{@code <category>}</a>
94 &lt;category android:name="android.intent.category.DEFAULT"/>
104 <action>}</a>、<a href="{@docRoot}guide/topics/manifest/category-element.html">{@code
105 <category>}</a>、<a href="{@docRoot}guide/topics/manifest/data-element.html">{@code
125 &lt;category android:name="android.intent.category.DEFAULT"/>
132 &lt;category android:name="android.intent.category.DEFAULT"/>
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dfilters.jd79 <p>用 <a href="{@docRoot}guide/topics/manifest/category-element.html">{@code <category>}</a>
94 &lt;category android:name="android.intent.category.DEFAULT"/>
105 <action>}</a>、<a href="{@docRoot}guide/topics/manifest/category-element.html">{@code
106 <category>}</a> 和 <a href="{@docRoot}guide/topics/manifest/data-element.html">{@code
125 &lt;category android:name="android.intent.category.DEFAULT"/>
132 &lt;category android:name="android.intent.category.DEFAULT"/>
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DDozeTrigger.java30 @ViewDebug.ExportedProperty(category="recents")
32 @ViewDebug.ExportedProperty(category="recents")
34 @ViewDebug.ExportedProperty(category="recents")

1234567891011