OSDN Git Service

android-x86/packages-apps-Camera.git
13 years agoAdd the test for activity leak.
Wu-cheng Li [Wed, 1 Sep 2010 16:05:37 +0000 (09:05 -0700)]
Add the test for activity leak.

bug:2949181
Change-Id: I3a804f360611d8195ff5a9dc5046ad75789329b3

13 years agoFix the crash when video quality changes.
Wu-cheng Li [Fri, 3 Sep 2010 22:10:44 +0000 (15:10 -0700)]
Fix the crash when video quality changes.

Stop the preview in surfaceChanged before restarting the preview.

bug:2974865
Change-Id: Ie6b99c2650ee4900a277da87006950e984358d6f

13 years agoMerge "Remove quick capture UI. It is not used." into gingerbread
Wu-cheng Li [Thu, 2 Sep 2010 16:42:22 +0000 (09:42 -0700)]
Merge "Remove quick capture UI. It is not used." into gingerbread

13 years agoMerge "Turn on the camera unit tests." into gingerbread
Yu Shan Emily Lau [Wed, 1 Sep 2010 21:08:03 +0000 (14:08 -0700)]
Merge "Turn on the camera unit tests." into gingerbread

13 years agoRemove quick capture UI. It is not used.
Wu-cheng Li [Wed, 1 Sep 2010 18:28:31 +0000 (11:28 -0700)]
Remove quick capture UI. It is not used.

Change-Id: Ie087afba5633304c71ca5f72276d16f620931869

13 years agoFix wrong orientation after suspend and resume.
Wu-cheng Li [Tue, 31 Aug 2010 20:57:23 +0000 (13:57 -0700)]
Fix wrong orientation after suspend and resume.

Camera application calls setDisplayOrientation according to
Display.getRotation and sensor orientation. After power key is
pressed, camera app resumes behind the lock screen and preview
is started. Rotation is 90 at the time. After the screen is
unlocked, surfaceChanged is called because the orientation is
changed from portrait to landscape. Preview is stopped and
restarted. setDisplayOrientation should be called again because
the rotation has changed to 0.

bug:2870671
Change-Id: I1ca5106087c168d88cc8eb4f2a9f192d7fa75a8a

13 years agoMerge "Stop and restart the preview in surfaceChanged." into gingerbread
Wu-cheng Li [Wed, 1 Sep 2010 16:02:29 +0000 (09:02 -0700)]
Merge "Stop and restart the preview in surfaceChanged." into gingerbread

13 years agoTurn on the camera unit tests.
Yu Shan Emily Lau [Wed, 1 Sep 2010 02:03:40 +0000 (19:03 -0700)]
Turn on the camera unit tests.

Change-Id: Ic8580ed3c047268b3a25a114c512030e01439f6a

13 years agoStop and restart the preview in surfaceChanged.
Wu-cheng Li [Tue, 31 Aug 2010 22:04:22 +0000 (15:04 -0700)]
Stop and restart the preview in surfaceChanged.

If surface is changed, applications should call setPreviewDisplay
again.
Change-Id: I91072e6daba841db486b54240bb85c455588aaee

13 years agoRenaming SharedPreferences$Editor.startCommit to apply
Brad Fitzpatrick [Tue, 31 Aug 2010 00:54:08 +0000 (17:54 -0700)]
Renaming SharedPreferences$Editor.startCommit to apply

Change-Id: Ib31ff57f37ba08de32cd569b2bd86aee52cb64fe

13 years agoRemove metering mode support.
Wu-cheng Li [Mon, 30 Aug 2010 20:51:39 +0000 (13:51 -0700)]
Remove metering mode support.

Change-Id: I624f611e19c438630bc84778332d13f0357da23f

