History log of /packages/apps/Camera2/src/com/android/camera/VideoUI.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
21a5390e04de17dc843bedec4267a48f49584ab8 09-Mar-2015 Alan Newberger <alann@google.com> Remove video portrait orientation prompt

No longer display visual reminder for users to rotate device to landscape.

Bug: 19416311
Change-Id: Ia03f54809f64e6034479a9021c87b50f186bab99
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
8e8d3088e057df3a866e67b6d20ec950f9d4e4f6 23-Dec-2014 Senpo Hu <senpo@google.com> Break the dependency from CaptureModuleUI to CaptureModule.

This doesn't change any logic. Mainly just moving things around.

Change-Id: Ia130f3d0e5821095605219e50cc16008bc7ac143
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
987ee64612e2510004fdf08536746c87234d01c1 05-Dec-2014 Paul Rohde <codelogic@google.com> Drop new focus indicator into Camera2.

* Create a new custom focus view that interacts with physical lens diopter changes.
* Replace all occurances of the old focus indicator with the new one.

Change-Id: Ia02646ce4d1eb059ecb8a1dfccc15dfc9c167e1b
/packages/apps/Camera2/src/com/android/camera/VideoUI.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/VideoUI.java
0bdc4b54a18c18d7094b2e4cea1e238005c5c4a2 18-Nov-2014 Senpo Hu <senpo@google.com> Unify orientation calculation logic.

Camera API takes clockwise degrees for JPEG rotation and
OrientationEventListener reports clockwise device orientation.
The easiest formula of calculating output image rotation degree is:
"camera sensor orientation" + "device orientation"

Since front cameras face in opposite direction. The result needs to be mirrored
for front camera.

Detailed changes:
* Refactor OrientationManager to remove unnecessary complexity.
* Add OrientationManager.DeviceOrientation enum and
OrientationManager.getDeviceOrientation
* Remove CameraUtil.roundOrientation.
* Fix the weird calculation which is hard to understand in
CameraUtil.getJpegRotation and add CameraUtil.getImageRotation
* Clean up image rotation logic in all modules:
* Always look up the current device orientation via OrientationManager.getDeviceOrientation
* Fix the doc for copyImagePlaneToBitmap() which actually rotates image
counterclockwise.
* Clean up CameraActivity:
* Remove CameraActivity.onOrientationChanged and
ModuleController.onOrientationChanged. Any individual module which
wants to listen orientation change should register itself to
OrientationManager. Now only VideoModule needs to do that.

Bug: 17443789
Change-Id: I6d54cac5bde950acae0c3226448c27a816266df0
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
7351415ddfaf7f563a4a12c9204e6feb20fdf49d 11-Sep-2014 Alan Newberger <alann@google.com> Reset aspect ratio on pause

When resuming the app we do resize things but the old aspect
ratio is cached, thus skipping a reset of the transform matrices
because the app thinks it is already at the correct aspect ratio.
In certain cases (changing orientation when paused) this leads to
layout bugs.

Bug: 17304671
Change-Id: Ia171190b3c76dc05519bdf4d1947d9664d5fb604
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
2192fbaaf598d4440a8d537a70095ea56bc9a5eb 20-Aug-2014 Sol Boucher <solb@google.com> Switch from stepwise index-based zoom to a ratio-based scale

This brings the app up to date with the removal of the deprecated zoom methods
in the portability layer's CameraSettings class.

Bug: 17016658
Change-Id: Icb9f773188f7481d9af991d71feaff86379f5525
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
d020fbf12aff20c0a4b5cd1df67da6c2054e7408 17-Jul-2014 Spike Sprague <spikuru@google.com> clean out timelapse stuff from codebase

Change-Id: Ibcf07302f3eea2800d1f36c918ffe1c3d93b8018
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
5a344964cb003525727c31d295ca3a592c245606 17-Jun-2014 Sol Boucher <solb@google.com> Remove cameradevice subpackage and point references at ex library

This code is being relocated into frameworks/ex for availability to other apps.

Change-Id: Icada261ac7a795b08dd8b187dfd17077077b37c3
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
6607dae6c4d1ee5bbf572695c2042d4d9129a730 11-Jun-2014 Angus Kong <shkong@google.com> Refactor out Camera.Parameters.

