summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add switch camera on-screen button. DO NOT MERGEWu-cheng Li2010-09-0823-85/+155
| | | | Change-Id: I00895a9df69d2b29656075da1e03b1a1f684b107
* Merge "Add the test for activity leak." into gingerbreadWu-cheng Li2010-09-081-0/+37
|\
| * Add the test for activity leak.Wu-cheng Li2010-09-031-0/+37
| | | | | | | | | | bug:2949181 Change-Id: I3a804f360611d8195ff5a9dc5046ad75789329b3
* | Use SharedPreferences$Editor.apply to reduce latency.Wu-cheng Li2010-09-083-6/+6
| | | | | | | | | | | | Replace all commit with apply. bug:2978683 Change-Id: I6c057fab588aada7c35d03f6237fb850d2a2e856
* | Use new SharedPreferences$Editor.apply instead of commit.Brad Fitzpatrick2010-09-072-2/+3
|/ | | | | | | | | 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
* Fix the crash when video quality changes.Wu-cheng Li2010-09-031-0/+8
| | | | | | | Stop the preview in surfaceChanged before restarting the preview. bug:2974865 Change-Id: Ie6b99c2650ee4900a277da87006950e984358d6f
* Merge "Remove quick capture UI. It is not used." into gingerbreadWu-cheng Li2010-09-0225-99/+1
|\
| * Remove quick capture UI. It is not used.Wu-cheng Li2010-09-0125-99/+1
| | | | | | | | Change-Id: Ie087afba5633304c71ca5f72276d16f620931869
* | Merge "Turn on the camera unit tests." into gingerbreadYu Shan Emily Lau2010-09-011-0/+4
|\ \ | |/ |/|
| * Turn on the camera unit tests.Yu Shan Emily Lau2010-08-311-0/+4
| | | | | | | | Change-Id: Ic8580ed3c047268b3a25a114c512030e01439f6a
* | Fix wrong orientation after suspend and resume.Wu-cheng Li2010-09-012-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Stop and restart the preview in surfaceChanged." into gingerbreadWu-cheng Li2010-09-012-45/+27
|\ \ | |/ |/|
| * Stop and restart the preview in surfaceChanged.Wu-cheng Li2010-08-312-45/+27
| | | | | | | | | | | | If surface is changed, applications should call setPreviewDisplay again. Change-Id: I91072e6daba841db486b54240bb85c455588aaee
* | Renaming SharedPreferences$Editor.startCommit to applyBrad Fitzpatrick2010-08-301-1/+1
|/ | | | Change-Id: Ib31ff57f37ba08de32cd569b2bd86aee52cb64fe
* Remove metering mode support.Wu-cheng Li2010-08-3026-127/+1
| | | | Change-Id: I624f611e19c438630bc84778332d13f0357da23f
* Merge "Import revised translations. DO NOT MERGE" into gingerbreadEric Fischer2010-08-3020-0/+120
|\
| * Import revised translations. DO NOT MERGEEric Fischer2010-08-2720-0/+120
| | | | | | | | Change-Id: I5ff345b289968ccf023b6c641c8e3c839a095fc9
* | Merge "Fix memory leak. Camera application is leaking activities." into ↵Wu-cheng Li2010-08-301-2/+2
|\ \ | |/ |/| | | gingerbread
| * Fix memory leak. Camera application is leaking activities.Wu-cheng Li2010-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | ComboPreferences.sMap (value) -->ComboPreference (field mListeners) -->HeadUpDisplay -->activities Make sure HeadUpDisplay is unregistered from ComboPreference listener list. bug:2949181 Change-Id: Ia0350afd6e9f23f92ce4b252a4b74709b4cd5bf7
* | Add camera selection setting strings.Wu-cheng Li2010-08-261-0/+8
|/ | | | Change-Id: I1cebf6c926c4b475e2d66894f748c2c6861937d8
* Add SharedPreferences#startCommit() method.Brad Fitzpatrick2010-08-251-0/+4
| | | | | | The interface widened. Change-Id: I3ddf695c3d97b72eab4cfa3abe484db41d79a958
* Close the video file descriptor earlier.Wu-cheng Li2010-08-202-20/+55
| | | | | | | | 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
* Import revised translations. DO NOT MERGEEric Fischer2010-08-171-1/+1
| | | | Change-Id: I8e4d5edb29dbfd46f6095808e3d9de1aebc83cf6
* Import revised translations. DO NOT MERGEEric Fischer2010-08-105-8/+8
| | | | Change-Id: I26db5882f7f30f165914cbfdd6351c18e5a639cf
* Do not cancel autofocus when snapshot is in progress.Wu-cheng Li2010-08-051-2/+2
| | | | | | | The bug occurred when camera key was half pressed, focus completed, camera key was fully pressed, and camera key was released. Change-Id: I4f25ee2e819cecbb59809de85fb450091e655927
* Import revised translations. DO NOT MERGEEric Fischer2010-08-0420-1/+121
| | | | Change-Id: If28d05bf747e8d16594d3788b4b9ced62a9ba380
* Fixed the NPE issue with the test file output name.Yu Shan Emily Lau2010-07-271-8/+10
| | | | Change-Id: I715772867d84b60d87c1b44ef6588e7b5003019d
* Expose the camera stress test parameters.Yu Shan Emily Lau2010-07-203-10/+83
| | | | Change-Id: Iff20081e8e49da744f4ee36925167bbeb6a2a87c
* Fix build again again.Chih-Chung Chang2010-06-281-5/+6
| | | | Change-Id: I5acf4836559f265a24c1b0f26582711e6c6b06e4
* Fix build again.Chih-Chung Chang2010-06-281-2/+2
| | | | Change-Id: Id0353479fef015e8b04139198607fb477d0f24ce
* Fix build.Chih-Chung Chang2010-06-281-0/+10
| | | | Change-Id: Ib377c102bc0e2fde467d94ae81101417c76ce78a
* Support multiple camera preferences.Chih-Chung Chang2010-06-237-31/+287
| | | | Change-Id: I7c8440424c472c9ff61ac22692ce60234d359efe
* Support switching between multiple cameras.Chih-Chung Chang2010-06-238-24/+177
| | | | Change-Id: Id444ebcd780c67f4990bd6f6b96c74379b6859ab
* Add metering mode support.Wu-cheng Li2010-06-116-2/+48
| | | | Change-Id: I8b964df4534da0b393479baddabfc85ce1b09b2f
* am b84acd02: Merge "Fixed the camera test instrumentation target naming ↵Yu Shan Emily Lau2010-06-101-2/+2
|\ | | | | | | | | | | | | | | | | issue." into froyo Merge commit 'b84acd02e46f87dead1fa75abb14427bf29ba8d8' into kraken * commit 'b84acd02e46f87dead1fa75abb14427bf29ba8d8': Fixed the camera test instrumentation target naming issue.
| * Merge "Fixed the camera test instrumentation target naming issue." into froyoYu Shan Emily Lau2010-06-101-2/+2
| |\
| | * Fixed the camera test instrumentation target naming issue.Yu Shan Emily Lau2010-06-091-2/+2
| | | | | | | | | | | | Change-Id: Ia98963e7ae38157d96a7fe3b70d37eca9c5f4af2
* | | am 432a1c68: Import revised translationsKenny Root2010-06-091-3/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '432a1c682221baadfb36d12c651a4092ea75ebcb' into kraken * commit '432a1c682221baadfb36d12c651a4092ea75ebcb': Import revised translations
| * | Import revised translationsKenny Root2010-06-091-3/+3
| |/ | | | | | | Change-Id: Ia5d2e7169014c35590ab1fe5ae5467d68f824d62
* | mParameters is initialized in preview thread and could be NULL inOwen Lin2010-05-311-2/+4
| | | | | | | | | | | | | | "initializeHeadUpDisplay()" Bug: 2728390 Change-Id: Iaf27fa940a9758dff816c0c945ead330a2e9ec3f
* | Show better message to users if camera fails to access sdcard.Wu-cheng Li2010-05-284-4/+18
| | | | | | | | | | | | | | Also print the exception if sdcard access fails. bug:2713104 Change-Id: I35a553ee75a49398582b587755d097b02b144015
* | Refactor the code. Improve the inheritance structure of Textures.Owen Lin2010-05-1717-371/+269
| | | | | | | | Change-Id: I72a78f97cf54a6505cd7bff98e1db1bdf5fa84c9
* | Using GL to draw NinePatchOwen Lin2010-05-174-87/+336
| | | | | | | | Change-Id: I2aa92bba691cbfde75523c196a880d0e18eeaba4
* | Merge "Fix issue 2622023: Clean up all hardcoded '/sdcard' in camera related ↵Ray Chen2010-05-144-11/+22
|\ \ | | | | | | | | | codes http://2622023" into kraken
| * | Fix issue 2622023: Clean up all hardcoded '/sdcard' in camera related codesRay Chen2010-04-304-11/+22
| | | | | | | | | | | | | | | | | | http://2622023 Change-Id: I10205ab378c863e2ffed460c83b0037311a6d1a1
* | | Initialize the HeadUpDisplay only once in the life time of the activity.Owen Lin2010-05-142-22/+25
| | | | | | | | | | | | | | | | | | And review the code so that mHeadUpDisplay won't be null when used. Change-Id: I335a25e64035627c30ec2c6f45c17566f0ea2420
* | | resolved conflicts for merge of ec1dfcb7 to krakenOwen Lin2010-05-1431-0/+495
|\ \ \ | | |/ | |/| | | | Change-Id: I5ea57293d0b34f4189983c7a9851555bcf5f5232
| * | Add copyright headers to source codes.Owen Lin2010-05-1330-0/+479
| | | | | | | | | | | | | | | | | | Bug: 2680376 Change-Id: I4d0b297f2cee13bb03104996f020732713c61e03
* | | Create a ColorTexture to draw pure color in GL.Owen Lin2010-05-1315-28/+86
| | | | | | | | | | | | Change-Id: I9dfa69b6037397d01a43c976b2d02acb16f2af62
* | | am e3911500: Fix 2672651 When GPS is disabled, GPS EXIF data is still in the ↵Ray Chen2010-05-121-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | photo http://2672651 Merge commit 'e391150007300e63d3fb6e2236db3f4c9247fb9c' into kraken * commit 'e391150007300e63d3fb6e2236db3f4c9247fb9c': Fix 2672651 When GPS is disabled, GPS EXIF data is still in the photo