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/event/EventZoomRatioChanged.java
|
482ee873725a2e7ff9be5aa819b69e2a277b38ba |
|
26-Feb-2015 |
Senpo Hu <senpo@google.com> |
Fix build break by ag/643763 Change-Id: I4e274526667ec40daa8cd3d2b6d3e8ac5a03ddea
/packages/apps/Camera2/src/com/android/camera/captureintent/event/EventZoomRatioChanged.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/event/EventZoomRatioChanged.java
|