Searched defs:Rational (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | Rational.java | 21 * 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 D | Rational.java | 27 * 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 D | hwcCommit.cpp | 202 class Rational { class 204 Rational(void) : _n(0), _d(1) {} function in class:Rational 205 Rational(uint32_t n, uint32_t d) : _n(n), _d(d) {} function in class:Rational 210 bool operator==(const Rational& other) const; 211 bool operator!=(const Rational& other) const { return !(*this == other); } 212 bool operator<(const Rational& other) const; 213 bool operator>(const Rational& other) const { 217 Rational& lower, Rational& upper); 261 Rational hScal [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 414 private static class Rational { class in class:ExifInterface 418 private Rational(long numerator, long denominator) { method in class:ExifInterface.Rational 508 public static ExifAttribute createURational(Rational[] values, ByteOrder byteOrder) { 512 for (Rational value : values) { 519 public static ExifAttribute createURational(Rational value, ByteOrder byteOrder) { 520 return createURational(new Rational[] {value}, byteOrder); 523 public static ExifAttribute createSRational(Rational[] values, ByteOrder byteOrder) { 527 for (Rational value : values) { 534 public static ExifAttribute createSRational(Rational value, ByteOrder byteOrder) { 535 return createSRational(new Rational[] {valu [all...] |
Completed in 186 milliseconds