Searched refs:expr (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Calculator/src/com/android/calculator2/ |
D | CalculatorExpressionEvaluator.java | 44 public void evaluate(CharSequence expr, EvaluateCallback callback) { in evaluate() argument 45 evaluate(expr.toString(), callback); in evaluate() 48 public void evaluate(String expr, EvaluateCallback callback) { in evaluate() argument 49 expr = mTokenizer.getNormalizedExpression(expr); in evaluate() 52 while (expr.length() > 0 && "+-/*".indexOf(expr.charAt(expr.length() - 1)) != -1) { in evaluate() 53 expr = expr.substring(0, expr.length() - 1); in evaluate() 57 if (expr.length() == 0 || Double.valueOf(expr) != null) { in evaluate() 58 callback.onEvaluate(expr, null, Calculator.INVALID_RES_ID); in evaluate() 66 double result = mSymbols.eval(expr); in evaluate() 68 callback.onEvaluate(expr, null, R.string.error_nan); in evaluate() [all …]
|
D | CalculatorExpressionTokenizer.java | 66 public String getNormalizedExpression(String expr) { in getNormalizedExpression() argument 68 expr = expr.replace(replacementEntry.getValue(), replacementEntry.getKey()); in getNormalizedExpression() 70 return expr; in getNormalizedExpression() 73 public String getLocalizedExpression(String expr) { in getLocalizedExpression() argument 75 expr = expr.replace(replacementEntry.getKey(), replacementEntry.getValue()); in getLocalizedExpression() 77 return expr; in getLocalizedExpression()
|
D | CalculatorExpressionBuilder.java | 47 final String expr = mTokenizer.getNormalizedExpression(toString()); in replace() local 51 final int index = expr.lastIndexOf('.'); in replace() 52 if (index != -1 && TextUtils.isDigitsOnly(expr.substring(index + 1, start))) { in replace() 66 while (start > 0 && "+-*/".indexOf(expr.charAt(start - 1)) != -1) { in replace() 72 if (start > 0 && "+-".indexOf(expr.charAt(start - 1)) != -1) { in replace()
|
D | Calculator.java | 256 public void onEvaluate(String expr, String result, int errorResourceId) { in onEvaluate() argument
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/etc/ |
D | make-keyboard-text | 21 newProg=`expr "${newProg}" : ".* -> \(.*\)$"` 22 if expr "x${newProg}" : 'x/' >/dev/null; then
|
/packages/inputmethods/LatinIME/tools/dicttool/etc/ |
D | dicttool_aosp | 21 newProg=`expr "${newProg}" : ".* -> \(.*\)$"` 22 if expr "x${newProg}" : 'x/' >/dev/null; then
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorExpr.java | 310 PreEval(CR val, BoundedRational ratVal, CalculatorExpr expr, in PreEval() argument 314 mExpr = expr; in PreEval() 406 private CalculatorExpr(ArrayList<Token> expr) { in CalculatorExpr() argument 407 mExpr = expr; in CalculatorExpr()
|
/packages/apps/Calculator/ |
D | arity-2.1.2.jar | ... .EvalCase extends java.lang.Object {
String expr
double result
org.javia.arity.Complex cResult ... |
/packages/apps/Messaging/build/gcheckstyle/ |
D | google-style-checker_deploy.jar | META-INF/
META-INF/MANIFEST.MF
build-data.properties
com/
com ... |