Home
last modified time | relevance | path

Searched refs:ratingStyle (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/media/src/main/java/android/support/v4/media/
DRatingCompat.java106 RatingCompat(@Style int ratingStyle, float rating) { in RatingCompat() argument
107 mRatingStyle = ratingStyle; in RatingCompat()
155 public static RatingCompat newUnratedRating(@Style int ratingStyle) { in newUnratedRating() argument
156 switch(ratingStyle) { in newUnratedRating()
163 return new RatingCompat(ratingStyle, RATING_NOT_RATED); in newUnratedRating()
331 final int ratingStyle = ((Rating) ratingObj).getRatingStyle(); in fromRating() local
334 switch (ratingStyle) { in fromRating()
344 rating = newStarRating(ratingStyle, in fromRating()
355 rating = newUnratedRating(ratingStyle); in fromRating()
/frameworks/base/media/java/android/media/
DRating.java97 private Rating(@Style int ratingStyle, float rating) { in Rating() argument
98 mRatingStyle = ratingStyle; in Rating()
146 public static Rating newUnratedRating(@Style int ratingStyle) { in newUnratedRating() argument
147 switch(ratingStyle) { in newUnratedRating()
154 return new Rating(ratingStyle, RATING_NOT_RATED); in newUnratedRating()
DRating2.java153 public static @Nullable Rating2 newUnratedRating(@Style int ratingStyle) { in newUnratedRating() argument
154 return ApiLoader.getProvider().newUnratedRating_Rating2(ratingStyle); in newUnratedRating()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DRating2Impl.java42 private Rating2Impl(@Style int ratingStyle, float rating) { in Rating2Impl() argument
43 mRatingStyle = ratingStyle; in Rating2Impl()
87 public static Rating2 newUnratedRating_impl(@Style int ratingStyle) { in newUnratedRating_impl() argument
88 switch(ratingStyle) { in newUnratedRating_impl()
95 return new Rating2Impl(ratingStyle, RATING_NOT_RATED).getInstance(); in newUnratedRating_impl()
/frameworks/support/media/src/main/java/androidx/media/
DRating2.java107 private Rating2(@Style int ratingStyle, float rating) { in Rating2() argument
108 mRatingStyle = ratingStyle; in Rating2()
166 public static @Nullable Rating2 newUnratedRating(@Style int ratingStyle) { in newUnratedRating() argument
167 switch(ratingStyle) { in newUnratedRating()
174 return new Rating2(ratingStyle, RATING_NOT_RATED); in newUnratedRating()
/frameworks/av/packages/MediaComponents/src/com/android/media/update/
DApiFactory.java248 public Rating2 newUnratedRating_Rating2(int ratingStyle) { in newUnratedRating_Rating2() argument
249 return Rating2Impl.newUnratedRating_impl(ratingStyle); in newUnratedRating_Rating2()
/frameworks/base/media/java/android/media/update/
DStaticProvider.java121 Rating2 newUnratedRating_Rating2(int ratingStyle); in newUnratedRating_Rating2() argument