Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DBoundedRational.java50 mDen = BigInteger.ONE; in BoundedRational()
79 if (!nicer.mDen.equals(BigInteger.ONE)) { in toNiceString()
110 if (mDen.equals(BigInteger.ONE)) { in tooBig()
131 if (mDen.equals(BigInteger.ONE)) { in reduce()
264 public final static BoundedRational ONE = new BoundedRational(1); field in BoundedRational
290 return ONE; in map0to1()
336 return ONE; in degreeSin()
406 if (r_BI.abs().compareTo(BigInteger.ONE) > 0) { in degreeAtan()
450 if (exp.equals(BigInteger.ONE)) { in pow()
453 if (exp.and(BigInteger.ONE).intValue() == 1) { in pow()
[all …]
DCalculatorExpr.java879 if (exp.equals(BigInteger.ONE)) { in pow()
882 if (exp.and(BigInteger.ONE).intValue() == 1) { in pow()
883 return pow(base, exp.subtract(BigInteger.ONE)).multiply(base); in pow()
895 BigInteger.ONE.shiftLeft(-TEST_PREC).subtract(BigInteger.ONE);
1074 ratVal = BoundedRational.add(BoundedRational.ONE, in getPercentFactor()
1077 crVal = CR.ONE.add(crVal.multiply(REAL_ONE_HUNDREDTH)); in getPercentFactor()
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/
DBRTest.java71 checkEq(BoundedRational.add(x, BoundedRational.ONE), xAsCR.add(CR_1), in checkBR()
102 if (x.compareTo(BoundedRational.ONE) <= 0 in checkBR()
154 check(BoundedRational.fact(BoundedRational.ZERO).equals(BoundedRational.ONE), "0!"); in testBR()
155 check(BoundedRational.fact(BoundedRational.ONE).equals(BoundedRational.ONE), "1!"); in testBR()
167 checkBR(BoundedRational.ONE); in testBR()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java58 private static final Integer ONE = Integer.valueOf(1); field in SmsProvider
601 values.put(Sms.READ, ONE); in insertInner()
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt4989 attribute ONE
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...