/frameworks/support/media-compat/java/android/support/v4/media/ |
D | MediaBrowserCompatUtils.java | 33 return options2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) == -1 in areSameOptions() 34 && options2.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) == -1; in areSameOptions() 36 return options1.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) == -1 in areSameOptions() 37 && options1.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) == -1; in areSameOptions() 39 return options1.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) in areSameOptions() 40 == options2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) in areSameOptions() 41 && options1.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) in areSameOptions() 42 == options2.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); in areSameOptions() 47 int page1 = options1 == null ? -1 : options1.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); in hasDuplicatedItems() 48 int page2 = options2 == null ? -1 :options2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); in hasDuplicatedItems() [all …]
|
D | MediaBrowserServiceCompat.java | 353 final Result<List<MediaBrowserCompat.MediaItem>> result in onLoadChildren() 354 = new Result<List<MediaBrowserCompat.MediaItem>>(parentId) { in onLoadChildren() 356 void onResultSent(List<MediaBrowserCompat.MediaItem> list) { in onLoadChildren() 360 for (MediaBrowserCompat.MediaItem item : list) { in onLoadChildren() 391 final Result<MediaBrowserCompat.MediaItem> result in onLoadItem() 392 = new Result<MediaBrowserCompat.MediaItem>(itemId) { in onLoadItem() 394 void onResultSent(MediaBrowserCompat.MediaItem item) { in onLoadItem() 437 final Result<List<MediaBrowserCompat.MediaItem>> result in onLoadChildren() 438 = new Result<List<MediaBrowserCompat.MediaItem>>(parentId) { in onLoadChildren() 440 void onResultSent(List<MediaBrowserCompat.MediaItem> list) { in onLoadChildren() [all …]
|
D | MediaBrowserCompat.java | 101 public final class MediaBrowserCompat { class 180 public MediaBrowserCompat(Context context, ComponentName serviceComponent, in MediaBrowserCompat() method in MediaBrowserCompat 757 List<MediaBrowserCompat.MediaItem> itemList = in onChildrenLoaded() 778 List<MediaBrowserCompat.MediaItem> applyOptions(List<MediaBrowserCompat.MediaItem> list, in applyOptions() 783 int page = options.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); in applyOptions() 784 int pageSize = options.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); in applyOptions() 861 MediaBrowserCompat.MediaItem.CREATOR.createFromParcel(itemParcel); in onItemLoaded() 2172 resultData.setClassLoader(MediaBrowserCompat.class.getClassLoader()); in onReceiveResult() 2204 resultData.setClassLoader(MediaBrowserCompat.class.getClassLoader()); in onReceiveResult()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | BrowseFragment.java | 24 import android.support.v4.media.MediaBrowserCompat; 63 void onMediaItemSelected(MediaBrowserCompat.MediaItem item); in onMediaItemSelected() 68 private final List<MediaBrowserCompat.MediaItem> mMediaItems = new ArrayList<>(); 72 private MediaBrowserCompat mMediaBrowser; 75 private MediaBrowserCompat.SubscriptionCallback mSubscriptionCallback = 76 new MediaBrowserCompat.SubscriptionCallback() { 78 public void onChildrenLoaded(String parentId, List<MediaBrowserCompat.MediaItem> children, 80 int page = options.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); 81 int pageSize = options.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); 96 for (MediaBrowserCompat.MediaItem item : children) { [all …]
|
D | QueueFragment.java | 24 import android.support.v4.media.MediaBrowserCompat; 51 private MediaBrowserCompat mMediaBrowser; 58 private MediaBrowserCompat.ConnectionCallback mConnectionCallback = 59 new MediaBrowserCompat.ConnectionCallback() { 170 mMediaBrowser = new MediaBrowserCompat(getActivity(), in onCreateView()
|
D | MediaBrowserSupport.java | 21 import android.support.v4.media.MediaBrowserCompat; 44 public void onMediaItemSelected(MediaBrowserCompat.MediaItem item) { in onMediaItemSelected()
|
D | MediaBrowserServiceSupport.java | 32 import android.support.v4.media.MediaBrowserCompat; 33 import android.support.v4.media.MediaBrowserCompat.MediaItem; 283 if (options != null && (options.containsKey(MediaBrowserCompat.EXTRA_PAGE) in loadChildrenImpl() 284 || options.containsKey(MediaBrowserCompat.EXTRA_PAGE_SIZE))) { in loadChildrenImpl() 285 page = options.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); in loadChildrenImpl() 286 pageSize = options.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); in loadChildrenImpl()
|
/frameworks/support/media-compat/tests/src/android/support/v4/media/ |
D | MediaBrowserCompatTest.java | 35 import android.support.v4.media.MediaBrowserCompat.MediaItem; 73 private MediaBrowserCompat mMediaBrowser; 301 options.putInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, pageSize); in testSubscribeWithOptions() 306 options.putInt(MediaBrowserCompat.EXTRA_PAGE, page); in testSubscribeWithOptions() 372 options.putInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, pageSize); in testSubscribeInvalidItemWithOptions() 373 options.putInt(MediaBrowserCompat.EXTRA_PAGE, page); in testSubscribeInvalidItemWithOptions() 383 mSubscriptionCallback.mLastOptions.getInt(MediaBrowserCompat.EXTRA_PAGE)); in testSubscribeInvalidItemWithOptions() 385 mSubscriptionCallback.mLastOptions.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE)); in testSubscribeInvalidItemWithOptions() 403 options.putInt(MediaBrowserCompat.EXTRA_PAGE, page); in testUnsubscribeForMultipleSubscriptions() 404 options.putInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, pageSize); in testUnsubscribeForMultipleSubscriptions() [all …]
|
D | MediaBrowserServiceCompatTest.java | 33 import android.support.v4.media.MediaBrowserCompat.MediaItem; 72 private MediaBrowserCompat mMediaBrowser; 73 private MediaBrowserCompat mMediaBrowserForDelayedMediaSession; 86 mMediaBrowser = new MediaBrowserCompat(getInstrumentation().getTargetContext(), in setUp() 130 options.putInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, pageSize); in testNotifyChildrenChangedWithPagination() 131 options.putInt(MediaBrowserCompat.EXTRA_PAGE, page); in testNotifyChildrenChangedWithPagination() 397 new MediaBrowserCompat(getInstrumentation().getTargetContext(), in testDelayedSetSessionToken() 429 private class ConnectionCallback extends MediaBrowserCompat.ConnectionCallback { 439 private class SubscriptionCallback extends MediaBrowserCompat.SubscriptionCallback { 475 private class ItemCallback extends MediaBrowserCompat.ItemCallback { [all …]
|
D | StubMediaBrowserServiceCompatWithDelayedMediaSession.java | 55 @NonNull Result<List<MediaBrowserCompat.MediaItem>> result) { in onLoadChildren()
|
D | StubRemoteMediaBrowserServiceCompat.java | 20 import android.support.v4.media.MediaBrowserCompat.MediaItem;
|
D | MediaItemTest.java | 24 import android.support.v4.media.MediaBrowserCompat.MediaItem;
|
D | StubMediaBrowserServiceCompat.java | 20 import android.support.v4.media.MediaBrowserCompat.MediaItem;
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
D | MediaButtonReceiver.java | 28 import android.support.v4.media.MediaBrowserCompat; 118 MediaBrowserCompat mediaBrowser = new MediaBrowserCompat(applicationContext, in onReceive() 129 MediaBrowserCompat.ConnectionCallback { 134 private MediaBrowserCompat mMediaBrowser; 142 void setMediaBrowser(MediaBrowserCompat mediaBrowser) { in setMediaBrowser()
|
/frameworks/support/api/ |
D | 25.4.0.txt | 5806 public final class MediaBrowserCompat { 5807 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 5811 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 5816 …arch(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.SearchCallba… 5817 …tion(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.CustomAction… 5818 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 5819 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 5821 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 5826 public static class MediaBrowserCompat.ConnectionCallback { 5827 ctor public MediaBrowserCompat.ConnectionCallback(); [all …]
|
D | 25.3.0.txt | 5754 public final class MediaBrowserCompat { 5755 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 5759 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 5764 …arch(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.SearchCallba… 5765 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 5766 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 5768 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 5773 public static class MediaBrowserCompat.ConnectionCallback { 5774 ctor public MediaBrowserCompat.ConnectionCallback(); 5780 public static abstract class MediaBrowserCompat.ItemCallback { [all …]
|
D | 26.0.0-beta1.txt | 7155 public final class MediaBrowserCompat { 7156 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 7160 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 7165 …arch(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.SearchCallba… 7166 …tion(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.CustomAction… 7167 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 7168 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 7170 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 7175 public static class MediaBrowserCompat.ConnectionCallback { 7176 ctor public MediaBrowserCompat.ConnectionCallback(); [all …]
|
D | 26.0.0-SNAPSHOT.txt | 7281 public final class MediaBrowserCompat { 7282 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 7286 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 7291 …arch(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.SearchCallba… 7292 …tion(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.CustomAction… 7293 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 7294 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 7296 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 7305 public static class MediaBrowserCompat.ConnectionCallback { 7306 ctor public MediaBrowserCompat.ConnectionCallback(); [all …]
|
D | 26.0.0-beta2.txt | 7270 public final class MediaBrowserCompat { 7271 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 7275 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 7280 …arch(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.SearchCallba… 7281 …tion(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.CustomAction… 7282 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 7283 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 7285 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 7294 public static class MediaBrowserCompat.ConnectionCallback { 7295 ctor public MediaBrowserCompat.ConnectionCallback(); [all …]
|
D | 25.1.0.txt | 5369 public final class MediaBrowserCompat { 5370 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 5374 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 5379 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 5380 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 5382 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 5387 public static class MediaBrowserCompat.ConnectionCallback { 5388 ctor public MediaBrowserCompat.ConnectionCallback(); 5394 public static abstract class MediaBrowserCompat.ItemCallback { 5395 ctor public MediaBrowserCompat.ItemCallback(); [all …]
|
D | 25.0.0.txt | 4987 public final class MediaBrowserCompat { 4988 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 4992 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 4997 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 4998 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 5000 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 5005 public static class MediaBrowserCompat.ConnectionCallback { 5006 ctor public MediaBrowserCompat.ConnectionCallback(); 5012 public static abstract class MediaBrowserCompat.ItemCallback { 5013 ctor public MediaBrowserCompat.ItemCallback(); [all …]
|
D | 25.2.0.txt | 5369 public final class MediaBrowserCompat { 5370 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 5374 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 5379 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 5380 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 5382 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 5387 public static class MediaBrowserCompat.ConnectionCallback { 5388 ctor public MediaBrowserCompat.ConnectionCallback(); 5394 public static abstract class MediaBrowserCompat.ItemCallback { 5395 ctor public MediaBrowserCompat.ItemCallback(); [all …]
|
D | 24.2.0.txt | 4931 public final class MediaBrowserCompat { 4932 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 4936 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 4941 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 4942 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 4944 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 4949 public static class MediaBrowserCompat.ConnectionCallback { 4950 ctor public MediaBrowserCompat.ConnectionCallback(); 4956 public static abstract class MediaBrowserCompat.ItemCallback { 4957 ctor public MediaBrowserCompat.ItemCallback(); [all …]
|
D | 26.0.0-alpha1.txt | 6238 public final class MediaBrowserCompat { 6239 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 6243 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 6248 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 6249 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 6251 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 6256 public static class MediaBrowserCompat.ConnectionCallback { 6257 ctor public MediaBrowserCompat.ConnectionCallback(); 6263 public static abstract class MediaBrowserCompat.ItemCallback { 6264 ctor public MediaBrowserCompat.ItemCallback(); [all …]
|
D | 24.0.0.txt | 4768 public final class MediaBrowserCompat { 4769 …ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.sup… 4773 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb… 4778 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri… 4779 …ribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.Subscription… 4781 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc… 4786 public static class MediaBrowserCompat.ConnectionCallback { 4787 ctor public MediaBrowserCompat.ConnectionCallback(); 4793 public static abstract class MediaBrowserCompat.ItemCallback { 4794 ctor public MediaBrowserCompat.ItemCallback(); [all …]
|