OSDN Git Service

android-x86/packages-apps-Camera.git
15 years agoRemove verbose messages.
Chih-Chung Chang [Mon, 22 Jun 2009 10:35:18 +0000 (18:35 +0800)]
Remove verbose messages.

15 years agoUI refresh for attachment capture mode.
Owen Lin [Fri, 19 Jun 2009 07:21:10 +0000 (00:21 -0700)]
UI refresh for attachment capture mode.

15 years agoFix attach video.
Wu-cheng Li [Fri, 19 Jun 2009 12:11:44 +0000 (20:11 +0800)]
Fix attach video.

15 years ago Integrate camcorder review mode to ReviewImage.
Wu-cheng Li [Fri, 19 Jun 2009 11:28:47 +0000 (19:28 +0800)]
Integrate camcorder review mode to ReviewImage.

15 years agoMove review picture lower.
Wu-cheng Li [Fri, 19 Jun 2009 07:27:30 +0000 (15:27 +0800)]
Move review picture lower.

15 years agoFill the size in database when insert a new item to the table.
Owen Lin [Tue, 16 Jun 2009 03:32:02 +0000 (20:32 -0700)]
Fill the size in database when insert a new item to the table.

15 years agoNew UI for camera
Owen Lin [Thu, 11 Jun 2009 23:02:29 +0000 (16:02 -0700)]
New UI for camera

15 years agoHandle openFileDescriptor failure case.
Wu-cheng Li [Thu, 18 Jun 2009 08:37:32 +0000 (16:37 +0800)]
Handle openFileDescriptor failure case.

Fix b1925294

15 years agoReduce the latency to enter camera setting.
Wu-cheng Li [Thu, 18 Jun 2009 06:35:28 +0000 (14:35 +0800)]
Reduce the latency to enter camera setting.

15 years agoMerge change 4450 into donut
Android (Google) Code Review [Thu, 18 Jun 2009 07:29:48 +0000 (00:29 -0700)]
Merge change 4450 into donut

* changes:
  Fix issue 1921166: Cropped image is not displayed after cropping a picture from Gallery picture view.

15 years agoRemove white balance, effects, ISO, and brightness from setting.
Wu-cheng Li [Thu, 18 Jun 2009 03:38:07 +0000 (11:38 +0800)]
Remove white balance, effects, ISO, and brightness from setting.

15 years agoFix issue 1921166: Cropped image is not displayed after cropping a picture from Galle...
repo sync [Wed, 17 Jun 2009 06:04:41 +0000 (14:04 +0800)]
Fix issue 1921166: Cropped image is not displayed after cropping a picture from Gallery picture view.

15 years agoTry to fix 1917822.
Chih-Chung Chang [Thu, 18 Jun 2009 02:56:41 +0000 (10:56 +0800)]
Try to fix 1917822.

Make sure we have a surface in the holder before proceeding.

15 years agoMerge change 4449 into donut
Android (Google) Code Review [Wed, 17 Jun 2009 20:54:14 +0000 (13:54 -0700)]
Merge change 4449 into donut

* changes:
  Add the run count to the output file and save to the sdcard.

15 years agoAdd the run count to the output file and save to the sdcard.
Yu Shan Emily Lau [Wed, 17 Jun 2009 04:57:45 +0000 (21:57 -0700)]
Add the run count to the output file and save to the sdcard.

15 years agoFix NPE in issues 1921957 & 1921062.
repo sync [Wed, 17 Jun 2009 03:44:04 +0000 (11:44 +0800)]
Fix NPE in issues 1921957 & 1921062.

15 years agoMerge change 4303 into donut
Android (Google) Code Review [Tue, 16 Jun 2009 21:37:22 +0000 (14:37 -0700)]
Merge change 4303 into donut

* changes:
  Added the cameraStartup measurement test case. Modified the ImageCatpure stress test and capture the output to a log file.

15 years agoAdded the cameraStartup measurement test case.
Yu Shan Emily Lau [Tue, 16 Jun 2009 04:26:30 +0000 (21:26 -0700)]
Added the cameraStartup measurement test case.
Modified the ImageCatpure stress test and capture the output to a log file.

