Home
last modified time | relevance | path

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

/development/samples/browseable/AppShortcuts/src/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()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DShortcutHelper.java215 mShortcutManager.addDynamicShortcuts(Arrays.asList(shortcut))); in addWebSiteShortcut()
220 mShortcutManager.removeDynamicShortcuts(Arrays.asList(shortcut.getId())); in removeShortcut()
224 mShortcutManager.disableShortcuts(Arrays.asList(shortcut.getId())); in disableShortcut()
228 mShortcutManager.enableShortcuts(Arrays.asList(shortcut.getId())); in enableShortcut()
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
DShortcutPublishingService.java55 getSystemService(ShortcutManager.class).addDynamicShortcuts(Arrays.asList(si1))); in addShortcut()
DShortcutPublisher.java180 private static List<Pair<String, String>> sIntentList = Arrays.asList(
252 callApi(this, () -> mShortcutManager.setDynamicShortcuts(Arrays.asList(si1, si2, si3))); in onPublishPressed()
276 callApi(this, () -> mShortcutManager.addDynamicShortcuts(Arrays.asList(si))); in onAddPressed()
299 mShortcutManager.removeDynamicShortcuts(Arrays.asList(si.getId())); in deleteDynamic()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/
DCheeses.java160 public static ArrayList<String> asList() { in asList() method in Cheeses
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/
DCheeses.java160 public static ArrayList<String> asList() { in asList() method in Cheeses
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/
DCheeses.java160 public static ArrayList<String> asList() { in asList() method in Cheeses
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DMyBaseListFragment.java144 Log.i(Global.TAG, "onPackagesAvailable: package=" + Arrays.asList(packageNames)
152 Log.i(Global.TAG, "onPackagesUnavailable: package=" + Arrays.asList(packageNames)
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/
DHistory.java49 mItems.addAll(Arrays.asList( in load()
/development/samples/browseable/ActivityInstrumentation/src/com.example.android.activityinstrumentation/
DMainActivity.java81 new ArrayList<String>(Arrays.asList(SPINNER_VALUES)) // Data source in onCreate()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DFlagUtils.java83 return Arrays.asList(IntentFlag.values());
252 sActivityInfos = Arrays.asList(packInfo.activities);
333 List<String> words = Arrays.asList(snake.split("_"));
DTestBase.java81 ArrayList<Intent> nextIntents = new ArrayList<>(Arrays.asList( in startActivities()
DNode.java235 mChildren.forEach(child -> Arrays.asList(child.toString().split("\n")).forEach(line -> in toString()
DIntentBuilderView.java120 List<ActivityInfo> activities = Arrays.asList(packInfo.activities); in setupViews()
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DCheckVoiceData.java49 checkLanguages = Arrays.asList(SUPPORTED_LANGUAGES); in onCreate()
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DMainActivity.java117 mPrioritySpinner.setSelection(Arrays.asList(PriorityPresets.PRESETS) in initPrioritySpinner()
229 mActionsSpinner.setSelection(Arrays.asList(ActionsPresets.PRESETS).indexOf( in postNotifications()
/development/samples/browseable/AppRestrictionEnforcer/src/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()
/development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
DHardcodedColorDetector.java111 return Arrays.asList(TAG_STYLE, TAG_COLOR); in getApplicableElements()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java721 Arrays.asList(map.getOutputSizes(ImageFormat.JPEG)), in setUpCameraOutputs()
725 Arrays.asList(map.getOutputSizes(ImageFormat.RAW_SENSOR)), in setUpCameraOutputs()
935 mCameraDevice.createCaptureSession(Arrays.asList(surface, in createCameraPreviewSessionLocked()
1048 Size largestJpeg = Collections.max(Arrays.asList(map.getOutputSizes(ImageFormat.JPEG)), in configureTransform()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java513 Arrays.asList(map.getOutputSizes(ImageFormat.JPEG)), in setUpCameraOutputs()
692 mCameraDevice.createCaptureSession(Arrays.asList(surface, mImageReader.getSurface()), in createCameraPreviewSession()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/
DDumpActivity.java111 private static final List<String> DEFAULT_COMMANDS = Arrays.asList(new String[]{
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java500 …mCameraDevice.createCaptureSession(Arrays.asList(previewSurface), new CameraCaptureSession.StateCa… in startPreview()