History log of /packages/apps/Camera2/src/com/android/camera/captureintent/state/StateSavingPicture.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d2d86155337a7dd9fd285a25c93e27dc05200ed1 28-Feb-2015 Senpo Hu <senpo@google.com> [CaptureIntent] refactor state machine.

1. Change the event handling mechanism by introducing EventHandler and
get rid of all processXXX() methods in State class.
2. Remove State.ID enum.
3. Move core classes to "stateful" package.

Refactor for unit test.
1. Extract interface for ResourceXXX class.
2. Extract interface for StateMachine.

Change-Id: I5b988959c44cf995f5a52b638bcda86d625e6795
/packages/apps/Camera2/src/com/android/camera/captureintent/state/StateSavingPicture.java
80aed3c513dc6a6670e25ef6e11bc71ab6a2d9fd 23-Feb-2015 Senpo Hu <senpo@google.com> Fix resource leak when CaptureIntentModule goes to StateBackground.

Make RefCountBase more solid.

Bug: 18726217
Change-Id: Ibb5d731f8891627e832d5961f0e736aaaaff7078
/packages/apps/Camera2/src/com/android/camera/captureintent/state/StateSavingPicture.java
24be7cc6d138129b4087ef28f114701de54aba3c 19-Feb-2015 Senpo Hu <senpo@google.com> Introduce CaptureIntentModule

Continue with ag/618042.
===================
Improve the UX by adopting ZSL and showing fast intermediate thumbnail.

Try to implement this from scratch, this module has an
event driven and state machine design.
* the state machine is thread safe.
* Event is implemented with guava's Function.
* The event processing uses Strategy pattern.

State Machine Chart:
https://docs.google.com/presentation/d/1LA30__ZNnzO6HWju1kA0geJ5LBsMs3hvdTf6_IPn9Y0/edit#slide=id.p

Bug: 18726217
Change-Id: Ie869c84bfe2f02145e5cb5c9e9af270fd82048d6
/packages/apps/Camera2/src/com/android/camera/captureintent/state/StateSavingPicture.java