0xdroid:packages_apps_camera.git
8 years agocherry pick 4bc220acc9d5582f9c4a979ce4f3c210abe295c3 android-1.6_r1.2
Eric Fischer [Wed, 30 Sep 2009 17:52:41 +0000 (10:52 -0700)]
cherry pick 4bc220acc9d5582f9c4a979ce4f3c210abe295c3

8 years agoRemove unused library. android-1.6_r1 android-1.6_r1.1 android-sdk-1.6-docs_r1 android-sdk-1.6_r1 android-sdk-tools_r2 beagle-donut-startpoint
Chih-Chung Chang [Wed, 26 Aug 2009 11:16:31 +0000 (19:16 +0800)]
Remove unused library.

This should save about 30k (uncompressed) on the user build.
The library was used for the uploader, but the code has long since been removed.

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 17 Aug 2009 20:14:35 +0000 (13:14 -0700)]
Import revised translations.  DO NOT MERGE

8 years agoOpen Google Maps by default for "Show on map". DO NOT MERGE
Owen Lin [Fri, 14 Aug 2009 06:24:23 +0000 (14:24 +0800)]
Open Google Maps by default for "Show on map". DO NOT MERGE

This will solve an issue that browser will crash when open the http URL for map.
(bug 2039537). But we need to use these kind of intent for GMM to show a marker
on map. So, we change the code to open it with GMM first. If GMM is not installed,
we will use others who can handle the "geo:lat,lng" intent.

8 years agoFix http://b/issue?id=2048408.
Wei-Ta Chen [Wed, 12 Aug 2009 13:00:23 +0000 (21:00 +0800)]
Fix http://b/issue?id=2048408.

(1) Set default maximum numbers of pixels for thumbails and mini thumbnails.
(2) Enfore computeSampleSize() to return a sample size that is either power of 2
    or multiple of 8.

8 years agoMake the responsive region larger for the Picture/Video mode switch.
Chih-Chung Chang [Mon, 10 Aug 2009 09:00:52 +0000 (17:00 +0800)]
Make the responsive region larger for the Picture/Video mode switch.

8 years agoRemoved unused resources and code. See 2036961: build size too large.
Chih-Chung Chang [Thu, 6 Aug 2009 06:33:30 +0000 (14:33 +0800)]
Removed unused resources and code. See 2036961: build size too large.

8 years agoMerge change 20382 into donut
Android (Google) Code Review [Fri, 7 Aug 2009 20:42:08 +0000 (13:42 -0700)]
Merge change 20382 into donut

* changes:
  Fix issue 2039521: Pressing back key doesn't work.

8 years agoAdopt new AppWidget assets, per http://b/2038594.
Jeff Sharkey [Fri, 7 Aug 2009 04:38:08 +0000 (21:38 -0700)]
Adopt new AppWidget assets, per http://b/2038594.

8 years agoFix issue 2039521: Pressing back key doesn't work.
repo syn && make -j4 [Fri, 7 Aug 2009 01:41:42 +0000 (18:41 -0700)]
Fix issue 2039521: Pressing back key doesn't work.

8 years agoHide controls when return from other activities.
Owen Lin [Thu, 6 Aug 2009 07:29:34 +0000 (15:29 +0800)]
Hide controls when return from other activities.

8 years agoMerge change 20231 into donut
Android (Google) Code Review [Thu, 6 Aug 2009 05:48:01 +0000 (22:48 -0700)]
Merge change 20231 into donut

* changes:
  Change the task affinity of Camcorder to be different as Camera.

8 years agoChange the task affinity of Camcorder to be different as Camera.
Owen Lin [Wed, 5 Aug 2009 09:08:17 +0000 (17:08 +0800)]
Change the task affinity of Camcorder to be different as Camera.

