Home
last modified time | relevance | path

Searched refs:mNumerator (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/
DRational.java23 private final int mNumerator; field in Rational
45 mNumerator = numerator; in Rational()
56 return mNumerator; in getNumerator()
67 return mDenominator == 0 && mNumerator == 0; in isNaN()
71 return mDenominator == 0 && mNumerator > 0; in isInf()
75 return mDenominator == 0 && mNumerator < 0; in isNegInf()
121 } else if (mNumerator == other.mNumerator && mDenominator == other.mDenominator) { in equals()
127 int thisNumerator = mNumerator / thisGcd; in equals()
130 int otherNumerator = other.mNumerator / otherGcd; in equals()
148 return mNumerator + "/" + mDenominator; in toString()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DRational.java25 private final long mNumerator; field in Rational
35 mNumerator = nominator; in Rational()
43 mNumerator = r.mNumerator; in Rational()
51 return mNumerator; in getNumerator()
66 return mNumerator / (double) mDenominator; in toDouble()
79 return mNumerator == data.mNumerator && mDenominator == data.mDenominator; in equals()
86 return mNumerator + "/" + mDenominator; in toString()