Selim Cinek
2c461def93
Merge "Fixed missing translation for wallpaper cropper" into lmp-dev
2014-10-10 21:14:34 +00:00
Selim Cinek
b7cde675a2
Fixed missing translation for wallpaper cropper
...
Also a fixed a small visibility issue.
Bug: 17927204
Change-Id: Ia9566fe8fe0c70f83edc295b0bf8317e94eb85fe
2014-10-10 13:55:36 -07:00
Christoph Studer
9e8482062d
WallpaperCropper: Use white color for action bar
...
Bug: 17343815
Change-Id: I5802f04204d081b97fbc2e2cb203fa03f16fea6a
2014-10-09 13:50:21 -07:00
Sunny Goyal
fabf1f23d6
Fixing memory leak in WallpaperCropActivity
...
issue: 15516788
Change-Id: I53a312addbb7ce17ecf02b2f14b9e991eab42be9
2014-07-23 10:52:32 -07:00
Adam Skory
0212c563c8
Squash unreachable catch
...
The compiler warning distracts me often.
Change-Id: Ia96e6c82ce1c0f1ae58f7faadbf8769b36d1f810
2014-06-05 14:38:30 +01:00
Alan Viverette
e3c38a0b0e
Fix recents theme, add missing headers
...
Change-Id: Ib8eea6153eaf7e0e93e54c69fe59e63e98a409a6
2014-04-02 15:39:13 -07:00
Alan Viverette
6259933ec9
Switch framework Holo references to Quantum.Light
...
Change-Id: Ib545a143f1959b6104adbc9d594dd626851d90b3
2014-04-01 14:57:39 -07:00
Selim Cinek
49fb8aeff5
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
2014-03-27 23:16:51 +00:00
Selim Cinek
7718fc1291
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
2014-03-27 19:34:01 +00:00
Selim Cinek
92a87e3026
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
2014-03-25 21:18:45 +00:00
Selim Cinek
c41853cee8
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
2014-03-24 13:53:06 +01:00
Selim Cinek
ba126c09a5
Disable Set Wallpaper button while loading image
...
Bug: 13534714
Change-Id: I45ff3436de40ea85fb22d776584d9f30f0795898
(cherry picked from commit 0fa6c1b146f7ed1aba335c30878e2c1b2bf2a8f1)
2014-03-21 22:15:10 +00:00
Adam Cohen
fb40d78c57
Merge "Catch exceptions if Exif is malformed"
2014-03-21 19:55:54 +00:00
Adam Cohen
146af201d3
Merge "Catching security exception when activity destroyed"
2014-03-21 19:54:55 +00:00
Selim Cinek
a4c1ccf3e0
Merge "Disable Set Wallpaper button while loading image"
2014-03-21 19:39:38 +00:00
Selim Cinek
5ab7d37d90
Catch exceptions if Exif is malformed
...
Bug: 11650650
Change-Id: Ie1680220fdb235a166a0eaa0a2309729f861865c
2014-03-21 20:32:34 +01:00
Selim Cinek
d6901a95d8
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
2014-03-21 20:24:55 +01:00
Selim Cinek
0fa6c1b146
Disable Set Wallpaper button while loading image
...
Bug: 13534714
Change-Id: I45ff3436de40ea85fb22d776584d9f30f0795898
2014-03-21 19:19:08 +01:00
Adam Cohen
55b523cc3f
Merge "[DO NOT MERGE] Fix wallpaper cropping bugs" into klp-dev
2014-03-19 20:16:11 +00:00
Michael Jurka
929e75e8d0
[DO NOT MERGE] Centering the crop by default in system wallpaper cropper
...
Bug: 12034934
Change-Id: Ice1b1140bd6e351dd4e520f555f245d84a645aac
(cherry picked from commit 2ab14daebac46307d2364733481edc3115bbf98c)
2014-03-19 17:57:17 +00:00
Michael Jurka
c82618c660
[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
2014-03-19 17:56:55 +00:00
Selim Cinek
eb95e74e21
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
2014-03-14 20:11:17 +00:00
Selim Cinek
912e0df89c
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
2014-03-14 18:48:03 +01:00
Michael Jurka
01f7cc17c8
Don't set suggested wallpaper dimensions in default wallpaper cropper
...
suggestWallpaperDimensions is deprecated/ignored now anyway
Bug: 12118434
2014-01-29 15:04:59 +01:00
Michael Jurka
2ab14daeba
Centering the crop by default in system wallpaper cropper
...
Bug: 12034934
Change-Id: Ice1b1140bd6e351dd4e520f555f245d84a645aac
2014-01-14 15:11:37 +01:00
Michael Jurka
35f922d1d0
Update system wallpaper cropper with latest changes from Launcher3 cropper
2014-01-14 14:10:32 +01:00
Michael Jurka
e39c9a953c
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
2013-12-02 15:05:44 -08:00
John Spurlock
6090995951
Remove unused imports from frameworks/base.
...
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
2013-11-20 11:31:47 -05:00
Michael Jurka
eed96a0b90
Fix calculation of default wallpaper size
...
Bug: 11324470
2013-11-06 13:22:51 +01:00
Michael Jurka
b2552648ce
Fix crashes for images that are not PNG or JPEG
...
Bug: 11342816
Change-Id: Ib8bbd30c1cc2d4f984af889895fb78412a1ab004
2013-11-01 13:31:14 +01:00
Michael Jurka
7b215cb922
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
2013-10-30 14:54:21 +01:00
Michael Jurka
5271ea16c1
Load wallpaper images on a bg thread
...
Bug: 11134758
2013-10-28 14:42:48 +01:00
Michael Jurka
69784065ea
Add EXIF rotation support to system wallpaper cropper
...
Bug: 11137824
2013-10-14 14:44:36 -07:00
Michael Jurka
33c493e653
Wallpaper cropper should inherit translucent theme
...
Change-Id: Icd13130d6250759c71ef016f62d10d7359cf067e
2013-10-08 12:47:22 -07:00
Michael Jurka
e72aa7f0a6
Fix crash in built-in wallpaper cropper
...
Also, sync to latest version of WallpaperCropActivity
Bug: 10950237
2013-10-07 17:06:23 -07:00
Michael Jurka
8b4836085b
Fix default wallpaper dimensions
...
Bug: 10834711
2013-09-20 04:32:20 +02:00
Michael Jurka
e8d1bf7a43
Add new intent/method for cropping and setting wallpapers
...
Also, create a system fallback WallpaperCropper
Bug: 4225598
Change-Id: I6bc6d5a3bb3df1dc00f3db701978aa172020c568
2013-09-13 17:04:46 +02:00