Home
last modified time | relevance | path

Searched refs:options2 (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/java/android/media/browse/
DMediaBrowserUtils.java31 public static boolean areSameOptions(Bundle options1, Bundle options2) { in areSameOptions() argument
32 if (options1 == options2) { in areSameOptions()
35 return options2.getInt(MediaBrowser.EXTRA_PAGE, -1) == -1 in areSameOptions()
36 && options2.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) == -1; in areSameOptions()
37 } else if (options2 == null) { in areSameOptions()
42 == options2.getInt(MediaBrowser.EXTRA_PAGE, -1) in areSameOptions()
44 == options2.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in areSameOptions()
51 public static boolean hasDuplicatedItems(Bundle options1, Bundle options2) { in hasDuplicatedItems() argument
53 int page2 = options2 == null ? -1 : options2.getInt(MediaBrowser.EXTRA_PAGE, -1); in hasDuplicatedItems()
55 int pageSize2 = options2 == null ? -1 : options2.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in hasDuplicatedItems()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DISplitScreen.aidl93 oneway void startTasks(int taskId1, in Bundle options1, int taskId2, in Bundle options2, in startTasks() argument
101 int taskId, in Bundle options2, int sidePosition, int snapPosition, in startIntentAndTask() argument
108 in Bundle options2, int splitPosition, int snapPosition, in startShortcutAndTask() argument
115 in Bundle options2, int splitPosition, int snapPosition, in startTasksWithLegacyTransition() argument
122 in Bundle options1, int taskId, in Bundle options2, int splitPosition, int snapPosition, in startIntentAndTaskWithLegacyTransition() argument
129 in Bundle options1, int taskId, in Bundle options2, int splitPosition, int snapPosition, in startShortcutAndTaskWithLegacyTransition() argument
137 int userId2, in ShortcutInfo shortcutInfo2, in Bundle options2, int splitPosition, in startIntentsWithLegacyTransition() argument
145 int userId2, in ShortcutInfo shortcutInfo2, in Bundle options2, int splitPosition, in startIntents() argument
DSplitScreenController.java510 @Nullable Bundle options2, @SplitPosition int splitPosition, in startTasks() argument
513 mStageCoordinator.startTasks(taskId1, options1, taskId2, options2, splitPosition, in startTasks()
612 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startShortcutAndTaskWithLegacyTransition() argument
638 activityOptions.toBundle(), taskId, options2, splitPosition, snapPosition, adapter, in startShortcutAndTaskWithLegacyTransition()
643 int taskId, @Nullable Bundle options2, @SplitPosition int splitPosition, in startShortcutAndTask() argument
672 options2, splitPosition, snapPosition, remoteTransition, instanceId); in startShortcutAndTask()
686 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startIntentAndTaskWithLegacyTransition() argument
709 options1, taskId, options2, splitPosition, snapPosition, adapter, instanceId); in startIntentAndTaskWithLegacyTransition()
713 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startIntentAndTask() argument
740 if (options2 != null) { in startIntentAndTask()
[all …]
DStageCoordinator.java723 void startTasks(int taskId1, @Nullable Bundle options1, int taskId2, @Nullable Bundle options2, in startTasks() argument
740 startWithTask(wct, taskId2, options2, snapPosition, remoteTransition, instanceId); in startTasks()
745 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startIntentAndTask() argument
760 startSingleTask(taskId, options2, wct, remoteTransition); in startIntentAndTask()
769 startWithTask(wct, taskId, options2, snapPosition, remoteTransition, instanceId); in startIntentAndTask()
792 int taskId, @Nullable Bundle options2, @SplitPosition int splitPosition, in startShortcutAndTask() argument
812 startWithTask(wct, taskId, options2, snapPosition, remoteTransition, instanceId); in startShortcutAndTask()
856 @Nullable ShortcutInfo shortcutInfo2, @Nullable Bundle options2, in startIntents() argument
881 options2, in startIntents()
913 options2 = options2 != null ? options2 : new Bundle(); in startIntents()
[all …]
DSplitScreen.java84 @Nullable Bundle options2, @SplitPosition int splitPosition, in startTasks() argument
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastRecordTest.java503 final BroadcastOptions options2 = BroadcastOptions.makeBasic(); in testMatchesDeliveryGroup() local
505 intent2, options2); in testMatchesDeliveryGroup()
525 final BroadcastOptions options2 = BroadcastOptions.makeBasic(); in testMatchesDeliveryGroup_withMatchingKey() local
526 options2.setDeliveryGroupMatchingKey(Intent.ACTION_SERVICE_STATE, "key2"); in testMatchesDeliveryGroup_withMatchingKey()
528 intent2, options2); in testMatchesDeliveryGroup_withMatchingKey()
576 final BroadcastOptions options2 = BroadcastOptions.makeBasic(); in testMatchesDeliveryGroup_withMatchingFilter() local
577 options2.setDeliveryGroupMatchingFilter(filter2); in testMatchesDeliveryGroup_withMatchingFilter()
579 intent2, options2); in testMatchesDeliveryGroup_withMatchingFilter()
/frameworks/base/services/core/java/com/android/server/wm/
DSafeActivityOptions.java257 @Nullable ActivityOptions options2) { in mergeActivityOptions() argument
259 return options2; in mergeActivityOptions()
261 if (options2 == null) { in mergeActivityOptions()
265 final Bundle b2 = options2.toBundle(); in mergeActivityOptions()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackChangedListenerTest.java315 ActivityOptions options2 = ActivityOptions.makeBasic() in testTaskDisplayChanged() local
318 taskId2 = startTestActivity(ActivityInVirtualDisplay.class, options2).getTaskId(); in testTaskDisplayChanged()
DDisplayAreaPolicyBuilderTest.java679 final Bundle options2 = new Bundle(); in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions() local
680 options2.putInt("HIERARCHY_ROOT_ID", mGroupRoot2.mFeatureId); in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions()
699 .setOptions(options2) in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions()