Searched refs:Scroll (Results 1 – 2 of 2) sorted by relevance
88 mDisplay.setText(text, CalculatorDisplay.Scroll.UP); in setText()93 scroll ? CalculatorDisplay.Scroll.UP : CalculatorDisplay.Scroll.NONE); in clearWithHistory()99 mDisplay.setText("", scroll ? CalculatorDisplay.Scroll.UP : CalculatorDisplay.Scroll.NONE); in clear()158 mDisplay.setText(mHistory.getText(), CalculatorDisplay.Scroll.DOWN); in onUp()168 mDisplay.setText(mHistory.getText(), CalculatorDisplay.Scroll.UP); in onDown()
41 enum Scroll { UP, DOWN, NONE } enum in CalculatorDisplay147 void setText(CharSequence text, Scroll dir) { in setText()149 dir = Scroll.NONE; in setText()152 if (dir == Scroll.UP) { in setText()155 } else if (dir == Scroll.DOWN) { in setText()