OSDN Git Service

android-x86/packages-apps-Camera.git
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

15 years agoMerge change 1737 into donut
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.

15 years agoOrganize the structure and named for camera's tests.
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.

15 years agoFix 1851972. Handle the zero images case in GridViewSpecial.
Chih-Chung Chang [Fri, 15 May 2009 03:22:37 +0000 (11:22 +0800)]
Fix 1851972. Handle the zero images case in GridViewSpecial.

15 years agoFix problems identified by findbugs fixit.
Chih-Chung Chang [Thu, 14 May 2009 11:19:17 +0000 (19:19 +0800)]
Fix problems identified by findbugs fixit.

15 years agoDisalbe multiselect function
Owen Lin [Thu, 14 May 2009 07:24:17 +0000 (00:24 -0700)]
Disalbe multiselect function

15 years agoremove cancelAllDecodingThreads and allowAllDecodingThreads.
Ray Chen [Wed, 13 May 2009 08:21:52 +0000 (16:21 +0800)]
remove cancelAllDecodingThreads and allowAllDecodingThreads.

15 years agoDelay snapshot related initialization after surfaceChanged.
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.

15 years agoFix 1850842.
Chih-Chung Chang [Thu, 14 May 2009 02:35:07 +0000 (10:35 +0800)]
Fix 1850842.

15 years agofindbugs fixit.
Chih-Chung Chang [Thu, 14 May 2009 04:36:58 +0000 (12:36 +0800)]
findbugs fixit.

remove unused variable and code.

15 years agoMerge change 1635 into donut
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.

15 years agoRestart 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.

15 years agoTweak to speed up Gallery.
Chih-Chung Chang [Wed, 13 May 2009 09:51:11 +0000 (17:51 +0800)]
Tweak to speed up Gallery.

15 years agoFix bug 1707148 by disabling long press if it is not running.
Owen Lin [Wed, 13 May 2009 02:10:57 +0000 (19:10 -0700)]
Fix bug 1707148 by disabling long press if it is not running.

15 years agoMerge change 959 into donut
Android (Google) Code Review [Wed, 13 May 2009 18:06:57 +0000 (11:06 -0700)]
Merge change 959 into donut

* changes:
  Fix bug 1496873

15 years agoMerge change 1532 into donut
Android (Google) Code Review [Wed, 13 May 2009 09:52:59 +0000 (02:52 -0700)]
Merge change 1532 into donut

* changes:
  Put scrolling position in the valid range.

15 years agoRemove messages in onPause. Remove onStop.
Wu-cheng Li [Wed, 13 May 2009 08:49:00 +0000 (16:49 +0800)]
Remove messages in onPause. Remove onStop.

15 years agoPut scrolling position in the valid range.
Chih-Chung Chang [Wed, 13 May 2009 08:42:57 +0000 (16:42 +0800)]
Put scrolling position in the valid range.

15 years ago new file: ../../../../tests/src/com/android/camera/stress/CameraLatency.java
Ray Chen [Wed, 13 May 2009 08:21:52 +0000 (16:21 +0800)]
new file:   ../../../../tests/src/com/android/camera/stress/CameraLatency.java

15 years agoShow the folder icon first, then fill in the thumb bitmaps.
Chih-Chung Chang [Thu, 7 May 2009 03:49:24 +0000 (11:49 +0800)]
Show the folder icon first, then fill in the thumb bitmaps.

15 years agoMerge change 1440 into donut
Android (Google) Code Review [Wed, 13 May 2009 06:54:40 +0000 (23:54 -0700)]
Merge change 1440 into donut

* changes:
  Make ImageLoader load image in order.

15 years agoMerge change 1525 into donut
Android (Google) Code Review [Wed, 13 May 2009 06:27:23 +0000 (23:27 -0700)]
Merge change 1525 into donut

* changes:
   new file:   ic_menu_3d_globe.png         modified:   ../../src/com/android/camera/MenuHelper.java

15 years ago new file: ic_menu_3d_globe.png
Ray Chen [Wed, 13 May 2009 05:55:29 +0000 (13:55 +0800)]
new file:   ic_menu_3d_globe.png
        modified:   ../../src/com/android/camera/MenuHelper.java

15 years agoMake ImageLoader load image in order.
Chih-Chung Chang [Tue, 12 May 2009 06:44:49 +0000 (14:44 +0800)]
Make ImageLoader load image in order.