13 years agoMerge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Mon, 30 Aug 2010 17:29:29 +0000 (10:29 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into gingerbread

13 years agoMerge "Fix memory leak. Camera application is leaking activities." into gingerbread
Wu-cheng Li [Mon, 30 Aug 2010 16:33:41 +0000 (09:33 -0700)]
Merge "Fix memory leak. Camera application is leaking activities." into gingerbread

13 years agoFix memory leak. Camera application is leaking activities.
Wu-cheng Li [Fri, 27 Aug 2010 16:45:19 +0000 (09:45 -0700)]
Fix memory leak. Camera application is leaking activities.

ComboPreferences.sMap (value)
-->ComboPreference (field mListeners)
-->HeadUpDisplay
-->activities

Make sure HeadUpDisplay is unregistered from ComboPreference
listener list.

bug:2949181
Change-Id: Ia0350afd6e9f23f92ce4b252a4b74709b4cd5bf7

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Sat, 28 Aug 2010 00:10:38 +0000 (17:10 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I5ff345b289968ccf023b6c641c8e3c839a095fc9

13 years agoAdd camera selection setting strings.
Wu-cheng Li [Thu, 26 Aug 2010 22:56:45 +0000 (15:56 -0700)]
Add camera selection setting strings.

Change-Id: I1cebf6c926c4b475e2d66894f748c2c6861937d8

13 years agoAdd SharedPreferences#startCommit() method.
Brad Fitzpatrick [Wed, 25 Aug 2010 22:00:25 +0000 (15:00 -0700)]
Add SharedPreferences#startCommit() method.

The interface widened.

Change-Id: I3ddf695c3d97b72eab4cfa3abe484db41d79a958

13 years agoClose the video file descriptor earlier.
Wu-cheng Li [Thu, 19 Aug 2010 23:38:21 +0000 (16:38 -0700)]
Close the video file descriptor earlier.

The file descriptor will be closed in finalize() eventually.
But it is better to close it as soon when we are done with it.

bug:2912676
Change-Id: I04e1abfdc946c2f218cca30d9140627444bce706

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 17 Aug 2010 23:44:27 +0000 (16:44 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I8e4d5edb29dbfd46f6095808e3d9de1aebc83cf6

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 10 Aug 2010 18:51:18 +0000 (11:51 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I26db5882f7f30f165914cbfdd6351c18e5a639cf

13 years agoDo not cancel autofocus when snapshot is in progress.
Wu-cheng Li [Thu, 5 Aug 2010 16:58:08 +0000 (09:58 -0700)]
Do not cancel autofocus when snapshot is in progress.

The bug occurred when camera key was half pressed, focus completed,
camera key was fully pressed, and camera key was released.

Change-Id: I4f25ee2e819cecbb59809de85fb450091e655927

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 4 Aug 2010 17:41:47 +0000 (10:41 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: If28d05bf747e8d16594d3788b4b9ced62a9ba380

14 years agoFixed the NPE issue with the test file output name.
Yu Shan Emily Lau [Wed, 28 Jul 2010 00:04:00 +0000 (17:04 -0700)]
Fixed the NPE issue with the test file output name.

Change-Id: I715772867d84b60d87c1b44ef6588e7b5003019d

14 years agoExpose the camera stress test parameters.
Yu Shan Emily Lau [Tue, 20 Jul 2010 00:05:09 +0000 (17:05 -0700)]
Expose the camera stress test parameters.

Change-Id: Iff20081e8e49da744f4ee36925167bbeb6a2a87c

14 years agoFix build again again.
Chih-Chung Chang [Mon, 28 Jun 2010 05:19:58 +0000 (13:19 +0800)]
Fix build again again.

Change-Id: I5acf4836559f265a24c1b0f26582711e6c6b06e4

14 years agoFix build again.
Chih-Chung Chang [Mon, 28 Jun 2010 05:19:58 +0000 (13:19 +0800)]
Fix build again.

Change-Id: Id0353479fef015e8b04139198607fb477d0f24ce

14 years agoFix build.
Chih-Chung Chang [Mon, 28 Jun 2010 05:19:58 +0000 (13:19 +0800)]
Fix build.

Change-Id: Ib377c102bc0e2fde467d94ae81101417c76ce78a

14 years agoSupport multiple camera preferences.
Chih-Chung Chang [Thu, 17 Jun 2010 12:32:22 +0000 (20:32 +0800)]
Support multiple camera preferences.

Change-Id: I7c8440424c472c9ff61ac22692ce60234d359efe

14 years agoSupport switching between multiple cameras.
Chih-Chung Chang [Tue, 15 Jun 2010 08:41:33 +0000 (16:41 +0800)]
Support switching between multiple cameras.

Change-Id: Id444ebcd780c67f4990bd6f6b96c74379b6859ab

14 years agoAdd metering mode support.
Wu-cheng Li [Fri, 4 Jun 2010 06:18:16 +0000 (14:18 +0800)]
Add metering mode support.

Change-Id: I8b964df4534da0b393479baddabfc85ce1b09b2f

14 years agoam b84acd02: Merge "Fixed the camera test instrumentation target naming issue." into...
Yu Shan Emily Lau [Thu, 10 Jun 2010 20:02:01 +0000 (13:02 -0700)]
am b84acd02: Merge "Fixed the camera test instrumentation target naming issue." into froyo

Merge commit 'b84acd02e46f87dead1fa75abb14427bf29ba8d8' into kraken

* commit 'b84acd02e46f87dead1fa75abb14427bf29ba8d8':
  Fixed the camera test instrumentation target naming issue.

14 years agoMerge "Fixed the camera test instrumentation target naming issue." into froyo froyo-x86 android-x86-2.2 android-x86-2.2-r2
Yu Shan Emily Lau [Thu, 10 Jun 2010 20:00:10 +0000 (13:00 -0700)]
Merge "Fixed the camera test instrumentation target naming issue." into froyo

14 years agoam 432a1c68: Import revised translations
Kenny Root [Thu, 10 Jun 2010 05:33:24 +0000 (22:33 -0700)]
am 432a1c68: Import revised translations

Merge commit '432a1c682221baadfb36d12c651a4092ea75ebcb' into kraken

* commit '432a1c682221baadfb36d12c651a4092ea75ebcb':
  Import revised translations

14 years agoImport revised translations
Kenny Root [Thu, 10 Jun 2010 05:28:46 +0000 (22:28 -0700)]
Import revised translations

Change-Id: Ia5d2e7169014c35590ab1fe5ae5467d68f824d62

14 years agoFixed the camera test instrumentation target naming issue.
Yu Shan Emily Lau [Wed, 9 Jun 2010 21:26:35 +0000 (14:26 -0700)]
Fixed the camera test instrumentation target naming issue.

Change-Id: Ia98963e7ae38157d96a7fe3b70d37eca9c5f4af2

14 years agomParameters is initialized in preview thread and could be NULL in
Owen Lin [Mon, 31 May 2010 09:40:28 +0000 (17:40 +0800)]
mParameters is initialized in preview thread and could be NULL in
"initializeHeadUpDisplay()"

Bug: 2728390
Change-Id: Iaf27fa940a9758dff816c0c945ead330a2e9ec3f

14 years agoShow better message to users if camera fails to access sdcard.
Wu-cheng Li [Fri, 28 May 2010 11:57:36 +0000 (19:57 +0800)]
Show better message to users if camera fails to access sdcard.

Also print the exception if sdcard access fails.
bug:2713104

Change-Id: I35a553ee75a49398582b587755d097b02b144015

14 years agoRefactor the code. Improve the inheritance structure of Textures.
Owen Lin [Fri, 14 May 2010 06:13:02 +0000 (14:13 +0800)]
Refactor the code. Improve the inheritance structure of Textures.

Change-Id: I72a78f97cf54a6505cd7bff98e1db1bdf5fa84c9

14 years agoUsing GL to draw NinePatch
Owen Lin [Wed, 12 May 2010 07:43:14 +0000 (15:43 +0800)]
Using GL to draw NinePatch

Change-Id: I2aa92bba691cbfde75523c196a880d0e18eeaba4

14 years agoMerge "Fix issue 2622023: Clean up all hardcoded '/sdcard' in camera related codes...
Ray Chen [Fri, 14 May 2010 18:21:20 +0000 (11:21 -0700)]
Merge "Fix issue 2622023: Clean up all hardcoded '/sdcard' in camera related codes 2622023" into kraken

14 years agoInitialize the HeadUpDisplay only once in the life time of the activity.
Owen Lin [Thu, 13 May 2010 08:21:29 +0000 (16:21 +0800)]
Initialize the HeadUpDisplay only once in the life time of the activity.

And review the code so that mHeadUpDisplay won't be null when used.

Change-Id: I335a25e64035627c30ec2c6f45c17566f0ea2420

14 years agoresolved conflicts for merge of ec1dfcb7 to kraken
Owen Lin [Fri, 14 May 2010 06:31:06 +0000 (14:31 +0800)]
resolved conflicts for merge of ec1dfcb7 to kraken

Change-Id: I5ea57293d0b34f4189983c7a9851555bcf5f5232

14 years agoCreate a ColorTexture to draw pure color in GL.
Owen Lin [Mon, 10 May 2010 10:27:17 +0000 (18:27 +0800)]
Create a ColorTexture to draw pure color in GL.

Change-Id: I9dfa69b6037397d01a43c976b2d02acb16f2af62

14 years agoAdd copyright headers to source codes.
Owen Lin [Thu, 13 May 2010 04:12:50 +0000 (12:12 +0800)]
Add copyright headers to source codes.

Bug: 2680376

Change-Id: I4d0b297f2cee13bb03104996f020732713c61e03

14 years agoam e3911500: Fix 2672651 When GPS is disabled, GPS EXIF data is still in the photo...
Ray Chen [Wed, 12 May 2010 14:57:16 +0000 (07:57 -0700)]
am e3911500: Fix 2672651 When GPS is disabled, GPS EXIF data is still in the photo 2672651

Merge commit 'e391150007300e63d3fb6e2236db3f4c9247fb9c' into kraken

* commit 'e391150007300e63d3fb6e2236db3f4c9247fb9c':
  Fix 2672651 When GPS is disabled, GPS EXIF data is still in the photo

14 years agoFix 2672651 When GPS is disabled, GPS EXIF data is still in the photo
Ray Chen [Mon, 10 May 2010 21:12:41 +0000 (14:12 -0700)]
Fix 2672651 When GPS is disabled, GPS EXIF data is still in the photo
http://2672651

Change-Id: I7992574e978bba1f65c01c942220b0d435b45029

14 years agoInitialize zoom in "InitializeSecondTime" so that we can get correct values for
Owen Lin [Thu, 6 May 2010 07:14:05 +0000 (15:14 +0800)]
Initialize zoom in "InitializeSecondTime" so that we can get correct values for
zoom ratios.

Bug: 2643926

The zoom ratios are changed when the preview size changes. We need to read it i
again to get the latest values.

Change-Id: I64a248eba2aa63456f14452ffccaeaab090cc748

14 years agoHandle events in the main thread and use GLThread only as a rendering thread.
Owen Lin [Wed, 5 May 2010 07:03:49 +0000 (15:03 +0800)]
Handle events in the main thread and use GLThread only as a rendering thread.

Coordinate the two threads by synchronizing on the GLRootView instance.

Change-Id: I94459f6afeb468660df7219800bc48b621edecd4

14 years agoMove the texture coordinate 0.5 pixel inner so that GL won't get garbage
Owen Lin [Wed, 5 May 2010 08:39:54 +0000 (16:39 +0800)]
Move the texture coordinate 0.5 pixel inner so that GL won't get garbage
data.

So that GL won't get garbage data when do sampling.

Change-Id: I58a88c2fb1166e0c3991edfd320c69633c89d102

14 years agoMerge "Use our own EGLChooser so that we can fall back to use "copyImage2D" when...
Owen Lin [Fri, 7 May 2010 03:10:15 +0000 (20:10 -0700)]
Merge "Use our own EGLChooser so that we can fall back to use "copyImage2D" when stencil is not supported. Also fix an issue in GLListView due to a different behavior on Emulator, i.e., ACTION_MOVE won't be sent after ACTION_DOWN." into kraken

14 years agoUse our own EGLChooser so that we can fall back to use "copyImage2D" when
Owen Lin [Wed, 28 Apr 2010 03:36:07 +0000 (11:36 +0800)]
Use our own EGLChooser so that we can fall back to use "copyImage2D" when
stencil is not supported. Also fix an issue in GLListView due to a different
behavior on Emulator, i.e., ACTION_MOVE won't be sent after ACTION_DOWN.

Bug: 2538315

Change-Id: I8eb26794656b42df1c89e675bc153879920a7155

14 years agoam aefb028c: Nudge the camera preview 2dip from the screen edge.
Daniel Sandler [Thu, 6 May 2010 19:36:17 +0000 (12:36 -0700)]
am aefb028c: Nudge the camera preview 2dip from the screen edge.

Merge commit 'aefb028cb120b2908038f459e33b61d18ad32417' into kraken

* commit 'aefb028cb120b2908038f459e33b61d18ad32417':
  Nudge the camera preview 2dip from the screen edge.

14 years agoNudge the camera preview 2dip from the screen edge.
Daniel Sandler [Wed, 5 May 2010 19:28:30 +0000 (15:28 -0400)]
Nudge the camera preview 2dip from the screen edge.

On Sapphire, the preview background was right up against the
edge of the screen; since that portion of
border_view_finder.9.png is very dark, it looked as if there
was no border at all. Now there's a guaranteed 2dip of
bg_camera_pattern.png texture visible to the left of the
viewscreen.

Bug: 2655309
Change-Id: I4d4f45542700b8b0fec564b72895e42d9dd29da3

14 years agoam 0055c650: Merge "b/2483367 Moving OneTimeInitializer to vendor/google" into froyo
Michael Chan [Tue, 4 May 2010 03:52:03 +0000 (20:52 -0700)]
am 0055c650: Merge "b/2483367 Moving OneTimeInitializer to vendor/google" into froyo

Merge commit '0055c650940d5c4dbc75998e362c645ec358ec45' into kraken

* commit '0055c650940d5c4dbc75998e362c645ec358ec45':
  b/2483367 Moving OneTimeInitializer to vendor/google

14 years agoMerge "b/2483367 Moving OneTimeInitializer to vendor/google" into froyo
Michael Chan [Tue, 4 May 2010 03:40:55 +0000 (20:40 -0700)]
Merge "b/2483367 Moving OneTimeInitializer to vendor/google" into froyo

14 years agoFix issue 2622023: Clean up all hardcoded '/sdcard' in camera related codes
Ray Chen [Fri, 30 Apr 2010 21:07:03 +0000 (14:07 -0700)]
Fix issue 2622023: Clean up all hardcoded '/sdcard' in camera related codes
http://2622023

Change-Id: I10205ab378c863e2ffed460c83b0037311a6d1a1

14 years agob/2483367 Moving OneTimeInitializer to vendor/google
Michael Chan [Fri, 30 Apr 2010 01:14:13 +0000 (18:14 -0700)]
b/2483367 Moving OneTimeInitializer to vendor/google

See ee510dbe764abbc7bf74c0bb214f4c9a09b87fe8

Change-Id: I9da94242451ead99c1b26796a4dc554a9d3a6503

14 years agoam 739ab183: Import revised translations
Kenny Root [Thu, 29 Apr 2010 23:28:38 +0000 (16:28 -0700)]
am 739ab183: Import revised translations

Merge commit '739ab183c50f2d670357dfcc49653cdef2fc9b5b' into kraken

* commit '739ab183c50f2d670357dfcc49653cdef2fc9b5b':
  Import revised translations

14 years agoImport revised translations
Kenny Root [Thu, 29 Apr 2010 22:28:17 +0000 (15:28 -0700)]
Import revised translations

Change-Id: Id797436a1fe841a4ed068c23ecb9aeb907e29ec3

14 years agoImprove the Texture by using glTexSubImage to upload the image content.
Owen Lin [Thu, 29 Apr 2010 06:20:25 +0000 (14:20 +0800)]
Improve the Texture by using glTexSubImage to upload the image content.

So that we can prevent create another Bitmap just to satisfied the limit that
the width and height must be power of 2.

Change-Id: Ie0cdb1e944fb2bf928464955851fe62d00394d70

14 years agoImport revised translations
Kenny Root [Tue, 27 Apr 2010 20:00:25 +0000 (13:00 -0700)]
Import revised translations

Change-Id: Ife0e63f97c1cd90bcb397098b31116a1d3421e85

14 years agoAvoid loading drawables in CameraSettings.
Owen Lin [Mon, 26 Apr 2010 03:34:30 +0000 (11:34 +0800)]
Avoid loading drawables in CameraSettings.

Bug: 2430326

Change-Id: Ia5e6f4320fac3a89ede5054e9ac7b6f31c973273

14 years agoMerge "Startup time improvements. Bug: 2430326" into froyo
Chih-Chung Chang [Fri, 23 Apr 2010 17:16:52 +0000 (10:16 -0700)]
Merge "Startup time improvements. Bug: 2430326" into froyo

14 years agoStartup time improvements.
Chih-Chung Chang [Thu, 22 Apr 2010 10:40:53 +0000 (18:40 +0800)]
Startup time improvements.
Bug: 2430326

Change-Id: I36dde4cee9f086e468caf87378ce1f2fd0d011c7

14 years agoRemove unused state in some resources.
Owen Lin [Fri, 23 Apr 2010 02:14:15 +0000 (10:14 +0800)]
Remove unused state in some resources.

Change-Id: I7acfd20cb77ace0c953b0f349a64fc85cc334365

Bug: 2557840

14 years agoReset scece mode overrides in InitializeHeadUpDisplay.
Owen Lin [Wed, 21 Apr 2010 07:21:15 +0000 (15:21 +0800)]
Reset scece mode overrides in InitializeHeadUpDisplay.

bug: 2612518
Change-Id: I1b349f3b52cb2f474fa1b0790cc1f8fbecb0b9aa

14 years agoRemove GLRootView in onPause() and put it back in onResume() to avoid OOM in
Owen Lin [Tue, 20 Apr 2010 03:14:44 +0000 (11:14 +0800)]
Remove GLRootView in onPause() and put it back in onResume() to avoid OOM in
Gallery.

Bug: 2557840

Change-Id: I2d6ff6da25bfe342472278efd5fc25c38d5fd5ce

14 years agoMerge "Fix bug: 2609027." into froyo
Owen Lin [Wed, 21 Apr 2010 07:03:38 +0000 (00:03 -0700)]
Merge "Fix bug: 2609027." into froyo

14 years agoFix bug: 2609027.
Owen Lin [Tue, 20 Apr 2010 06:42:01 +0000 (14:42 +0800)]
Fix bug: 2609027.

Change-Id: Ic59f542f50c401492770423f98546e34a70fa2ef

14 years agoDon't stop user from taking pictures while the media scanner is scanning.
Chih-Chung Chang [Tue, 20 Apr 2010 10:07:15 +0000 (18:07 +0800)]
Don't stop user from taking pictures while the media scanner is scanning.
Bug: 2603078

Change-Id: Ic2159201434083919d7f7bc6b1ea2f3438971ebd

14 years agoAlways encode GpsTimeStamp in Camera.
Ray Chen [Tue, 13 Apr 2010 23:44:56 +0000 (16:44 -0700)]
Always encode GpsTimeStamp in Camera.
Bug: 2596154

Change-Id: I00f40032e7db512ab09f6a66e5db7dbef8dc8e27

14 years agoAdd aboutToChange to GLRootView.
Owen Lin [Tue, 13 Apr 2010 08:31:05 +0000 (16:31 +0800)]
Add aboutToChange to GLRootView.

This allow user to notify GLRootView to expect a size change in a near furture.

Change-Id: I8ea2a00c90f0d25c06ee9b292fa9defa2f379abd
Fix: 2591831

14 years agoAdd a hack to avoid allocating GL surface with different sizes.
Chih-Chung Chang [Fri, 9 Apr 2010 12:48:02 +0000 (20:48 +0800)]
Add a hack to avoid allocating GL surface with different sizes.
Bug: 2515291

Change-Id: Ib0d886dcd355ddd3af09cc31089ed8c446911536

14 years agoFix a typo in the code.
Owen Lin [Thu, 8 Apr 2010 10:22:30 +0000 (18:22 +0800)]
Fix a typo in the code.

Bug: 2580309
Change-Id: I25ade485a56230b919d07698e1f9d9f25baaa5b8

14 years agoMerge "Fix the ANR after switching between Camera and Camcorder." into froyo
Chih-Chung Chang [Thu, 8 Apr 2010 05:10:41 +0000 (22:10 -0700)]
Merge "Fix the ANR after switching between Camera and Camcorder." into froyo

14 years agoMerge "Make shortcut upgrading code a bit more robust. Bug: 2558040" into froyo
Chih-Chung Chang [Thu, 8 Apr 2010 05:10:29 +0000 (22:10 -0700)]
Merge "Make shortcut upgrading code a bit more robust. Bug: 2558040" into froyo

14 years agoDo not register OneShotPreviewCallback to reduce latency.
Wu-cheng Li [Sun, 4 Apr 2010 05:37:36 +0000 (13:37 +0800)]
Do not register OneShotPreviewCallback to reduce latency.

bug:2430326
Change-Id: I14f10f1317096966edc094fc4df8691ec20fee11

14 years agoMake shortcut upgrading code a bit more robust.
Chih-Chung Chang [Thu, 8 Apr 2010 02:54:46 +0000 (19:54 -0700)]
Make shortcut upgrading code a bit more robust.
Bug: 2558040

Change-Id: Id2fac56bd4c6082039c48648a757ff228217c713

14 years agoFix the ANR after switching between Camera and Camcorder.
Owen Lin [Thu, 1 Apr 2010 07:42:33 +0000 (15:42 +0800)]
Fix the ANR after switching between Camera and Camcorder.

The reason of this bug is we try to queue an event in the GLThread, but the thread
has already dead when the GLRootView detacched from the window. So, we are
waiting a task that will never be executed.

I have seen a similar ANR in GLRootView.onTouch(), so I also fix the that issue
in this change.

Bug: 2559472

Change-Id: I49efd9ca01f1f6cce73320c31448ebaa7687469f

14 years agoUpdate the code due to API change.
Wu-cheng Li [Sun, 4 Apr 2010 07:07:38 +0000 (15:07 +0800)]
Update the code due to API change.

bug:2553570
Change-Id: Ifa6b2ebbbd0d988deef25afdd013b5429438e52a

14 years agoRemove unused resources and code.
Owen Lin [Thu, 1 Apr 2010 09:47:19 +0000 (17:47 +0800)]
Remove unused resources and code.

Change-Id: I394352f9da02d2585b2635e07c96bfa1c942d070

14 years agoThumbnailUtils.createVideoThumbnail API change
Ray Chen [Tue, 30 Mar 2010 22:03:14 +0000 (15:03 -0700)]
ThumbnailUtils.createVideoThumbnail API change

Change-Id: I175e722353dafac615c34e7b5b0e08c47ad6502a

14 years agoCamera app update due to CameraProfile and CamcorderProfile API changes
James Dong [Wed, 31 Mar 2010 21:39:23 +0000 (14:39 -0700)]
Camera app update due to CameraProfile and CamcorderProfile API changes
Also, make the quality level mapping from String to numeric number less
fragile.

Dependency: https://android-git.corp.google.com/g/#change,47310

bug - 2553862

Change-Id: I50606a16bd9d377f5002bc784a9dcc7b9f8c1486

14 years agoMerge "Update shortcut for VideoCamera too." into froyo
Chih-Chung Chang [Tue, 30 Mar 2010 21:34:14 +0000 (14:34 -0700)]
Merge "Update shortcut for VideoCamera too." into froyo

14 years agoFix one more NPE. (Second run)
Owen Lin [Fri, 26 Mar 2010 11:10:37 +0000 (19:10 +0800)]
Fix one more NPE. (Second run)

Bug: 2529339
Change-Id: Idbfa4e6950a9e1ee3259226697d1cffa34dd23fa

14 years agoImprove GLListView UI.
Owen Lin [Thu, 18 Mar 2010 00:28:07 +0000 (08:28 +0800)]
Improve GLListView UI.

1. Hide the scrollbar several seconds later.
2. Support fling operation now

Change-Id: I5ab22c91f5781ae3bc4b5aa779407ee374eddaa4

14 years agoAdd some more ways to dismiss popup window(UX change).
Owen Lin [Thu, 25 Mar 2010 07:36:26 +0000 (15:36 +0800)]
Add some more ways to dismiss popup window(UX change).

Bug: 2538066
Change-Id: Ieb5b28500363ff5cc88b508329c84c35ebc5b230

14 years agoMerge "Update the camera package name in the camera tests." into froyo
Yu Shan Emily Lau [Tue, 30 Mar 2010 02:19:00 +0000 (19:19 -0700)]
Merge "Update the camera package name in the camera tests." into froyo

14 years agoUpdate the camera package name in the camera tests.
Yu Shan Emily Lau [Mon, 29 Mar 2010 21:59:43 +0000 (14:59 -0700)]
Update the camera package name in the camera tests.

Change-Id: I7e82f9c8c3ea2273d24bfd45fedfe7f912d4f430

14 years agoUpdate shortcut for VideoCamera too.
Chih-Chung Chang [Mon, 29 Mar 2010 17:37:14 +0000 (10:37 -0700)]
Update shortcut for VideoCamera too.

Change-Id: Iaeb2f276bdcf133c4cf3c5a16ae92556de12a875

14 years agoUpdate the shortcut for Camera to the new component name
Chih-Chung Chang [Fri, 26 Mar 2010 23:16:25 +0000 (16:16 -0700)]
Update the shortcut for Camera to the new component name
because our uid changed.

Change-Id: Ic9f47dad348567c78b4e1d224bdc95ab14d09df6

14 years agoRevert "Fix one more NPE."
Chih-Chung Chang [Thu, 25 Mar 2010 18:53:10 +0000 (11:53 -0700)]
Revert "Fix one more NPE."

This reverts commit 416f65b0cc009d251a16512e7b6c3621bf62dc76.

This broke video recording because the GLThread has exited
after the GLSurfaceView is detached from the window, so the
the runnable put into queueEvent never runs.

Change-Id: I7b071ef170d4d36fd551a81db9f3af7f6ff85a83

14 years agoFix one more NPE.
Owen Lin [Tue, 23 Mar 2010 03:06:10 +0000 (11:06 +0800)]
Fix one more NPE.
Bug: 2529339

Change-Id: Ia9ea3ba839e35e1ce3e5cb3a1b1f0cc6f83f1465

14 years agoMerge "Insert the "size" column with other attributes at the same time, so we don...
Chih-Chung Chang [Wed, 24 Mar 2010 16:33:10 +0000 (09:33 -0700)]
Merge "Insert the "size" column with other attributes at the same time, so we don't need to spend time updating it."

14 years agoMerge "Revert the icon rotation animation."
Owen Lin [Wed, 24 Mar 2010 07:52:00 +0000 (00:52 -0700)]
Merge "Revert the icon rotation animation."

14 years agoInsert the "size" column with other attributes at the same time,
Chih-Chung Chang [Tue, 23 Mar 2010 22:28:39 +0000 (15:28 -0700)]
Insert the "size" column with other attributes at the same time,
so we don't need to spend time updating it.

Change-Id: I5d22f132f4d63b7a0a5bf8dfcfa04505ed324f34

14 years agoFix 2533691 by using REVIEW intent added in Gallery.
Wei-Ta Chen [Mon, 22 Mar 2010 20:13:38 +0000 (13:13 -0700)]
Fix 2533691 by using REVIEW intent added in Gallery.

Bug: 2533691

Change-Id: Ia8b7732a485bde5dec6b7cff0b80d4d6f08a8fee

14 years agoRevert the icon rotation animation.
Owen Lin [Mon, 22 Mar 2010 10:03:38 +0000 (18:03 +0800)]
Revert the icon rotation animation.

Change-Id: If21daddd0caf6a7762ddb0478ab35d469908816b

14 years agoFix several NPEs.
Owen Lin [Mon, 22 Mar 2010 07:15:48 +0000 (15:15 +0800)]
Fix several NPEs.

Bug: 2529432 and Bug: 2529344

Change-Id: I6c845da35d7fcef7b3fc38952a32793458e1f59f

14 years agoFix 2427867 by specifying the "review" extra when reviewing the last video/photo.
Wei-Ta Chen [Fri, 19 Mar 2010 23:58:34 +0000 (16:58 -0700)]
Fix 2427867 by specifying the "review" extra when reviewing the last video/photo.

For reviewing video, we explicitly start the activity: com.cooliris.media.Gallery.

Change-Id: Ied03c3d33e426c53a9841b7fb9f10c1ebcc904cb