a6572422e8940e176e3630c23a331927b5b08853 |
|
13-Jun-2015 |
Senpo Hu <senpo@google.com> |
Fix transform issue in CaptureIntent. On M, EventOnTextureViewLayoutChanged comes earlier during app initialization in StateForeground which doesn't handle it. So here in StateReadyForCapture, we pull the current preview layout size and inform ResourceSurfaceTexture to allow it to calculate transform. Noted that we also need to bring this fix to Ivvavik. Bug: 21786937 Bug: 20173626 Change-Id: I417aef2f09247e77059fc5b066cbf10602ce5cf1
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ResourceSurfaceTextureImpl.java
|
cc6139467c1c9545de1f098d938409e182c9b7ad |
|
05-Mar-2015 |
Senpo Hu <senpo@google.com> |
[CaptureIntent] Fix 16x9 stretch problem on Nexus 4. 2. Also, more clean up for unit tests. Unfortunately I lump two things together is because there are some nice things about the clean up that helps deliver the fix. Bug: 19616722 Change-Id: I632e9f679db6e8a68179912ee4e29c1394084324
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ResourceSurfaceTextureImpl.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/resource/ResourceSurfaceTextureImpl.java
|