Home
last modified time | relevance | path

Searched refs:getDenominator (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java63 assertEquals(2, r.getDenominator()); in testConstructor()
68 assertEquals(2, r.getDenominator()); in testConstructor()
73 assertEquals(2, r.getDenominator()); in testConstructor()
78 assertEquals(2, r.getDenominator()); in testConstructor()
83 assertEquals(0, r.getDenominator()); in testConstructor()
88 assertEquals(0, r.getDenominator()); in testConstructor()
93 assertEquals(0, r.getDenominator()); in testConstructor()
100 assertEquals(2, r.getDenominator()); in testEquals()
172 assertEquals(7, moreComplicated.getDenominator()); in testReduction()
176 assertEquals(0, posInf.getDenominator()); in testReduction()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifTag.java738 if (r != null && r.length >= 1 && r[0].getDenominator() != 0) { in forceGetValueAsLong()
941 if (v.getNumerator() < 0 || v.getDenominator() < 0 in checkOverflowForUnsignedRational()
943 || v.getDenominator() > UNSIGNED_LONG_MAX) { in checkOverflowForUnsignedRational()
952 if (v.getNumerator() < LONG_MIN || v.getDenominator() < LONG_MIN in checkOverflowForRational()
954 || v.getDenominator() > LONG_MAX) { in checkOverflowForRational()
DRational.java57 public long getDenominator() { in getDenominator() method in Rational
DOrderedDataOutputStream.java53 writeInt((int) rational.getDenominator()); in writeRational()
DExifModifier.java175 mByteBuffer.putInt((int) v.getDenominator()); in writeTagValue()
/frameworks/base/core/java/android/util/
DRational.java148 public int getDenominator() { in getDenominator() method in Rational
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryablePrimitive.java122 buffer.putInt(value.getDenominator()); in marshalPrimitive()
/frameworks/base/core/java/android/hardware/camera2/params/
DColorSpaceTransform.java83 mElements[i * RATIONAL_SIZE + OFFSET_DENOMINATOR] = elements[i].getDenominator(); in ColorSpaceTransform()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Capabilities.java79 mExposureCompensationStep = (float) ecStep.getNumerator() / ecStep.getDenominator(); in AndroidCamera2Capabilities()
/frameworks/base/media/java/android/media/
DUtils.java155 (int)(ratio.getDenominator() * (double)den)); // saturate to int
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/api/
Dcurrent.txt34283 method public int getDenominator();
Dsystem-current.txt36575 method public int getDenominator();