/frameworks/support/media/src/main/java/android/support/v4/media/ |
D | RatingCompat.java | 41 public final class RatingCompat implements Parcelable { class 106 RatingCompat(@Style int ratingStyle, float rating) { in RatingCompat() method in RatingCompat 128 public static final Parcelable.Creator<RatingCompat> CREATOR 129 = new Parcelable.Creator<RatingCompat>() { 136 public RatingCompat createFromParcel(Parcel p) { 137 return new RatingCompat(p.readInt(), p.readFloat()); 141 public RatingCompat[] newArray(int size) { 142 return new RatingCompat[size]; 155 public static RatingCompat newUnratedRating(@Style int ratingStyle) { in newUnratedRating() 163 return new RatingCompat(ratingStyle, RATING_NOT_RATED); in newUnratedRating() [all …]
|
D | MediaMetadataCompat.java | 433 public RatingCompat getRating(@RatingKey String key) { in getRating() 434 RatingCompat rating = null; in getRating() 439 rating = RatingCompat.fromRating(mBundle.getParcelable(key)); in getRating() 821 public Builder putRating(@RatingKey String key, RatingCompat value) { in putRating()
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | MediaUtils2.java | 36 import android.support.v4.media.RatingCompat; 253 Rating2 createRating2(RatingCompat ratingCompat) { in createRating2() 262 case RatingCompat.RATING_3_STARS: in createRating2() 263 case RatingCompat.RATING_4_STARS: in createRating2() 264 case RatingCompat.RATING_5_STARS: in createRating2() 267 case RatingCompat.RATING_HEART: in createRating2() 269 case RatingCompat.RATING_THUMB_UP_DOWN: in createRating2() 271 case RatingCompat.RATING_PERCENTAGE: in createRating2() 284 RatingCompat createRatingCompat(Rating2 rating2) { in createRatingCompat() 289 return RatingCompat.newUnratedRating(rating2.getRatingStyle()); in createRatingCompat() [all …]
|
/frameworks/support/media/src/main/aidl/android/support/v4/media/session/ |
D | IMediaSession.aidl | 22 import android.support.v4.media.RatingCompat; 82 void rate(in RatingCompat rating) = 24; 83 void rateWithExtras(in RatingCompat rating, in Bundle extras) = 50; in rateWithExtras()
|
/frameworks/support/media/src/main/aidl/android/support/v4/media/ |
D | RatingCompat.aidl | 18 parcelable RatingCompat;
|
/frameworks/support/media/src/main/java/android/support/v4/media/session/ |
D | MediaSessionCompat.java | 53 import android.support.v4.media.RatingCompat; 735 public void setRatingType(@RatingCompat.Style int type) { in setRatingType() 1156 public void onSetRating(RatingCompat rating) { in onSetRating() 1165 public void onSetRating(RatingCompat rating, Bundle extras) { in onSetRating() 1399 Callback.this.onSetRating(RatingCompat.fromRating(ratingObj)); in onSetRating() 1404 Callback.this.onSetRating(RatingCompat.fromRating(ratingObj), extras); in onSetRating() 1437 extras.setClassLoader(RatingCompat.class.getClassLoader()); in onCustomAction() 1438 RatingCompat rating = extras.getParcelable(ACTION_ARGUMENT_RATING); in onCustomAction() 1841 void setRatingType(@RatingCompat.Style int type); in setRatingType() 1887 @RatingCompat.Style int mRatingType; [all …]
|
D | MediaControllerCompat.java | 37 import android.support.v4.media.RatingCompat; 1242 public abstract void setRating(RatingCompat rating); in setRating() 1256 public abstract void setRating(RatingCompat rating, Bundle extras); in setRating() 1858 public void setRating(RatingCompat rating) { in setRating() 1867 public void setRating(RatingCompat rating, Bundle extras) { in setRating() 2339 public void setRating(RatingCompat rating) { in setRating() 2345 public void setRating(RatingCompat rating, Bundle extras) { in setRating()
|
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/android/support/mediacompat/client/ |
D | MediaBrowserCompatTest.java | 79 import android.support.v4.media.RatingCompat; 415 final RatingCompat percentageRating = RatingCompat.newPercentageRating(0.5f); in testSubscribeWithOptionsIncludingCompatParcelables() 416 final RatingCompat starRating = in testSubscribeWithOptionsIncludingCompatParcelables() 417 RatingCompat.newStarRating(RatingCompat.RATING_5_STARS, 4.0f); in testSubscribeWithOptionsIncludingCompatParcelables() 863 private void assertRatingEquals(RatingCompat expected, RatingCompat observed) { in assertRatingEquals() 869 if (expected.getRatingStyle() == RatingCompat.RATING_PERCENTAGE) { in assertRatingEquals() 871 } else if (expected.getRatingStyle() == RatingCompat.RATING_5_STARS) { in assertRatingEquals()
|
D | MediaControllerCompatCallbackTest.java | 81 import android.support.v4.media.RatingCompat; 222 RatingCompat rating = RatingCompat.newHeartRating(true); in testSetMetadata() 241 RatingCompat ratingOut = metadataOut.getRating(METADATA_KEY_RATING); in testSetMetadata() 550 RatingCompat.RATING_NONE, mController.getRatingType()); in testGetRatingType() 552 callMediaSessionMethod(SET_RATING_TYPE, RatingCompat.RATING_5_STARS, getContext()); in testGetRatingType() 556 return RatingCompat.RATING_5_STARS == mController.getRatingType(); in testGetRatingType()
|
D | ClientBroadcastReceiver.java | 65 import android.support.v4.media.RatingCompat; 147 controls.setRating((RatingCompat) extras.getParcelable(KEY_ARGUMENT)); in onReceive()
|
/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/ |
D | MediaControllerCompatCallbackTest.java | 81 import android.support.v4.media.RatingCompat; 221 RatingCompat rating = RatingCompat.newHeartRating(true); in testSetMetadata() 240 RatingCompat ratingOut = metadataOut.getRating(METADATA_KEY_RATING); in testSetMetadata() 549 RatingCompat.RATING_NONE, mController.getRatingType()); in testGetRatingType() 551 callMediaSessionMethod(SET_RATING_TYPE, RatingCompat.RATING_5_STARS, getContext()); in testGetRatingType() 555 return RatingCompat.RATING_5_STARS == mController.getRatingType(); in testGetRatingType()
|
D | ClientBroadcastReceiver.java | 65 import android.support.v4.media.RatingCompat; 147 controls.setRating((RatingCompat) extras.getParcelable(KEY_ARGUMENT)); in onReceive()
|
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/ |
D | ServiceBroadcastReceiver.java | 57 import android.support.v4.media.RatingCompat; 158 session.setRatingType(RatingCompat.RATING_5_STARS); in onReceive()
|
D | MediaSessionCompatCallbackTest.java | 92 import android.support.v4.media.RatingCompat; 176 assertEquals(errorMsg, RatingCompat.RATING_NONE, controller.getRatingType()); in testCreateSession() 436 final RatingCompat rating = in testTransportControlsAndMediaSessionCallback() 437 RatingCompat.newStarRating(RatingCompat.RATING_5_STARS, 3f); in testTransportControlsAndMediaSessionCallback() 813 private RatingCompat mRating; 960 public void onSetRating(RatingCompat rating) { in onSetRating()
|
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/ |
D | ServiceBroadcastReceiver.java | 57 import android.support.v4.media.RatingCompat; 159 session.setRatingType(RatingCompat.RATING_5_STARS); in onReceive()
|
D | MediaSessionCompatCallbackTest.java | 93 import android.support.v4.media.RatingCompat; 178 assertEquals(errorMsg, RatingCompat.RATING_NONE, controller.getRatingType()); in testCreateSession() 438 final RatingCompat rating = in testTransportControlsAndMediaSessionCallback() 439 RatingCompat.newStarRating(RatingCompat.RATING_5_STARS, 3f); in testTransportControlsAndMediaSessionCallback() 888 private RatingCompat mRating; 1035 public void onSetRating(RatingCompat rating) { in onSetRating()
|
/frameworks/support/media/api_legacy/ |
D | 26.0.0.txt | 205 method public android.support.v4.media.RatingCompat getRating(java.lang.String); 251 …dia.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat); 256 public final class RatingCompat implements android.os.Parcelable { 258 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object); 266 method public static android.support.v4.media.RatingCompat newHeartRating(boolean); 267 method public static android.support.v4.media.RatingCompat newPercentageRating(float); 268 method public static android.support.v4.media.RatingCompat newStarRating(int, float); 269 method public static android.support.v4.media.RatingCompat newThumbRating(boolean); 270 method public static android.support.v4.media.RatingCompat newUnratedRating(int); 272 …field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CRE… [all …]
|
D | 26.1.0.txt | 205 method public android.support.v4.media.RatingCompat getRating(java.lang.String); 251 …dia.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat); 256 public final class RatingCompat implements android.os.Parcelable { 258 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object); 266 method public static android.support.v4.media.RatingCompat newHeartRating(boolean); 267 method public static android.support.v4.media.RatingCompat newPercentageRating(float); 268 method public static android.support.v4.media.RatingCompat newStarRating(int, float); 269 method public static android.support.v4.media.RatingCompat newThumbRating(boolean); 270 method public static android.support.v4.media.RatingCompat newUnratedRating(int); 272 …field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CRE… [all …]
|
D | 28.0.0-alpha1.txt | 205 method public android.support.v4.media.RatingCompat getRating(java.lang.String); 251 …dia.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat); 256 public final class RatingCompat implements android.os.Parcelable { 258 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object); 266 method public static android.support.v4.media.RatingCompat newHeartRating(boolean); 267 method public static android.support.v4.media.RatingCompat newPercentageRating(float); 268 method public static android.support.v4.media.RatingCompat newStarRating(int, float); 269 method public static android.support.v4.media.RatingCompat newThumbRating(boolean); 270 method public static android.support.v4.media.RatingCompat newUnratedRating(int); 272 …field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CRE… [all …]
|
D | current.txt | 205 method public android.support.v4.media.RatingCompat getRating(java.lang.String); 251 …dia.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat); 256 public final class RatingCompat implements android.os.Parcelable { 258 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object); 266 method public static android.support.v4.media.RatingCompat newHeartRating(boolean); 267 method public static android.support.v4.media.RatingCompat newPercentageRating(float); 268 method public static android.support.v4.media.RatingCompat newStarRating(int, float); 269 method public static android.support.v4.media.RatingCompat newThumbRating(boolean); 270 method public static android.support.v4.media.RatingCompat newUnratedRating(int); 272 …field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CRE… [all …]
|
D | 27.1.0.txt | 205 method public android.support.v4.media.RatingCompat getRating(java.lang.String); 251 …dia.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat); 256 public final class RatingCompat implements android.os.Parcelable { 258 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object); 266 method public static android.support.v4.media.RatingCompat newHeartRating(boolean); 267 method public static android.support.v4.media.RatingCompat newPercentageRating(float); 268 method public static android.support.v4.media.RatingCompat newStarRating(int, float); 269 method public static android.support.v4.media.RatingCompat newThumbRating(boolean); 270 method public static android.support.v4.media.RatingCompat newUnratedRating(int); 272 …field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CRE… [all …]
|
D | 27.0.0.txt | 205 method public android.support.v4.media.RatingCompat getRating(java.lang.String); 251 …dia.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat); 256 public final class RatingCompat implements android.os.Parcelable { 258 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object); 266 method public static android.support.v4.media.RatingCompat newHeartRating(boolean); 267 method public static android.support.v4.media.RatingCompat newPercentageRating(float); 268 method public static android.support.v4.media.RatingCompat newStarRating(int, float); 269 method public static android.support.v4.media.RatingCompat newThumbRating(boolean); 270 method public static android.support.v4.media.RatingCompat newUnratedRating(int); 272 …field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CRE… [all …]
|
/frameworks/support/media/api/ |
D | current.txt | 127 method public android.support.v4.media.RatingCompat getRating(java.lang.String); 173 …dia.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat); 178 public final class RatingCompat implements android.os.Parcelable { 180 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object); 188 method public static android.support.v4.media.RatingCompat newHeartRating(boolean); 189 method public static android.support.v4.media.RatingCompat newPercentageRating(float); 190 method public static android.support.v4.media.RatingCompat newStarRating(int, float); 191 method public static android.support.v4.media.RatingCompat newThumbRating(boolean); 192 method public static android.support.v4.media.RatingCompat newUnratedRating(int); 194 …field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CRE… [all …]
|
/frameworks/support/api/ |
D | 22.0.0.txt | 2491 method public android.support.v4.media.RatingCompat getRating(java.lang.String); 2533 …dia.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat); 2538 public final class RatingCompat implements android.os.Parcelable { 2540 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object); 2548 method public static android.support.v4.media.RatingCompat newHeartRating(boolean); 2549 method public static android.support.v4.media.RatingCompat newPercentageRating(float); 2550 method public static android.support.v4.media.RatingCompat newStarRating(int, float); 2551 method public static android.support.v4.media.RatingCompat newThumbRating(boolean); 2552 method public static android.support.v4.media.RatingCompat newUnratedRating(int); 2554 …field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CRE… [all …]
|
D | 22.1.0.txt | 2646 method public android.support.v4.media.RatingCompat getRating(java.lang.String); 2688 …dia.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat); 2693 public final class RatingCompat implements android.os.Parcelable { 2695 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object); 2703 method public static android.support.v4.media.RatingCompat newHeartRating(boolean); 2704 method public static android.support.v4.media.RatingCompat newPercentageRating(float); 2705 method public static android.support.v4.media.RatingCompat newStarRating(int, float); 2706 method public static android.support.v4.media.RatingCompat newThumbRating(boolean); 2707 method public static android.support.v4.media.RatingCompat newUnratedRating(int); 2709 …field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CRE… [all …]
|