Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorResult.java65 private int mCurrentPos;// Position of right of display relative to decimal point, in pixels. field in CalculatorResult
124 mCurrentPos = mScroller.getFinalX(); in CalculatorResult()
131 mScroller.fling(mCurrentPos, 0, - (int) velocityX, 0 /* horizontal only */, in CalculatorResult()
141 mCurrentPos = mScroller.getFinalX(); in CalculatorResult()
147 if (mCurrentPos + distance < mMinPos) { in CalculatorResult()
148 distance = mMinPos - mCurrentPos; in CalculatorResult()
149 } else if (mCurrentPos + distance > mMaxPos) { in CalculatorResult()
150 distance = mMaxPos - mCurrentPos; in CalculatorResult()
154 mScroller.startScroll(mCurrentPos, 0, distance, 0, (int)duration); in CalculatorResult()
251 mCurrentPos = mMinPos = (int) Math.round(initPrecOffset * charWidth); in initPositions()
[all …]