Searched refs:options1 (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowserUtils.java | 28 public static boolean areSameOptions(Bundle options1, Bundle options2) { in areSameOptions() argument 29 if (options1 == options2) { in areSameOptions() 31 } else if (options1 == null) { in areSameOptions() 35 return options1.getInt(MediaBrowser.EXTRA_PAGE, -1) == -1 in areSameOptions() 36 && options1.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) == -1; in areSameOptions() 38 return options1.getInt(MediaBrowser.EXTRA_PAGE, -1) in areSameOptions() 40 && options1.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) in areSameOptions() 48 public static boolean hasDuplicatedItems(Bundle options1, Bundle options2) { in hasDuplicatedItems() argument 49 int page1 = options1 == null ? -1 : options1.getInt(MediaBrowser.EXTRA_PAGE, -1); in hasDuplicatedItems() 51 int pageSize1 = options1 == null ? -1 : options1.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in hasDuplicatedItems()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SafeActivityOptions.java | 179 @Nullable ActivityOptions mergeActivityOptions(@Nullable ActivityOptions options1, in mergeActivityOptions() argument 181 if (options1 == null) { in mergeActivityOptions() 185 return options1; in mergeActivityOptions() 187 final Bundle b1 = options1.toBundle(); in mergeActivityOptions()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskStackChangedListenerTest.java | 395 ActivityOptions options1 = ActivityOptions.makeBasic() in testTaskDisplayChanged() local 398 taskId1 = startTestActivity(ActivityInActivityView.class, options1).getTaskId(); in testTaskDisplayChanged()
|