Searched refs:getNumerator (Results 1 – 13 of 13) sorted by relevance
62 assertEquals(1, r.getNumerator()); in testConstructor()67 assertEquals(-1, r.getNumerator()); in testConstructor()72 assertEquals(-1, r.getNumerator()); in testConstructor()77 assertEquals(1, r.getNumerator()); in testConstructor()82 assertEquals(1, r.getNumerator()); in testConstructor()87 assertEquals(-1, r.getNumerator()); in testConstructor()92 assertEquals(0, r.getNumerator()); in testConstructor()99 assertEquals(1, r.getNumerator()); in testEquals()171 assertEquals(5, moreComplicated.getNumerator()); in testReduction()175 assertEquals(1, posInf.getNumerator()); in testReduction()[all …]
50 public long getNumerator() { in getNumerator() method in Rational
941 if (v.getNumerator() < 0 || v.getDenominator() < 0 in checkOverflowForUnsignedRational()942 || v.getNumerator() > UNSIGNED_LONG_MAX in checkOverflowForUnsignedRational()952 if (v.getNumerator() < LONG_MIN || v.getDenominator() < LONG_MIN in checkOverflowForRational()953 || v.getNumerator() > LONG_MAX in checkOverflowForRational()
52 writeInt((int) rational.getNumerator()); in writeRational()
174 mByteBuffer.putInt((int) v.getNumerator()); in writeTagValue()
135 public int getNumerator() { in getNumerator() method in Rational
121 buffer.putInt(value.getNumerator()); in marshalPrimitive()
82 mElements[i * RATIONAL_SIZE + OFFSET_NUMERATOR] = elements[i].getNumerator(); in ColorSpaceTransform()
79 mExposureCompensationStep = (float) ecStep.getNumerator() / ecStep.getDenominator(); in AndroidCamera2Capabilities()
154 (int)(ratio.getNumerator() * (double)num), // saturate to int
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
34284 method public int getNumerator();
36576 method public int getNumerator();