15 years agoDisable zoom until driver is ready.
Wu-cheng Li [Tue, 16 Jun 2009 11:20:35 +0000 (19:20 +0800)]
Disable zoom until driver is ready.

If zoom is enabled and camera is zoomed in, preview cannot be started after snapshot.

15 years agoDo not change surface view size after capture.
Wu-cheng Li [Tue, 16 Jun 2009 10:25:33 +0000 (18:25 +0800)]
Do not change surface view size after capture.

This is a workaround for the bug that sometimes preview is not started
when stopPreview and startPreview are called consecutively.

15 years agoMerge change 4305 into donut
Android (Google) Code Review [Tue, 16 Jun 2009 06:22:08 +0000 (23:22 -0700)]
Merge change 4305 into donut

* changes:
  Fix NPE in zoomIn.

15 years agoFix NPE in zoomIn.
Wu-cheng Li [Tue, 16 Jun 2009 05:04:50 +0000 (13:04 +0800)]
Fix NPE in zoomIn.

15 years agoMerge change 4301 into donut
Android (Google) Code Review [Tue, 16 Jun 2009 05:09:47 +0000 (22:09 -0700)]
Merge change 4301 into donut

* changes:
  Remove unnecessary thumbnail generation in the process of saving image.

15 years agoMerge change 4300 into donut
Android (Google) Code Review [Tue, 16 Jun 2009 05:09:32 +0000 (22:09 -0700)]
Merge change 4300 into donut

* changes:
  Fix 1913780. NPE in ImageGallery.getCurrentImage.

15 years agoHide zoom controller during snapshot.
Wu-cheng Li [Mon, 15 Jun 2009 14:45:17 +0000 (22:45 +0800)]
Hide zoom controller during snapshot.

15 years agoRemove unnecessary thumbnail generation in the process of saving image.
Chih-Chung Chang [Tue, 16 Jun 2009 04:14:27 +0000 (12:14 +0800)]
Remove unnecessary thumbnail generation in the process of saving image.

The original code does not work as intended because the filePath is null
at that time, and the mini thumbnail magic is cleared in execute() of
AddImageCancelable. So remove this part of code altogether.

15 years agoFix 1913780. NPE in ImageGallery.getCurrentImage.
Chih-Chung Chang [Tue, 16 Jun 2009 04:11:31 +0000 (12:11 +0800)]
Fix 1913780. NPE in ImageGallery.getCurrentImage.

Check if we can handle events in delete callback.

15 years agoMerge change 4027 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 18:42:35 +0000 (11:42 -0700)]
Merge change 4027 into donut

* changes:
  fix bug 1909589 and 1903635. I think the cause root is that the LruCache is not thread safe. I change it to thread safe and add a test for this.

15 years agoFix issue 1880374 The thumbnail does not update in picture review mode after deleting...
repo sync [Mon, 15 Jun 2009 08:11:09 +0000 (16:11 +0800)]
Fix issue 1880374 The thumbnail does not update in picture review mode after deleting the captured picture.

15 years agoMerge change 4039 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 04:26:33 +0000 (21:26 -0700)]
Merge change 4039 into donut

* changes:
  Fix 1911405: Captured JPEG image size is only 512x384.

15 years agoFix 1911405: Captured JPEG image size is only 512x384.
Chih-Chung Chang [Fri, 12 Jun 2009 11:43:30 +0000 (19:43 +0800)]
Fix 1911405: Captured JPEG image size is only 512x384.

