History log of /packages/apps/Camera2/src/com/android/camera/async/ForwardingObservable.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e606c4d68b74293e7d7725aecbaa9c915751cd43 04-Feb-2015 Puneet Lall <puneetl@google.com> Change/simplify Observable interface

Previously, the Observable interface allowed registering callbacks to
receive each update to a value, in a thread-safe way. However, this adds
unnecessary complexity and greatly complicates the implementation of
callbacks to track the camera ready-state.

Replacing Callback<T> with Runnables, which can simply call
Observable.get() to retrieve the latest value makes implementing
ready-state significantly simpler.

Bug: 18934542
Change-Id: I00d512f3c380148c0e9cb52352b2f304494e5e5a
/packages/apps/Camera2/src/com/android/camera/async/ForwardingObservable.java
e919a48fb40b9d6c698a495acf40adbc0e320431 22-Jan-2015 Puneet Lall <puneetl@google.com> Enable tracking of image availability

To allow updating the UI whenever image reader space is exhausted, we
must be able to track whether or not non-zsl images can be allocated at
any given time. This CL implements this for the general case of both
single images as well as for finite bursts.

Bug: 18934542

Change-Id: Ia8c6e03f631cf47e4385cb8da1e3f6d74e7901a2
/packages/apps/Camera2/src/com/android/camera/async/ForwardingObservable.java
b8397360d318edf3093b20b2b102207d76730e1b 14-Jan-2015 Puneet Lall <puneetl@google.com> Close ImageReaders after the camera is closed

Bug: 18841114
Change-Id: Ifc0b79e70059efd8f8ace2c29243406b524ad918
/packages/apps/Camera2/src/com/android/camera/async/ForwardingObservable.java
386c5b885b99f67f9c0a7380f4be153f28333089 09-Jan-2015 Puneet Lall <puneetl@google.com> Apply flash setting changes to the AE mode

Bug: 17216526

Change-Id: If6c03102f04ad2ba54e1a045a3ab7445aaa5b595
/packages/apps/Camera2/src/com/android/camera/async/ForwardingObservable.java