Home
last modified time | relevance | path

Searched refs:getNumerator (Results 1 – 16 of 16) 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/app/
DPictureInPictureParams.java259 out.writeInt(mAspectRatio.getNumerator()); in writeToParcel()
DPictureInPictureArgs.java330 out.writeInt(mAspectRatio.getNumerator()); in writeToParcel()
/frameworks/base/core/java/android/util/
DRational.java139 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.java163 (int)(ratio.getNumerator() * (double)num), // saturate to int
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java1600 (float) compensationStep.getNumerator() / compensationStep.getDenominator(); in getAeCompensationStepChecked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31765 method public int getNumerator();
/frameworks/base/non-updatable-api/
Dcurrent.txt49539 method public int getNumerator();
/frameworks/base/api/
Dcurrent.txt49683 method public int getNumerator();