8 years agoFix 2033184: Crash on delete after downloading/previewing picture attachments.
Chih-Chung Chang [Wed, 5 Aug 2009 08:17:38 +0000 (16:17 +0800)]
Fix 2033184: Crash on delete after downloading/previewing picture attachments.

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 3 Aug 2009 23:08:24 +0000 (16:08 -0700)]
Import revised translations.   DO NOT MERGE

8 years agoMerge change 9125 into donut
Android (Google) Code Review [Fri, 31 Jul 2009 14:46:57 +0000 (07:46 -0700)]
Merge change 9125 into donut

* changes:
  Fix bug 2022547. Show zoom buttons only when click on photo area.

8 years agoMake CropImage always fullscreen.
Wu-cheng Li [Fri, 31 Jul 2009 06:29:08 +0000 (14:29 +0800)]
Make CropImage always fullscreen.

8 years agoFix bug 2022547. Show zoom buttons only when click on photo area.
Owen Lin [Thu, 30 Jul 2009 02:23:30 +0000 (10:23 +0800)]
Fix bug 2022547. Show zoom buttons only when click on photo area.

8 years agoFix 2021864: NPE while saving picture in CropImage.
Chih-Chung Chang [Fri, 31 Jul 2009 04:28:40 +0000 (12:28 +0800)]
Fix 2021864: NPE while saving picture in CropImage.

The problem is if the bitmap is passed inline, we won't have a image list
to release in onDestroy.

8 years agoMake dpad left/right move to prev/next image.
Chih-Chung Chang [Thu, 30 Jul 2009 09:59:09 +0000 (17:59 +0800)]
Make dpad left/right move to prev/next image.

8 years agoMerge change 9141 into donut
Android (Google) Code Review [Thu, 30 Jul 2009 11:57:47 +0000 (04:57 -0700)]
Merge change 9141 into donut

* changes:
  Lower the priority of the ImageGetter thread to avoid competing with the UI thread.

8 years agoLower the priority of the ImageGetter thread to avoid competing with
Chih-Chung Chang [Thu, 30 Jul 2009 11:14:04 +0000 (19:14 +0800)]
Lower the priority of the ImageGetter thread to avoid competing with
the UI thread.

8 years agoMerge change 9085 into donut
Android (Google) Code Review [Thu, 30 Jul 2009 10:21:06 +0000 (03:21 -0700)]
Merge change 9085 into donut

* changes:
  Fix bug 2022547. Show zoom buttons only when click on photo area.

8 years agoFix bug 2022547. Show zoom buttons only when click on photo area.
Owen Lin [Thu, 30 Jul 2009 02:23:30 +0000 (10:23 +0800)]
Fix bug 2022547. Show zoom buttons only when click on photo area.

8 years agoMake CropImage support fullscreen extra.
Wu-cheng Li [Thu, 30 Jul 2009 09:14:34 +0000 (17:14 +0800)]
Make CropImage support fullscreen extra.

b2022570. When returning from a full-screen activity to a non-full-screen one, screen jumps a little and scroll bars are partially off screen. This is a work-around to prevent the issue.

8 years agoRevert "Use revised zoom widget, on the right in Gallery."
Owen Lin [Thu, 30 Jul 2009 01:46:16 +0000 (09:46 +0800)]
Revert "Use revised zoom widget, on the right in Gallery."

8 years agoDefer bitmap rotation until it's drawn on ImageView.
Ray Chen [Mon, 20 Jul 2009 08:33:41 +0000 (16:33 +0800)]
Defer bitmap rotation until it's drawn on ImageView.

8 years agoMerge change 8958 into donut
Android (Google) Code Review [Wed, 29 Jul 2009 09:38:53 +0000 (02:38 -0700)]
Merge change 8958 into donut

* changes:
  Fix http://b/2017388 by handling the corner case in computeSampleSize().

8 years agoFix http://b/2017388 by handling the corner case in computeSampleSize().
Wei-Ta Chen [Wed, 29 Jul 2009 09:24:50 +0000 (17:24 +0800)]
Fix b/2017388 by handling the corner case in computeSampleSize().