The problem is the thumbnail is written to the same file as the original image.
The bug is made visible by the new camera driver because the thumbnail in the jpeg
file is not readable (I'll file another bug for that).

15 years agoAdd log message for debugging.
Wu-cheng Li [Fri, 12 Jun 2009 13:20:58 +0000 (21:20 +0800)]
Add log message for debugging.

15 years agofix bug 1909589 and 1903635. I think the cause root is that the LruCache is not
Owen Lin [Fri, 12 Jun 2009 00:24:53 +0000 (17:24 -0700)]
fix bug 1909589 and 1903635. I think the cause root is that the LruCache is not
thread safe. I change it to thread safe and add a test for this.

15 years agoExtract MovieViewControl from MovieView. The first step to integrate
Owen Lin [Tue, 9 Jun 2009 20:39:00 +0000 (13:39 -0700)]
Extract MovieViewControl from MovieView. The first step to integrate
movie view into ViewImage.

15 years agoFix the bug when surfaceChanged comes after onPause.
Wu-cheng Li [Wed, 10 Jun 2009 08:52:37 +0000 (16:52 +0800)]
Fix the bug when surfaceChanged comes after onPause.

b1903651

15 years agoMerge change 3871 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 08:19:05 +0000 (01:19 -0700)]
Merge change 3871 into donut

* changes:
  Fix 1909891. Allow keep() to be called without open().

15 years agoFix 1909891. Allow keep() to be called without open().
Chih-Chung Chang [Thu, 11 Jun 2009 06:27:57 +0000 (14:27 +0800)]
Fix 1909891. Allow keep() to be called without open().

15 years agoThrow exception if startPreview or setPreviewDisplay fails.
Wu-cheng Li [Wed, 10 Jun 2009 06:44:43 +0000 (14:44 +0800)]
Throw exception if startPreview or setPreviewDisplay fails.

15 years agoMerge change 3836 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 00:52:12 +0000 (17:52 -0700)]
Merge change 3836 into donut

* changes:
  Fix issue 1906618.

15 years agoFix issue 1906618.
repo sync [Thu, 11 Jun 2009 00:50:46 +0000 (08:50 +0800)]
Fix issue 1906618.

15 years agoMerge change 3377 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 23:09:52 +0000 (16:09 -0700)]
Merge change 3377 into donut

* changes:
  Fix the unittests due to the change of code.

15 years agoUpdate Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 22:10:34 +0000 (15:10 -0700)]
Update Portuguese translations.

15 years agoam ce28aa21: AI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:32:09 +0000 (12:32 -0700)]
am ce28aa21: AI 149721: Import Portuguese translations.

Merge commit 'ce28aa21b335ed1d16307e920bc3166f27f166a5' into donut

* commit 'ce28aa21b335ed1d16307e920bc3166f27f166a5':
  AI 149721: Import Portuguese translations.

15 years agoAI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:26:04 +0000 (12:26 -0700)]
AI 149721: Import Portuguese translations.

Automated import of CL 149721

15 years agoFix 1820711 Preview ratio is wrong after returning from camera setting.
Chih-Chung Chang [Wed, 10 Jun 2009 09:37:42 +0000 (17:37 +0800)]
Fix 1820711 Preview ratio is wrong after returning from camera setting.

15 years agoShare Camera between Camera and VideoCamera.
Chih-Chung Chang [Tue, 9 Jun 2009 05:51:29 +0000 (13:51 +0800)]
Share Camera between Camera and VideoCamera.

15 years agoMerge change 3410 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 07:38:32 +0000 (00:38 -0700)]
Merge change 3410 into donut

* changes:
  Move storeImage to worker thread so we can start preview in parallel.

15 years agoMove storeImage to worker thread so we can start preview in parallel.
repo sync [Sat, 6 Jun 2009 03:18:07 +0000 (11:18 +0800)]
Move storeImage to worker thread so we can start preview in parallel.

15 years agoMerge change 3291 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 04:42:34 +0000 (21:42 -0700)]
Merge change 3291 into donut

* changes:
  Revert the workaround for the buggy driver. The original change is d55a5e92d6065bd36a60925221d8cc9a773572eb.

15 years agoHide Action Icon panel for MMS images.
Owen Lin [Tue, 9 Jun 2009 00:26:52 +0000 (17:26 -0700)]
Hide Action Icon panel for MMS images.

15 years agoRevert the workaround for the buggy driver.
Chih-Chung Chang [Fri, 5 Jun 2009 09:32:54 +0000 (17:32 +0800)]
Revert the workaround for the buggy driver.
The original change is d55a5e92d6065bd36a60925221d8cc9a773572eb.

