Home
last modified time | relevance | path

Searched refs:addCategory (Results 1 – 25 of 141) sorted by relevance

123456

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCrossProfileIntentFiltersSetter.java56 .addCategory(Intent.CATEGORY_DEFAULT)
57 .addCategory(Intent.CATEGORY_BROWSABLE)
70 .addCategory(Intent.CATEGORY_DEFAULT)
71 .addCategory(Intent.CATEGORY_BROWSABLE)
82 .addCategory(Intent.CATEGORY_DEFAULT)
83 .addCategory(Intent.CATEGORY_BROWSABLE)
96 .addCategory(Intent.CATEGORY_DEFAULT)
97 .addCategory(Intent.CATEGORY_BROWSABLE)
110 .addCategory(Intent.CATEGORY_DEFAULT)
111 .addCategory(Intent.CATEGORY_BROWSABLE)
[all …]
DCrossProfileIntentFilter.java94 Builder addCategory(String category) { in addCategory() method in CrossProfileIntentFilter.Builder
95 mFilter.addCategory(category); in addCategory()
/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/
DPredictionService.java77 calendarIntent.addCategory(Intent.CATEGORY_APP_CALENDAR); in onCreate()
80 galleryIntent.addCategory(Intent.CATEGORY_APP_GALLERY); in onCreate()
83 mapsIntent.addCategory(Intent.CATEGORY_APP_MAPS); in onCreate()
86 emailIntent.addCategory(Intent.CATEGORY_APP_EMAIL); in onCreate()
89 browserIntent.addCategory(Intent.CATEGORY_APP_BROWSER); in onCreate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPickerDelegate.java171 addCategory(category, false); in updateThirdPartyCategories()
242 addCategory(liveWallpapersCategory, false); in updateLiveWallpapersCategories()
267 addCategory(category, true); in populateCategories()
288 public void addCategory(Category category, boolean fetchingAll) { in addCategory() method in WallpaperPickerDelegate
291 categoryFragment.addCategory(category, fetchingAll); in addCategory()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsUtilsTest.java119 filter.addCategory(Intent.CATEGORY_BROWSABLE); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme()
134 filter.addCategory(Intent.CATEGORY_BROWSABLE); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme()
149 filter.addCategory(Intent.CATEGORY_BROWSABLE); in getHandledDomains_excludeBrowsableIntentFiltersWithOtherDataScheme()
DClearDefaultsPreferenceControllerTest.java102 filter.addCategory(Intent.CATEGORY_HOME); in refreshUi_hasPreferredActivities_hasSummary()
137 filter.addCategory(Intent.CATEGORY_HOME); in performClick_hasUsbManager_hasPreferredActivities_clearsPreferredActivities()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DCrossProfileIntentFilterTest.java55 .addCategory(CATEGORY_1) in testBuilder()
56 .addCategory(CATEGORY_2) in testBuilder()
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/model/
DIntentFilterData.java103 intent.addCategory(category); in createIntent()
120 intentFilter.addCategory(category); in createIntentFilter()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DActionCreateDocumentUiTest.java75 intent.addCategory(Intent.CATEGORY_DEFAULT); in testActionCreate_TextFile()
76 intent.addCategory(Intent.CATEGORY_OPENABLE); in testActionCreate_TextFile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsLicenseActivityTest.java75 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithValidHtmlFile()
96 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithGeneratedHtmlFile()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/
DLicenseActivityTest.java77 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithValidHtmlFile()
99 intent.addCategory(Intent.CATEGORY_DEFAULT); in testOnCreateWithGeneratedHtmlFile()
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
DHTMLViewerActivity.java144 intent.addCategory(Intent.CATEGORY_BROWSABLE); in shouldOverrideUrlLoading()
148 selector.addCategory(Intent.CATEGORY_BROWSABLE); in shouldOverrideUrlLoading()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOverviewComponentObserver.java77 .addCategory(Intent.CATEGORY_HOME) in OverviewComponentObserver()
88 .addCategory(Intent.CATEGORY_DEFAULT) in OverviewComponentObserver()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DInstantAppButtonsPreferenceController.java121 intent.addCategory(Intent.CATEGORY_BROWSABLE); in initButtons()
148 intent.addCategory(Intent.CATEGORY_LAUNCHER); in getDefaultLaunchUri()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DInstantAppButtonsPreferenceController.java121 intent.addCategory(Intent.CATEGORY_BROWSABLE); in initButtons()
148 intent.addCategory(Intent.CATEGORY_LAUNCHER); in getDefaultLaunchUri()
/packages/apps/TV/common/src/com/android/tv/common/customization/
DCustomizationManager.java203 customOptionIntent.addCategory(intentCategory); in buildCustomActions()
227 intent.addCategory(intentCategory); in buildCustomActions()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java289 intent.addCategory(Intent.CATEGORY_DEFAULT); in viewInOwner()
393 intent.addCategory(Intent.CATEGORY_DEFAULT); in shareSelectedDocuments()
397 intent.addCategory(Intent.CATEGORY_TYPED_OPENABLE); in shareSelectedDocuments()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DDynamicItemCache.java201 .addCategory(Intent.CATEGORY_BROWSABLE) in loadInstantApp()
215 .addCategory(Intent.CATEGORY_LAUNCHER).setPackage(pkgName); in retrieveDefaultUrl()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeSettings.java229 addCategory(screen, userInfo.name) : screen; in update()
237 PreferenceGroup otherUsers = addCategory(screen, in update()
274 private PreferenceCategory addCategory(PreferenceGroup group, CharSequence title) { in addCategory() method in PrivateVolumeSettings
545 intent.addCategory(Intent.CATEGORY_DEFAULT); in getIntentForStorage()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivityTest.java132 setupIntent.addCategory(Intent.CATEGORY_SETUP_WIZARD); in onCreate_requestDiscoverableIntent_bypassforSetup_startsDiscoverableScan()
155 launchIntent.addCategory(Intent.CATEGORY_LAUNCHER); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java229 addCategory(screen, userInfo.name) : screen; in update()
237 PreferenceGroup otherUsers = addCategory(screen, in update()
274 private PreferenceCategory addCategory(PreferenceGroup group, CharSequence title) { in addCategory() method in PrivateVolumeSettings
531 intent.addCategory(Intent.CATEGORY_DEFAULT); in getIntentForStorage()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DBluetoothPrefs.java36 launchIntent.addCategory(BLUETOOTH_SETTING_CATEGORY); in onCreate()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTestLauncherActivity.java31 .addCategory(CATEGORY_LAUNCHER) in getTargetIntent()
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsLaunchPerformance.java34 mIntent.addCategory(Intent.CATEGORY_LAUNCHER); in onCreate()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraButtonIntentReceiver.java48 i.addCategory(Intent.CATEGORY_LAUNCHER); in onReceive()

123456