/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
RationalTest.java | 20 import android.hardware.camera2.Rational; 34 Rational r = new Rational(1, 2); 39 r = new Rational(-1, 2); 44 r = new Rational(1, -2); 49 r = new Rational(-1, -2); 54 r = new Rational(1, 0); 59 r = new Rational(-1, 0); 64 r = new Rational(0, 0); 71 Rational r = new Rational(1, 2) [all...] |
CameraMetadataTest.java | 26 import android.hardware.camera2.Rational; 266 // rational (single) 267 checkKeyGetAndSet("android.sensor.baseGainFactor", Rational.class, new Rational(1, 2)); 311 // rational (n) -- in particular rational x 9 312 checkKeyGetAndSetArray("android.sensor.calibrationTransform1", Rational[].class, 313 new Rational[] { 314 new Rational(1, 2), new Rational(3, 4), new Rational(5, 6) [all...] |
/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...] |
OrderedDataOutputStream.java | 51 public OrderedDataOutputStream writeRational(Rational rational) throws IOException { 52 writeInt((int) rational.getNumerator()); 53 writeInt((int) rational.getDenominator());
|
ExifTag.java | 50 * The RATIONAL type of EXIF standard. It consists of two LONGs. The first 350 * Sets Rational values into this tag. This method should be used for tags 361 * @see Rational 363 public boolean setValue(Rational[] value) { 382 * Sets a Rational value into this tag. This method should be used for tags 392 * @see Rational 394 public boolean setValue(Rational value) { 395 return setValue(new Rational[] { 468 } else if (obj instanceof Rational) { 469 return setValue((Rational) obj) [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...] |
OrderedDataOutputStream.java | 51 public OrderedDataOutputStream writeRational(Rational rational) throws IOException { 52 writeInt((int) rational.getNumerator()); 53 writeInt((int) rational.getDenominator());
|
ExifTag.java | 50 * The RATIONAL type of EXIF standard. It consists of two LONGs. The first 350 * Sets Rational values into this tag. This method should be used for tags 361 * @see Rational 363 public boolean setValue(Rational[] value) { 382 * Sets a Rational value into this tag. This method should be used for tags 392 * @see Rational 394 public boolean setValue(Rational value) { 395 return setValue(new Rational[] { 468 } else if (obj instanceof Rational) { 469 return setValue((Rational) obj) [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...] |
OrderedDataOutputStream.java | 51 public OrderedDataOutputStream writeRational(Rational rational) throws IOException { 52 writeInt((int) rational.getNumerator()); 53 writeInt((int) rational.getDenominator());
|
ExifTag.java | 50 * The RATIONAL type of EXIF standard. It consists of two LONGs. The first 350 * Sets Rational values into this tag. This method should be used for tags 361 * @see Rational 363 public boolean setValue(Rational[] value) { 382 * Sets a Rational value into this tag. This method should be used for tags 392 * @see Rational 394 public boolean setValue(Rational value) { 395 return setValue(new Rational[] { 468 } else if (obj instanceof Rational) { 469 return setValue((Rational) obj) [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...] |
OrderedDataOutputStream.java | 51 public OrderedDataOutputStream writeRational(Rational rational) throws IOException { 52 writeInt((int) rational.getNumerator()); 53 writeInt((int) rational.getDenominator());
|
ExifTag.java | 50 * The RATIONAL type of EXIF standard. It consists of two LONGs. The first 350 * Sets Rational values into this tag. This method should be used for tags 361 * @see Rational 363 public boolean setValue(Rational[] value) { 382 * Sets a Rational value into this tag. This method should be used for tags 392 * @see Rational 394 public boolean setValue(Rational value) { 395 return setValue(new Rational[] { 468 } else if (obj instanceof Rational) { 469 return setValue((Rational) obj) [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...] |
OrderedDataOutputStream.java | 51 public OrderedDataOutputStream writeRational(Rational rational) throws IOException { 52 writeInt((int) rational.getNumerator()); 53 writeInt((int) rational.getDenominator());
|
ExifTag.java | 50 * The RATIONAL type of EXIF standard. It consists of two LONGs. The first 350 * Sets Rational values into this tag. This method should be used for tags 361 * @see Rational 363 public boolean setValue(Rational[] value) { 382 * Sets a Rational value into this tag. This method should be used for tags 392 * @see Rational 394 public boolean setValue(Rational value) { 395 return setValue(new Rational[] { 468 } else if (obj instanceof Rational) { 469 return setValue((Rational) obj) [all...] |