/frameworks/av/media/img_utils/include/img_utils/ |
TagDefinitions.h | 262 RATIONAL, 278 RATIONAL, 286 RATIONAL, 318 RATIONAL, 334 RATIONAL, 342 RATIONAL, 660 RATIONAL, 668 RATIONAL, 746 RATIONAL, 778 RATIONAL, [all...] |
TiffEntryImpl.h | 67 count = (type == RATIONAL || type == SRATIONAL) ? count * 2 : count; 105 if (getType() == RATIONAL || getType() == SRATIONAL) { 106 // 2 ints stored for each rational, multiply by 2 135 if (getType() == RATIONAL || getType() == SRATIONAL) { 138 * rational is represented by 2 ints. To recover the 161 if (getType() == RATIONAL || getType() == SRATIONAL) { 164 * rational is represented by 2 ints. To recover the
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
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/ |
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/ |
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/WallpaperPicker/src/com/android/gallery3d/exif/ |
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/Messaging/src/com/android/messaging/util/exif/ |
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...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_abstract_numbers.py | 5 from numbers import Complex, Real, Rational, Integral 30 self.assertFalse(issubclass(float, Rational))
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_abstract_numbers.py | 5 from numbers import Complex, Real, Rational, Integral 30 self.assertFalse(issubclass(float, Rational))
|
/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))
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
AspectRatioDialogLayout.java | 24 import com.android.camera.exif.Rational; 40 private Rational mAspectRatio; 49 public AspectRatioDialogLayout(Context context, Rational defaultAspectRatio) { 107 private void setAspectRatio(Rational aspectRatio) { 122 public void onConfirm(Rational chosenAspectRatio);
|
/frameworks/native/opengl/tests/hwc/ |
hwcCommit.cpp | 202 class Rational { 204 Rational(void) : _n(0), _d(1) {} 205 Rational(uint32_t n, uint32_t d) : _n(n), _d(d) {} 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 hScale [all...] |
/frameworks/base/media/java/android/media/ |
Utils.java | 22 import android.util.Rational; 149 private static Rational scaleRatio(Rational ratio, int num, int den) { 153 return new Rational( 158 static Range<Rational> scaleRange(Range<Rational> range, int num, int den) { 269 static Range<Rational> parseRationalRange(Object o, Range<Rational> fallback) { 275 Rational.parseRational(s.substring(0, ix)), 276 Rational.parseRational(s.substring(ix + 1))) [all...] |
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfRational.h | 41 // Rational numbers 43 // A rational number is represented as pair of integers, n and d. 44 // The value of of the rational number is 55 class Rational 67 Rational (): n (0), d (1) {} 74 Rational (int _n, int _d): n (_n), d (_d) {} 81 explicit Rational (double x);
|
ImfFramesPerSecond.cpp | 48 Rational 51 return guessExactFps (Rational (fps)); 55 Rational 56 guessExactFps (const Rational &fps)
|
ImfRational.cpp | 37 // Rational numbers 39 // The double-to-Rational conversion code below 92 Rational::Rational (double x)
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryablePrimitive.java | 22 import android.util.Rational; 38 * <li>Rational <-> TYPE_RATIONAL 87 } else if (value instanceof Rational) { 89 marshalPrimitive((Rational) value, buffer); 120 private void marshalPrimitive(Rational value, ByteBuffer buffer) { 140 return new Rational(numerator, denominator); 177 } else if (klass == Rational.class) {
|
/prebuilts/tools/linux-x86_64/kythe/third_party/ |
README | 6 2) Provide a clear rational in the change adding the third_party code;
|
/system/media/camera/include/system/ |
camera_metadata_tags.h | 112 ANDROID_COLOR_CORRECTION_TRANSFORM, // rational[] | public 142 ANDROID_CONTROL_AE_COMPENSATION_STEP, // rational | public 290 ANDROID_SENSOR_CALIBRATION_TRANSFORM1, // rational[] | public 291 ANDROID_SENSOR_CALIBRATION_TRANSFORM2, // rational[] | public 292 ANDROID_SENSOR_COLOR_TRANSFORM1, // rational[] | public 293 ANDROID_SENSOR_COLOR_TRANSFORM2, // rational[] | public 294 ANDROID_SENSOR_FORWARD_MATRIX1, // rational[] | public 295 ANDROID_SENSOR_FORWARD_MATRIX2, // rational[] | public 296 ANDROID_SENSOR_BASE_GAIN_FACTOR, // rational | system 303 ANDROID_SENSOR_NEUTRAL_COLOR_POINT, // rational[] | publi [all...] |
/external/piex/src/tiff_directory/ |
tiff_directory.h | 36 struct Rational { 94 // Gets the value of a tag of type "SHORT", "LONG" or "RATIONAL". 97 // - if the type is not SHORT, LONG or RATIONAL, or 99 bool Get(const Tag tag, Rational* value) const; 100 bool Get(const Tag tag, std::vector<Rational>* value) const;
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
ResolutionSetting.java | 24 import com.android.camera.exif.Rational; 66 public void setPictureAspectRatio(CameraId cameraId, Rational aspectRatio) 146 final Rational aspectRatio = ResolutionUtil.ASPECT_RATIO_4x3; 179 public Rational getPictureAspectRatio(CameraId cameraId, Facing facing) 182 return new Rational(pictureSize.getWidth(), pictureSize.getHeight());
|
ResolutionUtil.java | 23 import com.android.camera.exif.Rational; 56 public static final Rational ASPECT_RATIO_16x9 = new Rational(16, 9); 57 public static final Rational ASPECT_RATIO_4x3 = new Rational(4, 3); 344 * @return A {@link Rational} which represents the aspect ratio. 346 public static Rational getAspectRatio(Size size) { 355 return new Rational(numerator, denominator); 358 public static boolean hasSameAspectRatio(Rational ar1, Rational ar2) [all...] |
/system/media/camera/docs/ |
camera_device_info.proto | 24 message Rational { 68 repeated Rational elements = 1; 83 optional Rational android_control_aeCompensationStep = 131076;
|
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
MarshalHelpers.java | 22 import android.util.Rational; 106 * <li>Rational 111 * boxed objects are included, Rational is included, and other types such as char and 132 } else if (klass == Rational.class) { 146 * but for a non-primitive {@code Rational.class => Rational.class}.</p>
|