Home
last modified time | relevance | path

Searched refs:mDefaultProgress (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDefaultIndicatorSeekBar.java27 private int mDefaultProgress = -1; field in DefaultIndicatorSeekBar
51 if (isEnabled() && mDefaultProgress <= getMax() && mDefaultProgress >= getMin()) { in drawTickMarks()
64 final float scale = range > 0f ? mDefaultProgress / (float) range : 0f; in drawTickMarks()
80 if (mDefaultProgress != defaultProgress) { in setDefaultProgress()
81 mDefaultProgress = defaultProgress; in setDefaultProgress()
87 return mDefaultProgress; in getDefaultProgress()
DSeekBarPreference.java48 private int mDefaultProgress = -1; field in SeekBarPreference
117 ((DefaultIndicatorSeekBar) mSeekBar).setDefaultProgress(mDefaultProgress); in onBindViewHolder()
206 if (mDefaultProgress != defaultProgress) { in setDefaultProgress()
207 mDefaultProgress = defaultProgress; in setDefaultProgress()
209 ((DefaultIndicatorSeekBar) mSeekBar).setDefaultProgress(mDefaultProgress); in setDefaultProgress()
/packages/apps/Settings/src/com/android/settings/widget/
DDefaultIndicatorSeekBar.java27 private int mDefaultProgress = -1; field in DefaultIndicatorSeekBar
51 if (isEnabled() && mDefaultProgress <= getMax() && mDefaultProgress >= getMin()) { in drawTickMarks()
64 final float scale = range > 0f ? mDefaultProgress / (float) range : 0f; in drawTickMarks()
80 if (mDefaultProgress != defaultProgress) { in setDefaultProgress()
81 mDefaultProgress = defaultProgress; in setDefaultProgress()
87 return mDefaultProgress; in getDefaultProgress()
DSeekBarPreference.java48 private int mDefaultProgress = -1; field in SeekBarPreference
128 ((DefaultIndicatorSeekBar) mSeekBar).setDefaultProgress(mDefaultProgress); in onBindViewHolder()
217 if (mDefaultProgress != defaultProgress) { in setDefaultProgress()
218 mDefaultProgress = defaultProgress; in setDefaultProgress()
220 ((DefaultIndicatorSeekBar) mSeekBar).setDefaultProgress(mDefaultProgress); in setDefaultProgress()