15 years agoAdd correct action icons to ViewImage for video
Owen Lin [Sat, 6 Jun 2009 01:28:07 +0000 (18:28 -0700)]
Add correct action icons to ViewImage for video

15 years agoMerge change 3393 into donut
Android (Google) Code Review [Mon, 8 Jun 2009 19:15:43 +0000 (12:15 -0700)]
Merge change 3393 into donut

* changes:
  Use a week reference to trace all the items which are in used. By doing so, we can make sure there are only item of the given key in the system.

15 years agoUse a week reference to trace all the items which are in used.
Owen Lin [Fri, 5 Jun 2009 21:23:20 +0000 (14:23 -0700)]
Use a week reference to trace all the items which are in used.
By doing so, we can make sure there are only item of the given key in
the system.

15 years agoAdd camera zoom UI.
Wu-cheng Li [Sat, 6 Jun 2009 08:53:44 +0000 (16:53 +0800)]
Add camera zoom UI.

15 years agoMerge change 3282 into donut
Android (Google) Code Review [Sat, 6 Jun 2009 07:28:28 +0000 (00:28 -0700)]
Merge change 3282 into donut

* changes:
  Reduce VideoCamera start-up time.

15 years agoReduce VideoCamera start-up time.
Wu-cheng Li [Fri, 5 Jun 2009 06:35:42 +0000 (14:35 +0800)]
Reduce VideoCamera start-up time.

15 years agoFix the unittests due to the change of code.
Owen Lin [Fri, 5 Jun 2009 20:28:24 +0000 (13:28 -0700)]
Fix the unittests due to the change of code.

15 years agoExposed the camera latency measurement to the test.
Yu Shan Emily Lau [Wed, 3 Jun 2009 04:59:58 +0000 (21:59 -0700)]
Exposed the camera latency measurement to the test.
Added the camera latency to the StressTest runner.

15 years agoFix bug 1897802 in two parts.
Owen Lin [Thu, 4 Jun 2009 21:04:30 +0000 (14:04 -0700)]
Fix bug 1897802 in two parts.

1. Override the getImageIndex in SingleImageList (This is a potential bug)
2. Fallback to the original code if no ImageList is pass over the intent

15 years agoMake the action icons show on Gallery
Owen Lin [Fri, 22 May 2009 08:50:27 +0000 (01:50 -0700)]
Make the action icons show on Gallery

15 years agoPass image list from ImageGallery to ViewImage to support the uber type
Owen Lin [Thu, 4 Jun 2009 00:07:33 +0000 (17:07 -0700)]
Pass image list from ImageGallery to ViewImage to support the uber type
image list.

15 years agoMake ImageList parcelable so that they can pass by intent.
Owen Lin [Fri, 29 May 2009 21:38:35 +0000 (14:38 -0700)]
Make ImageList parcelable so that they can pass by intent.

15 years agoFixes some warnings shown in Eclipse.
Owen Lin [Wed, 27 May 2009 21:55:45 +0000 (14:55 -0700)]
Fixes some warnings shown in Eclipse.

15 years agoMerge change 2720 into donut
Android (Google) Code Review [Wed, 3 Jun 2009 21:17:01 +0000 (14:17 -0700)]
Merge change 2720 into donut

* changes:
  Add a new category "Camera medias" to gallery.

15 years agoLock camera before releasing it. Skip keys after pausing.
Wu-cheng Li [Tue, 2 Jun 2009 07:46:20 +0000 (15:46 +0800)]
Lock camera before releasing it. Skip keys after pausing.

Fix 171586218829121890705, and 1889929.

15 years agoMerge change 2901 into donut
Android (Google) Code Review [Tue, 2 Jun 2009 06:27:50 +0000 (23:27 -0700)]
Merge change 2901 into donut

* changes:
  Fix NPE issue 1885257,1879113, and 1888919.

15 years agoFix NPE issue 1885257,1879113, and 1888919.
repo sync [Tue, 2 Jun 2009 04:32:33 +0000 (12:32 +0800)]
Fix NPE issue 1885257,1879113, and 1888919.

