History log of /packages/apps/Camera/src/com/android/camera/PanoramaModule.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ed3710c6772dac2786b83768bd98c418b44870a9 18-Jan-2013 Angus Kong <shkong@google.com> Fix NPE when swiping from capturing panorama.

bug:8022096
Change-Id: Iadfc7cb12f15712732b435805e6070fa96d800e5
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
3df202dbe7e564a117093cb55663ba76d1c1d96c 16-Jan-2013 George Mount <mount@google.com> Fix various ANRs in camera caused by GLThread owning texture ids.

Bug 7997944
Bug 7989281
Because the GLThread is responsible for acquiring the texture
IDs, getting a SurfaceTexture from CameraScreenNail can block
as long as the GLThread isn't running. Likewise, if the
SurfaceTexture is released, another thread could get a null
when requesting the SurfaceTexture.

Change-Id: Ic2e31032d0c47dfefc547f97b54cbcaa03bfc6a2
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
3d88ae376c8f3dd8a7cb4424b268762d7378e9dc 16-Jan-2013 George Mount <mount@google.com> Fix ANR in panorama module.

Bug 8001911
After resuming, the GLRootView was not being made visible if
the stitching was in progress during resume.

Change-Id: I130b4878af01a4e3fb7f678314fcdfac6fd5b267
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
8954a7ed2162fafef3dfc1628642ae403396f8cd 15-Jan-2013 George Mount <mount@google.com> Fix ANR in PanoramaModule.

Bug 8001911
Ensure that getting the screen nail texture is executed on
a thread other than the UI thread.

Change-Id: I5a47da034394e80e34223665df499721d4a41e85
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
fe15dd1fb1fcf626758f0f32d1db5366f97fefca 07-Nov-2012 Earl Ou <shunhsingou@google.com> Use ExifOutputStream in PanoramaModule

Change-Id: I7c3217aa04476dead9a8c3db29157d8db2aca10d
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
445ed7298889bb5f3ba1ee8c0db4ae6e46f1fbb8 22-Oct-2012 Wu-cheng Li <wuchengli@google.com> Clean up SRI panorama UI.

- Change Saving... to Rendering panorama.
- Change preview area and progress bar to landscape in portrait mode.
- Move cancel button to the center in portrait mode.

bug:7385654

Change-Id: I166e6c419962b440a0a6148bc133ac6e14cba308
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
fd3edfbbbe8328b738ce7b4c3a1fd37ee053b72e 24-Oct-2012 Wu-cheng Li <wuchengli@google.com> Fix panorama progress indicator direction.

The direction from SRI native code is relative to the camera.
Convert them to UI direction.

bug:7385654

Change-Id: Ib0858554e92b39cc4c24c3a055cf7d29c09df6fd
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
224cf5df606a3017b2899e22b1b4ed82d97c525c 19-Oct-2012 Wu-cheng Li <wuchengli@google.com> Show text in potrait when orientation is portrait.

bug:7375765

Change-Id: Ifa272703cc8ed428fe7abba255c63d1d3fd23291
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
20523f6b162324ac642358b8802fc12a664aa73e 17-Oct-2012 Wu-cheng Li <wuchengli@google.com> Panorama should add Exif before adding the image to media store.

Otherwise, wrong image size is written to the media store. Also,
sometimes gallery cannot generate a thumbnail.

bug:7323502

Change-Id: I742b97dcce24529ee34c475ee5a08e0b00be83d8
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
8ed91ce2179d82e80437339fd17da7a3a8366b29 12-Oct-2012 Wu-cheng Li <wuchengli@google.com> Fix corrupted panorama on second run.

Orginally frame align (main thread) does not wait for glReadPixels
(GL thread). So the first frame may be from an old frame in the
last capture. Synchronizing frame align and glReadPixels to fix
this. This should also improve the stitching quality.

bug:7333076

Change-Id: I5e479261a5103efe34c6ec265e5821d5b4e5aecc
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
b7e4d024214b85e8570ad0d8ce03472887364bee 09-Oct-2012 Wu-cheng Li <wuchengli@google.com> Fix "Too fast" warning is not displayed in panorama capture.

If the frame rate is too low and the camera motion is fast,
the frame to frame motion estimation may fail -- leading to
incorrect translation estimates. Originally "Too fast" is
showed when degrees per second exceeds the threshold. But
different devices have different frame rate. Also, if
degrees per second is low but there are not enough frames,
the stitched panorama is still blurry. Now "Too fast" is
showed when degrees per frame is too high. This is more
accurate.

bug:7165018

Change-Id: I082e9f612becb9aaf5f453694914fb24b7e6ffa9
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
dc56e543d39b366c3e360c7752d7ac94141c3885 10-Oct-2012 John Reck <jreck@google.com> Support flipped pano preview display

Bug: 7314703

Change-Id: Ibb4ce3eb4d92d3e2540c280622a7164e5027a57a
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
3851712c5a250c6764c894b99984e262a8f206a4 10-Oct-2012 John Reck <jreck@google.com> Update display rotation in onOrientationChanged

Bug: 7314703

Change-Id: Ic298077ee6cf5fef872cd0c4efae52c305e970e5
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
4de11f3b5d5a83c23822c13b8c2c80872a375878 09-Oct-2012 Doris Liu <tianliu@google.com> Lock orientation when stitching is in process

Bug: 7313392
Change-Id: I1eb3e5c9dc799a4ab38c2853cf216e580c32fdd7
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
561af39348f34db4d67bc954536d6f6cbf296054 09-Oct-2012 John Reck <jreck@google.com> Hide pie render on switcher popup

Bug: 7301188