Change-Id: Ibc1ddac509381530e887b7491069e6367e9a6088
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
8dc878f5537fbd27dbf82bc322aced410e5148f4 05-May-2014 Doris Liu <tianliu@google.com> Support for rotation lock in video recording hints

Bug: 13545160
Change-Id: I73c20e5a6701cc9b89ce6871b6541320fe7317e1
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
667630d16a2b0cf3acecb817b3aa398abdd33623 01-Apr-2014 Erin Dahlgren <edahlgren@google.com> Fix broken shutter button enabling in Photo and Video.

When I went in to implement globally disabling the shutter button during
a certain state transition of the app, I realized that

1. enabling the shutter button in Photo and Video was totally broken: the
methods being used for enabling the shutter button were totally empty!
2. setShutterEnabled in the AppController was totally empty.
3. we've done a horrible job with keeping names consistent: capture button
!= shutter button.

So I've fixed all of these things, which should solve existing bugs and make
my original task easier.

Change-Id: If1ae3b8c740ef678fbd20c2ffbb93576f48c8c19
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
f2711925113d405f83734ac81e3de36132e783ce 26-Mar-2014 Alan Newberger <alann@google.com> Fix video recording announcements

Video recording announcements were implemented in the past, but broken
due to null shutter button View during attempt. I pushed the announcements
into the VideoUI where IMO it belongs, and it encapsulates the implementation
detail that I use the timer View (which works fine).

Bug: 13644953
Bug: 13589550
Change-Id: I0d5135e5d23d9c4df594307d0beb5d5be934e409
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
5596b4c902dcb685928b43678f428746ca5ffd08 12-Mar-2014 Angus Kong <shkong@google.com> Use debug.Log instead of android.util.Log.

1. Change to use com.android.camera.debug.Log instead of android.util.Log.
2. Add DebugCameraProxy to support more detailed debug info.
3. Add CameraErrorCallback in CameraManager.
4. Support posting to a specific handler for CameraErrorCallback.
5. Trim down some TAGs to match the framework tag length limit.
6. Remove some unused codes in CameraSettings.

bug:13324870

Change-Id: I8c20a8a0d11cfd50b6e199b03cbc88d3c4ad2ceb
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
5f8c30e3f6c921befc00bf1e0e6d93e181335e78 07-Mar-2014 Angus Kong <shkong@google.com> Checks the on view size for video preview size.

bug:12016054
Change-Id: I602a814ba4616d842117242240447096da6530d4
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
d6487c911dd1f5095723db2a1e9aaa609ebc5ee1 28-Feb-2014 Doris Liu <tianliu@google.com> Add video recording hint to discourage vertical videos

Bug: 8654023
Change-Id: I336f9e6af2393985e223a44a8e877e2878add76d
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
d8de077f72b04cee1bdf26e5ca1678ac5297bd71 03-Feb-2014 Erin Dahlgren <edahlgren@google.com> Shared texture view in photosphere.

Change-Id: I8dd4898e3800b02fa7f0488104dcfa4600b3845f
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
5a367545ab931a308c8d8555ef5a747dc9565caf 18-Jan-2014 Doris Liu <tianliu@google.com> Fix mode transition jank and stretched video preview

Bug: 11963674
Change-Id: I9cb292aa3dea6b0073dfc19af8105dce1f0c9865
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
b1641f5df0cf839b54385ea4d2e43521620fc237 15-Jan-2014 Erin Dahlgren <edahlgren@google.com> Remove global UI elements based on supported camera parameters.

Bug: 12192238
Change-Id: I6373adeaa9c95385a2a4ca8d81cf7656550911f2
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
38c6bc33c306873f6dfdfa3714386be305934392 17-Jan-2014 Doris Liu <tianliu@google.com> Hide focus UI during recording

Bug: 12584173
Change-Id: Ibca621b9b961a480b48950f668eb7f6da9055619
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
fecd723c1cfd90332cd2805be79a24f26643ebb9 16-Jan-2014 Erin Dahlgren <edahlgren@google.com> Set the shutter button icon across all modes.

