Home
last modified time | relevance | path

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

/aosp14/frameworks/base/media/java/android/media/browse/
H A DMediaBrowserUtils.java28 public static boolean areSameOptions(Bundle options1, Bundle options2) { in areSameOptions() argument
29 if (options1 == options2) { in areSameOptions()
32 return options2.getInt(MediaBrowser.EXTRA_PAGE, -1) == -1 in areSameOptions()
33 && options2.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) == -1; in areSameOptions()
34 } else if (options2 == null) { in areSameOptions()
39 == options2.getInt(MediaBrowser.EXTRA_PAGE, -1) in areSameOptions()
41 == options2.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in areSameOptions()
48 public static boolean hasDuplicatedItems(Bundle options1, Bundle options2) { in hasDuplicatedItems() argument
50 int page2 = options2 == null ? -1 : options2.getInt(MediaBrowser.EXTRA_PAGE, -1); in hasDuplicatedItems()
52 int pageSize2 = options2 == null ? -1 : options2.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in hasDuplicatedItems()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
H A 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, float splitRatio, in startIntentAndTask() argument
108 in Bundle options2, int splitPosition, float splitRatio, in startShortcutAndTask() argument
115 in Bundle options2, int splitPosition, float splitRatio, in startTasksWithLegacyTransition() argument
122 in Bundle options1, int taskId, in Bundle options2, int splitPosition, float splitRatio, in startIntentAndTaskWithLegacyTransition() argument
129 in Bundle options1, int taskId, in Bundle options2, int splitPosition, float splitRatio, 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
H A DSplitScreenController.java600 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startShortcutAndTaskWithLegacyTransition() argument
631 int taskId, @Nullable Bundle options2, @SplitPosition int splitPosition, in startShortcutAndTask() argument
659 options2, splitPosition, splitRatio, remoteTransition, instanceId); in startShortcutAndTask()
673 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startIntentAndTaskWithLegacyTransition() argument
700 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startIntentAndTask() argument
728 options2, splitPosition, splitRatio, remoteTransition, instanceId); in startIntentAndTask()
773 final ActivityOptions activityOptions2 = options2 != null in startIntents()
774 ? ActivityOptions.fromBundle(options2) : ActivityOptions.makeBasic(); in startIntents()
1223 taskId1, options1, taskId2, options2, splitPosition, in startTasksWithLegacyTransition()
1240 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startShortcutAndTaskWithLegacyTransition() argument
[all …]
H A DStageCoordinator.java670 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startIntentAndTask() argument
692 int taskId, @Nullable Bundle options2, @SplitPosition int splitPosition, in startShortcutAndTask() argument
752 @Nullable ShortcutInfo shortcutInfo2, @Nullable Bundle options2, in startIntents() argument
789 options2 = options2 != null ? options2 : new Bundle(); in startIntents()
790 addActivityOptions(options2, mMainStage); in startIntents()
792 wct.startShortcut(mContext.getPackageName(), shortcutInfo2, options2); in startIntents() local
794 wct.sendPendingIntent(pendingIntent2, fillInIntent2, options2); in startIntents()
804 int taskId2, @Nullable Bundle options2, @SplitPosition int splitPosition, in startTasksWithLegacyTransition() argument
834 @Nullable ShortcutInfo shortcutInfo2, @Nullable Bundle options2, in startIntentsWithLegacyTransition() argument
859 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startIntentAndTaskWithLegacyTransition() argument
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A 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()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DBroadcastRecordTest.java548 final BroadcastOptions options2 = BroadcastOptions.makeBasic(); in testMatchesDeliveryGroup() local
550 intent2, options2); in testMatchesDeliveryGroup()
570 final BroadcastOptions options2 = BroadcastOptions.makeBasic(); in testMatchesDeliveryGroup_withMatchingKey() local
571 options2.setDeliveryGroupMatchingKey(Intent.ACTION_SERVICE_STATE, "key2"); in testMatchesDeliveryGroup_withMatchingKey()
573 intent2, options2); in testMatchesDeliveryGroup_withMatchingKey()
621 final BroadcastOptions options2 = BroadcastOptions.makeBasic(); in testMatchesDeliveryGroup_withMatchingFilter() local
622 options2.setDeliveryGroupMatchingFilter(filter2); in testMatchesDeliveryGroup_withMatchingFilter()
624 intent2, options2); in testMatchesDeliveryGroup_withMatchingFilter()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskStackChangedListenerTest.java290 ActivityOptions options2 = ActivityOptions.makeBasic() in testTaskDisplayChanged() local
293 taskId2 = startTestActivity(ActivityInVirtualDisplay.class, options2).getTaskId(); in testTaskDisplayChanged()
H A 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()