Change-Id: Ic9b2ec1f3e83d14c39d07dbd57be2c973fbefa56
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
032dea1d8406cde556ec0a441e4c90409edf9d63 08-Oct-2012 John Reck <jreck@google.com> Use framework orientation

Bug: 7292373

Change-Id: I1ec67db0bfe1fa0723f397c4361c9949bea30437
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
da04f24a205d92c72c32d7768f0d3b4b1f93512d 06-Oct-2012 Michael Kolb <kolby@google.com> New assets

Bug: 7283381

Change-Id: I183687f4702e9bc8c5dade550906ee4cadda5415
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
d282a28c60ca8f4ee82d519b12e8b0b057b294d4 03-Oct-2012 George Mount <mount@google.com> Blank out image capture after animation has started.

Bug 7280817

Change-Id: I192da2836b80e396317e9e9676bea660df2cf558
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
3125574902f989e58e57425700e66a0e9bca0744 03-Oct-2012 Wu-cheng Li <wuchengli@google.com> Fix corrupt panorama UI after orientation change.

bug:7266946
Change-Id: I2e3fd00fce800a7aea61043d7db9df4a65dcc07b
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
f99fd501c9cbff7617129af36707d1e22952aa31 03-Oct-2012 Wu-cheng Li <wuchengli@google.com> Fix thread anti-pattern.

Do not start a thread and join immediately.

bug:7275076
Change-Id: I158016787e728c2a27cee18304ad42161bc60105
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
1acc316227cf39a5c5eead6b307b8b3a76f5e284 02-Oct-2012 Wu-cheng Li <wuchengli@google.com> Fix ANR in VideoModule.getThumbnail.

New UI does not have small thumbnail. Remove all the code related
to small thumbnail.

bug:7270478
Change-Id: I1932497523d892a4edeea7e8746c416d66e87df5
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
725aec5162fc18330b3a915b6e7a0488bbae2fec 30-Sep-2012 Doris Liu <tianliu@google.com> Show camera switcher after pano stitching is finished

Bug: 7256505

Also hide the shutter button during stitching.

Change-Id: Ic5aa4fb4905fdbb0a89559ccca217e6c3caa71bb
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
78711c990e57ce7c6228c5446cfb6902f2a47cb6 29-Sep-2012 Doris Liu <tianliu@google.com> Rotate camera modes icons when phone is rotated

Bug: 7174120

Extract the orientation event listeners from photo module and video module
to cameraActivity. When orientation changes, cameraActivity gets onOrientationChanged()
callback, handles the necessary layout changes, and then current active module gets
onOrientationChanged() callback.

Change-Id: I6d32f025e033460f23c8dd2a7e439a2467fbf036
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
bcaf81f9e730309f8a07d02d130b431eb036a1b3 25-Sep-2012 Doris Liu <tianliu@google.com> Keep Camera buttons at the same absolute position

Changes:
1) Reload camera switcher, shutter button when onConfigurationChanged is called
2) In PanoramaModule, only show switcher in preview

Bug: 7216070
Change-Id: I7c19875e910fe5a54de42edebffec2567eca1f39
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
ccfae4fd53e838653f3a967de7776380c102b893 27-Sep-2012 Doris Liu <tianliu@google.com> Revert "Keep Camera buttons at the same absolute position"

This reverts commit 5b8dcddcc2019037e8691c605bfcecbbae316aeb

Change-Id: I0eac812293f9322e33d60df97ead29e88619156e
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
5b8dcddcc2019037e8691c605bfcecbbae316aeb 25-Sep-2012 Doris Liu <tianliu@google.com> Keep Camera buttons at the same absolute position

Changes:
1) Reload camera switcher, shutter button when onConfigurationChanged is called
2) In PanoramaModule, only show switcher in preview

Bug: 7216070
Change-Id: I678811aebd074f5d63edc3a2a4c9f6e7a8c9f883
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
4d628bcbaf4e6f2330dc9619f2129770863666dc 21-Sep-2012 Michael Kolb <kolby@google.com> Enable zoom in new UI

Bug: 7215450

Added Zoom renderer to PhotoModule and VideoModule
Introduced a gesture handler to handle interactions on the preview
and disambiguate gestures
Modified touch handling in CameraActivity and all the modules to work with
gesture handler

Change-Id: I427ddb61ad7b14588bcdbe67339aa295e05ac0e0
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
fdb79c492940d46b27702b0be71903f99af7e34f 20-Sep-2012 Michael Kolb <kolby@google.com> Asset update for shutter; fix for capture

Bug: 7175404

Change-Id: Ibb0ba3946866b1bb4d36c1a15e481002c09ccfdb
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
90ef46f0248437fbcb2c80c8a65239f4da32b039 14-Sep-2012 Michael Kolb <kolby@google.com> Support capture intent

Bug: 7166362

Change-Id: Id477525f14144638e59c53366050f431a39c4596
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
9f846cfc5e782a56d218c33b284c1b5b21b7aecc 11-Sep-2012 Michael Kolb <kolby@google.com> Update shutter for panorama

Bug: 7146436

Change-Id: If1b287ffec27121a78233aac45a8a50162ddde01
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java
ce1d8396924bf4ca9be076cfdf9594c4d33ebd9b 08-Sep-2012 Michael Kolb <kolby@google.com> Add old panorama module

Bug: 7138809

Direct conversion of old panorama activity
Hiding switcher during panorama and video recording
Limited amount of switching between pano and other modes
due to memory leak

Change-Id: Id079b258d4b6eaaf000281bf86cd43633ea1528a
/packages/apps/Camera/src/com/android/camera/PanoramaModule.java