History log of /packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
030f8dad6aefc42d0af39bc1b93f370937d3e2ab 11-Oct-2012 Owen Lin <owenlin@google.com> Fixes bugs in TiledTexture.

1. Upload tiles in SinglePhotoDataAdapter
2. Rebuild the upload queue after the screen nails being recycled

bug: 6399444

Change-Id: I57e756f8d1d84742bf82dd34c83baf8df89ae4cc
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
1336062985c9824d7fd796b1cebd5eaa8e4163ca 02-Oct-2012 Owen Lin <owenlin@google.com> Remove ActionBarSherlock

bug: 7242682

Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
23e595f0c656ebaeb63f78e3018b5830628c5afe 21-Sep-2012 Wu-cheng Li <wuchengli@google.com> Support secure image capture mode.

bug:7141738

Change-Id: I4ea010609d16da469998ebb40ad8282b9468de25
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
133c49e9bda0b3dcc005a0dfc7ab999926c0ef7f 19-Sep-2012 Earl Ou <shunhsingou@google.com> Fix metadata of cropped image for details display.

+ drop the old thumbnail of the cropped image
+ update DateTime tag in EXIF
+ add EXIF Software tag
+ display DATE_MODIFIED in details instead of DATE_TAKEN

Bug:7192433
Change-Id: I89dcb29dd3242f58fe96cd25398217e94f42fc97
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
89591324c5d1097e59217177ad3ea74598867584 30-Aug-2012 Earl Ou <shunhsingou@google.com> Simplify the usage of ExifData

Bug:7192363

Change-Id: I2c6ab9974f4472f63483a4de814728584944535e
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
222c07220dbe5b1be959437eb315ae72a0c8aa50 13-Sep-2012 Owen Lin <owenlin@google.com> Cancel the loading task when clicking on back in Cropping.

bug: 5636363
Change-Id: I0e00b6119c4d184328002d1b2128e33ababc798b
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
2486ee3787f4fa8aeec4983559101f0000cd92b0 30-Aug-2012 Earl Ou <shunhsingou@google.com> Rearrange the constants in ExifTag

Change-Id: I62ab6e52869dfa5b3fee7993bd109f4c5eed91a9
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
ecb4052503ad1c37c796699d3aec6a1e749f25f1 04-Sep-2012 Hung-ying Tyan <tyanh@google.com> Fix NPE in CropImage.changeExifImageSizeTag().

Bug: 7099850
Change-Id: Ib7b3b7d9fddaf53853bcc98b9588dfadda0aee6f
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
3b8bd33be5041d77855f756fbba1993294cffac4 29-Aug-2012 Earl Ou <shunhsingou@google.com> Save EXIF info to cropped picasa image with the new EXIF lib.

Bug:5248023
Change-Id: I35f401826f4fa586e9899e3ca5f5f9b9ab39b28e
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
5f18b4c19b0d854475bb8cb611fd7c23a3f7a1c5 29-Aug-2012 Earl Ou <shunhsingou@google.com> Re-save Exif info for cropped local image

Bug:5248023

Change-Id: I744330f28b887bff4d12937e06f8d20db153ac7e
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
28cb4161da5fc3756933ca67d509b8af1c6275f1 29-Aug-2012 Owen Lin <owenlin@google.com> Remove unused resources and fix some warnings.

Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
3fa6947fc3909020f3a37cc1fd9a9b9d4d9f93e8 27-Aug-2012 Owen Lin <owenlin@google.com> Fix some UI bugs in using SherlockActionBar.

- Use sherlock's verion of requestWindowFeature.
- Use sherlock's theme in Custom selection list.

bug: 6927267
Change-Id: I706e45378b10e6e088e048d97fcaca57fb4bf3f4
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
b21b8e58a604f6c701245d84b141b5b87663192b 23-Aug-2012 Owen Lin <owenlin@google.com> Uses ActionBarSherlock in Gallery

bug: 6927267

Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
447577d618a474bca15c50706da7f8fd853d726a 21-Aug-2012 Yuli Huang <yuli@google.com> Dismiss dialog in onPause() where we still have the window.

bug:6561957
Change-Id: I652c4ec1dd64c650c29f3e4e36ae1200da691694
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
2bb717f1ea38e2ce33dd102a23afe6bfacb5675c 13-Jul-2012 Owen Lin <owenlin@google.com> Extract the action bar interface.

So that we can use different implementation for different API levels.

**NOTE**
This change is going to be replaced by the ActionBar compat library
when it gets ready. The purpose of this change is making Gallery/Camera
run on GB.

bug: 6927267

Change-Id: Ic8bb2518918168ea889db6452d6760de390d96b2
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
7817979db0c52ffeacb951625b1e821eba303285 30-Jul-2012 Ahbong Chang <cwahbong@google.com> Code clean up.

Remove unused imports.
Remove unused fields.
Remove unnecessary cast.
Add missing override annotations.

Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
6b9ff6aa3da883ee4efd682b3c6c331cf49066e1 03-Jul-2012 Hung-ying Tyan <tyanh@google.com> Add ExifTags to hold tag names that are not available in ExifInterface

prior to API level 11.
Bug: 6775786

Change-Id: Iab564f577d9a0b87c8fb7b91eda6cabc12b5a11a
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
df4763cf8752fb1babc7244fc2be33ed87d3b072 28-Jun-2012 Owen Lin <owenlin@google.com> Don't reuse bitmap before HoneyComb.

Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
3a45725ad42324cd2db172fb082fe80772d94d3f 28-Jun-2012 Owen Lin <owenlin@google.com> Don't use Build.VERSION_CODES.

