Home
last modified time | relevance | path

Searched refs:getDenominator (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java64 assertEquals(2, r.getDenominator()); in testConstructor()
69 assertEquals(2, r.getDenominator()); in testConstructor()
74 assertEquals(2, r.getDenominator()); in testConstructor()
79 assertEquals(2, r.getDenominator()); in testConstructor()
84 assertEquals(0, r.getDenominator()); in testConstructor()
89 assertEquals(0, r.getDenominator()); in testConstructor()
94 assertEquals(0, r.getDenominator()); in testConstructor()
101 assertEquals(2, r.getDenominator()); in testEquals()
173 assertEquals(7, moreComplicated.getDenominator()); in testReduction()
177 assertEquals(0, posInf.getDenominator()); in testReduction()
[all …]
/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DMultiChannelResampler.cpp42 mDenominator = ratio.getDenominator(); in MultiChannelResampler()
89 bool usePolyphase = (getNumTaps() * ratio.getDenominator()) <= kMaxCoefficients; in build()
DIntegerRatio.h43 int32_t getDenominator() { in getDenominator() function
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifTag.java738 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()
DRational.java57 public long getDenominator() { in getDenominator() method in Rational
DOrderedDataOutputStream.java53 writeInt((int) rational.getDenominator()); in writeRational()
DExifModifier.java175 mByteBuffer.putInt((int) v.getDenominator()); in writeTagValue()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryablePrimitive.java122 buffer.putInt(value.getDenominator()); in marshalPrimitive()
/frameworks/base/core/java/android/util/
DRational.java156 public int getDenominator() { in getDenominator() method in Rational
/frameworks/base/core/java/android/hardware/camera2/params/
DColorSpaceTransform.java83 mElements[i * RATIONAL_SIZE + OFFSET_DENOMINATOR] = elements[i].getDenominator(); in ColorSpaceTransform()
/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.cpp533 const int outputSize = ratio.getDenominator(); in checkSampleRateConversionVariedSizes()
608 const int outputSize = ratio.getDenominator(); in checkSampleRateConversionPullLater()
/frameworks/base/core/java/android/app/
DPictureInPictureParams.java741 out.writeInt(rational.getDenominator()); in writeRationalToParcel()
/frameworks/base/media/java/android/media/
DUtils.java180 (int)(ratio.getDenominator() * (double)den)); // 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.java1255 assertEquals(4, ratio.getDenominator()); in testChangePipParams()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31764 method public int getDenominator();
/frameworks/base/core/api/
Dcurrent.txt50238 method public int getDenominator();