8 years agoCheck storage again after receiving storage related intents.
Wu-cheng Li [Wed, 29 Jul 2009 08:08:17 +0000 (16:08 +0800)]
Check storage again after receiving storage related intents.

Media scanner sends ACTION_MEDIA_SCANNER_STARTED if it is scanning internal. We need to check storage again after receiving intents.

8 years agoShow "prepareing SD card" when media scanner is scanning.
Wu-cheng Li [Mon, 27 Jul 2009 09:44:56 +0000 (17:44 +0800)]
Show "prepareing SD card" when media scanner is scanning.

Fix 1996415.

8 years agoUse revised zoom widget, on the right in Gallery.
Ray Chen [Tue, 21 Jul 2009 06:55:35 +0000 (14:55 +0800)]
Use revised zoom widget, on the right in Gallery.

8 years agoFix http://b/1991523 by limiting the size of a bitmap when we decode a full image.
Chih-Chung Chang [Mon, 27 Jul 2009 05:03:29 +0000 (13:03 +0800)]
Fix b/1991523 by limiting the size of a bitmap when we decode a full image.

computeSampleSize() now accepts not only targetWidthOrHeight but also the size of a bitmap.

8 years agoRemove unused code.
Chih-Chung Chang [Fri, 24 Jul 2009 11:06:58 +0000 (19:06 +0800)]
Remove unused code.

8 years agoRemove unused code.
Chih-Chung Chang [Fri, 24 Jul 2009 10:39:58 +0000 (18:39 +0800)]
Remove unused code.

8 years agoSimplify ImageGetter.
Chih-Chung Chang [Fri, 24 Jul 2009 02:58:40 +0000 (10:58 +0800)]
Simplify ImageGetter.

8 years agoFix 1996918: NPE in ViewImage.onClick.
Chih-Chung Chang [Thu, 23 Jul 2009 02:06:33 +0000 (10:06 +0800)]
Fix 1996918: NPE in ViewImage.onClick.

8 years agoFix http://b/1907995 by using native allocation in BitmapFactory.
Wei-Ta Chen [Mon, 20 Jul 2009 04:37:36 +0000 (12:37 +0800)]
Fix b/1907995 by using native allocation in BitmapFactory.

8 years agoMerge change 7584 into donut
Android (Google) Code Review [Fri, 17 Jul 2009 17:48:45 +0000 (10:48 -0700)]
Merge change 7584 into donut

* changes:
  Capture individual  camera and video startup time and output to a text file.

8 years agoMerge change 6510 into donut
Android (Google) Code Review [Fri, 17 Jul 2009 05:38:50 +0000 (22:38 -0700)]
Merge change 6510 into donut

* changes:
  Fix issue 1949573. In multiselect mode, don't show the select outline for touch event.

8 years agoFix issue 1949573. In multiselect mode, don't show the select outline
Owen Lin [Wed, 8 Jul 2009 22:13:54 +0000 (15:13 -0700)]
Fix issue 1949573. In multiselect mode, don't show the select outline
for touch event.

8 years agoFix the bug that the no images view will keep showning on screen even
Owen Lin [Fri, 17 Jul 2009 00:09:24 +0000 (17:09 -0700)]
Fix the bug that the no images view will keep showning on screen even
when there are images.

The reason is that we only update (hide/show) the "no image view" in rebake,
which will only be invoked by media status changing (like scanning start,
eject SD card, and etc.) So, the bug will happen when the the image is add to
the card but there is no media status changing.

8 years agoCapture individual camera and video startup time and output to a text file.
Yu Shan Emily Lau [Thu, 16 Jul 2009 21:20:32 +0000 (14:20 -0700)]
Capture individual  camera and video startup time and output to a text file.

