b759b67a8574fa30ea04d2340ecdfc2979ec0304 |
|
05-Mar-2015 |
Paul Rohde <codelogic@google.com> |
Switch round thumbnail to respond immedatly to thumbnails. Previous version queued thumbnail requests and would wait to show thumbnails until the animations completed. Bug: 19606612 Change-Id: I6c9ab8946ba39d6ac53476bf493829647b415cba
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
0e531c67cc8bcaa57390a9e3c1170b3fbe72710d |
|
05-Mar-2015 |
Paul Rohde <codelogic@google.com> |
Merge "Fix rotation problem with the capture indicator." into ub-camera-haleakala
|
04aab100674dfdd11bffabc46e6a199f5e9a5267 |
|
05-Mar-2015 |
Paul Rohde <codelogic@google.com> |
Fix rotation problem with the capture indicator. This addresses a tiny problem where taking a new picture after rotating the device causes the indicator to temporarily rotate. Bug: 19479623 Change-Id: I567edba32ff7e776ef7605e993db09007b956acd
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
ee669af495f2d3d22c97ab53fc5804c41e807e67 |
|
05-Mar-2015 |
Sascha Haeberling <haeberling@google.com> |
Fixing comment syntax for RoundedThumbnailView. Change-Id: I167489672f0df4d9bd0f7ccc194a8c50608d5c5f
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
d6fad4a44e0afca5164704fcd906601744e68fb7 |
|
04-Mar-2015 |
Paul Rohde <codelogic@google.com> |
Cache Paint objects for capture animation rendering. This should help reduce the draw times for the thumbnail view by reducing object allocation and reusing the same paint objects. Bug: 19424945 Change-Id: Ia38a65dec4477f100a27543312b736c10ec07e40
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
91bdb7fa1084af44c36dd7072033a90f4823ef5a |
|
05-Feb-2015 |
Senpo Hu <senpo@google.com> |
Merge "Adjust capture indicator position while open/close mode options." into ub-camera-haleakala
|
54ac03ba6ae3e739df74c6d9e35fda9017be07d7 |
|
02-Feb-2015 |
Senpo Hu <senpo@google.com> |
Adjust capture indicator position while open/close mode options. This CL also fixes the layout issue in landscape mode when mode option indicators are visible. Bug: 18866551 Bug: 18317565 Bug: 18905659 Change-Id: I34ca5aa77aa9d37a7f0ad3d2d7efbed92fe94f2b
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
2eb1f8531b4879b836206cbde0e57335e300b445 |
|
03-Feb-2015 |
I-Jong Lin <ijonglin@google.com> |
Fix for Capture Indicator Animation Listeners Issue arose when Capture Indicator was hidden from the screen, and animations were NOT finished. Current listeners were unregistered, but never re-registered when capture indicator was shown again. Simplest solution is to null out the references to the animators in the RoundThumbnailView to signal animators to be re-created. Bug: 19034435 Change-Id: I94b74c0ea8f385d348dd981ebe8d9402140c3248
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
cb8f66b4953e4fed4a0cd5133c2914b26097c133 |
|
28-Jan-2015 |
Senpo Hu <senpo@google.com> |
Trigger hit state animation when clicking on capture indicator. Bug: 18905659 Change-Id: I78131ded35e7663e159ec378a50603fa4cc23434
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
30eda38142fd279e0f10796e39f469d97f2a5b43 |
|
24-Jan-2015 |
Senpo Hu <senpo@google.com> |
Fix NPE crash in RoundedThumbnailView. Bug: 19003975 Change-Id: I4839696e1f5c4e9b7a768ed24ad5951764cd9d66
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
8be316c7a8caf962cf3fcf5e49d332fb2718319f |
|
20-Jan-2015 |
Paul Rohde <codelogic@google.com> |
Make it possible for singletons that rely on application context to be initalized lazily. * Add AndroidContext * Add AndroidServices * Make LogHelper ues thread safe lazy initialization * Convert several unused fields into local variables in CameraApp. Change-Id: I9c73e9b91efb49a01d848a8cca1e8e65f059b5d0
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
daea74c9c1708908ae801d53ef3288500cc9532f |
|
02-Jan-2015 |
Senpo Hu <senpo@google.com> |
Fix NPE crash in RoundedThumbnailView. Bug: 18851937 Change-Id: I63f3084cd2ae7cd8bbb73507aefcf4192ed7bfd0
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
68d834ff57c8e20a8c040cdcbf50d0e3332d6385 |
|
23-Dec-2014 |
Senpo Hu <senpo@google.com> |
Fix NPE crash in RoundedThumbnailView. Bug: 18835171 Change-Id: Ib77e15cfeb93e3d73cf14e2459dfcdbe54d92073
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
a45abcb3cfc48f1718b77a616e000d1678fbd85b |
|
11-Dec-2014 |
Senpo Hu <senpo@google.com> |
Bug fixes for capture indicator UI. * Don't show capture indicator in Photo Sphere. * Fix the layout on Nexus 6. * Don't transform thumbnail image if the size is matched. Change-Id: I03c9c09071b63ed8143236a242b6435b4ea19018
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|
427a915be4bcc84fa1c32d9e9e1b7473c522f732 |
|
20-Nov-2014 |
Senpo Hu <senpo@google.com> |
New capture indicator design for Haleakala. * Introduce RoundedThumbnailView and retire PeekView. * Rename BottomBarModeOptionsWrapper to StickyBottomCaptureLayout. * Verified on K and L devices. Thumbnail cropping: * 100% width and vertically centered for portrait. * 100% height and horizontally centered for landscape. General behavior spec: * Hide the capture indicatorby fading out using fast_out_linear_in (150ms): 1) User open filmstrip. 2) User switch module. 3) User switch front/back camera. 4) User close app. Behavior spec for non-photo modules: * Photosphere is stripped of UI so there is no need to show capture indicator. When a photo sphere is taken (and user is in another mode), the preview frame used in filmstrip is used in the capture indicator. * Video: show in viewfinder prior or after capture. Hide during capture. When a video is taken, the preview frame used in filmstrip is used in the capture indicator. * Panorama: Show in viewfinder prior or after capture. Hide during capture. When a panorama is taken, the preview frame used in filmstrip is used in the capture indicator. * Lens blue: Show in viewfinder prior or after capture. Hide during capture. When a lens blur is taken, the preview frame used in filmstrip is used in the capture indicator. Visual spec: A 12dp spacing between mode option overlay and thumbnail. 1. A circular mask that excludes the corners of the preview image. 2. A solid white layer that sits on top of the preview and is also masked by (1). 3. The preview image. 4. A 'ripple' which is just a white circular stroke. Animation spec: (1) only the scale animates, from 50%(24dp) to 114%(54dp) in 200ms then falls back to 100%(48dp) in 200ms. Both steps use the same easing: fast_out_slow_in. (2) opacity, from 50% to 0% over 150ms, easing is exponential. (3) doesn't animate. (4) starts animating after 100ms, when (1) is at its peak radius and all animations take 200ms, using linear_out_slow in. Opacity goes from 40% to 0%, radius goes from 40dp to 70dp, stroke width goes from 5dp to 1dp. Bug: 18317565 Change-Id: Ib8d4f065b98fc3b9b0b627633232ce8cee96eb61
/packages/apps/Camera2/src/com/android/camera/widget/RoundedThumbnailView.java
|