History log of /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/RationalTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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