8 years agoRollback invalidateImage to refresh individual image instead of rebuilding whole...
Ray Chen [Wed, 15 Jul 2009 10:38:29 +0000 (18:38 +0800)]
Rollback invalidateImage to refresh individual image instead of rebuilding whole list.

8 years agoStart preview earlier to let user see preview earlier.
Wu-cheng Li [Wed, 15 Jul 2009 03:13:13 +0000 (11:13 +0800)]
Start preview earlier to let user see preview earlier.

This reverts commit 785cd00067fc822701aa5e43da00382352a90e99.
A workaround will be added in HAL for overlay case.

8 years agoMerge change 6826 into donut
Android (Google) Code Review [Tue, 14 Jul 2009 17:49:22 +0000 (10:49 -0700)]
Merge change 6826 into donut

* changes:
  Fix bug 1970161.

8 years agoMerge change 7015 into donut
Android (Google) Code Review [Tue, 14 Jul 2009 16:33:16 +0000 (09:33 -0700)]
Merge change 7015 into donut

* changes:
  Cancel the thread encoding in "onStop".

8 years agoFix the ImageGallery progress bar (the rotating circle in title).
Chih-Chung Chang [Tue, 14 Jul 2009 08:51:53 +0000 (16:51 +0800)]
Fix the ImageGallery progress bar (the rotating circle in title).

8 years agoFix 1973541: The mode switcher does not correspond to the actual mode.
Chih-Chung Chang [Mon, 13 Jul 2009 05:11:52 +0000 (13:11 +0800)]
Fix 1973541: The mode switcher does not correspond to the actual mode.

8 years agoCancel the thread encoding in "onStop".
Owen Lin [Mon, 13 Jul 2009 23:45:23 +0000 (16:45 -0700)]
Cancel the thread encoding in "onStop".

8 years agoImport new translations
Eric Fischer [Mon, 13 Jul 2009 22:45:27 +0000 (15:45 -0700)]
Import new translations

8 years agoFix the issue 1972285: The image rotation does not update in thumbnail view immediate...
Ray Chen [Fri, 10 Jul 2009 10:36:48 +0000 (18:36 +0800)]
Fix the issue 1972285: The image rotation does not update in thumbnail view immediately after rotation.

8 years agoFix bug 1970161.
Owen Lin [Fri, 10 Jul 2009 21:44:37 +0000 (14:44 -0700)]
Fix bug 1970161.

I think the reason is that we post a runner to do clean up when the
background job has been done.

However, the runner could be queued when the activity finished().
So, we first see a leak window message (because we havn't close the dialog yet)
And then see a "view not attached" exception (because we try to close
it after the activity being destroyed)

Fixed now.

8 years agoFix 1836138: Crash (permissions) when sharing from Email/Gmail --> Gallery --> Anywhe...
Chih-Chung Chang [Fri, 10 Jul 2009 10:39:49 +0000 (18:39 +0800)]
Fix 1836138: Crash (permissions) when sharing from Email/Gmail --> Gallery --> Anywhere Else

8 years agoRevert "Start preview earlier to let user see preview earlier."
Wu-cheng Li [Fri, 10 Jul 2009 09:38:43 +0000 (17:38 +0800)]
Revert "Start preview earlier to let user see preview earlier."

This reverts commit 20e4e11c81a37e4dcc87fe501ea853bd5b699fe3.
The original change broke overlay case.

8 years agoFix 1971900: Not able to delete picture using "Delete " contextual menu option.
Chih-Chung Chang [Fri, 10 Jul 2009 05:16:22 +0000 (13:16 +0800)]
Fix 1971900: Not able to delete picture using "Delete " contextual menu option.

8 years agoTry to fix 1962530: out of memory in CropImage.
Chih-Chung Chang [Thu, 9 Jul 2009 11:37:33 +0000 (19:37 +0800)]
Try to fix 1962530: out of memory in CropImage.

Recycle the bitmap as much as we can.

8 years agoMove reverse geocoder to AsyncTask and update location information asynchronously.
repo sync [Wed, 24 Jun 2009 06:59:48 +0000 (14:59 +0800)]
Move reverse geocoder to AsyncTask and update location information asynchronously.

8 years agoSet bitmaps for full size images as being purgeable in viewing and reviewing images.
Wei-Ta Chen [Thu, 11 Jun 2009 08:13:13 +0000 (16:13 +0800)]
Set bitmaps for full size images as being purgeable in viewing and reviewing images.

We increase the resolution of full size images to 2048x1536 for achieving better zoom-in quality.
Also the delay between decoding a thumbnail and decoding a full size image is set to 1000 msecs.

8 years agoFix 1962656: Going to gallery when sd card is full causes a crash.
Chih-Chung Chang [Thu, 9 Jul 2009 02:27:02 +0000 (10:27 +0800)]
Fix 1962656: Going to gallery when sd card is full causes a crash.

Also simplify the thumbnail reading code.

I think we don't need to check the thumbnail magic being id
because all current thumbnail files should have random number
and not id. (see bug 1240638 for date).

8 years agoMove ExifInterface to android.media package.
repo sync [Mon, 6 Jul 2009 07:05:23 +0000 (15:05 +0800)]
Move ExifInterface to android.media package.

8 years agoRevert ContentObserver in ImageGallery.
Ray Chen [Wed, 8 Jul 2009 08:54:54 +0000 (16:54 +0800)]
Revert ContentObserver in ImageGallery.

8 years agoMerge change 6455 into donut
Android (Google) Code Review [Wed, 8 Jul 2009 10:56:12 +0000 (03:56 -0700)]
Merge change 6455 into donut

* changes:
  Read max file size from video capture intent.

8 years agoRead max file size from video capture intent.
Wu-cheng Li [Wed, 8 Jul 2009 05:55:06 +0000 (13:55 +0800)]
Read max file size from video capture intent.

Fix b1660028.

8 years agoDraw the multiselect markers dynamically so we can avoid invalidating the thumbnails.
Chih-Chung Chang [Tue, 7 Jul 2009 12:01:55 +0000 (20:01 +0800)]
Draw the multiselect markers dynamically so we can avoid invalidating the thumbnails.

8 years agoUse ReferenceQueue to improve LruCache.
Owen Lin [Wed, 1 Jul 2009 00:17:40 +0000 (17:17 -0700)]
Use ReferenceQueue to improve LruCache.

8 years agoFix the NPE by keeping the mDbObserver in onStop(), just unregister it.
Owen Lin [Tue, 7 Jul 2009 18:37:12 +0000 (11:37 -0700)]
Fix the NPE by keeping the mDbObserver in onStop(), just unregister it.

8 years agoMonitor database change by ContentObserver so we can update media data incrementally...
repo sync [Wed, 1 Jul 2009 10:37:14 +0000 (18:37 +0800)]
Monitor database change by ContentObserver so we can update media data incrementally and "wait dialog" is only shown when there's no image in the current bucket.

8 years agoAdded the memory measurement of the mediaserver in the camera image capture and video...
Yu Shan Emily Lau [Fri, 3 Jul 2009 01:07:17 +0000 (18:07 -0700)]
Added the memory measurement of the mediaserver in the camera image capture and video capture test cases.

8 years agoFix some warning shown in Eclipse.
Owen Lin [Thu, 2 Jul 2009 00:03:33 +0000 (17:03 -0700)]
Fix some warning shown in Eclipse.

8 years agoStyle fix.
Chih-Chung Chang [Mon, 6 Jul 2009 07:37:24 +0000 (15:37 +0800)]
Style fix.

8 years agoChange camera latency time variables to non-static.
Chih-Chung Chang [Fri, 3 Jul 2009 10:25:26 +0000 (18:25 +0800)]
Change camera latency time variables to non-static.

8 years agoAdd retry if the query fails. The query fails if the media
Chih-Chung Chang [Fri, 3 Jul 2009 07:26:55 +0000 (15:26 +0800)]
Add retry if the query fails. The query fails if the media
provider is killed.

8 years agoMerge change 6046 into donut
Android (Google) Code Review [Fri, 3 Jul 2009 05:45:17 +0000 (22:45 -0700)]
Merge change 6046 into donut

* changes:
  Fix 1956850: Muti-select is not usable for the last row of the images in gallery.

8 years agoReset the switch state in "onStart" in both Camera and Camcorder.
Owen Lin [Wed, 1 Jul 2009 22:51:45 +0000 (15:51 -0700)]
Reset the switch state in "onStart" in both Camera and Camcorder.

8 years agoFix 1956850: Muti-select is not usable for the last row of the images in gallery.
Chih-Chung Chang [Thu, 2 Jul 2009 11:48:11 +0000 (19:48 +0800)]
Fix 1956850: Muti-select is not usable for the last row of the images in gallery.

8 years agoFix 1956863: The border of the select image still stay on the screen
Chih-Chung Chang [Thu, 2 Jul 2009 10:13:35 +0000 (18:13 +0800)]
Fix 1956863: The border of the select image still stay on the screen
after removed all the images in gallery.

8 years agoFix 1956733: NPE in ImageManager.isImage
Chih-Chung Chang [Thu, 2 Jul 2009 09:18:24 +0000 (17:18 +0800)]
Fix 1956733: NPE in ImageManager.isImage

8 years agoFix 1955365: NPE in ViewImage.updateActionIcons
Chih-Chung Chang [Thu, 2 Jul 2009 09:07:20 +0000 (17:07 +0800)]
Fix 1955365: NPE in ViewImage.updateActionIcons

8 years agoFix 1956859: "Set as" is not working with the downloaded image.
Chih-Chung Chang [Thu, 2 Jul 2009 08:46:30 +0000 (16:46 +0800)]
Fix 1956859: "Set as" is not working with the downloaded image.

8 years agoFix bug: wait for idle time before checking thumbnail only if there is still some
Chih-Chung Chang [Thu, 2 Jul 2009 08:12:12 +0000 (16:12 +0800)]
Fix bug: wait for idle time before checking thumbnail only if there is still some
thumbnail to check.

8 years agoFixed the OOM in crop image.
Owen Lin [Fri, 26 Jun 2009 22:47:39 +0000 (15:47 -0700)]
Fixed the OOM in crop image.

The original code of "CropImage" won't wait the save action to be complete
before exiting.

We have to hide the ProgressDialog in onStop(), otherwise, if the job is done
in background(after onStop()), a "no window token exception" will be
thrown when dialog.dismiss() is called. Thus, a new MonitoredActivity is
introduced to help us handle this, hope it will be useful in other places.

8 years agoFix 1950477: Menu items for video review are incorrect.
Chih-Chung Chang [Wed, 1 Jul 2009 06:52:24 +0000 (14:52 +0800)]
Fix 1950477: Menu items for video review are incorrect.

8 years agoFix bug 1949582. If this is the last image to be deleted,
Owen Lin [Tue, 30 Jun 2009 00:30:24 +0000 (17:30 -0700)]
Fix bug 1949582. If this is the last image to be deleted,
the mCurrentPosition will be -1 and getImageAt() will return null and thus
cause a NPE. If the image list is empty just return null is enough.

8 years agoSolve task flow problems in Camera and Camcorder.
Owen Lin [Fri, 26 Jun 2009 18:59:58 +0000 (11:59 -0700)]
Solve task flow problems in Camera and Camcorder.

1. Let "Camera" and "Camcorder" use the same task affinity, so that there
   will only one task stack in the system.

2. Finish the "Camera" or "Camcorder" activity, when switch to the other,
   so that it works like the same activity.

8 years agoStart preview earlier to let user see preview earlier.
Wu-cheng Li [Wed, 24 Jun 2009 05:33:46 +0000 (13:33 +0800)]
Start preview earlier to let user see preview earlier.

8 years agoMerge change 5758 into donut
Android (Google) Code Review [Tue, 30 Jun 2009 09:05:12 +0000 (02:05 -0700)]
Merge change 5758 into donut

* changes:
  Fix 1948669. The grid of multi-selected video becomes white while it is being selected

8 years agoIncrease image zoom speed.
Wu-cheng Li [Tue, 30 Jun 2009 07:26:48 +0000 (15:26 +0800)]
Increase image zoom speed.

8 years agoFix 1948669. The grid of multi-selected video becomes white while it is being selected
Chih-Chung Chang [Tue, 30 Jun 2009 06:37:57 +0000 (14:37 +0800)]
Fix 1948669. The grid of multi-selected video becomes white while it is being selected

Only check thumbnail when the worker thread has been idle for 1 second.
This gives the ImageBlockManager some time to figure out what to load next.

8 years agoFix 1949582.
Owen Lin [Mon, 29 Jun 2009 21:47:08 +0000 (14:47 -0700)]
Fix 1949582.

8 years agoFix 1945392. Long press a photo in gallery, choose "delete", it crashes.
Chih-Chung Chang [Mon, 29 Jun 2009 07:24:13 +0000 (15:24 +0800)]
Fix 1945392. Long press a photo in gallery, choose "delete", it crashes.

8 years agoMerge change 3805 into donut
Android (Google) Code Review [Mon, 29 Jun 2009 06:32:09 +0000 (23:32 -0700)]
Merge change 3805 into donut

* changes:
  Enable multiselect delete.

8 years agoEnable multiselect delete.
Chih-Chung Chang [Fri, 26 Jun 2009 11:23:56 +0000 (19:23 +0800)]
Enable multiselect delete.

8 years agoMerge change 5419 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 07:11:18 +0000 (00:11 -0700)]
Merge change 5419 into donut

