Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java63 assertEquals(1, r.getNumerator()); in testConstructor()
68 assertEquals(-1, r.getNumerator()); in testConstructor()
73 assertEquals(-1, r.getNumerator()); in testConstructor()
78 assertEquals(1, r.getNumerator()); in testConstructor()
83 assertEquals(1, r.getNumerator()); in testConstructor()
88 assertEquals(-1, r.getNumerator()); in testConstructor()
93 assertEquals(0, r.getNumerator()); in testConstructor()
100 assertEquals(1, r.getNumerator()); in testEquals()
172 assertEquals(5, moreComplicated.getNumerator()); in testReduction()
176 assertEquals(1, posInf.getNumerator()); in testReduction()
[all …]
/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DIntegerRatio.h39 int32_t getNumerator() { in getNumerator() function
DMultiChannelResampler.cpp41 mNumerator = ratio.getNumerator(); in MultiChannelResampler()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DRational.java50 public long getNumerator() { in getNumerator() method in Rational
DOrderedDataOutputStream.java52 writeInt((int) rational.getNumerator()); in writeRational()
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()
DExifModifier.java174 mByteBuffer.putInt((int) v.getNumerator()); in writeTagValue()
/frameworks/base/core/java/android/hardware/camera2/params/
DColorSpaceTransform.java82 mElements[i * RATIONAL_SIZE + OFFSET_NUMERATOR] = elements[i].getNumerator(); in ColorSpaceTransform()
/frameworks/base/core/java/android/util/
DRational.java143 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/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Capabilities.java79 mExposureCompensationStep = (float) ecStep.getNumerator() / ecStep.getDenominator(); in AndroidCamera2Capabilities()
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp532 const int inputSize = ratio.getNumerator(); in checkSampleRateConversionVariedSizes()
607 const int inputSize = ratio.getNumerator(); in checkSampleRateConversionPullLater()
/frameworks/base/core/java/android/app/
DPictureInPictureParams.java740 out.writeInt(rational.getNumerator()); in writeRationalToParcel()
/frameworks/base/media/java/android/media/
DUtils.java179 (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/base/services/tests/wmtests/src/com/android/server/wm/
DWindowOrganizerTests.java1254 assertEquals(3, ratio.getNumerator()); in testChangePipParams()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31765 method public int getNumerator();
/frameworks/base/core/api/
Dcurrent.txt50239 method public int getNumerator();