Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorExpr.java652 public final boolean mDegreeMode; field in CalculatorExpr.EvalContext
655 mDegreeMode = degreeMode; in EvalContext()
659 mDegreeMode = in.readBoolean(); in EvalContext()
663 out.writeBoolean(mDegreeMode); in write()
672 if (ec.mDegreeMode) { in toRadians()
680 if (ec.mDegreeMode) { in fromRadians()
769 ratVal = ec.mDegreeMode ? BoundedRational.degreeSin(argVal.ratVal) in evalUnary()
780 ratVal = ec.mDegreeMode ? BoundedRational.degreeCos(argVal.ratVal) in evalUnary()
791 ratVal = ec.mDegreeMode ? BoundedRational.degreeTan(argVal.ratVal) in evalUnary()
833 ratVal = ec.mDegreeMode ? BoundedRational.degreeAsin(argVal.ratVal) in evalUnary()
[all …]
DEvaluator.java150 private boolean mDegreeMode; // Currently in degree (not radian) mode. field in Evaluator
191 mDegreeMode = mSharedPrefs.getBoolean(KEY_PREF_DEGREE_MODE, false); in Evaluator()
864 mEvaluator = new AsyncEvaluator(mDegreeMode, required); in evaluateResult()
946 mDegreeMode = in.readBoolean(); in restoreInstanceState()
963 out.writeBoolean(mDegreeMode); in saveInstanceState()
1001 mDegreeMode = degreeMode; in setDegreeMode()
1009 return mDegreeMode; in getDegreeMode()
1018 return mExpr.abbreviate(mVal, mRatVal, mDegreeMode, in getResultExpr()