Searched refs:getNumerator (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RationalTest.java | 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 …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | Rational.java | 50 public long getNumerator() { in getNumerator() method in Rational
|
D | ExifTag.java | 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()
|
D | OrderedDataOutputStream.java | 52 writeInt((int) rational.getNumerator()); in writeRational()
|
D | ExifModifier.java | 174 mByteBuffer.putInt((int) v.getNumerator()); in writeTagValue()
|
/frameworks/base/core/java/android/app/ |
D | PictureInPictureParams.java | 259 out.writeInt(mAspectRatio.getNumerator()); in writeToParcel()
|
D | PictureInPictureArgs.java | 330 out.writeInt(mAspectRatio.getNumerator()); in writeToParcel()
|
/frameworks/base/core/java/android/util/ |
D | Rational.java | 139 public int getNumerator() { in getNumerator() method in Rational
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryablePrimitive.java | 121 buffer.putInt(value.getNumerator()); in marshalPrimitive()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | ColorSpaceTransform.java | 82 mElements[i * RATIONAL_SIZE + OFFSET_NUMERATOR] = elements[i].getNumerator(); 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 | 163 (int)(ratio.getNumerator() * (double)num), // saturate to int
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 1600 (float) compensationStep.getNumerator() / compensationStep.getDenominator(); in getAeCompensationStepChecked()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 31765 method public int getNumerator();
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 49539 method public int getNumerator();
|
/frameworks/base/api/ |
D | current.txt | 49683 method public int getNumerator();
|