Lines Matching refs:progress
43 * The secondary progress should not be modified by the client as it is used
240 * @return The amount of progress that fits into a star
257 void onProgressRefresh(float scale, boolean fromUser, int progress) {
258 super.onProgressRefresh(scale, fromUser, progress);
260 // Keep secondary progress in sync with primary
261 updateSecondaryProgress(progress);
270 * The secondary progress is used to differentiate the background of a
271 * partially filled star. This method keeps the secondary progress in sync
272 * with the progress.
274 * @param progress The primary progress level.
276 private void updateSecondaryProgress(int progress) {
279 final float progressInStars = progress / ratio;
327 // Disallow max progress = 0