* changes:
  Remove unused code in ViewImage.

8 years agoMerge change 5228 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 07:11:00 +0000 (00:11 -0700)]
Merge change 5228 into donut

* changes:
  Improve switcher to enable drag and drop operations.

8 years agoRemove unused code in ViewImage.
Owen Lin [Thu, 25 Jun 2009 21:58:54 +0000 (14:58 -0700)]
Remove unused code in ViewImage.

8 years agoRetry to submit it again. It seems I changed the file "IImage" -> "Image"
Owen Lin [Thu, 25 Jun 2009 18:12:11 +0000 (11:12 -0700)]
Retry to submit it again. It seems I changed the file "IImage" -> "Image"
before I create the commit.

8 years agoRevert "It seems that there is no quarantee that "onActivityResult()" will be called"
Owen Lin [Thu, 25 Jun 2009 17:24:02 +0000 (10:24 -0700)]
Revert "It seems that there is no quarantee that "onActivityResult()" will be called"

This reverts commit 90bbbcbdfa4f2329dfdfda867a4bd58fa27a2840.

8 years agoMerge change 5354 into donut
Android (Google) Code Review [Thu, 25 Jun 2009 16:52:28 +0000 (09:52 -0700)]
Merge change 5354 into donut

* changes:
  It seems that there is no quarantee that "onActivityResult()" will be called before "onStart()". So, adding code to handle both situations. Also add checking on "mPaused" in showOnScreenControls().

8 years agoIt seems that there is no quarantee that "onActivityResult()" will be called
Owen Lin [Thu, 25 Jun 2009 00:51:08 +0000 (17:51 -0700)]
It seems that there is no quarantee that "onActivityResult()" will be called
before "onStart()". So, adding code to handle both situations. Also add
checking on "mPaused" in showOnScreenControls().