Bug: 12552362
Change-Id: I55d4238b0ddbc4bb3ea206dc577381b6de2f68a7
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
a1ec04a9f9526418f5cb17a5afbfc48aca1e02d0 14-Jan-2014 Doris Liu <tianliu@google.com> Add aggressive continuous auto focus to video preview

Also added touch to focus for video preview
Part II is at ag/407029

Bug: 12368866
Change-Id: I8dd544d5bb6b5128ae99c9b7fe4dffeb1f843ab9
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
39f8a7647aa4051a1c260b9496c2db82f93f8667 13-Jan-2014 Spike Sprague <spikuru@google.com> new video bottom bar ui

crossfade record <-> stop
full bar <-> single button cicle wipe

Change-Id: I58e0ddd94221374809acd52a6f0649e419203f54
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
0a6a8d8e4e1c9796aac606379a42970cdffb8911 10-Jan-2014 Erin Dahlgren <edahlgren@google.com> Sync dependencies between bottom bar options.

* Centralizes the bottom bar button customization.
* Makes HDR+ and front camera exclusive.

Bug: 12469207
Change-Id: I65e3d16d314a26889f04e9bcc26fa4bf095150b7

Conflicts:
src/com/android/camera/ButtonManager.java
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
6b174190b43bb4c2d7a5493e4f117ef6aac5f684 09-Jan-2014 Spike Sprague <spikuru@google.com> video capture icon

bug: 12440820
Change-Id: I276e1260c494519beaf95258129e1f240bdafd59
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
cb99b3d61f6451b84e263949910a1fb7b9893a12 08-Jan-2014 Erin Dahlgren <edahlgren@google.com> Unify setting the bottom bar color.

* Camera, Video, Advanced Camera

Change-Id: I862543c52372e0028debda7e89a56ebf8e737270
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
37b9f92c89d6d130bd54892c157bc6b614110daf 08-Jan-2014 Erin Dahlgren <edahlgren@google.com> Merge "Show onscreen indicators for enabled and visible options." into gb-ub-photos-denali
1848494bd09c85002d8c59d4feb8a6e0dc32871f 07-Jan-2014 Erin Dahlgren <edahlgren@google.com> Show onscreen indicators for enabled and visible options.

Bug: 12434780
Change-Id: I85a3efba46303fc47f456d696d89b0ca2997f9f6
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
11ddd7389b89e9a876eba607e246e8b8d0dfecdf 07-Jan-2014 Doris Liu <tianliu@google.com> Handle camera orientation change when device is flipped

Bug: 12414864
Bug: 12179046
Change-Id: I645709bdfe6ae5678b4a59b7c4a4c893c2827b52
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
5850115399516c9186cc0a8231eb1b554f570441 06-Jan-2014 Sascha Haeberling <haeberling@google.com> Clean-up TAGs and some more auto-clean-ups.

Change-Id: Ib5f01a6fed99dd21b87138d8e4f792aefa74880d
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
4efa8b54c1df4e06f2d3caed2568015a737f9dda 18-Dec-2013 Erin Dahlgren <edahlgren@google.com> New Capture UI.

* depends on ag/400799

Change-Id: Ieb0e27447659bcb04dee57348583f68d680408d2
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
70da918464276b110c43868caa272c97baadb89e 18-Dec-2013 Doris Liu <tianliu@google.com> Centralized TextureView transform logic

Automated transform matrix adjustment and bottom bar adjustment for
orientation or preview size change.

Bug: 12177718
Bug: 12179046
Change-Id: I4cd6fc90bb549774cfd83aaf8ac9654711a5c752
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
db44ef57cdb576704b1aafb2b81e30bf9ff261ad 14-Dec-2013 Spike Sprague <spikuru@google.com> video intent ui

Change-Id: I85e346274c51ec87e0d95e8e30f5c261f08f4d34
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
4a010db8a60008b2bf67b93b64f77f63affc29f3 17-Dec-2013 Doris Liu <tianliu@google.com> Fix hdr+ preview wrong rotation

TextureView has accumulated OnLayoutChangeListener's over time: Modules
add a new listener to it when initialized, but never remove the listeners.
As a result, stale listeners are called when there is a layout change, and
consequently change the transform matrix incorrectly.

