Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DBoundedRational.java157 return mNum.multiply(r.mDen).compareTo(r.mNum.multiply(mDen)) * mDen.signum() in compareTo()
191 final BigInteger den = r1.mDen.multiply(r2.mDen); in add()
192 final BigInteger num = r1.mNum.multiply(r2.mDen).add(r2.mNum.multiply(r1.mDen)); in add()
207 static BoundedRational multiply(BoundedRational r1, BoundedRational r2) { in multiply() method in BoundedRational
213 final BigInteger num = r1.mNum.multiply(r2.mNum); in multiply()
214 final BigInteger den = r1.mDen.multiply(r2.mDen); in multiply()
238 return multiply(r1, inverse(r2)); in divide()
251 if (!num_sqrt.multiply(num_sqrt).equals(r.mNum)) { in sqrt()
255 if (!den_sqrt.multiply(den_sqrt).equals(r.mDen)) { in sqrt()
359 final BigInteger r2_BI = asBigInteger(multiply(r, TWO)); in degreeAsin()
[all …]
DCalculatorExpr.java236 num = num.multiply(BigInteger.TEN.pow(mExponent)); in toRational()
239 den = den.multiply(BigInteger.TEN.pow(-mExponent)); in toRational()
673 return x.multiply(RADIANS_PER_DEGREE); in toRadians()
681 return x.multiply(DEGREES_PER_RADIAN); in fromRadians()
883 return pow(base, exp.subtract(BigInteger.ONE)).multiply(base); in pow()
889 return tmp.multiply(tmp); in pow()
926 ratVal = BoundedRational.multiply(ratVal, ratVal); in evalSuffix()
928 crVal = crVal.multiply(crVal); in evalSuffix()
933 ratVal = BoundedRational.multiply(ratVal, RATIONAL_ONE_HUNDREDTH); in evalSuffix()
935 crVal = crVal.multiply(REAL_ONE_HUNDREDTH); in evalSuffix()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DColorSpaceMatrix.java63 private void multiply(float[] a) in multiply() method in ColorSpaceMatrix
91 multiply(tmp); in xRotateMatrix()
104 multiply(tmp); in yRotateMatrix()
116 multiply(tmp); in zRotateMatrix()
126 multiply(tmp); in zShearMatrix()
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/
DBRTest.java60 return x.multiply(RADIANS_PER_DEGREE); in toRadians()
64 return x.multiply(DEGREES_PER_RADIAN); in fromRadians()
75 checkEq(BoundedRational.multiply(x, BR_15), in checkBR()
76 xAsCR.multiply(CR.valueOf(15)), "multiply 15:" + x); in checkBR()
99 CR.valueOf(15).ln().multiply(xAsCR).exp(), in checkBR()
123 xAsCR.ln().multiply(CR.valueOf(15)).exp(), in checkBR()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMatrixUtilsTests.java43 MatrixUtils.multiply(matrixA, matrixB, retval);
74 MatrixUtils.multiply(matrix, inverse, retval);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DSmoothingUtils.java92 MatrixUtils.multiply(m0Inv, m1, m0Invxm1); in get3DParameters()
97 MatrixUtils.multiply(m0Invxm1, m2, retval); in get3DParameters()
DMatrixUtils.java123 public static void multiply(final float[][] m0, final float[][] m1, in multiply() method in MatrixUtils
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java277 out.add(p.multiply(w)); in invDistWeightedInterpolate()
279 return out.multiply(1.0f/weights); in invDistWeightedInterpolate()
288 private InvariantDeviceProfile multiply(float w) { in multiply() method in InvariantDeviceProfile
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt3941 method multiply
5315 method multiply
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz