History log of /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
51efddbd3bb304de2dd47fa8cd1114ac555958bb 05-Apr-2017 Alan Viverette <alanv@google.com> Remove unnecessary casts on calls to findViewById

Just frameworks/ this time. More paths to come.

Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
fabf1f23d64d717790e68b78ad75e1466426be65 23-Jul-2014 Sunny Goyal <sunnygoyal@google.com> Fixing memory leak in WallpaperCropActivity

issue: 15516788
Change-Id: I53a312addbb7ce17ecf02b2f14b9e991eab42be9
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
49fb8aeff5b1ee928f698860c1915b742a3adbf7 28-Mar-2014 Selim Cinek <cinek@google.com> am c3db8011: am 58e99f56: am b6e077dc: am 7718fc12: Fixed crash when setting wallpaper with built in rotation

* commit 'c3db8011d7f7a5bcb0a9e5ae2d20022c6e88d8f9':
Fixed crash when setting wallpaper with built in rotation
7718fc1291c73576417f0c25d88f5105f7ae7365 27-Mar-2014 Selim Cinek <cinek@google.com> Fixed crash when setting wallpaper with built in rotation

If an image had a built in rotation, a crash could occur,
when setting it. An example was a panorama image which had
a rotation of 90 degrees

Change-Id: Iede8226dac3a40f08d39a69162eb388e6aba97ec
Bug: 13507421
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
92a87e302625c69c6a52c3cb595b9ecfacf29129 25-Mar-2014 Selim Cinek <cinek@google.com> am 50cd7c39: am f7805dd7: am 7290b56b: am 8ae8689d: am c41853ce: Fixed wallpaper bug where wrong size was taken when cropping

* commit '50cd7c39bb9f62d443a62d1f4af7f6ebc107f217':
Fixed wallpaper bug where wrong size was taken when cropping
c41853cee89b391cd2d4d93205ea69c746ccfa4c 24-Mar-2014 Selim Cinek <cinek@google.com> Fixed wallpaper bug where wrong size was taken when cropping

When cropping, the selected area of the image was incorrectly
cropped to the size of the view instead of the size of the image

Bug: 13617446
Change-Id: If54a0891fa2cdeee70ba63752874f1543d401701
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
ba126c09a5c00cb0a96da6ece0b4ab4d7ed2d8cb 21-Mar-2014 Selim Cinek <cinek@google.com> Disable Set Wallpaper button while loading image

Bug: 13534714
Change-Id: I45ff3436de40ea85fb22d776584d9f30f0795898
(cherry picked from commit 0fa6c1b146f7ed1aba335c30878e2c1b2bf2a8f1)
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
fb40d78c57711585c9eaed467601bf3adb4f60f9 21-Mar-2014 Adam Cohen <adamcohen@google.com> Merge "Catch exceptions if Exif is malformed"
146af201d380cffa6a540fd0d52590bd9d30b614 21-Mar-2014 Adam Cohen <adamcohen@google.com> Merge "Catching security exception when activity destroyed"
a4c1ccf3e045accd321be4d4c7d2ba1941a49ab4 21-Mar-2014 Selim Cinek <cinek@google.com> Merge "Disable Set Wallpaper button while loading image"
5ab7d37d903f336c5a96f8caca9b36439e76bdb4 21-Mar-2014 Selim Cinek <cinek@google.com> Catch exceptions if Exif is malformed

Bug: 11650650
Change-Id: Ie1680220fdb235a166a0eaa0a2309729f861865c
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
d6901a95d8aabc25fdd108d3605b34f848ab10e0 21-Mar-2014 Selim Cinek <cinek@google.com> Catching security exception when activity destroyed

Fixed a bug where an asynctask tried to load an image
even after the activity was destroyed leading to a
security exception since the permission could not be granted anymore.

Bug: 12760267
Change-Id: Ieffb10b1007f349371647512ffe4fe72433344e7
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
0fa6c1b146f7ed1aba335c30878e2c1b2bf2a8f1 21-Mar-2014 Selim Cinek <cinek@google.com> Disable Set Wallpaper button while loading image

Bug: 13534714
Change-Id: I45ff3436de40ea85fb22d776584d9f30f0795898
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
55b523cc3fac7fd008094b690a0fa8c5527d569c 19-Mar-2014 Adam Cohen <adamcohen@google.com> Merge "[DO NOT MERGE] Fix wallpaper cropping bugs" into klp-dev
929e75e8d0c258ca134093413ed0d8ffb3ead1d4 14-Jan-2014 Michael Jurka <mikejurka@google.com> [DO NOT MERGE] Centering the crop by default in system wallpaper cropper

Bug: 12034934

Change-Id: Ice1b1140bd6e351dd4e520f555f245d84a645aac
(cherry picked from commit 2ab14daebac46307d2364733481edc3115bbf98c)
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
c82618c660bbb76df05c11c548cc01724f5e5fc9 03-Dec-2013 Michael Jurka <mikejurka@google.com> [DO NOT MERGE] Fix wallpaper cropping bugs

