Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java62 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 …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DRational.java50 public long getNumerator() { in getNumerator() method in Rational
DExifTag.java941 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()
DOrderedDataOutputStream.java52 writeInt((int) rational.getNumerator()); in writeRational()
DExifModifier.java174 mByteBuffer.putInt((int) v.getNumerator()); in writeTagValue()
/frameworks/base/core/java/android/util/
DRational.java135 public int getNumerator() { in getNumerator() method in Rational
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryablePrimitive.java121 buffer.putInt(value.getNumerator()); in marshalPrimitive()
/frameworks/base/core/java/android/hardware/camera2/params/
DColorSpaceTransform.java82 mElements[i * RATIONAL_SIZE + OFFSET_NUMERATOR] = elements[i].getNumerator(); 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.java154 (int)(ratio.getNumerator() * (double)num), // 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.txt34284 method public int getNumerator();
Dsystem-current.txt36576 method public int getNumerator();