15 years agoIssue 1860338: Remove the video size check for "share".
Chih-Chung Chang [Mon, 1 Jun 2009 11:33:32 +0000 (19:33 +0800)]
Issue 1860338: Remove the video size check for "share".
So the receiving end applications can queue the video to MediaUploader.
This is basically a revert of perforce CL 137817.

15 years agoMerge change 1531 into donut
Android (Google) Code Review [Tue, 2 Jun 2009 03:15:01 +0000 (20:15 -0700)]
Merge change 1531 into donut

* changes:
   new file:   ../../../../tests/src/com/android/camera/stress/CameraLatency.java

15 years agoMerge change 2806 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 16:58:50 +0000 (09:58 -0700)]
Merge change 2806 into donut

* changes:
  camera: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE

15 years agoMerge change 2724 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 16:55:24 +0000 (09:55 -0700)]
Merge change 2724 into donut

* changes:
  Fix the order bug in ImageListUber and add unit test for ImageListUber.

15 years agoMerge change 1283 into donut
Android (Google) Code Review [Mon, 1 Jun 2009 16:50:33 +0000 (09:50 -0700)]
Merge change 1283 into donut

* changes:
  Simplify the database code by keeping small data in memory.

15 years agocamera: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE
San Mehat [Mon, 1 Jun 2009 16:26:08 +0000 (09:26 -0700)]
camera: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE

Signed-off-by: San Mehat <san@google.com>
15 years agoAdd picture orientation debug message to help investigate 1877705.
Chih-Chung Chang [Wed, 27 May 2009 04:27:02 +0000 (12:27 +0800)]
Add picture orientation debug message to help investigate 1877705.

Also clean the code if the orientation is unknown.

15 years agoFix the order bug in ImageListUber and add unit test for ImageListUber.
Owen Lin [Fri, 29 May 2009 03:24:08 +0000 (20:24 -0700)]
Fix the order bug in ImageListUber and add unit test for ImageListUber.

15 years agoAdd a new category "Camera medias" to gallery.
Owen Lin [Fri, 29 May 2009 03:21:39 +0000 (20:21 -0700)]
Add a new category "Camera medias" to gallery.

15 years agoSimplify the database code by keeping small data in memory.
Owen Lin [Wed, 6 May 2009 05:11:15 +0000 (22:11 -0700)]
Simplify the database code by keeping small data in memory.

15 years agoMerge change 2243 into donut
Android (Google) Code Review [Fri, 29 May 2009 03:01:34 +0000 (20:01 -0700)]
Merge change 2243 into donut

* changes:
  Use TestSuiteBuilder to build unit test suite.

15 years agoFix bug 1873866: removing unused member mShutterButton.
Owen Lin [Tue, 26 May 2009 23:22:47 +0000 (16:22 -0700)]
Fix bug 1873866: removing unused member mShutterButton.

15 years agoFix 1850846.
Chih-Chung Chang [Mon, 25 May 2009 03:16:48 +0000 (11:16 +0800)]
Fix 1850846.

Drop the result from a previous request.

15 years agoNew UI for donut's camera !!
Owen Lin [Mon, 18 May 2009 22:31:17 +0000 (15:31 -0700)]
New UI for donut's camera !!

15 years agoFix ImageGallery bug 1871294, 1871295, 1871299.
Chih-Chung Chang [Fri, 22 May 2009 05:32:46 +0000 (13:32 +0800)]
Fix ImageGallery bug 187129418712951871299.

We ignore UI events if we are in the stopped state.

15 years agoam e655d541: AI 149135: Add RECORD_AUDIO permission to camera app. Due to an oversi...
Dave Sparks [Thu, 21 May 2009 18:57:49 +0000 (11:57 -0700)]
am e655d541: AI 149135: Add RECORD_AUDIO permission to camera app.   Due to an oversight, the RECORD_AUDIO permission was not being enforced.   This change adds the permission to the camera app so that when it is   enforced, it won\'t throw an exception.   BUG=1868334

