History log of /packages/apps/Camera2/src/com/android/camera/captureintent/state/StateReviewingPicture.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9c6f9b8085c2752758e0f5633958fd17cfc9307e 13-Apr-2015 Sascha Haeberling <haeberling@google.com> Add proper support for canceling sessions.

Bug: 19384186

Change-Id: I45b0262947dcd4257d54e706f3cffc69b6bd4bc9
/packages/apps/Camera2/src/com/android/camera/captureintent/state/StateReviewingPicture.java
0460ef28c6970d646260584b7df0b2b3157a67ee 07-Mar-2015 Sascha Haeberling <haeberling@google.com> CaptureSession passes on message IDs instead of strings.

Bug: 18867164

Change-Id: Ie601a0fbaf64873c56c6a9b2767a2fa6a04a11d9
/packages/apps/Camera2/src/com/android/camera/captureintent/state/StateReviewingPicture.java
698e271d2b263778bfa73d1e67d6e2cd2783c89e 04-Mar-2015 zafir <zafir@google.com> Added more error handling for camera access and picture storage issues.

Implemented onFailure() method in the OpenCallback interface and
onPictureTakingFailed() in the PictureCallback interface.
OnFailure() routes through showErrorAndFinish() in the AppController.

Bug: 19452391

Change-Id: I3c19a274cc7664f7d1834899a486c57d0585dc9a
/packages/apps/Camera2/src/com/android/camera/captureintent/state/StateReviewingPicture.java
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/StateReviewingPicture.java
64d22d9caf0824739cb250575d69a56fe7f3fa3c 27-Feb-2015 Sascha Haeberling <haeberling@google.com> Capture Intent: Add capture-cancel (cancel countdown) support.

Bug: 19521614

Change-Id: I624601268947d9540d379b74753b7c92898c7553
/packages/apps/Camera2/src/com/android/camera/captureintent/state/StateReviewingPicture.java
1b98e83085e2b0a3066a4bf3cbde2d664b8422ee 26-Feb-2015 Senpo Hu <senpo@google.com> [CaptureIntentModule] Refactoring to help writing unit tests.

Eventually I want to get rid of those processXXX methods in State class.

1. Move various callback into state class instead of having them all in
the module class.

2. Create various event class instead of using anonymous class.

Change-Id: I065ca199052be36b5b29cc0d6743bb174b128d75
/packages/apps/Camera2/src/com/android/camera/captureintent/state/StateReviewingPicture.java
83d86d3aad276b0c15bfc2767d27c9f0354a104d 25-Feb-2015 Senpo Hu <senpo@google.com> [CaptureIntent] fix review image shift issue.

Bug: 19510803
Change-Id: I817a00f6ed56311dbbf3e257ec23da6dc139ff14
/packages/apps/Camera2/src/com/android/camera/captureintent/state/StateReviewingPicture.java
1d518e63212290741d66aaf34356bd3897bb609e 24-Feb-2015 Senpo Hu <senpo@google.com> Fix preview transform issue when switching between back/front camera.

Move preview related logic to StateStartingPreview.
Add more documentation.

Bug: 18726217
Change-Id: I839c243656daa40773da6631359b91808c2d98f8
/packages/apps/Camera2/src/com/android/camera/captureintent/state/StateReviewingPicture.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/StateReviewingPicture.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/StateReviewingPicture.java