Since they won't be available on old platform.

bug: 6752318

Change-Id: I55a9e83dbf05b93c83c68cb31f6edcbc29793283
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
b47927b7b43679e7315e6099e0a610760320d18d 21-Jun-2012 Owen Lin <owenlin@google.com> Use MediaColumns.WIDTH and MediaColumns.HEIGHT only when they are available.

bug:6698720

Change-Id: Iaabfd1d5fe16b5d89f564d688a78e773ad36c8bd
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
4b9c37d08dc78118de53c1f3349024164abf2512 30-May-2012 Owen Lin <owenlin@google.com> Check the offset of output rect when cropping image.

bug: 6568720
Change-Id: I36c98cab5830eaac15369ada1a1a988e10b0fbf4
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
c9f743a777cf5e5e91bad7810584be052db21eed 18-May-2012 Yuli Huang <yuli@google.com> Fix action-bar title for cropping wallpaper.

bug:6513495
Change-Id: I97b76c948d5c9fa0bb11f2fe89a0d10f490dbe14
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
78d5dac00fd19fdc34269aae7653f9f4839dc357 09-May-2012 Yuli Huang <yuli@google.com> Crop-image doesn't show its title in the action-bar.

bug:6464608
Change-Id: I7b463beaa96f5f475812ec4f0c3de1118a6d0895
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
625d51a1d6e8cbc5884fdcdddeebcd85454935da 07-May-2012 Yuli Huang <yuli@google.com> Fix back-button's behavior in Crop.

bug:6452504
Change-Id: Ic11dd58c613764e3e6cf7a35135678777e49a4ef
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
985e289d4ceed04351c300484d28299dcf915896 25-Apr-2012 Yuli Huang <yuli@google.com> Make 'Edit' behave more consistent with 'Crop'. DO NOT MERGE.

1. Save edited PWA photo in 'dowload', same as cropped images.
2. Fix Crop-image toast may show strings without i18n.
bug:6168430

Change-Id: Ic99a478e684597d3dc1a105c4f592dd98d8f227d
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
21a412c93c9b0401b039f4eb86d4950752e5bb84 20-Apr-2012 Owen Lin <owenlin@google.com> Fix NPE in Gallery.

This happens if user set type in an intent. But we get a different type from
content resolver.

Change-Id: Iabafce7f7aaff23a7a9ee09e1d38ab50049abc88
fix: 6358473
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
fd91413ab46e2960803a33652025aebe3e05f2d9 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Use FloatMath instead of Math.

Change-Id: I41661b231f6c034dbca6af26d5950eda6c5fc7da
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
3e7cfd9d20f9e9830dddac7288d4d12c8839fba0 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Revert "Use FloatMath instead of Math."

This reverts commit 6bb8b2eb8695c042798f0eb798032cd30d642a65
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
6bb8b2eb8695c042798f0eb798032cd30d642a65 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Use FloatMath instead of Math.

Change-Id: I26eb6a554f72c13ba2801ce35ef0cf2a1466a97b
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
f12d64978030d8e35794ad0cd37c177f3c8674a7 01-Feb-2012 Chih-Chung Chang <chihchung@google.com> Localize the "fail to load image" toast message.

Bug 5875813.

Change-Id: Ia11a3e909f90e8178238c390728b407708fabf8e
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
a77f6c46815195c8a2a39c9539163ea3e8683b5d 19-Oct-2011 Owen Lin <owenlin@google.com> Fix the issue that cropping wrong region for protrait image.

Change-Id: Iea7a3874eb7170f8cae943c00cf92669a92b0ae2
fix: 5470203
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
ec3e885cfd25d02b3d140258e0c439811c5bd9b6 19-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5424444: Add code to save cropped image for non-local, non-picasa cases.

Change-Id: Ib9f780f71fc9c50fa68a03ebb49f1bd007ca333d
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
377b06525ef4e6028919a57383278e0fd07de1ea 10-Oct-2011 Ray Chen <raychen@google.com> Fix 5199444 In crop interface, check button and X button should be switched
Fix 5424781 Two "Tick mark" and "OK" option shows together in crop picture screen in Crespo IRL06.
Fix some other UI issues. (HOME_UP)

Change-Id: Idfa5a258af17b22f13a238cee63a43f3abff776b
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
2c3c51758a514893280a9ce320f2b280c325897b 29-Sep-2011 Owen Lin <owenlin@google.com> Rotate the image according to FullImageRotation.

Change-Id: I2c1285aa50b71e0efdbe3c4c50264e42c7b9ab97
fix: 5389974
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
02e689987f4af3b16b19352b1745478cca964d76 23-Sep-2011 Owen Lin <owenlin@google.com> Fix crop never returns

fix: 5359106

We should return true if the save is successfully.
Also make it more robust even with exceptions.

Change-Id: I4d06b625177d4d479c89a7de1bcdf6f6f301a3da
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
abf2790337692007d5aa0f844e8f6d6f96d0de97 02-Sep-2011 Owen Lin <owenlin@google.com> Copy exif data for cropped image.

fix: 5248023

Change-Id: I2f59bfd96ca7533195f7019cc76080579dff8d1e
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java
f9a0a4306d589b4a4e20554fed512a603426bfa1 17-Aug-2011 Owen Lin <owenlin@google.com> Initial code for Gallery2.

fix: 5176434

Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
/packages/apps/Gallery2/src/com/android/gallery3d/app/CropImage.java