Bug: 12168516
Change-Id: I1aa77e682427ed074e8dc2d0574ea013e9e01fc6
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
67019c70d08c0726b9005dc7777a9485e3c2015a 14-Dec-2013 Sascha Haeberling <haeberling@google.com> Fix bottom bar transparency issue in video mode.

Change-Id: Iafe1f3a863370cc5867074d3236e700f280213fb
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
e038c161389b5d1c0476e315736df31562328894 14-Dec-2013 Doris Liu <tianliu@google.com> Improve mode switch jank by reducing redundant transform matrix change

Change-Id: I2ab4167d9645fe9156a0be98d3e93fa179b8936f
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
fce8a0b023bf88b2320b614dfaf7c67dcf00c9be 13-Dec-2013 Erin Dahlgren <edahlgren@google.com> Add a flash callback for video mode toggle.

Bug: 12089860
Change-Id: I97941468f79b4fb39aefb6f0662a7540c6121abe
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
1dfe7828fd60741b9752553af3ee439c04e758a0 12-Dec-2013 Doris Liu <tianliu@google.com> New flash animation

Change-Id: I266b631a5c6feac114467e0a05799ad5e1ffae92
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
0f3c4b4fc9ac87d7d4c3d04c3cb3426c711f57ea 11-Dec-2013 Spike Sprague <spikuru@google.com> unify preview and bottom bar resizing code
move bottom bar button into own layout files

Change-Id: Ib6237fddaa545476563b796cbd752b9562e9d9e4
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
06db742814dd635d100639f977fcfdc904deb778 10-Dec-2013 Doris Liu <tianliu@google.com> Setup preview status listener for preview related changes

Change-Id: Ibd8341dfbe5e03ec77c149e671f4dd991833e678
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
8a2933b2c0156b752425b499f3081e4ffc350061 06-Dec-2013 Erin Dahlgren <edahlgren@google.com> Make the ButtonManager api associative.

* Makes handling dependent behavior between buttons
less error prone.

Change-Id: I13acf3475c46573668e0c8fee633e71efafd9588
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
f9e4f8fbd1f761443d7a1eecbb5aa221ed3a06a8 05-Dec-2013 Doris Liu <tianliu@google.com> Redesign preview Overlay for simplicity

Simplify how preview overlay should be setup from each module
Refactored PhotoUI and VideoUI to use the new Overlay

Change-Id: Ia8c7c71215007c9aaba69e55353b554e8fdf3c90
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
18e2ef6d2b2d36abcaa7378a0f7df792ecf8ed81 05-Dec-2013 Erin Dahlgren <edahlgren@google.com> Create a ButtonManager for managing common button behaviors.

Change-Id: I02d99c393a01e6de9ffb2f4f351a832b4eae9e37
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
a07e94c1ed57fa014e7428345927223768532d32 05-Dec-2013 Erin Dahlgren <edahlgren@google.com> Remove dependency on preference groups from video mode.

Change-Id: I40f69fa1267d0500125c786bb550052bbd200f9e
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
63233419b09c73e1b45e61acae2c8a2b2d9fd226 03-Dec-2013 Erin Dahlgren <edahlgren@google.com> Merge "Remove ComboPreferences from video mode." into gb-ub-photos-denali
773e1c9285bd2d0f03ba87db13e77b4f5197ac4f 03-Dec-2013 Doris Liu <tianliu@google.com> No longer lay out under nav bar.

Gutted out camera root view that was intended to lay out its child
views correctly when it is laid out under the nav bar.

Change-Id: Iee33daf63dd6a592577f59010f0fc6b71a126f7c
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
bd3da269e2b2533e68b670e27ac304837a2eff2b 02-Dec-2013 Erin Dahlgren <edahlgren@google.com> Remove ComboPreferences from video mode.

Change-Id: Iab54672feee066e23543c7a7dbb19e5118ec214c
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
0744e4ab3ec5f0270bdad33e7c477f52ba680bbd 22-Nov-2013 Marco Nelissen <marcone@google.com> initial simple camera pruning and refactoring

100% preview and new ui bottom bar

bug: 11514604
Change-Id: I010c8aaa41ad6791ce2443ef159ea22cc1e8346f
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
f55f3c461c5a6ae6b61fa75562ca01683aa93f9a 20-Nov-2013 Doris Liu <tianliu@google.com> Pinhole animation, quick switch between photo and video

