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/util/
H A DRational.java27 * Rational number. </p>
29 public final class Rational extends Number implements Comparable<Rational> { class in inherits:Number,Comparable
31 * Constant for the <em>Not-a-Number (NaN)</em> value of the {@code Rational} type.
40 public static final Rational NaN = new Rational(0, 0);
43 * Constant for the positive infinity value of the {@code Rational} type.
48 public static final Rational POSITIVE_INFINITY = new Rational(1, 0);
51 * Constant for the negative infinity value of the {@code Rational} typ
101 public Rational(int numerator, int denominator) { method in class:Rational
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp203 class Rational { class
205 Rational(void) : _n(0), _d(1) {} function in class:Rational
206 Rational(uint32_t n, uint32_t d) : _n(n), _d(d) {} function in class:Rational
211 bool operator==(const Rational& other) const;
212 bool operator!=(const Rational& other) const { return !(*this == other); }
213 bool operator<(const Rational& other) const;
214 bool operator>(const Rational& other) const {
218 Rational& lower, Rational& upper);
262 Rational hScal
[all...]

Completed in 136 milliseconds