Searched refs:getMax (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DRatingBar.java222 final int newProgress = (int) (newMax / getMax() * getProgress());
233 return (float) getNumStars() / getMax();
241 return 1f * getMax() / mNumStars;
H A DAbsSeekBar.java336 if ((mKeyProgressIncrement == 0) || (getMax() / mKeyProgressIncrement > 20)) {
339 setKeyProgressIncrement(Math.max(1, Math.round((float) getMax() / 20)));
433 final int max = getMax();
666 final int max = getMax();
716 if (progress >= getMax()) break;
746 } else if (progress > getMax()) {
747 progress = getMax();
774 if (progress < getMax()) {
789 final int increment = Math.max(1, Math.round((float) getMax() / 5));
800 if (progress >= getMax()) {
[all...]
H A DProgressBar.java1271 * @param progress The new progress, between 0 and {@link #getMax()}
1319 * @param progress the new progress, between 0 and {@link #getMax()}
1357 * @param secondaryProgress the new secondary progress, between 0 and {@link #getMax()}
1387 * @return the current progress, between 0 and {@link #getMax()}
1393 * @see #getMax()
1404 * @return the current secondary progress, between 0 and {@link #getMax()}
1410 * @see #getMax()
1427 public synchronized int getMax() { method in class:ProgressBar
1436 * @see #getMax()
H A DTextView.java8459 info.setMaxTextLength(((InputFilter.LengthFilter) filter).getMax());
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatKitKat.java107 static float getMax(Object info) { method in class:AccessibilityNodeInfoCompatKitKat.RangeInfo
108 return ((AccessibilityNodeInfo.RangeInfo) info).getMax();
/frameworks/base/core/java/android/text/
H A DInputFilter.java106 public int getMax() { method in class:InputFilter.LengthFilter
/frameworks/base/core/java/android/app/
H A DProgressDialog.java138 int max = mProgress.getMax();
245 public int getMax() { method in class:ProgressDialog
247 return mProgress.getMax();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DDebugOverlayView.java185 mCb.onPrimarySeekBarChanged((float) progress / mPrimarySeekBar.getMax());
187 mCb.onSecondarySeekBarChanged((float) progress / mSecondarySeekBar.getMax());
/frameworks/base/core/java/com/android/internal/widget/
H A DTextProgressBar.java156 mProgressBar.getMax()) + params.leftMargin;
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DToggleSlider.java83 mMirror.setMax(mSlider.getMax());
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsPresenter.java153 return mProgressBar.getMax();
/frameworks/base/core/java/android/view/
H A DInputDevice.java793 public float getMax() { method in class:InputDevice.MotionRange
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DProgressBarCompat.java458 * @param progress the new progress, between 0 and {@link #getMax()}
494 * @param secondaryProgress the new secondary progress, between 0 and {@link #getMax()}
523 * @return the current progress, between 0 and {@link #getMax()}
529 * @see #getMax()
539 * @return the current secondary progress, between 0 and {@link #getMax()}
545 * @see #getMax()
560 public synchronized int getMax() { method in class:ProgressBarCompat
569 * @see #getMax()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumePanel.java479 pw.print(" of "); pw.print(sc.seekbarView.getMax());
1072 if (sc.seekbarView.getMax() != max) {
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java165 public float getMax() { method in class:AccessibilityNodeInfoCompat.RangeInfoCompat
166 return AccessibilityNodeInfoCompatKitKat.RangeInfo.getMax(mInfo);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java2530 parcel.writeFloat(mRangeInfo.getMax());
3469 public float getMax() { method in class:AccessibilityNodeInfo.RangeInfo

Completed in 904 milliseconds