Home
last modified time | relevance | path

Searched refs:posBase (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DLabeledSeekBar.java201 int posBase = Math.max(0, in getVirtualViewIdIndexFromX() local
203 posBase = (posBase + 1) / 2; in getVirtualViewIdIndexFromX()
204 posBase = Math.min(posBase, LabeledSeekBar.this.getMax()); in getVirtualViewIdIndexFromX()
205 return mIsLayoutRtl ? LabeledSeekBar.this.getMax() - posBase : posBase; in getVirtualViewIdIndexFromX()
/packages/apps/Settings/src/com/android/settings/widget/
DLabeledSeekBar.java201 int posBase = Math.max(0, in getVirtualViewIdIndexFromX() local
203 posBase = (posBase + 1) / 2; in getVirtualViewIdIndexFromX()
204 posBase = Math.min(posBase, LabeledSeekBar.this.getMax()); in getVirtualViewIdIndexFromX()
205 return mIsLayoutRtl ? LabeledSeekBar.this.getMax() - posBase : posBase; in getVirtualViewIdIndexFromX()