HomeSort by relevance Sort by last modified time
    Searched defs:Rational (Results 1 - 13 of 13) sorted by null

  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
Rational.java 20 * The rational data type of EXIF tag. Contains a pair of longs representing the
21 * numerator and denominator of a Rational number.
23 public class Rational {
29 * Create a Rational with a given numerator and denominator.
34 public Rational(long nominator, long denominator) {
40 * Create a copy of a Rational.
42 public Rational(Rational r) {
48 * Gets the numerator of the rational.
55 * Gets the denominator of the rational
    [all...]
  /packages/apps/Camera2/src/com/android/camera/exif/
Rational.java 20 * The rational data type of EXIF tag. Contains a pair of longs representing the
21 * numerator and denominator of a Rational number.
23 public class Rational {
29 * Create a Rational with a given numerator and denominator.
34 public Rational(long nominator, long denominator) {
40 * Create a copy of a Rational.
42 public Rational(Rational r) {
48 * Gets the numerator of the rational.
55 * Gets the denominator of the rational
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
Rational.java 20 * The rational data type of EXIF tag. Contains a pair of longs representing the
21 * numerator and denominator of a Rational number.
23 public class Rational {
29 * Create a Rational with a given numerator and denominator.
34 public Rational(long nominator, long denominator) {
40 * Create a copy of a Rational.
42 public Rational(Rational r) {
48 * Gets the numerator of the rational.
55 * Gets the denominator of the rational
    [all...]
  /packages/apps/Launcher3/src/com/android/gallery3d/exif/
Rational.java 20 * The rational data type of EXIF tag. Contains a pair of longs representing the
21 * numerator and denominator of a Rational number.
23 public class Rational {
29 * Create a Rational with a given numerator and denominator.
34 public Rational(long nominator, long denominator) {
40 * Create a copy of a Rational.
42 public Rational(Rational r) {
48 * Gets the numerator of the rational.
55 * Gets the denominator of the rational
    [all...]
  /packages/apps/Mms/src/com/android/mms/exif/
Rational.java 20 * The rational data type of EXIF tag. Contains a pair of longs representing the
21 * numerator and denominator of a Rational number.
23 public class Rational {
29 * Create a Rational with a given numerator and denominator.
34 public Rational(long nominator, long denominator) {
40 * Create a copy of a Rational.
42 public Rational(Rational r) {
48 * Gets the numerator of the rational.
55 * Gets the denominator of the rational
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_abstract_numbers.py 5 from numbers import Complex, Real, Rational, Integral
30 self.assertFalse(issubclass(float, Rational))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_abstract_numbers.py 5 from numbers import Complex, Real, Rational, Integral
30 self.assertFalse(issubclass(float, Rational))
  /frameworks/base/core/java/android/hardware/camera2/
Rational.java 19 * The rational data type used by CameraMetadata keys. Contains a pair of ints representing the
20 * numerator and denominator of a Rational number. This type is immutable.
22 public final class Rational {
27 * <p>Create a Rational with a given numerator and denominator.</p>
32 * <p>A rational value with a 0-denominator may be constructed, but will have similar semantics
35 * @param numerator the numerator of the rational
36 * @param denominator the denominator of the rational
38 public Rational(int numerator, int denominator) {
50 * Gets the numerator of the rational.
60 * Gets the denominator of the rational
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
fractions.py 4 """Rational, infinite-precision, real numbers."""
15 Rational = numbers.Rational
44 class Fraction(Rational):
45 """This class implements rational numbers.
48 produce a rational number equivalent to 4/3. Both arguments must
49 be Rational. The numerator defaults to 0 and the denominator
61 - other Rational instances (including integers)
71 Takes a string like '3/2' or '1.5', another Rational instance, a
102 if isinstance(numerator, Rational)
    [all...]
numbers.py 11 __all__ = ["Number", "Complex", "Real", "Rational", "Integral"]
270 class Rational(Real):
295 class Integral(Rational):
375 # Concrete implementations of Rational and Real abstract methods.
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
fractions.py 4 """Rational, infinite-precision, real numbers."""
15 Rational = numbers.Rational
44 class Fraction(Rational):
45 """This class implements rational numbers.
48 produce a rational number equivalent to 4/3. Both arguments must
49 be Rational. The numerator defaults to 0 and the denominator
61 - other Rational instances (including integers)
71 Takes a string like '3/2' or '1.5', another Rational instance, a
102 if isinstance(numerator, Rational)
    [all...]
numbers.py 11 __all__ = ["Number", "Complex", "Real", "Rational", "Integral"]
270 class Rational(Real):
295 class Integral(Rational):
375 # Concrete implementations of Rational and Real abstract methods.
  /frameworks/native/opengl/tests/hwc/
hwcCommit.cpp 204 class Rational {
206 Rational(void) : _n(0), _d(1) {}
207 Rational(uint32_t n, uint32_t d) : _n(n), _d(d) {}
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 hScale
    [all...]

Completed in 851 milliseconds