/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/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 | 203 class Rational { 205 Rational(void) : _n(0), _d(1) {} 206 Rational(uint32_t n, uint32_t d) : _n(n), _d(d) {} 211 bool operator==(const Rational& other) const; 212 bool operator!=(const Rational& other) const { return !(*this == other); } 213 bool operator<(const Rational& other) const; 214 bool operator>(const Rational& other) const { 218 Rational& lower, Rational& upper); 262 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...] |
/frameworks/av/media/img_utils/include/img_utils/ |
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
|
TiffHelpers.h | 72 RATIONAL, 116 case RATIONAL:
|
/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) {
|
/system/media/camera/include/system/ |
camera_metadata_tags.h | 112 ANDROID_COLOR_CORRECTION_TRANSFORM, // rational[] | public 142 ANDROID_CONTROL_AE_COMPENSATION_STEP, // rational | public 288 ANDROID_SENSOR_CALIBRATION_TRANSFORM1, // rational[] | public 289 ANDROID_SENSOR_CALIBRATION_TRANSFORM2, // rational[] | public 290 ANDROID_SENSOR_COLOR_TRANSFORM1, // rational[] | public 291 ANDROID_SENSOR_COLOR_TRANSFORM2, // rational[] | public 292 ANDROID_SENSOR_FORWARD_MATRIX1, // rational[] | public 293 ANDROID_SENSOR_FORWARD_MATRIX2, // rational[] | public 294 ANDROID_SENSOR_BASE_GAIN_FACTOR, // rational | system 301 ANDROID_SENSOR_NEUTRAL_COLOR_POINT, // rational[] | publi [all...] |
/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...] |
/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>
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsSerializer.java | 38 import android.util.Rational; 72 private static Object serializeRational(Rational rat) throws org.json.JSONException { 318 } else if (keyType == Rational.class) { 319 return new MetadataEntry(keyName, serializeRational((Rational)keyValue)); 381 } else if (elmtType == Rational.class) { 384 jsonArray.put(serializeRational((Rational)Array.get(keyValue,i))); 581 } else if (elmtType == Rational.class) { 583 Array.set(val, i, new Rational( 595 Rational xform[] = new Rational[9] [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
CameraMetadataTest.java | 23 import android.util.Rational; 443 // rational (single) 444 checkKeyGetAndSet("android.sensor.baseGainFactor", Rational.class, new Rational(1, 2)); 488 // rational (n) -- in particular rational x 9 489 checkKeyGetAndSet("android.sensor.calibrationTransform1", Rational[].class, 490 new Rational[] { 491 new Rational(1, 2), new Rational(3, 4), new Rational(5, 6) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/share/info/ |
gmp.info | 75 Node: Rational Number Functions133525 77 Node: Rational Conversions137179 78 Node: Rational Arithmetic138911 169 Node: Rational Internals349801
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ |
ratio | 46 * @defgroup ratio Rational Arithmetic 49 * Compile time representation of fininte rational numbers. 137 * @brief Provides compile-time rational arithmetic. 139 * This class template represents any finite rational number with a
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ |
ratio | 46 * @defgroup ratio Rational Arithmetic 49 * Compile time representation of fininte rational numbers. 137 * @brief Provides compile-time rational arithmetic. 139 * This class template represents any finite rational number with a
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ |
ratio | 46 * @defgroup ratio Rational Arithmetic 49 * Compile time representation of fininte rational numbers. 137 * @brief Provides compile-time rational arithmetic. 139 * This class template represents any finite rational number with a
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ |
ratio | 46 * @defgroup ratio Rational Arithmetic 49 * Compile time representation of fininte rational numbers. 137 * @brief Provides compile-time rational arithmetic. 139 * This class template represents any finite rational number with a
|
/system/core/include/utils/ |
LinearTransform.h | 27 // scale factor is expressed as a rational number using two 32 bit values.
|
/external/openfst/src/include/fst/ |
fstlib.h | 26 // "rational sets"); finite-state transducers are used to represent 27 // binary relations between pairs of strings (specifically, "rational 82 #include <fst/rational.h>
|
rational.h | 0 // rational.h 69 SetType("rational"); 79 SetType("rational"); 251 VectorFst<A> rfst_; // rational topology machine; uses neg. nonterminals 261 // Parent class for the delayed rational operations - delayed union,
|
/packages/apps/Camera2/src/com/android/camera/app/ |
FirstRunDialog.java | 25 import com.android.camera.exif.Rational; 49 private static final Rational DEFAULT_ASPECT_RATIO = ResolutionUtil.ASPECT_RATIO_4x3; 158 public void onConfirm(Rational aspectRatio) {
|
/external/ceres-solver/data/nist/ |
MGH09.dat | 31 Model: Rational Class (linear/quadratic)
|