History log of /packages/apps/Camera2/src/com/android/camera/ui/PreviewStatusListener.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/ui/PreviewStatusListener.java
28a2950939614a0c1c83787960ce1a218fb69a5e 11-Apr-2014 Doris Liu <tianliu@google.com> Refactor preview position logic

Centralize the logic of laying out bottom bar and transforming
preview TextureView based on the total space to lay them out
and preview aspect ratio. The layout is updated when either condition
above has changed. Then the rect of the bottom bar and preview
rect can be queried anywhere. This way, bottom bar, mode options
layout, and any view that relies on the preview rect and bottom bar
rect can be laid out without extra layout passes.

Bug: 13795952
Change-Id: I13c38b566b5b5d8f37ec94f325554c089a86ca8e
/packages/apps/Camera2/src/com/android/camera/ui/PreviewStatusListener.java
2bacca795a1b0adb0daf515c43c48234b44bbba5 06-Mar-2014 Angus Kong <shkong@google.com> Align the gridlines with the preview area.

1. Rename onPreviewAreaSizeChanged() to onPreviewAreaChanged() since it's
passing in the real preview area and is called when the area is changed
regardless of size changes.
2. GridLines.java now draws the lines based on the preview area.

bug:13098715
Change-Id: Idbd2ba03cad4698689cee46d2aa04588a415fa3d
/packages/apps/Camera2/src/com/android/camera/ui/PreviewStatusListener.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/ui/PreviewStatusListener.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/ui/PreviewStatusListener.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/ui/PreviewStatusListener.java
482de029dc20e0a577388a602985fb31c3200309 19-Dec-2013 Doris Liu <tianliu@google.com> Touch to focus

Change-Id: I69860bd05426e3a04bc5fd7d0dd581b5d6ff768d
/packages/apps/Camera2/src/com/android/camera/ui/PreviewStatusListener.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/ui/PreviewStatusListener.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/ui/PreviewStatusListener.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/ui/PreviewStatusListener.java