HomeSort by relevance Sort by last modified time
    Searched refs:getNumStars (Results 1 - 12 of 12) sorted by null

  /cts/tests/tests/widget/src/android/widget/cts/
RatingBarTest.java 57 assertEquals(50, ratingBar.getNumStars());
101 assertEquals(20, mockRatingBar.getNumStars());
107 assertEquals(20, mockRatingBar.getNumStars());
112 assertEquals(Integer.MAX_VALUE, mockRatingBar.getNumStars());
128 assertEquals((float) ratingBar.getNumStars(), ratingBar.getRating());
154 float expectedMax = ratingBar.getNumStars() / ratingBar.getStepSize();
158 assertEquals((float) ratingBar.getNumStars() / (int) (ratingBar.getNumStars() / 1.5f),
175 ratingBar.setStepSize(ratingBar.getNumStars() + 0.1f);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
RatingBar1.java 53 final int numStars = ratingBar.getNumStars();
59 if (mIndicatorRatingBar.getNumStars() != numStars) {
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowRatingBar.java 51 public int getNumStars() {
90 return (float) getNumStars() / getMax();
  /frameworks/base/core/java/android/widget/
RatingBar.java 184 public int getNumStars() {
229 return (float) getNumStars() / getMax();
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 

Completed in 373 milliseconds