Merge commit 'e655d54160e5a56d4909f2459eeae9012e9f187f' into donut

* commit 'e655d54160e5a56d4909f2459eeae9012e9f187f':
  AI 149135: Add RECORD_AUDIO permission to camera app.

15 years agoMerge change 2173 into donut
Android (Google) Code Review [Thu, 21 May 2009 17:24:14 +0000 (10:24 -0700)]
Merge change 2173 into donut

* changes:
  Fix bug 1866604: by fixing the output file URI, change it from "file://" to "file:///"

15 years agoFix bug 1866604: by fixing the output file URI,
Owen Lin [Thu, 21 May 2009 04:44:47 +0000 (21:44 -0700)]
Fix bug 1866604: by fixing the output file URI,
change it from "file://" to "file:///"

15 years agoAI 149135: Add RECORD_AUDIO permission to camera app.
Dave Sparks [Thu, 21 May 2009 16:59:57 +0000 (09:59 -0700)]
AI 149135: Add RECORD_AUDIO permission to camera app.
  Due to an oversight, the RECORD_AUDIO permission was not being enforced.
  This change adds the permission to the camera app so that when it is
  enforced, it won't throw an exception.
  BUG=1868334

Automated import of CL 149135

15 years agoMerge change 2169 into donut
Android (Google) Code Review [Thu, 21 May 2009 09:09:10 +0000 (02:09 -0700)]
Merge change 2169 into donut

* changes:
  Fix 1868147 (Image cropping is broken in Gallery) and clean up the code.

15 years agoAdd explicit permission to record audio
James Dong [Thu, 21 May 2009 07:07:18 +0000 (00:07 -0700)]
Add explicit permission to record audio

15 years agoFix 1868147 (Image cropping is broken in Gallery) and clean up the code.
Chih-Chung Chang [Thu, 21 May 2009 03:05:38 +0000 (11:05 +0800)]
Fix 1868147 (Image cropping is broken in Gallery) and clean up the code.

15 years agoMerge change 2167 into donut
Android (Google) Code Review [Thu, 21 May 2009 03:35:23 +0000 (20:35 -0700)]
Merge change 2167 into donut

* changes:
  Add 30 minutes option for video recording duration.

15 years agoAdd 30 minutes option for video recording duration.
Chih-Chung Chang [Thu, 21 May 2009 02:57:25 +0000 (10:57 +0800)]
Add 30 minutes option for video recording duration.

15 years agoFix Issue 1750544.
repo sync [Wed, 20 May 2009 08:52:23 +0000 (16:52 +0800)]
Fix Issue 1750544.

15 years agoUse TestSuiteBuilder to build unit test suite.
Owen Lin [Wed, 20 May 2009 21:59:07 +0000 (14:59 -0700)]
Use TestSuiteBuilder to build unit test suite.

15 years agoImplement 1746508: add duration limit settings to camcorder.
Chih-Chung Chang [Wed, 20 May 2009 06:24:25 +0000 (14:24 +0800)]
Implement 1746508: add duration limit settings to camcorder.

15 years agoFix 1864421.
Chih-Chung Chang [Wed, 20 May 2009 03:14:09 +0000 (11:14 +0800)]
Fix 1864421.

Handle the situation that startPreview fails.

15 years agoFix crash seen in monkey run.
Chih-Chung Chang [Wed, 20 May 2009 02:34:46 +0000 (10:34 +0800)]
Fix crash seen in monkey run.

We should not call restartPreview in onPause.

15 years agoClean CropImage.
Chih-Chung Chang [Tue, 19 May 2009 06:35:15 +0000 (14:35 +0800)]
Clean CropImage.

15 years agoClean BitmapManager.
Chih-Chung Chang [Fri, 15 May 2009 08:06:41 +0000 (16:06 +0800)]
Clean BitmapManager.

15 years agoRename SDCARD_WRITE to WRITE_SDCARD
Dianne Hackborn [Wed, 13 May 2009 22:08:07 +0000 (15:08 -0700)]
Rename SDCARD_WRITE to WRITE_SDCARD