OSDN Git Service
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.
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.
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.
repo sync [Wed, 17 Jun 2009 03:44:04 +0000 (11:44 +0800)]
Fix NPE in issues
1921957 &
1921062.
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.
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.
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.
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.
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.
Wu-cheng Li [Tue, 16 Jun 2009 05:04:50 +0000 (13:04 +0800)]
Fix NPE in zoomIn.
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.
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.
Wu-cheng Li [Mon, 15 Jun 2009 14:45:17 +0000 (22:45 +0800)]
Hide zoom controller during snapshot.
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.
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.
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.
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.
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.
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).
Wu-cheng Li [Fri, 12 Jun 2009 13:20:58 +0000 (21:20 +0800)]
Add log message for debugging.
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.
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.
Wu-cheng Li [Wed, 10 Jun 2009 08:52:37 +0000 (16:52 +0800)]
Fix the bug when surfaceChanged comes after onPause.
b1903651
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().
Chih-Chung Chang [Thu, 11 Jun 2009 06:27:57 +0000 (14:27 +0800)]
Fix
1909891. Allow keep() to be called without open().
Wu-cheng Li [Wed, 10 Jun 2009 06:44:43 +0000 (14:44 +0800)]
Throw exception if startPreview or setPreviewDisplay fails.
Android (Google) Code Review [Thu, 11 Jun 2009 00:52:12 +0000 (17:52 -0700)]
Merge change 3836 into donut
* changes:
Fix issue
1906618.
repo sync [Thu, 11 Jun 2009 00:50:46 +0000 (08:50 +0800)]
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.
Eric Fischer [Wed, 10 Jun 2009 22:10:34 +0000 (15:10 -0700)]
Update 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.
Eric Fischer [Wed, 10 Jun 2009 19:26:04 +0000 (12:26 -0700)]
AI 149721: Import Portuguese translations.
Automated import of CL 149721
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.
Chih-Chung Chang [Tue, 9 Jun 2009 05:51:29 +0000 (13:51 +0800)]
Share Camera between Camera and VideoCamera.
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.
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.
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.
Owen Lin [Tue, 9 Jun 2009 00:26:52 +0000 (17:26 -0700)]
Hide Action Icon panel for MMS images.
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.
Owen Lin [Sat, 6 Jun 2009 01:28:07 +0000 (18:28 -0700)]
Add correct action icons to ViewImage for video
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.
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.
Wu-cheng Li [Sat, 6 Jun 2009 08:53:44 +0000 (16:53 +0800)]
Add camera zoom UI.
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.
Wu-cheng Li [Fri, 5 Jun 2009 06:35:42 +0000 (14:35 +0800)]
Reduce VideoCamera start-up time.
Owen Lin [Fri, 5 Jun 2009 20:28:24 +0000 (13:28 -0700)]
Fix the unittests due to the change of code.
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.
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
Owen Lin [Fri, 22 May 2009 08:50:27 +0000 (01:50 -0700)]
Make the action icons show on Gallery
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.
Owen Lin [Fri, 29 May 2009 21:38:35 +0000 (14:38 -0700)]
Make ImageList parcelable so that they can pass by intent.
Owen Lin [Wed, 27 May 2009 21:55:45 +0000 (14:55 -0700)]
Fixes some warnings shown in Eclipse.
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.
Wu-cheng Li [Tue, 2 Jun 2009 07:46:20 +0000 (15:46 +0800)]
Lock camera before releasing it. Skip keys after pausing.
Fix
1715862,
1882912,
1890705, and
1889929.
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.
repo sync [Tue, 2 Jun 2009 04:32:33 +0000 (12:32 +0800)]
Fix NPE issue
1885257,
1879113, and
1888919.
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.
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
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
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.
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.
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>
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.
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.
Owen Lin [Fri, 29 May 2009 03:21:39 +0000 (20:21 -0700)]
Add a new category "Camera medias" to gallery.
Owen Lin [Wed, 6 May 2009 05:11:15 +0000 (22:11 -0700)]
Simplify the database code by keeping small data in memory.
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.
Owen Lin [Tue, 26 May 2009 23:22:47 +0000 (16:22 -0700)]
Fix bug
1873866: removing unused member mShutterButton.
Chih-Chung Chang [Mon, 25 May 2009 03:16:48 +0000 (11:16 +0800)]
Fix
1850846.
Drop the result from a previous request.
Owen Lin [Mon, 18 May 2009 22:31:17 +0000 (15:31 -0700)]
New UI for donut's camera !!
Chih-Chung Chang [Fri, 22 May 2009 05:32:46 +0000 (13:32 +0800)]
Fix ImageGallery bug
1871294,
1871295,
1871299.
We ignore UI events if we are in the stopped state.
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.
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:///"
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:///"
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
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.
James Dong [Thu, 21 May 2009 07:07:18 +0000 (00:07 -0700)]
Add explicit permission to record audio
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.
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.
Chih-Chung Chang [Thu, 21 May 2009 02:57:25 +0000 (10:57 +0800)]
Add 30 minutes option for video recording duration.
repo sync [Wed, 20 May 2009 08:52:23 +0000 (16:52 +0800)]
Owen Lin [Wed, 20 May 2009 21:59:07 +0000 (14:59 -0700)]
Use TestSuiteBuilder to build unit test suite.
Chih-Chung Chang [Wed, 20 May 2009 06:24:25 +0000 (14:24 +0800)]
Implement
1746508: add duration limit settings to camcorder.
Chih-Chung Chang [Wed, 20 May 2009 03:14:09 +0000 (11:14 +0800)]
Fix
1864421.
Handle the situation that startPreview fails.
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.
Chih-Chung Chang [Tue, 19 May 2009 06:35:15 +0000 (14:35 +0800)]
Clean CropImage.
Chih-Chung Chang [Fri, 15 May 2009 08:06:41 +0000 (16:06 +0800)]
Clean BitmapManager.
Dianne Hackborn [Wed, 13 May 2009 22:08:07 +0000 (15:08 -0700)]
Rename SDCARD_WRITE to WRITE_SDCARD
Android (Google) Code Review [Fri, 15 May 2009 17:51:41 +0000 (10:51 -0700)]
Merge change 1737 into donut
* changes:
Organize the structure and named for camera's tests. Also add two test suite to make it easier to run by runtest script.
Owen Lin [Fri, 15 May 2009 01:57:25 +0000 (18:57 -0700)]
Organize the structure and named for camera's tests.
Also add two test suite to make it easier to run by runtest script.
Chih-Chung Chang [Fri, 15 May 2009 03:22:37 +0000 (11:22 +0800)]
Fix
1851972. Handle the zero images case in GridViewSpecial.
Chih-Chung Chang [Thu, 14 May 2009 11:19:17 +0000 (19:19 +0800)]
Fix problems identified by findbugs fixit.
Owen Lin [Thu, 14 May 2009 07:24:17 +0000 (00:24 -0700)]
Disalbe multiselect function
Ray Chen [Wed, 13 May 2009 08:21:52 +0000 (16:21 +0800)]
remove cancelAllDecodingThreads and allowAllDecodingThreads.
Wu-cheng Li [Thu, 14 May 2009 03:31:41 +0000 (11:31 +0800)]
Delay snapshot related initialization after surfaceChanged.
Reduce start-up time (
b1656298) and ANR.
Chih-Chung Chang [Thu, 14 May 2009 02:35:07 +0000 (10:35 +0800)]
Chih-Chung Chang [Thu, 14 May 2009 04:36:58 +0000 (12:36 +0800)]
findbugs fixit.
remove unused variable and code.
Android (Google) Code Review [Thu, 14 May 2009 04:11:18 +0000 (21:11 -0700)]
Merge change 1635 into donut
* changes:
Restart preview after recording to avoid the bug in driver.
Chih-Chung Chang [Thu, 14 May 2009 03:49:34 +0000 (11:49 +0800)]
Restart preview after recording to avoid the bug in driver.
Chih-Chung Chang [Wed, 13 May 2009 09:51:11 +0000 (17:51 +0800)]
Tweak to speed up Gallery.