/development/samples/Support7Demos/src/com/example/android/supportv7/view/ |
CardViewActivity.java | 69 mElevationSeekBar.setMax(mMaxElevationSeekBar.getProgress()); 70 if (mCornerRadiusSeekBar.getProgress() != mCardView.getRadius()) { 71 mCardView.setRadius(mCornerRadiusSeekBar.getProgress()); 73 if (mElevationSeekBar.getProgress() != mCardView.getCardElevation()) { 74 mCardView.setCardElevation(mElevationSeekBar.getProgress()); 76 if (mMaxElevationSeekBar.getProgress() != mCardView.getMaxCardElevation()) { 77 mCardView.setMaxCardElevation(mMaxElevationSeekBar.getProgress()); 79 ViewCompat.setAlpha(mCardView, mAlphaSeekBar.getProgress() / 255f); 86 mInfoText.setText("radius: " + mCornerRadiusSeekBar.getProgress() 87 +", alpha: " + mAlphaSeekBar.getProgress() [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ProgressBarTest.java | 43 assertThat(progressBar.getProgress(), equalTo(progress)); 67 assertEquals(0, progressBar.getProgress()); 71 assertEquals(10, progressBar.getProgress()); 82 assertEquals(0, progressBar.getProgress()); 88 assertEquals(0, progressBar.getProgress()); 90 assertEquals(1, progressBar.getProgress()); 92 assertEquals(2, progressBar.getProgress()); 105 assertEquals(20, progressBar.getProgress());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RatingBarTest.java | 143 assertEquals(10, ratingBar.getProgress()); 155 float expectedProgress = expectedMax / ratingBar.getMax() * ratingBar.getProgress(); 157 assertEquals((int) expectedProgress, ratingBar.getProgress()); 162 int currentProgress = ratingBar.getProgress(); 167 assertEquals(currentProgress, ratingBar.getProgress()); 172 assertEquals(currentProgress, ratingBar.getProgress()); 177 assertEquals(currentProgress, ratingBar.getProgress()); 182 assertEquals(currentProgress, ratingBar.getProgress());
|
ProgressBarTest.java | 116 assertEquals(0, progressBar.getProgress()); 122 assertEquals(maxProgress >> 1, progressBar.getProgress()); 126 assertEquals(0, progressBar.getProgress()); 129 assertEquals(maxProgress, progressBar.getProgress()); 132 assertEquals(maxProgress, progressBar.getProgress()); 137 assertEquals(0, progressBar.getProgress()); 173 int oldProgress = progressBar.getProgress(); 175 assertEquals(oldProgress + increment, progressBar.getProgress()); 178 oldProgress = progressBar.getProgress(); 180 assertEquals(oldProgress + increment, progressBar.getProgress()); [all...] |
AbsSeekBarTest.java | 176 int oldProgress = seekBar.getProgress(); 179 assertEquals(oldProgress + keyProgressIncrement, seekBar.getProgress()); 180 oldProgress = seekBar.getProgress(); 183 assertEquals(oldProgress - keyProgressIncrement, seekBar.getProgress()); 194 assertEquals(progress, myAbsSeekBar.getProgress()); 200 assertEquals(max, myAbsSeekBar.getProgress());
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ProgressBar1.java | 44 setProgress(progressHorizontal.getProgress() * 100); 52 setProgress(100 * progressHorizontal.getProgress()); 61 setProgress(100 * progressHorizontal.getProgress());
|
/external/chromium_org/third_party/skia/include/views/animated/ |
SkProgressBarView.h | 29 int getProgress() const { return fProgress; }
|
/external/skia/include/views/animated/ |
SkProgressBarView.h | 29 int getProgress() const { return fProgress; }
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
ToggleSlider.java | 84 mMirror.setValue(mSlider.getProgress()); 133 ToggleSlider.this, mTracking, checked, mSlider.getProgress()); 161 ToggleSlider.this, mTracking, mToggle.isChecked(), mSlider.getProgress()); 182 ToggleSlider.this, mTracking, mToggle.isChecked(), mSlider.getProgress());
|
/packages/apps/Gallery2/src_pd/com/android/gallery3d/app/ |
StitchingProgressManager.java | 31 public Integer getProgress(Uri uri) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowRatingBar.java | 62 return getProgress() / getProgressPerStar(); 83 final int newProgress = (int) (newMax / getMax() * getProgress());
|
ShadowProgressBar.java | 45 public int getProgress() {
|
/external/chromium_org/chrome/browser/download/ |
download_status_updater_unittest.cc | 137 // Set return values relevant to |DownloadStatusUpdater::GetProgress()| 193 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count)); 209 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count)); 228 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count)); 235 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count)); 245 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count)); 295 EXPECT_FALSE(updater_->GetProgress(&progress, &download_count)); 306 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count)); 321 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count)); 340 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count)) [all...] |
download_status_updater.h | 26 bool GetProgress(float* progress, int* download_count) const;
|
download_status_updater_win.cc | 67 bool progress_known = GetProgress(&progress, &download_count);
|
/frameworks/base/core/java/android/preference/ |
SeekBarPreference.java | 102 setProgress(getProgress() + 1); 106 setProgress(getProgress() - 1); 140 public int getProgress() { 149 int progress = seekBar.getProgress(); 175 if (seekBar.getProgress() != mProgress) {
|
/packages/apps/Settings/src/com/android/settings/ |
PointerSpeedPreference.java | 89 mIm.tryPointerSpeed(seekBar.getProgress() + InputManager.MIN_POINTER_SPEED); 105 mSeekBar.getProgress() + InputManager.MIN_POINTER_SPEED); 127 myState.progress = mSeekBar.getProgress();
|
/developers/build/prebuilts/gradle/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/ |
DrawableTintingFragment.java | 219 outState.putInt(STATE_ALPHA, mAlphaBar.getProgress()); 220 outState.putInt(STATE_RED, mRedBar.getProgress()); 221 outState.putInt(STATE_GREEN, mGreenBar.getProgress()); 222 outState.putInt(STATE_BLUE, mBlueBar.getProgress()); 231 final int alpha = mAlphaBar.getProgress(); 232 final int red = mRedBar.getProgress(); 233 final int green = mGreenBar.getProgress(); 234 final int blue = mBlueBar.getProgress();
|
/developers/samples/android/ui/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/ |
DrawableTintingFragment.java | 219 outState.putInt(STATE_ALPHA, mAlphaBar.getProgress()); 220 outState.putInt(STATE_RED, mRedBar.getProgress()); 221 outState.putInt(STATE_GREEN, mGreenBar.getProgress()); 222 outState.putInt(STATE_BLUE, mBlueBar.getProgress()); 231 final int alpha = mAlphaBar.getProgress(); 232 final int red = mRedBar.getProgress(); 233 final int green = mGreenBar.getProgress(); 234 final int blue = mBlueBar.getProgress();
|
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/ |
DrawableTintingFragment.java | 219 outState.putInt(STATE_ALPHA, mAlphaBar.getProgress()); 220 outState.putInt(STATE_RED, mRedBar.getProgress()); 221 outState.putInt(STATE_GREEN, mGreenBar.getProgress()); 222 outState.putInt(STATE_BLUE, mBlueBar.getProgress()); 231 final int alpha = mAlphaBar.getProgress(); 232 final int red = mRedBar.getProgress(); 233 final int green = mGreenBar.getProgress(); 234 final int blue = mBlueBar.getProgress();
|
/developers/samples/android/ui/DrawableTinting/Application/src/test/ |
SampleTests.java | 87 assertEquals(255, mAlpha.getProgress()); 88 assertEquals(0, mRed.getProgress()); 89 assertEquals(0, mGreen.getProgress()); 90 assertEquals(0, mBlue.getProgress());
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SeekBarDialogPreference.java | 123 final int value = getClippedValueFromProgress(mSeekBar.getProgress()); 145 mValueProxy.feedbackValue(getClippedValueFromProgress(seekBar.getProgress()));
|
/cts/tests/tests/app/src/android/app/cts/ |
ProgressDialogTest.java | 202 assertEquals(11, progressDialog.getProgress()); 210 assertEquals(0, progressDialog.getProgress()); 255 mProgress1 = dialog.getProgress(); 257 mProgress2 = dialog.getProgress();
|
/frameworks/base/core/java/android/widget/ |
RatingBar.java | 207 return getProgress() / getProgressPerStar(); 222 final int newProgress = (int) (newMax / getMax() * getProgress()); 258 updateSecondaryProgress(getProgress()); 297 mProgressOnStartTracking = getProgress(); 306 if (getProgress() != mProgressOnStartTracking) {
|
/frameworks/base/core/java/android/app/ |
ProgressDialog.java | 137 int progress = mProgress.getProgress(); 231 public int getProgress() { 233 return mProgress.getProgress();
|