Home
last modified time | relevance | path

Searched refs:asList (Results 1 – 21 of 21) sorted by relevance

/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/db/
DConverters.java37 List<String> strings = Arrays.asList(value.split("\\s*,\\s*")); in storedStringToIntList()
61 List<String> strings = Arrays.asList(value.split("\\s*,\\s*")); in storedStringToStringList()
/developers/samples/android/system/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
DShortcutHelper.java208 return mShortcutManager.addDynamicShortcuts(Arrays.asList(shortcut)); in addWebSiteShortcut()
213 mShortcutManager.removeDynamicShortcuts(Arrays.asList(shortcut.getId())); in removeShortcut()
217 mShortcutManager.disableShortcuts(Arrays.asList(shortcut.getId())); in disableShortcut()
221 mShortcutManager.enableShortcuts(Arrays.asList(shortcut.getId())); in enableShortcut()
/developers/samples/android/common/src/java/com/example/android/common/dummydata/
DCheeses.java160 public static ArrayList<String> asList() { in asList() method in Cheeses
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
DAutofillHintProperties.java43 mValidTypes = new HashSet<>(Arrays.asList(validTypes)); in AutofillHintProperties()
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/mock/
DMockObjectGenerator.java54 return Arrays.asList(paul, jennifer, ben, lisa, jane, jeremy, android); in generateDefaultContacts()
/developers/samples/android/testing/ActivityInstrumentation/Application/src/main/java/com/example/android/activityinstrumentation/
DMainActivity.java81 new ArrayList<String>(Arrays.asList(SPINNER_VALUES)) // Data source in onCreate()
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ListViewModalSelect/Application/src/main/java/com/example/android/actionbarcompat/listviewmodalselect/
DCheeseListFragment.java53 mItems = Cheeses.asList(); in onActivityCreated()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/androidTest/java/com/example/android/autofill/service/data/source/local/
DAutofillDaoTest.java76 Arrays.asList(mUsernameField, mPasswordField); in insertFilledAutofillFieldAndGet()
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/model/
DMockMovieService.java64 return Arrays.asList(flagshipSubscription, videoSubscription, filmsSubscription); in createUniversalSubscriptions()
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/
DMainActivity.java88 List<Subscription> subscriptions = Arrays.asList(varArgs); in doInBackground()
DSyncProgramsJobService.java227 List<Long> params = Arrays.asList(channelIds); in doInBackground()
/developers/samples/android/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/
DMainActivity.java117 mPrioritySpinner.setSelection(Arrays.asList(PriorityPresets.PRESETS) in initPrioritySpinner()
255 mActionsSpinner.setSelection(Arrays.asList(ActionsPresets.PRESETS).indexOf( in buildNotifications()
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java315 sw.setChecked(Arrays.asList(selectedApprovals).contains(approval)); in updateApprovals()
422 List<String> approvals = new ArrayList<>(Arrays.asList( in addApproval()
432 List<String> approvals = new ArrayList<>(Arrays.asList( in removeApproval()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/adapter/
DDatasetAdapter.java130 fieldTypesByAutofillHint, Arrays.asList(rawHints)); in parseAutofillFields()
/developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/
DCamera2RawFragment.java722 Arrays.asList(map.getOutputSizes(ImageFormat.JPEG)), in setUpCameraOutputs()
726 Arrays.asList(map.getOutputSizes(ImageFormat.RAW_SENSOR)), in setUpCameraOutputs()
937 mCameraDevice.createCaptureSession(Arrays.asList(surface, in createCameraPreviewSessionLocked()
1050 Size largestJpeg = Collections.max(Arrays.asList(map.getOutputSizes(ImageFormat.JPEG)), in configureTransform()
/developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
DCamera2BasicFragment.kt334 Arrays.asList(*map.getOutputSizes(ImageFormat.JPEG)), in setUpCameraOutputs()
509 cameraDevice?.createCaptureSession(Arrays.asList(surface, imageReader?.surface), in createCameraPreviewSession()
/developers/samples/android/ui/fonts/DownloadableFonts/kotlinApp/app/src/main/kotlin/com/example/android/downloadablefonts/
DMainActivity.kt71 mFamilyNameSet.addAll(Arrays.asList(*resources.getStringArray(R.array.family_names))) in onCreate()
/developers/samples/android/ui/fonts/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/
DMainActivity.java71 mFamilyNameSet.addAll(Arrays.asList(getResources().getStringArray(R.array.family_names))); in onCreate()
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/commoncases/
DRecyclerViewActivity.java112 return Arrays.asList( in initList()
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/
DChatActivity.java291 List<Message> parameters = Arrays.asList(params); in doInBackground()
/developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
DCamera2BasicFragment.java513 Arrays.asList(map.getOutputSizes(ImageFormat.JPEG)), in setUpCameraOutputs()
692 mCameraDevice.createCaptureSession(Arrays.asList(surface, mImageReader.getSurface()), in createCameraPreviewSession()