007bfb14d2d720cdd699cfbb36ce206246901cef |
|
06-Jun-2014 |
Igor Murashkin <iam@google.com> |
util: Make Rational a Number/Comparable; add Range#inRange * Also changes Rational to reduce the numerator/denominator by its greatest common divisor at construction time (e.g. (2/4 -> 1/2)). Bug: 15432042 Change-Id: Ib827abccf44a040667e5931cf9442afc86b57e2d
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/RationalTest.java
|
72f9f0a96e4476ef231d5001cb30521ad4ce5b1e |
|
15-May-2014 |
Igor Murashkin <iam@google.com> |
camera2: Move parameters around to different packages * Camera-specific params to android.hardware.camera2.params * Remove android.hardware.camera2.Size * Move Rational to android.util Bug: 14628001 Change-Id: Ie7a82bf9f4a0d8c18e0dc3a1581123c0d95da3f0
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/RationalTest.java
|
23c8809568b68430f875df759108c58016c44c16 |
|
21-Aug-2013 |
Timothy Knight <tknight@google.com> |
Camera2: Updated Rational for denom=0. Handle NaN and INF using the same semantics as Java floats. No longer throw an exception if a rational is constructed with a zero-denominator. This commit is required for the ITS pdk app, since without it, the app fails when it tries to deserialize rational values that are (incorrectly) set to 0/0. Bug: 10337323 Change-Id: I890ec2092f2945abc0f531fc46f9a7f5c71d2dbf
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/RationalTest.java
|
2f1a2e423e0fbb64467d6fcfa4e82c6384f31210 |
|
26-Jul-2013 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2 API: Rename package to android.hardware.camera2 Change-Id: I77b7939e199f9fe8e12a59393c24cff08097448c
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/RationalTest.java
|
b519cc52ecba8f44da31173c9fc90a7b66d52b79 |
|
02-Jul-2013 |
Igor Murashkin <iam@google.com> |
camera2 api: Add CameraMetadata get/set support * Add a Rational class * Can get/set Key<T> where T is a primitive (or Rational) * Can get/set Key<T> where T is a primitive array * Can get/set Key<T> where T is an enum (synthetic constructor only) Not implemented yet: * When T is anything else, i.e. Rect, Size, etc Bug: 9529161 Change-Id: I64438024a1e8327a38dd2672652626f0ffbb70e3
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/RationalTest.java
|