Searched refs:getDenominator (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RationalTest.java | 63 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/ |
D | ExifTag.java | 738 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()
|
D | Rational.java | 57 public long getDenominator() { in getDenominator() method in Rational
|
D | OrderedDataOutputStream.java | 53 writeInt((int) rational.getDenominator()); in writeRational()
|
D | ExifModifier.java | 175 mByteBuffer.putInt((int) v.getDenominator()); in writeTagValue()
|
/frameworks/base/core/java/android/util/ |
D | Rational.java | 148 public int getDenominator() { in getDenominator() method in Rational
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryablePrimitive.java | 122 buffer.putInt(value.getDenominator()); in marshalPrimitive()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | ColorSpaceTransform.java | 83 mElements[i * RATIONAL_SIZE + OFFSET_DENOMINATOR] = elements[i].getDenominator(); in ColorSpaceTransform()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2Capabilities.java | 79 mExposureCompensationStep = (float) ecStep.getNumerator() / ecStep.getDenominator(); in AndroidCamera2Capabilities()
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 155 (int)(ratio.getDenominator() * (double)den)); // saturate to int
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 1571 (float) compensationStep.getNumerator() / compensationStep.getDenominator(); in getAeCompensationStepChecked()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 31764 method public int getDenominator();
|
/frameworks/base/api/ |
D | current.txt | 40598 method public int getDenominator();
|
D | system-current.txt | 43775 method public int getDenominator();
|
D | test-current.txt | 40684 method public int getDenominator();
|