- take into account that image decoder might not
respect inSampleSize
- check rounded values so we don't have crop rects
that lie outside a bitmap's dimensions
- correctly set initial scale on bitmaps that are
larger than the screen size
- switch to using asynctask when setting wallpaper
dimensions
(cherry picked from commit e39c9a953ca11319b747b3aa79f4ccd082b775b7)

Change-Id: I43372f0bff37f139c8bc83f9956a967d0b4a8708
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
eb95e74e21a0e910704ca2fd67e074ab640bfba3 14-Mar-2014 Selim Cinek <cinek@google.com> DO NOT MERGE - Fixed crash for odd image width/height

Due to an internal rounding in the renderer, the calculations
for the cropping area could be slightly offset, getting out
of the image boundaries. I sanitized the rect by ensuring they
are inside the image.

Bug: 12174629
Change-Id: Icc37790732ddd479631b898b23c05501d2dcd5be
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
912e0df89ce798a5922f87fd65b87bb99f8b4813 14-Mar-2014 Selim Cinek <cinek@google.com> Fixed a crash when an image with an odd width/height was selected

Due to an internal rounding in the renderer, the calculations
for the cropping area could be slightly offset, getting out
of the image boundaries. I sanitized the rect by ensuring they
are inside the image.

Bug: 12174629
Change-Id: Icc37790732ddd479631b898b23c05501d2dcd5be
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
01f7cc17c8359f5f2028bb7f22953d31bda02018 29-Jan-2014 Michael Jurka <mikejurka@google.com> Don't set suggested wallpaper dimensions in default wallpaper cropper

suggestWallpaperDimensions is deprecated/ignored now anyway

Bug: 12118434
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
2ab14daebac46307d2364733481edc3115bbf98c 14-Jan-2014 Michael Jurka <mikejurka@google.com> Centering the crop by default in system wallpaper cropper

Bug: 12034934

Change-Id: Ice1b1140bd6e351dd4e520f555f245d84a645aac
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
35f922d1d038d14f94b584baae324513610f7813 14-Jan-2014 Michael Jurka <mikejurka@google.com> Update system wallpaper cropper with latest changes from Launcher3 cropper
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
e39c9a953ca11319b747b3aa79f4ccd082b775b7 03-Dec-2013 Michael Jurka <mikejurka@google.com> Fix wallpaper cropping bugs

- take into account that image decoder might not
respect inSampleSize
- check rounded values so we don't have crop rects
that lie outside a bitmap's dimensions
- correctly set initial scale on bitmaps that are
larger than the screen size
- switch to using asynctask when setting wallpaper
dimensions
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
eed96a0b9088dcce121ffee476b4d7fa72686e77 06-Nov-2013 Michael Jurka <mikejurka@google.com> Fix calculation of default wallpaper size

Bug: 11324470
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
b2552648cec772c896ff31a7aa52ae48380459c0 31-Oct-2013 Michael Jurka <mikejurka@google.com> Fix crashes for images that are not PNG or JPEG

Bug: 11342816

Change-Id: Ib8bbd30c1cc2d4f984af889895fb78412a1ab004
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
7b215cb92288aa0a21bc773511ddd537b8fbb459 30-Oct-2013 Michael Jurka <mikejurka@google.com> Make wallpaper cropper more robust

- don't crash if image passed to wallpaper picker
is invalid
- close input streams correctly

Bug: 11413915
Bug: 11380658
Bug: 11362731
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
5271ea16c1989f99c0db7ab80b2b321441f60023 28-Oct-2013 Michael Jurka <mikejurka@google.com> Load wallpaper images on a bg thread

Bug: 11134758
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
69784065ea78550944b7eddb559c0dac952e20e8 14-Oct-2013 Michael Jurka <mikejurka@google.com> Add EXIF rotation support to system wallpaper cropper

Bug: 11137824
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
33c493e653c898b6697870ddb6be538ccd6103f9 08-Oct-2013 Michael Jurka <mikejurka@google.com> Wallpaper cropper should inherit translucent theme

Change-Id: Icd13130d6250759c71ef016f62d10d7359cf067e
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
e72aa7f0a64ff55f747751b7972ccb8acebab7da 08-Oct-2013 Michael Jurka <mikejurka@google.com> Fix crash in built-in wallpaper cropper

Also, sync to latest version of WallpaperCropActivity

Bug: 10950237
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
8b4836085b928f0ada3b3e6e1d1fd0530ffd6d57 20-Sep-2013 Michael Jurka <mikejurka@google.com> Fix default wallpaper dimensions

Bug: 10834711
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java
e8d1bf7a439450b9979701909164a6baffbe8bae 09-Sep-2013 Michael Jurka <mikejurka@google.com> Add new intent/method for cropping and setting wallpapers

Also, create a system fallback WallpaperCropper

Bug: 4225598

Change-Id: I6bc6d5a3bb3df1dc00f3db701978aa172020c568
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java