Also, first pass of the view hierarchy refactor.

Change-Id: I6c80191f15908bd24c16b76df6ef92df3ef905fc
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
1c94b7d0fa0143230d04b9f14c2ff93c6886d6cc 10-Nov-2013 Doris Liu <tianliu@google.com> Introduce new mode switcher

TODO: Get assets from UX and activate shimmy
Bug: 11514368
Change-Id: Iebfd3c3c2dc1b08db25e166d5f90d3418a67ed22
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
249653e41763cffbd9bd5ef2298c5120488897fb 12-Nov-2013 Andy Huibers <andyhuibers@google.com> Close mode menus if another control is touched

Bug: 11598901
Bug: 11635865
Change-Id: I9c6237bacef9a28de1fa238e1e7378a57abfc573
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
fccf83bd342a3a83dc284525488e69f25e4667c4 06-Nov-2013 Andy Huibers <andyhuibers@google.com> hide preview cover on arrival of new preview data if hidden

Bug: 11433257
Change-Id: I7225ebf1d84bbefd2f952cfa524720a7e76e7181
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
3a45c33d74fe0ad0ade9be3d037560a53891c627 16-Oct-2013 Doris Liu <tianliu@google.com> Show a preview cover until real preview is ready

Bug: 11211650
Change-Id: Ic4b26ef0f03eac0682e7be0d4bcb1c4632d85f39
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
3044d8c577432d6e9721fc8b26ac2afbbaf21266 11-Oct-2013 Erin Dahlgren <edahlgren@google.com> Set camera controls visibility based on whether the camera preview is centered.

Bug: 10861015
Change-Id: Ib0c4945e35cee16b73a4bba913e11d0f79a26176
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
8c80782326d1cdc764b9a9a791b2c5525e8ef234 11-Oct-2013 Doris Liu <tianliu@google.com> Merge "Remove display change listener for mode switch" into gb-ub-photos-carlsbad
59390061e26d3d481c6e0c9b22fb3ee8ec8387b0 11-Oct-2013 Doris Liu <tianliu@google.com> Remove display change listener for mode switch

Bug: 10928549
Change-Id: I333e1a47e7f5c5cadca9b0b6cfd368f455fc3670
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
ada31cbe4010e192825b7eb9b7093d4d75cf3558 11-Oct-2013 Sascha Haeberling <haeberling@google.com> Merge "Hide the status bar and switch into lights-out mode when popup is dimissed." into gb-ub-photos-carlsbad
4ec139dc81482ebfef1e62a3987c53bd5880c759 10-Oct-2013 Sascha Haeberling <haeberling@google.com> Hide the status bar and switch into lights-out mode when popup is dimissed.

Bug: 11119286

Change-Id: I912103f36d27b07cd6fcebc2dae7c2964e883cc8
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
285a5be7ce327eb4c169e60ecc4a9cd8d583e65d 10-Oct-2013 ztenghui <ztenghui@google.com> Fix flash issue

The flash light should show up at the same time as the control show up.
Also, when we change the flash mode, we should update the flash on screen
indicator.

bug:11064667

Change-Id: I888d3ce76ac618a4c7b40a288ecce13555c89ab0
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
fe6596c3474f0ffbf03a2b7a7d89ea9cc9d9d61d 08-Oct-2013 Doris Liu <tianliu@google.com> Do not allow navigation to filmstrip during video recording

Bug: 11064867
Change-Id: I168136a193008578b3ad2642cba764650bcc2487
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
638e6f06c877d90b907f66ea9c22b3c6b73c7384 18-Sep-2013 Sascha Haeberling <haeberling@google.com> Clean up ApiHelper and remove unused code paths.

Bug: 10821545

As we're targeting ICS there are a lot of checks and code paths
that are no longer in use. This CL cleans them up.

Change-Id: Ic3dd26628a94e134e25e2c496ccec1f1f957216d
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
7b265a6b2f55c6ae7afc30e63ba324c4084a5d8e 09-Sep-2013 ztenghui <ztenghui@google.com> Fix the flash mode transition in video mode

