Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/browse/
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()
/frameworks/base/services/core/java/com/android/server/wm/
DSafeActivityOptions.java178 @Nullable ActivityOptions options2) { in mergeActivityOptions() argument
180 return options2; in mergeActivityOptions()
182 if (options2 == null) { in mergeActivityOptions()
186 final Bundle b2 = options2.toBundle(); in mergeActivityOptions()