Home
last modified time | relevance | path

Searched refs:rating (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/media/java/android/media/tv/
DTvContentRating.java921 String rating, String... subRatings) { in createRating()
928 if (TextUtils.isEmpty(rating)) { in createRating()
931 return new TvContentRating(domain, ratingSystem, rating, subRatings); in createRating()
968 String domain, String ratingSystem, String rating, String[] subRatings) { in TvContentRating() argument
971 mRating = rating; in TvContentRating()
1048 public final boolean contains(@NonNull TvContentRating rating) { in contains() argument
1049 Preconditions.checkNotNull(rating); in contains()
1050 if (!rating.getMainRating().equals(mRating)) { in contains()
1053 if (!rating.getDomain().equals(mDomain) || in contains()
1054 !rating.getRatingSystem().equals(mRatingSystem) || in contains()
[all …]
DITvInputManager.aidl55 boolean isRatingBlocked(in String rating, int userId); in isRatingBlocked() argument
57 void addBlockedRating(in String rating, int userId); in addBlockedRating() argument
58 void removeBlockedRating(in String rating, int userId); in removeBlockedRating() argument
DTvInputManager.java472 public void onContentBlocked(Session session, TvContentRating rating) { in onContentBlocked() argument
655 void postContentBlocked(final TvContentRating rating) { in postContentBlocked() argument
659 mSessionCallback.onContentBlocked(mSession, rating); in postContentBlocked()
1011 public void onContentBlocked(String rating, int seq) { in TvInputManager()
1018 record.postContentBlocked(TvContentRating.unflattenFromString(rating)); in TvInputManager()
1334 public boolean isRatingBlocked(@NonNull TvContentRating rating) { in isRatingBlocked() argument
1335 Preconditions.checkNotNull(rating); in isRatingBlocked()
1337 return mService.isRatingBlocked(rating.flattenToString(), mUserId); in isRatingBlocked()
1351 for (String rating : mService.getBlockedRatings(mUserId)) { in getBlockedRatings()
1352 ratings.add(TvContentRating.unflattenFromString(rating)); in getBlockedRatings()
[all …]
DITvInputSessionCallback.aidl38 void onContentBlocked(in String rating); in onContentBlocked() argument
DITvInputClient.aidl41 void onContentBlocked(in String rating, int seq); in onContentBlocked() argument
DTvView.java1004 public void onContentBlocked(String inputId, TvContentRating rating) { in onContentBlocked() argument
1243 public void onContentBlocked(Session session, TvContentRating rating) { in onContentBlocked() argument
1245 Log.d(TAG, "onContentBlocked(rating=" + rating + ")"); in onContentBlocked()
1252 mCallback.onContentBlocked(mInputId, rating); in onContentBlocked()
DTvInputService.java609 public void notifyContentBlocked(@NonNull final TvContentRating rating) {
610 Preconditions.checkNotNull(rating);
618 mSessionCallback.onContentBlocked(rating.flattenToString());
/frameworks/base/services/core/java/com/android/server/tv/
DPersistentDataStore.java111 public boolean isRatingBlocked(TvContentRating rating) { in isRatingBlocked() argument
115 if (rating.contains(blockedRating)) { in isRatingBlocked()
128 public void addBlockedRating(TvContentRating rating) { in addBlockedRating() argument
130 if (rating != null && !mBlockedRatings.contains(rating)) { in addBlockedRating()
131 mBlockedRatings.add(rating); in addBlockedRating()
137 public void removeBlockedRating(TvContentRating rating) { in removeBlockedRating() argument
139 if (rating != null && mBlockedRatings.contains(rating)) { in removeBlockedRating()
140 mBlockedRatings.remove(rating); in removeBlockedRating()
280 for (TvContentRating rating : mBlockedRatings) { in saveToXml()
282 serializer.attribute(null, ATTR_STRING, rating.flattenToString()); in saveToXml()
DTvInputManagerService.java1077 public boolean isRatingBlocked(String rating, int userId) { in isRatingBlocked() argument
1085 TvContentRating.unflattenFromString(rating)); in isRatingBlocked()
1101 for (TvContentRating rating in getBlockedRatings()
1103 ratings.add(rating.flattenToString()); in getBlockedRatings()
1113 public void addBlockedRating(String rating, int userId) { in addBlockedRating() argument
1122 TvContentRating.unflattenFromString(rating)); in addBlockedRating()
1130 public void removeBlockedRating(String rating, int userId) { in removeBlockedRating() argument
1139 TvContentRating.unflattenFromString(rating)); in removeBlockedRating()
2585 public void onContentBlocked(String rating) { in onContentBlocked() argument
2594 mSessionState.client.onContentBlocked(rating, mSessionState.seq); in onContentBlocked()
/frameworks/base/core/java/android/widget/
DRatingBar.java76 void onRatingChanged(RatingBar ratingBar, float rating, boolean fromUser); in onRatingChanged() argument
100 final float rating = a.getFloat(R.styleable.RatingBar_rating, -1); in RatingBar() local
114 if (rating >= 0) { in RatingBar()
115 setRating(rating); in RatingBar()
207 public void setRating(float rating) { in setRating() argument
208 setProgress(Math.round(rating * getProgressPerStar())); in setRating()
/frameworks/base/media/java/android/media/
DRating.java97 private Rating(@Style int ratingStyle, float rating) { in Rating() argument
99 mRatingValue = rating; in Rating()
DRemoteController.java441 Rating rating = (Rating) getObject( in apply() local
443 if (rating != null) { in apply()
444 mCurrentSession.getTransportControls().setRating(rating); in apply()
DMediaMetadata.java486 Rating rating = null; in getRating() local
488 rating = mBundle.getParcelable(key); in getRating()
493 return rating; in getRating()
DRemoteControlClient.java942 public void onSetRating(Rating rating) {
944 onUpdateMetadata(mCurrentClientGenId, MetadataEditor.RATING_KEY_BY_USER, rating);
/frameworks/base/sax/tests/saxtests/src/android/sax/
DSafeSaxTest.java323 video.rating = average == null in newContentHandler()
443 video.rating = average == null in startElement()
532 public float rating; // ranges from 0.0 to 5.0 field in SafeSaxTest.YouTubeVideo
/frameworks/base/media/java/android/media/session/
DISessionCallback.aidl62 in Rating rating); in onRate() argument
DMediaSession.java704 void dispatchRate(RemoteUserInfo caller, Rating rating) { in dispatchRate() argument
705 postToCallback(caller, CallbackMessageHandler.MSG_RATE, rating, null); in dispatchRate()
1116 public void onSetRating(@NonNull Rating rating) { in onSetRating() argument
1353 Rating rating) { in onRate() argument
1356 session.dispatchRate(createRemoteUserInfo(packageName, pid, uid), rating); in onRate() local
DISessionController.aidl79 void rate(String packageName, in ISessionControllerCallback caller, in Rating rating); in rate() argument
DMediaSessionLegacyHelper.java506 public void onSetRating(Rating rating) { in onSetRating() argument
508 mRccListener.onSetRating(rating); in onSetRating()
DMediaController.java889 public void setRating(Rating rating) { in setRating() argument
891 mSessionBinder.rate(mContext.getPackageName(), mCbStub, rating); in setRating() local
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java1189 Rating rating) { in rate() argument
1191 mCb.onRate(packageName, pid, uid, caller, rating); in rate()
1444 public void rate(String packageName, ISessionControllerCallback caller, Rating rating) { in rate() argument
1446 rating); in rate()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt988 field public static final int rating = 16843077; // 0x1010145
/frameworks/base/non-updatable-api/
Dcurrent.txt1106 field public static final int rating = 16843077; // 0x1010145
/frameworks/base/api/
Dcurrent.txt1106 field public static final int rating = 16843077; // 0x1010145
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt90721 Lcom/android/internal/R$attr;->rating:I