onSwitchMode is wrongly overloaded, now is fixed.
Basically, onCurrentDataChanged will handle the switching in and out of Camera.
onDataFullScreenChange will handle full screen change on non-preview data.

bug:10610967

Change-Id: I199a20d40d66b78302e90e0f96826d03076b0e39
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
ed15d1a140986473bbe7fffd72ec9618c41c5979 20-Aug-2013 Angus Kong <shkong@google.com> Bring back wide angle panorama.

bug:10293937

Change-Id: I23a977e87b7416f07ecac20025b6c142ae61be05
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
bdd198ee9047fc180b8e97e1c3a76132256fd36c 30-Aug-2013 Doris Liu <tianliu@google.com> Fix gap between camera controls and nav bar

Bug: 10097187
Change-Id: I9918a09a1e0b2d3c5a89330b800a9b7f2c2a6408
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
f737ac489200f12b6a48c4d0f7b63c0731eb8713 22-Aug-2013 Angus Kong <shkong@google.com> Merge "Add support to "go-to-next" in film strip." into gb-ub-photos-carlsbad
734598c39e6a9d809982dae2907dc7d10e0b0e9f 22-Aug-2013 Angus Kong <shkong@google.com> Add support to "go-to-next" in film strip.

bug:10328123

Change-Id: I018876df89cc7ed125a32af850e6b26114fb1004
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
3973deba115d398a25f0b74c2aea2ff4079355a5 21-Aug-2013 Doris Liu <tianliu@google.com> Fix video capture animation and video snapshot animation

Also removed unused effects recording code

Bug: 10326106
Bug: 10414112
Change-Id: I904a26a0b10c75fcce650dc0ec63d7c11746dc2e
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
2a7f44cac888de5683d05bef5708f846ee950f43 13-Aug-2013 Doris Liu <tianliu@google.com> Fix video capture intent handling

Bug: 10296343

Change-Id: I55fb6c71b59a1559ebb58c65e71d510379367435
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
b50b5cbfbc0a67db6fc43373363b10381c9c61a3 09-Aug-2013 Angus Kong <shkong@google.com> Clean up Gallery codes.

bug:10263696

Change-Id: I3a16dba3aabe52b8103a2c591cfa39907265a263
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
c3679c0961521165499380c77344acc69072b2ac 09-Aug-2013 Doris Liu <tianliu@google.com> Use PopupWindow for settings popup

Bug:10261902
Change-Id: Ia77cff276615db8c3fbb9e859bf099249b4021cf
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
37f3611bbdc787c996a99894dcef7d8fb77e3f7c 06-Aug-2013 Sascha Haeberling <haeberling@google.com> This adds the following four CLs to Camera2:

http://ag/339319
http://ag/338974
http://ag/338401
http://ag/324149

Adapted to work in Camera2 and adding a .gitignore so that temporary
Eclipse files and folders are not submitted.

Change-Id: I40295c7f0139f76270c44f0ca395c0574a288569
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
8e963a5a6016d246184ed65906f9d103e92b17e2 06-Aug-2013 Sascha Haeberling <haeberling@google.com> This removes all non-Camera stuff from Camera2.

Note: Camera2 is a clone of Gallery2 right now.
Note 2: I will bring .mk files back later.

Change-Id: Ida958654296f5ebaacb6bb0ff59d52a7c37ce6fc
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
395ee2d6d3c8fa9e16363517dc9e8afc8cbd609e 15-Jul-2013 Angus Kong <shkong@google.com> Remove unnecessary startPreview thread in video.

Change-Id: I42dc46748fad3b321178280069555ecdd5c4a962
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
a77d6e06ce32eaaa123922a448173f3d12e6ac9d 26-Jun-2013 Michael Kolb <kolby@google.com> Clean up PreviewGestures

- remove dead code and state
- fix zoom only mode during video recording

Change-Id: I2238f99b9823ba091d300046d07448c67bc2ad78
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
147e26ab7075f0acd3978f0cd0541cd1da4b50e1 25-Jun-2013 Doris Liu <tianliu@google.com> Clean up camera switcher