Split high and low priority tasks in ImageLoader.
Add adjustPriority function.

15 years agoFix bug 1841837. By updating the zoom controller after zoom in/zoom out.
Owen Lin [Wed, 13 May 2009 01:14:56 +0000 (18:14 -0700)]
Fix bug 1841837. By updating the zoom controller after zoom in/zoom out.

15 years agoMerge change 1410 into donut
Android (Google) Code Review [Tue, 12 May 2009 18:16:58 +0000 (11:16 -0700)]
Merge change 1410 into donut

* changes:
  Put the instrumentation test into a separate tests package.

15 years agoPut the instrumentation test into a separate tests package.
Yu Shan Emily Lau [Mon, 11 May 2009 22:55:06 +0000 (15:55 -0700)]
Put the instrumentation test into a separate tests package.

15 years agoMove things out of surfaceChanged to reduce ANR.
Wu-cheng Li [Tue, 12 May 2009 05:00:10 +0000 (13:00 +0800)]
Move things out of surfaceChanged to reduce ANR.
modified:   res/layout/video_camera.xml
modified:   src/com/android/camera/VideoCamera.java

15 years agoMerge change 1442 into donut
Android (Google) Code Review [Tue, 12 May 2009 09:19:14 +0000 (02:19 -0700)]
Merge change 1442 into donut

* changes:
   modified:   CameraAppUnitTestRunner.java

15 years ago modified: CameraAppUnitTestRunner.java
Ray Chen [Tue, 12 May 2009 09:15:13 +0000 (17:15 +0800)]
modified:   CameraAppUnitTestRunner.java

15 years agoMerge change 1351 into donut
Android (Google) Code Review [Tue, 12 May 2009 08:47:08 +0000 (01:47 -0700)]
Merge change 1351 into donut

* changes:
   new file:   ../CameraAppUnitTestRunner.java  new file:   BitmapManagerUnitTest.java  modified:   ../../../../../../src/com/android/camera/BitmapManager.java

15 years agoRemove unused parameters in ImageLoader.
Chih-Chung Chang [Tue, 12 May 2009 04:32:54 +0000 (12:32 +0800)]
Remove unused parameters in ImageLoader.

15 years agoMake GridViewSpecial faster.
Chih-Chung Chang [Mon, 11 May 2009 11:09:14 +0000 (19:09 +0800)]
Make GridViewSpecial faster.

Allocate ImageBlock on-demand.
Draw the "gray image" on-demand.
Try to keep the queue of ImageLoader non-empty.

15 years ago new file: ../CameraAppUnitTestRunner.java
Ray Chen [Mon, 11 May 2009 05:40:16 +0000 (13:40 +0800)]
new file:   ../CameraAppUnitTestRunner.java
new file:   BitmapManagerUnitTest.java
modified:   ../../../../../../src/com/android/camera/BitmapManager.java

15 years agoMerge change 1335 into donut
Android (Google) Code Review [Mon, 11 May 2009 11:15:07 +0000 (04:15 -0700)]
Merge change 1335 into donut

* changes:
  Fix 1826959.

15 years agoMerge change 1334 into donut
Android (Google) Code Review [Mon, 11 May 2009 11:14:58 +0000 (04:14 -0700)]
Merge change 1334 into donut

* changes:
  Temporarily change max duration for video recording to 600 minutes for testing.

15 years agoMerge change 1126 into donut
Android (Google) Code Review [Mon, 11 May 2009 03:46:13 +0000 (20:46 -0700)]
Merge change 1126 into donut

* changes:
  Fix ClassCastException in Issue 1833558

15 years agoFix 1826959.
Chih-Chung Chang [Sat, 9 May 2009 05:38:17 +0000 (13:38 +0800)]
Fix 1826959.

Need to learn Java.

15 years agoTemporarily change max duration for video recording to 600 minutes for testing.
Chih-Chung Chang [Thu, 7 May 2009 12:47:16 +0000 (20:47 +0800)]
Temporarily change max duration for video recording to 600 minutes for testing.

(b/1681159)

15 years agoFix bug 1496873
Owen Lin [Sat, 2 May 2009 02:14:29 +0000 (19:14 -0700)]
Fix bug 1496873

15 years agoFix b1790511
Wu-cheng Li [Thu, 7 May 2009 15:39:00 +0000 (23:39 +0800)]
Fix b1790511