Home
last modified time | relevance | path

Searched refs:mDenominator (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/util/
DRational.java84 private final int mDenominator; field in Rational
117 mDenominator = 0; in Rational()
120 mDenominator = 0; in Rational()
123 mDenominator = 0; in Rational()
126 mDenominator = 1; in Rational()
131 mDenominator = denominator / gcd; in Rational()
155 return mDenominator; in getDenominator()
167 return mDenominator == 0 && mNumerator == 0; in isNaN()
179 return mNumerator != 0 && mDenominator == 0; in isInfinite()
192 return mDenominator != 0; in isFinite()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DRational.java26 private final long mDenominator; field in Rational
36 mDenominator = denominator; in Rational()
44 mDenominator = r.mDenominator; in Rational()
58 return mDenominator; in getDenominator()
66 return mNumerator / (double) mDenominator; in toDouble()
79 return mNumerator == data.mNumerator && mDenominator == data.mDenominator; in equals()
86 return mNumerator + "/" + mDenominator; in toString()
/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DIntegerRatio.cpp30 if (mNumerator < prime || mDenominator < prime) { in reduce()
37 int bottom = mDenominator / prime; in reduce()
41 && (bottom * prime == mDenominator)) { in reduce()
43 mDenominator = bottom; in reduce()
DIntegerRatio.h32 : mNumerator(numerator), mDenominator(denominator) {} in IntegerRatio()
44 return mDenominator; in getDenominator()
49 int32_t mDenominator; variable
DMultiChannelResampler.h167 return mIntegerPhase >= mDenominator; in isWriteNeeded()
221 mIntegerPhase -= mDenominator; in advanceWrite()
256 int32_t mDenominator = 0; variable
DMultiChannelResampler.cpp42 mDenominator = ratio.getDenominator(); in MultiChannelResampler()
43 mIntegerPhase = mDenominator; in MultiChannelResampler()
DLinearResampler.cpp35 float phase = (float) getIntegerPhase() / mDenominator; in readFrame()
DPolyphaseResampler.cpp32 int32_t numRows = mDenominator; in PolyphaseResampler()
DSincResampler.cpp28 mPhaseScaler = (double) mNumRows / mDenominator; in SincResampler()