Searched defs:Rational (Results 1 - 5 of 5) 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.cpp202 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 DExifInterface.java555 private static class Rational { class in class:ExifInterface
559 private Rational(long numerator, long denominator) { method in class:ExifInterface.Rational
649 public static ExifAttribute createURational(Rational[] values, ByteOrder byteOrder) {
653 for (Rational value : values) {
660 public static ExifAttribute createURational(Rational value, ByteOrder byteOrder) {
661 return createURational(new Rational[] {value}, byteOrder);
664 public static ExifAttribute createSRational(Rational[] values, ByteOrder byteOrder) {
668 for (Rational value : values) {
675 public static ExifAttribute createSRational(Rational value, ByteOrder byteOrder) {
676 return createSRational(new Rational[] {valu
[all...]
/frameworks/support/exifinterface/src/main/java/androidx/exifinterface/media/
H A DExifInterface.java2902 private static class Rational { class in class:ExifInterface
2906 private Rational(double value) { method in class:ExifInterface.Rational
2910 private Rational(long numerator, long denominator) { method in class:ExifInterface.Rational
3000 public static ExifAttribute createURational(Rational[] values, ByteOrder byteOrder) {
3004 for (Rational value : values) {
3011 public static ExifAttribute createURational(Rational value, ByteOrder byteOrder) {
3012 return createURational(new Rational[] {value}, byteOrder);
3015 public static ExifAttribute createSRational(Rational[] values, ByteOrder byteOrder) {
3019 for (Rational value : values) {
3026 public static ExifAttribute createSRational(Rational valu
[all...]

Completed in 185 milliseconds