Searched defs:Rational (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DRational.java21 * numerator and denominator of a Rational number.
23 public class Rational { class
29 * Create a Rational with a given numerator and denominator.
34 public Rational(long nominator, long denominator) { method in class:Rational
40 * Create a copy of a Rational.
42 public Rational(Rational r) { method in class:Rational
77 if (obj instanceof Rational) {
78 Rational data = (Rational) ob
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DRational.java20 * numerator and denominator of a Rational number. This type is immutable.
22 public final class Rational { class
27 * <p>Create a Rational with a given numerator and denominator.</p>
38 public Rational(int numerator, int denominator) { method in class:Rational
79 * <p>Compare this Rational to another object and see if they are equal.</p>
81 * <p>A Rational object can only be equal to another Rational object (comparing against any other
84 * <p>A Rational object is considered equal to another Rational object if and only if one of
91 * <p>A reduced form of a Rational i
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp204 class Rational { class
206 Rational(void) : _n(0), _d(1) {} function in class:Rational
207 Rational(uint32_t n, uint32_t d) : _n(n), _d(d) {} function in class:Rational
212 bool operator==(const Rational& other) const;
213 bool operator!=(const Rational& other) const { return !(*this == other); }
214 bool operator<(const Rational& other) const;
215 bool operator>(const Rational& other) const {
219 Rational& lower, Rational& upper);
263 Rational hScal
[all...]

Completed in 120 milliseconds