Change-Id: I9f0495524028528ca02c7ddf94f4698d4e87af14
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
6432cd65159731a28d9239426b0f0f4d7c44fa98 14-Jun-2013 Doris Liu <tianliu@google.com> Switch over to use new camera activity

Change-Id: Ib907b5ab5d0e818261e95edd182f2e20c3bbebe0
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
91fffb39cf1eb7919cab48c56eb1b44727f4e5c2 30-May-2013 Angus Kong <shkong@google.com> Dismiss settings when showing popup in Video mode.

bug:8771618
Change-Id: I889b794c6732b674e26436f950e81f67529012e7
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
4f91ab5d099632afd84dd7bd80a804cbbe1f3588 21-May-2013 Sascha Haeberling <haeberling@google.com> Make capture thumbnail tappable in video mode.

Bug: 9054122

Also make gotoGallery public for LightCycle to use.

Change-Id: I3cd5af26531a756e78c1478de29155dfda709afc
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
69ef5ea6ed838cf6fba834811f01122d349a61cf 07-May-2013 Doris Liu <tianliu@google.com> Fix video capture intent overlapping buttons

Bug: 8839010
Change-Id: I8ee9bd8117a4a5e4dafe71775bb5563cef2ccdf0
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
8788079a51a90255dce330e56afcb6674deccbf7 01-May-2013 Michael Kolb <kolby@google.com> Update location indicator correctly

Bug: 8768592

Change-Id: I8f94b4fb62174c4c27e6dbdc68ba272b0d3ae371
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
eb8adc1754fc668435ee57d1be2235b80fc8c009 26-Apr-2013 Michael Kolb <kolby@google.com> Add new indicators

Bug: 8640131

Change-Id: I9e567ddafa130e84af4d56a69ba7e389e64e3456
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
ce019e94d92f0097d73a6fc986d0a1e593b74b4d 25-Apr-2013 Doris Liu <tianliu@google.com> Merge "Fix for popuping being hard to dismiss" into gb-ub-photos-bryce
fd2e619a2fb263315816b3579a9c6751c398132d 23-Apr-2013 Doris Liu <tianliu@google.com> Fix for popuping being hard to dismiss

Bug: 8688503
Change-Id: I86f1451867d7606060e5f81fdd3b8b0af1e0a6d3
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
140c263ebb2504fe1a0212a835f0098ce7973a22 23-Apr-2013 Sascha Haeberling <haeberling@google.com> Fixes video mode indicators by resetting them on init.

Bug: 8696004

Change-Id: I2bfc235ac87d836c29a53425e623121304a4c08a
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
9cdfe00cf57f05f81e6d02ca050e6afd8cc4a25f 16-Apr-2013 Doris Liu <tianliu@google.com> Allow swiping to filmstrip from blocker bar

Bug: 8607910
Change-Id: I69bfcf8d95d6071be7d65fbf433916740cbb655c
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
753bb8aa56fff425fe16b93be368b9b236e4751f 15-Mar-2013 Doris Liu <tianliu@google.com> Work in progress - Put preview in TextureView

Fixed gesture recognizing and pie menu.
Fixed camera picker. Exposure setting got fixed with rebasing.
Rebased for new pie menu
Fixed camera mode switch listener

Ongoing: secure album, aspect ratio for video recording on ICS

Change-Id: Iedae80815faf81cb49c791885810c8427034a6d1
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
3bc96b2d1106fc5ebec6fda6aad3bca4d62e81c0 12-Mar-2013 Michael Kolb <kolby@google.com> Pie design update

Change-Id: Ifb0d50938332bdae50e45523850605d0aafed7fb
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
61f2b082014fe4402dd208029e9378dd5cb1fd1d 28-Mar-2013 Doris Liu <tianliu@google.com> Disable preview gestures when shutter is pressed

Bug:8333662
Change-Id: Ia204822c5651ab98cca6f67ee45058b6d9d81b31
/packages/apps/Camera2/src/com/android/camera/VideoUI.java
6827ce281bd3a83ca2ffa552cd090e2b427c5f83 13-Mar-2013 Doris Liu <tianliu@google.com> Use Model-View-Controller pattern on video module

Change-Id: Id673efd1da9f53d4f74aab880504850152d1edfa
/packages/apps/Camera2/src/com/android/camera/VideoUI.java