0xdroid:packages_apps_camera.git
6 years agoImport revised translations. DO NOT MERGE leb-0xdroid 0x7-leb-gingerbread
Eric Fischer [Mon, 7 Feb 2011 21:18:58 +0000 (13:18 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: Ie9d2438afe333067f6e7c76ae8c8048eff2caf9c

6 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 28 Jan 2011 21:19:55 +0000 (13:19 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: I5c39872b40d1a5fc15debc2e56a63bb8ca55bcf3

6 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 27 Jan 2011 21:59:58 +0000 (13:59 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: I6b5729b743f11c8ce3433fc003a42ec02dc9bbac

6 years agoImport translations for additional languages.
Eric Fischer [Thu, 6 Jan 2011 18:31:28 +0000 (10:31 -0800)]
Import translations for additional languages.

Change-Id: Ieb72d636027412725d1bb05b48ce9c022faa8f13

6 years agoMerge "Fix NPE in releaseMediaRecorder. do not merge" into gingerbread
Wu-cheng Li [Thu, 2 Dec 2010 03:27:03 +0000 (19:27 -0800)]
Merge "Fix NPE in releaseMediaRecorder. do not merge" into gingerbread

6 years agoFix NPE in releaseMediaRecorder. do not merge
Wu-cheng Li [Tue, 16 Nov 2010 06:10:51 +0000 (14:10 +0800)]
Fix NPE in releaseMediaRecorder. do not merge

Change-Id: I3b96bbaf3889ebf0ce825a20337196df04f11d19

6 years agoFix the bug that video thumbnail is not mirrored in attach mode. do not merge
Wu-cheng Li [Thu, 18 Nov 2010 03:55:29 +0000 (11:55 +0800)]
Fix the bug that video thumbnail is not mirrored in attach mode. do not merge

bug:3208306
Change-Id: Ib0c0a873a797a8a0e03f30897d087d0ddcb1c315

6 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 30 Nov 2010 00:15:59 +0000 (16:15 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: I271479c413d6db17af03838ae334837a5c0f1f2b

7 years agoCheck if surface holder is null in initializeRecorder. do not merge beagle-gingerbread
Wu-cheng Li [Fri, 12 Nov 2010 04:22:15 +0000 (12:22 +0800)]
Check if surface holder is null in initializeRecorder. do not merge

If shutter button is pressed before surface changed,
surface holder can be null. Recording should be ignored.

bug:3187885
Change-Id: I61406f3c44342db28f0ebeddc788d2d1d621fc1b

7 years agoMerge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Thu, 11 Nov 2010 23:43:37 +0000 (15:43 -0800)]
Merge "Import revised translations.  DO NOT MERGE" into gingerbread

7 years agoRotate the recording time according to orientation. do not merge
Wu-cheng Li [Tue, 9 Nov 2010 17:38:15 +0000 (01:38 +0800)]
Rotate the recording time according to orientation. do not merge

bug:3163671
Change-Id: I87d8d8615df136d8347fb345e68eb1f8f8b6fb8b

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 9 Nov 2010 20:18:13 +0000 (12:18 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: I1d2b40073b0ad2f6096300065e92437a2f319c56

7 years agoRotate the postview to correct orientation in video attach mode. do not merge
Wu-cheng Li [Tue, 9 Nov 2010 14:00:27 +0000 (22:00 +0800)]
Rotate the postview to correct orientation in video attach mode. do not merge

bug:3163671
Change-Id: I78d8de1b2fc5f15a268c94062a58b3065772b688

7 years agoSet audio input source type to CAMCORDER in camcorder app.
Wu-cheng Li [Mon, 8 Nov 2010 05:44:20 +0000 (13:44 +0800)]
Set audio input source type to CAMCORDER in camcorder app.

Up to Froyo release, the media framework (pv opencore in particular)
was forcing the audio input source type to CAMCORDER whenever the
capture was for video and audio. This is not true anymore on
gingerbread with stagefright. The proposed solution is to specify
the audio input source as CAMCORDER in the camera app, and not
enforce it in the framework. Enforcing it in the framework removes
flexibility like recording from the front camera with a mic different
from the back mic on platforms with 2 mics and 2 cams.

bug:3171482
Change-Id: I5024ebb453054bfc0fcafedcdc78d98b0393bf81

7 years agoMerge "Remove android.hardware.Camera.CAMERA_ID_DEFAULT." into gingerbread
Wu-cheng Li [Mon, 8 Nov 2010 15:41:52 +0000 (07:41 -0800)]
Merge "Remove android.hardware.Camera.CAMERA_ID_DEFAULT." into gingerbread

7 years agoSet video orientation hint according to device orientation. do not merge
Wu-cheng Li [Sat, 6 Nov 2010 06:47:17 +0000 (14:47 +0800)]
Set video orientation hint according to device orientation. do not merge

Also rotate the on-screen icons according to device orientation.
Move prepare to startVideoRecording because we need to set
the latest orientation to MediaRecorder.setOrientationHint.
setOrientationHint has to be called before prepare.

bug:3163671
Change-Id: I69efe7408aa5d47e2ef9bbab9dd4337a10d56814

7 years agoEnable front-facing camera recording. do not merge
Wu-cheng Li [Sat, 6 Nov 2010 04:55:54 +0000 (12:55 +0800)]
Enable front-facing camera recording. do not merge

bug:3163671
Change-Id: I88ea7c93aa6a08fb1cd529c3f5ad448399daba37

7 years agoRemove android.hardware.Camera.CAMERA_ID_DEFAULT.
Wu-cheng Li [Mon, 8 Nov 2010 04:41:53 +0000 (12:41 +0800)]
Remove android.hardware.Camera.CAMERA_ID_DEFAULT.

bug:3173302
Change-Id: I2141456f3577e504e173a46efdbb343e03aaa5f5

7 years agoRemove front-facing camera recording. do not merge
Wu-cheng Li [Thu, 4 Nov 2010 04:03:03 +0000 (12:03 +0800)]
Remove front-facing camera recording. do not merge

The video looks upside down when the phone is held in portrait.
Remove front-facing camera recording before we have a complete fix.

bug:3163671
Change-Id: I453a21739c9ba387dd02be94bef5f92428e371f1

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 27 Oct 2010 00:02:03 +0000 (17:02 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: If2ed1d2ee607df325b1a8b7f3cfb54b48c4b60d1

7 years agoFix the bug that wrong profile is selected after switching camera
Wu-cheng Li [Mon, 25 Oct 2010 14:20:52 +0000 (22:20 +0800)]
Fix the bug that wrong profile is selected after switching camera

bug:3132055
Change-Id: Ic493cf7ceef40c0e8a9cd8c2850f7b8f09b482fc

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 25 Oct 2010 22:43:16 +0000 (15:43 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: Iaabc8e02839b77f38e8e855408b8c1c6dbc8d1a5

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 22 Oct 2010 22:27:11 +0000 (15:27 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I548bd1a26a2a87b6d5bf6ad00c3211e765915311

7 years agoReplace shared storage with USB storage.
Eric Fischer [Wed, 20 Oct 2010 01:13:05 +0000 (18:13 -0700)]
Replace shared storage with USB storage.

Change-Id: I76e53ee5cc22cf4e80f6d4b4563789ffca887ea8

7 years agoFix wrong usage of setRotation and setOrientation.
Wu-cheng Li [Mon, 18 Oct 2010 11:37:45 +0000 (19:37 +0800)]
Fix wrong usage of setRotation and setOrientation.

bug:3105659
Change-Id: Ie2c1559cc03ece66705c1d766bea0e736f2684bc

7 years agoMerge "Fix wrong aspect ratio of camera preview." into gingerbread
Wu-cheng Li [Mon, 18 Oct 2010 14:38:53 +0000 (07:38 -0700)]
Merge "Fix wrong aspect ratio of camera preview." into gingerbread

7 years agoFix wrong aspect ratio of camera preview.
Wu-cheng Li [Sat, 16 Oct 2010 14:36:41 +0000 (22:36 +0800)]
Fix wrong aspect ratio of camera preview.

Surface view must match the preview size ratio. Deduct all
paddings while calculating the width and height of surface
view.

bug:3104492
Change-Id: I0d87a1c531f51fe74dd62b59f32dc40b1d1fb84d

7 years agoImport revised translations
Kenny Root [Thu, 14 Oct 2010 16:42:58 +0000 (09:42 -0700)]
Import revised translations

Change-Id: I06832dd825e0f33a002257a4b0fa53319b7ce4a0

7 years agoMerge "Add party and candlelight scene modes." into gingerbread
Wu-cheng Li [Tue, 12 Oct 2010 15:59:19 +0000 (08:59 -0700)]
Merge "Add party and candlelight scene modes." into gingerbread

7 years agoMerge "Do not call autoFocus in fixed and EDOF focus modes." into gingerbread
Wu-cheng Li [Tue, 12 Oct 2010 15:53:19 +0000 (08:53 -0700)]
Merge "Do not call autoFocus in fixed and EDOF focus modes." into gingerbread

7 years agoMerge "Do not show the setting if there is only one supported option." into gingerbread
Wu-cheng Li [Tue, 12 Oct 2010 15:52:31 +0000 (08:52 -0700)]
Merge "Do not show the setting if there is only one supported option." into gingerbread

7 years agoAdd party and candlelight scene modes.
Wu-cheng Li [Tue, 12 Oct 2010 09:10:01 +0000 (17:10 +0800)]
Add party and candlelight scene modes.

bug:3088074
Change-Id: I65fdc5567e2845e82ade22d671c16dc5f77e3492

7 years agoSwap gps off and no_signal icons.
Wu-cheng Li [Tue, 12 Oct 2010 08:00:36 +0000 (16:00 +0800)]
Swap gps off and no_signal icons.

bug:3088004
Change-Id: I9b5ec84480e9653c20d04612ee7a6c7025a32948

7 years agoDo not call autoFocus in fixed and EDOF focus modes.
Wu-cheng Li [Tue, 12 Oct 2010 09:34:57 +0000 (17:34 +0800)]
Do not call autoFocus in fixed and EDOF focus modes.

bug:3088128
Change-Id: I9ee656072449b7b900ba03d2afd2ff9ffd9867e0

7 years agoDo not show the setting if there is only one supported option.
Wu-cheng Li [Tue, 12 Oct 2010 08:27:27 +0000 (16:27 +0800)]
Do not show the setting if there is only one supported option.

bug:3064986
Change-Id: I1d3a8cff955d203c2a055ee596f30035001a5c63

7 years agoFix bug3082774, tweak "Restore defaults" setting string
Roy West [Sun, 10 Oct 2010 16:17:48 +0000 (09:17 -0700)]
Fix bug3082774, tweak "Restore defaults" setting string

Change-Id: I2226c618ef246499155d30fd08b5444f52a9fea9

7 years agoMerge "Update GPS icons." into gingerbread
Wu-cheng Li [Fri, 8 Oct 2010 08:20:19 +0000 (01:20 -0700)]
Merge "Update GPS icons." into gingerbread

7 years agoUpdate GPS icons.
Wu-cheng Li [Fri, 8 Oct 2010 06:30:47 +0000 (14:30 +0800)]
Update GPS icons.

Change-Id: Ia4e79aceae02ec60866d03cf2793bc3de2fe5017

7 years agoIncrese the max height of popup window.
Wu-cheng Li [Fri, 8 Oct 2010 05:11:43 +0000 (13:11 +0800)]
Increse the max height of popup window.

Some users do not know the other settings can scroll.
Increase the height a little bit so the bottom breaks
between two options. It looks more scrollable.

Change-Id: I350a07831ccbd23cb8d2e8b8463fb5764affe61d

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 7 Oct 2010 00:12:21 +0000 (17:12 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I36078affe8b6901ac81a14c486d007a30f7ea63e

7 years agoNew downscaled menu assets
Gilles Debunne [Wed, 6 Oct 2010 16:57:41 +0000 (09:57 -0700)]
New downscaled menu assets

Change-Id: I23aba60211f2478089db613215cf895c97df5432

7 years agoAdd 2560x1920 picture size.
Wu-cheng Li [Sun, 3 Oct 2010 09:09:37 +0000 (17:09 +0800)]
Add 2560x1920 picture size.

bug:3051830
Change-Id: Ifbceb2b168cf60ab34cd4cfb7ec4f087df4263b4

7 years agoAdd QVGA picture size and change VGA to translatable=false.
Wu-cheng Li [Sat, 2 Oct 2010 09:14:18 +0000 (17:14 +0800)]
Add QVGA picture size and change VGA to translatable=false.

bug:3051830
Change-Id: I53a58b1e289f3882bd073f2f8deb77a29a759456

7 years agoMerge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Thu, 30 Sep 2010 22:46:20 +0000 (15:46 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into gingerbread

7 years agoFix the crash when zoom is not supported.
Wu-cheng Li [Thu, 30 Sep 2010 00:20:43 +0000 (17:20 -0700)]
Fix the crash when zoom is not supported.

Change-Id: I552f3857d52ed03a2e89e171ccb606dbf940ed44

7 years agoFix proguard flag file dependency.
Ying Wang [Wed, 29 Sep 2010 22:22:39 +0000 (15:22 -0700)]
Fix proguard flag file dependency.

Change-Id: Ida0f8a9b28458b1b35581b46c30b2c1cc992c42d

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 29 Sep 2010 21:31:47 +0000 (14:31 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I8f957c8d342d98581e5c751780b8ef6d07f127e9

7 years agoMerge "Fix the bug that on-screen zoom ratio is not reset." into gingerbread
Wu-cheng Li [Wed, 29 Sep 2010 19:30:31 +0000 (12:30 -0700)]
Merge "Fix the bug that on-screen zoom ratio is not reset." into gingerbread

7 years agoFix the bug that on-screen zoom ratio is not reset.
Wu-cheng Li [Wed, 29 Sep 2010 04:06:26 +0000 (21:06 -0700)]
Fix the bug that on-screen zoom ratio is not reset.

After onPause and onResume, zoom value is reset to 1x
but the on-screen text is not updated.
bug:3024097
Change-Id: I1e5be3732b79073da6582799bba54364e87e5d88

7 years agoMerge "Split strings with SD card references into variations." into gingerbread
Eric Fischer [Wed, 29 Sep 2010 19:02:57 +0000 (12:02 -0700)]
Merge "Split strings with SD card references into variations." into gingerbread

7 years agoSplit strings with SD card references into variations.
Eric Fischer [Tue, 28 Sep 2010 23:34:25 +0000 (16:34 -0700)]
Split strings with SD card references into variations.

Change-Id: I4d3d731eb89c4c9c2b0b19aeb1a8f87826026ad2

7 years agoMerge "Hardcode package/class to switch between camera and camcorder." into gingerbread
Wu-cheng Li [Wed, 29 Sep 2010 03:51:10 +0000 (20:51 -0700)]
Merge "Hardcode package/class to switch between camera and camcorder." into gingerbread

7 years agoHardcode package/class to switch between camera and camcorder.
Wu-cheng Li [Wed, 29 Sep 2010 03:04:49 +0000 (20:04 -0700)]
Hardcode package/class to switch between camera and camcorder.

Users do not expect to choose other camera applications when they
slide the switch. If the activity is not found, fallback to the
intent without package and class names.

bug:3023951
Change-Id: Ifbd9916699255bffdc0cdfb50ed650ad26349dc4

7 years agoHandle multiple camcorder profiles for different cameras
James Dong [Tue, 28 Sep 2010 20:07:02 +0000 (13:07 -0700)]
Handle multiple camcorder profiles for different cameras

Change-Id: Ie15d829d20ffc0aaa470f0385e23055a95778a1b

7 years agoFall back to standard VIEW intent if cooliris gallery does not exist.
Wu-cheng Li [Mon, 27 Sep 2010 20:52:19 +0000 (13:52 -0700)]
Fall back to standard VIEW intent if cooliris gallery does not exist.

bug:3039893
Change-Id: I52062ba817e2b6393df6c93f41492ca19c32f4f5

7 years agoDo not switch camera if the activity is pausing.
Wu-cheng Li [Wed, 28 Jul 2010 23:48:25 +0000 (16:48 -0700)]
Do not switch camera if the activity is pausing.

bug:2876907
Change-Id: I581d1ebe07dae56b8e5daa5da320f19e7e531842

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 24 Sep 2010 17:23:59 +0000 (10:23 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I80bf3d27e34181e3b97b96c95cdfa4a52276be58

7 years agoUpdate the front and back camera icons in dialog.
Wu-cheng Li [Sat, 18 Sep 2010 00:12:31 +0000 (17:12 -0700)]
Update the front and back camera icons in dialog.

These have the correct sizes.

Change-Id: I8fcd8c19029f0be8ff52c6ab1b3b0e4a0871d6de

7 years agoMerge "Add front facing and back facing camera icons." into gingerbread
Wu-cheng Li [Fri, 17 Sep 2010 22:40:16 +0000 (15:40 -0700)]
Merge "Add front facing and back facing camera icons." into gingerbread

7 years agoAdd translatable="false" for pref_camera_id_default.
Wu-cheng Li [Fri, 17 Sep 2010 22:08:34 +0000 (15:08 -0700)]
Add translatable="false" for pref_camera_id_default.

bug:3013075
Change-Id: Id50bdb1cb8e1cd5750edb80102ac10aea43debe3

7 years agoAdd front facing and back facing camera icons.
Wu-cheng Li [Fri, 17 Sep 2010 21:58:24 +0000 (14:58 -0700)]
Add front facing and back facing camera icons.

Menu select icons are bigger than they should be.
They will be updated after smaller icons are available.

Change-Id: Ie2a50cd02e99306864a6d4f8d6c30de686f0edbe

7 years agoDelete the video file if MediaRecorder.stop() throws an exception.
Wu-cheng Li [Thu, 16 Sep 2010 19:56:22 +0000 (12:56 -0700)]
Delete the video file if MediaRecorder.stop() throws an exception.

The file may be malformed and causes problems in decoding.
bug:2934606

Change-Id: I2864584c934455a5aa01f8fc6d732494dd7c2899

7 years agoUpdate the code due to API change.
Wu-cheng Li [Wed, 15 Sep 2010 21:10:31 +0000 (14:10 -0700)]
Update the code due to API change.

bug:3001395
bug:3001399
Change-Id: Ie1347ed28aa72a3ec637867dc2226c60ef2dbd6c

7 years agoMerge "Fix the wrong rotation on naturally landscape devices." into gingerbread
Wu-cheng Li [Wed, 15 Sep 2010 16:22:42 +0000 (09:22 -0700)]
Merge "Fix the wrong rotation on naturally landscape devices." into gingerbread

7 years agoFix the wrong rotation on naturally landscape devices.
Wu-cheng Li [Fri, 10 Sep 2010 19:48:00 +0000 (12:48 -0700)]
Fix the wrong rotation on naturally landscape devices.

The orientation of on-screen icons and thumbnails are
wrong on devices that are naturally landscape in their
orientation. Display.getRotation should be used to
compensate.

Parameters.setRotation should also be compensated by
camera's orientation.

Change-Id: Ia0684fcd606252c49fa2d701ab07c73f7e29b70b

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 10 Sep 2010 20:06:29 +0000 (13:06 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I3c66df04362f1497bff74bdbec54a68166e0b127

7 years agoAdd switch camera on-screen button. DO NOT MERGE
Wu-cheng Li [Thu, 26 Aug 2010 16:53:17 +0000 (09:53 -0700)]
Add switch camera on-screen button. DO NOT MERGE

Change-Id: I00895a9df69d2b29656075da1e03b1a1f684b107

7 years agoMerge "Add the test for activity leak." into gingerbread
Wu-cheng Li [Wed, 8 Sep 2010 18:48:27 +0000 (11:48 -0700)]
Merge "Add the test for activity leak." into gingerbread

7 years agoUse SharedPreferences$Editor.apply to reduce latency.
Wu-cheng Li [Wed, 8 Sep 2010 18:12:43 +0000 (11:12 -0700)]
Use SharedPreferences$Editor.apply to reduce latency.

Replace all commit with apply.
bug:2978683
Change-Id: I6c057fab588aada7c35d03f6237fb850d2a2e856

7 years agoUse new SharedPreferences$Editor.apply instead of commit.
Brad Fitzpatrick [Tue, 7 Sep 2010 00:29:58 +0000 (17:29 -0700)]
Use new SharedPreferences$Editor.apply instead of commit.

apply is the new async version when the caller doesn't care about the
return value, but is otherwise identical in observable effects.

BUG=2978683

Change-Id: I82086fc4501da53266802f95bebc624a7217fd8b

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

Change-Id: Id0353479fef015e8b04139198607fb477d0f24ce

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

Change-Id: Ib377c102bc0e2fde467d94ae81101417c76ce78a

7 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

7 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

7 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