Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorResult.java80 private int mMaxCharOffset; // Character offset from decimal point of rightmost digit field in CalculatorResult
258 mMaxCharOffset = (int) Math.round(mMaxPos/charWidth); in initPositions()
262 mMaxPos = mMaxCharOffset = MAX_RIGHT_SCROLL; in initPositions()
277 mMaxCharOffset = MAX_RIGHT_SCROLL; // How far does it make sense to scroll right? in initPositions()
287 mMaxCharOffset = lsdOffset; in initPositions()
288 if (mMaxCharOffset < -1 && mMaxCharOffset > -(MAX_TRAILING_ZEROES + 2)) { in initPositions()
289 mMaxCharOffset = -1; in initPositions()
293 if (mMaxCharOffset < -1) { in initPositions()
295 } else if (minCharOffset > -1 || mMaxCharOffset >= maxChars) { in initPositions()
300 mScrollable = (mMaxCharOffset + currentExpLen - minCharOffset + negative >= maxChars); in initPositions()
[all …]