Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorExpr.java469 int lastOp = lastTok instanceof Operator ? ((Operator) lastTok).id : 0; in add() local
473 if (s == 0 || lastOp == R.id.lparen || KeyMaps.isFunc(lastOp) in add()
474 || KeyMaps.isPrefix(lastOp) && lastOp != R.id.op_sub) { in add()
529 int lastOp = ((Operator) lastTok).id; in removeTrailingAdditiveOperators() local
530 if (lastOp != R.id.op_add && lastOp != R.id.op_sub) { in removeTrailingAdditiveOperators()