Lines Matching defs:rating

133 		message.AddFloat("rating", fPermanentRating);
137 void SetPermanentRating(float rating)
139 fPermanentRating = rating;
140 SetRating(rating);
143 /*! By setting this to false, this indicates that there is no rating for the
144 set; ie NULL. The indeterminate rating is indicated by a pale grey
188 BStringView* ratingLabel = new BStringView("rating label",
189 B_TRANSLATE("Your rating:"));
193 fRatingDeterminateCheckBox = new BCheckBox("has rating", NULL,
199 "rating scroll view", fTextView);
210 // Construct stability rating popup
222 fRatingActiveCheckBox = new BCheckBox("rating active",
223 B_TRANSLATE("This rating is visible to other users"),
226 // the user already made a rating and it is loaded
331 message->FindFloat("rating", &fRating);
362 B_TRANSLATE("User rating"),
363 B_TRANSLATE("Your rating was uploaded successfully. "
376 B_TRANSLATE("User rating"),
377 B_TRANSLATE("Your rating was updated."),
396 example when somebody adds a rating and that changes the rating of the
397 package or they add a rating and want to see that immediately. The logic
423 // See if the user already made a rating for this package,
424 // pre-fill the UI with that rating. (When sending the rating, the
427 "Query rating", B_NORMAL_PRIORITY, this);
437 "Send rating", B_NORMAL_PRIORITY, this);
502 double rating;
503 if (response.FindDouble("rating", &rating) == B_OK) {
504 fRating = (float)rating;
529 HDERROR("rating query: Failed to lock window");
542 HDERROR("rating query: No package");
589 HDINFO("there was no previous rating for this"
590 " user on this version of this package so a new rating"
600 " server to obtain data for an existing rating [%s]",
624 HDERROR("upload rating: Failed to lock window");
633 int rating = (int)fRating;
642 rating = RATING_NONE;
675 HDINFO("will update the existing user rating [%s]", ratingID.String());
677 languageId, comment, stability, rating, active, info);
679 HDINFO("will create a new user rating for pkg [%s]", package.String());
682 languageId, comment, stability, rating, info);
703 " server to obtain data for an existing rating [%s]",