Searched refs:CalculatorState (Results 1 – 2 of 2) sorted by relevance
84 private enum CalculatorState { enum in Calculator143 if (mCurrentState != CalculatorState.EVALUATE) {194 private CalculatorState mCurrentState;271 setState(CalculatorState.values()[ in onCreate()273 CalculatorState.INPUT.ordinal())]); in onCreate()284 mCurrentState = CalculatorState.INPUT; in onCreate()289 mCurrentState = CalculatorState.INPUT; in onCreate()301 if (mCurrentState != CalculatorState.INPUT) { in onCreate()304 setState(CalculatorState.INIT); in onCreate()339 private void setState(CalculatorState state) { in setState()[all …]
62 private enum CalculatorState { enum in Calculator77 setState(CalculatorState.INPUT);101 final boolean isEdited = mCurrentState == CalculatorState.INPUT102 || mCurrentState == CalculatorState.ERROR;107 private CalculatorState mCurrentState;142 setState(CalculatorState.values()[ in onCreate()143 savedInstanceState.getInt(KEY_CURRENT_STATE, CalculatorState.INPUT.ordinal())]); in onCreate()170 private void setState(CalculatorState state) { in setState()174 if (state == CalculatorState.RESULT || state == CalculatorState.ERROR) { in setState()182 if (state == CalculatorState.ERROR) { in setState()[all …]