Commit Graph

2979 Commits

Author SHA1 Message Date
Adam Cohen 1c6dee7204 Merge "Fix issue where empty page doesn't get deleted when flinging to delete a widget in spring loaded" into jb-ub-now-jetsonic 2013-10-23 23:17:06 +00:00
Adam Cohen e97a3b3ff8 Fix issue where empty page doesn't get deleted when flinging to delete a widget in spring loaded
Change-Id: I59a78a4b9135b2c96f0adb4a2e63b19d504706b7
2013-10-23 16:15:33 -07:00
Michael Jurka 03a526b276 Merge "Stop using a separate ImageView for default wallpaper" into jb-ub-now-jetsonic 2013-10-23 21:59:53 +00:00
Michael Jurka 83699e56be Stop using a separate ImageView for default wallpaper
Fixes janky transition when going from default
wallpaper to another wallpaper

Bug: 11278179

Change-Id: I738d1ae7bbc5e2d139a084e721b53fed9008367f
2013-10-23 23:54:21 +02:00
Adam Cohen a718fc279d Merge "Cleaning some page animations" into jb-ub-now-jetsonic 2013-10-23 21:17:17 +00:00
Adam Cohen ad4e15cae4 Cleaning some page animations
-> Fix jump when last page gets delted (issue 10908427)
-> Fade out empty screen
-> If the final page is empty, and that is the current page when
   spring loaded mode ends, animate back to the previous page
   and then fade out the final page. Examples: cancel widget
   or shortcut drop on the final page, scroll to final page and
   drop an icon into a the hotseat, etc.

Change-Id: I13438fb0af6555b6f0b511b7aff51b3972431438
2013-10-23 14:11:45 -07:00
Daniel Sandler 0b5e98f7c2 am 55585dbc: Fix loading widgets in <include>d workspaces.
* commit '55585dbc1d5d9281416f346167832f2a2f443c0c':
  Fix loading widgets in <include>d workspaces.
2013-10-23 12:09:53 -07:00
Daniel Sandler 55585dbc1d Fix loading widgets in <include>d workspaces.
Resetting the item id was breaking the widget loading code
and is totally unnecessary.

Bug: 11352675
Change-Id: I2e70e542ecc5d8c0664b674ebdac5d520b71b8a0
2013-10-23 18:52:18 +00:00
Michael Jurka 3d7f086f6a Merge "Prevent memory leaks coming from LauncherAnimUtils" into jb-ub-now-jetsonic 2013-10-23 18:39:18 +00:00
Michael Jurka d9546fc66b Don't recreate pages every time you go to All Apps
Bug: 11300025

Change-Id: I16ddcf1b435621bb0c0199ca7ac119b9e7ca7214
2013-10-23 15:41:49 +02:00
Michael Jurka 7c70d64d4c Prevent memory leaks coming from LauncherAnimUtils
Use weak references for global animation list

Bug: 11322014

Change-Id: I38bb9184e45840113129781fa83ab40ec96d3868
2013-10-23 15:22:17 +02:00
Adam Cohen 4d3f022c9a Merge "DO NOT MERGE: Fix leak when animations are created but never started" into jb-ub-now-indigo-rose 2013-10-22 00:25:08 +00:00
Winson Chung a78b25f89d DO NOT MERGE
Clearing reference to SavedState bundle after restoring from it. (Bug 11322014)
(cherry picked from commit d8e596db4b)

Change-Id: I106f4897ef4ab43d996c0b926ce08ab6ccb2d8a4
2013-10-22 00:20:19 +00:00
Adam Cohen 313bbd2f3b Merge "Clearing reference to SavedState bundle after restoring from it. (Bug 11322014)" into jb-ub-now-jetsonic 2013-10-22 00:19:35 +00:00
Winson Chung d8e596db4b Clearing reference to SavedState bundle after restoring from it. (Bug 11322014) 2013-10-21 17:14:12 -07:00
Michael Jurka 7e839ec8f6 DO NOT MERGE: Fix leak when animations are created but never started
Bug: 11322014
(cherry picked from commit e206ff0f73)

Change-Id: I5aaf76d7c96e4a7878946d7de337acd858c11f44
2013-10-22 00:13:12 +00:00
Michael Jurka 4edc931562 Merge "Fix leak when animations are created but never started" into jb-ub-now-jetsonic 2013-10-21 23:00:42 +00:00
Michael Jurka e206ff0f73 Fix leak when animations are created but never started
Bug: 11322014
2013-10-21 15:57:38 -07:00
Michael Jurka 862f7e3950 Load images on a bg thread
Bug: 11134758

Change-Id: Ie789a2fcb2024832ac104cd9cdbc3602abee85ee
2013-10-21 14:51:49 -07:00
Winson Chung 1fa05179eb Merge "Ensuring that we have a valid name for installed shortcuts. (Bug 11266005)" into jb-ub-now-jetsonic 2013-10-17 20:44:10 +00:00
Winson Chung 681a4aced8 Merge "Updating folder icons when the shortcut is updated. (Bug 10803060)" into jb-ub-now-jetsonic 2013-10-17 20:44:04 +00:00
Winson Chung 6d00d54ea1 Merge "Ensuring disabled packages remove all components on the workspace. (Bug 11172454)" into jb-ub-now-jetsonic 2013-10-17 20:44:00 +00:00
Winson Chung 2c1afde5cd Ensuring that we have a valid name for installed shortcuts. (Bug 11266005)
Change-Id: Idf723ba165522cf259d9fe71533e1d5765512865
2013-10-17 11:04:00 -07:00
Bjorn Bringert 9933a5ebbf am 235a50e0: Merge "Fix ConcurrentModificationException in InstallShortcutReceiver" into jb-ub-now-indigo-rose
* commit '235a50e0d1a303e586c36bc5e70d560b8b924d58':
  Fix ConcurrentModificationException in InstallShortcutReceiver
2013-10-17 09:20:41 -07:00
Bjorn Bringert 4e871a217b Fix ConcurrentModificationException in InstallShortcutReceiver
Before, if two shortcuts were added, and then the package for one of them
removed, all while Launcher wasn't visible, Launcher crashed.

Bug: 11264076
Change-Id: I892c190101389aa42d84d66960f5b6f6f43f2dfc
2013-10-17 14:14:48 +01:00
Winson Chung 8c90331193 Updating folder icons when the shortcut is updated. (Bug 10803060)
Change-Id: Idee158b3458213e441c01890e0db341a3bcce1f7
2013-10-16 17:51:49 -07:00
Winson Chung df95eb12a4 Ensuring disabled packages remove all components on the workspace. (Bug 11172454) 2013-10-16 14:57:19 -07:00
Michael Jurka 51b9f6a570 Merge "Refactor RTL wallpaper code to use getLayoutTransitionOffsetForPage" into jb-ub-now-jetsonic 2013-10-16 20:53:04 +00:00
Michael Jurka 8fd3adc2a3 Refactor RTL wallpaper code to use getLayoutTransitionOffsetForPage
Bug: 11157913
2013-10-16 13:50:31 -07:00
Winson Chung 5801ef048a Lazy load default app icon in LauncherModel. (Bug 11203738)
Change-Id: I397b532f247309de9ae5636b51f125f639966696
2013-10-16 13:46:28 -07:00
Adam Cohen 3798b643cd Fix issue where you could trigger a click after long pressing a widget (issue 11186227)
Change-Id: I5a767ac6352f7efb4d3c6c2768c8d2aaaa913f3f
2013-10-16 10:41:10 -07:00
Michael Jurka da6ab129b7 Merge "Use new default wallpaper API" into jb-ub-now-jetsonic 2013-10-16 17:35:02 +00:00
Mac Duy Hai 09d85a1438 am 8246a143: Shortcut show/hideSearchBar with new conditions.
* commit '8246a1434c12b607743222c22285b72c9a96497b':
  Shortcut show/hideSearchBar with new conditions.
2013-10-16 07:09:59 -07:00
Mac Duy Hai 8246a1434c Shortcut show/hideSearchBar with new conditions.
This is effectively a revert of:
https://googleplex-android-review.googlesource.com/374556

With the new rules, we won't shortcut if:
 - the search bar is in an opposite visibility OR
 - a non-animated change has been requested AND there
   is an ongoing animation.

This makes sure that showSearchBar(false) called after
showSearchBar(true) is not ignored.

Bug: 11105305
Bug: 11237729
Change-Id: I92668dfac072e62506b2872e8bfbe9f707c9cc69
2013-10-16 14:00:17 +01:00
Adam Cohen 28f852ab67 Fix drop animation issue in springloaded
Change-Id: I1d8bf9d92ab7b94238e3e6a27b0eebf2c9af6872
2013-10-15 16:13:28 -07:00
Michael Jurka 12ca6134bf Use new default wallpaper API
Change-Id: I77ce7f03f0d2c94d890d3eeee6750488b071b2ab
2013-10-15 14:46:10 -07:00
Adam Cohen edc43805e3 am b6d33df9: Fix concurrent modifcation exception (issue 11234805)
* commit 'b6d33df9092cacfda1768ffdb96a0770c861566d':
  Fix concurrent modifcation exception (issue 11234805)
2013-10-15 11:06:24 -07:00
Adam Cohen b6d33df909 Fix concurrent modifcation exception (issue 11234805)
Change-Id: I21a7e968c249b0d8876fbffa68954ddc229b16df
2013-10-15 10:55:29 -07:00
Winson Chung 540514f399 am e5467dcc: Flushing icons of the wrong size. (Bug 11203738)
* commit 'e5467dccdd26ff912afb43d626346e4506c9c062':
  Flushing icons of the wrong size. (Bug 11203738)
2013-10-14 17:23:01 -07:00
Winson Chung e5467dccdd Flushing icons of the wrong size. (Bug 11203738)
Change-Id: I9468d2e798fcf9890970270041d341e7653432f1
2013-10-14 17:03:04 -07:00
Adam Cohen 6bef14bb4c am 2456b973: Merge "Fix issue where custom content pops in (issue 11209357)" into jb-ub-now-indigo-rose
* commit '2456b9738803b5f4314b6747dd7eea116d03eb3d':
  Fix issue where custom content pops in (issue 11209357)
2013-10-14 16:45:42 -07:00
Adam Cohen 2456b97388 Merge "Fix issue where custom content pops in (issue 11209357)" into jb-ub-now-indigo-rose 2013-10-14 23:43:11 +00:00
Winson Chung 3eb3b27a58 am 54000490: Ensuring that we are calling setCompoundDrawable() instead of using intrinsic bounds. (Bug 11203738)
* commit '540004905a555087e72691aad4479aa52ab5460e':
  Ensuring that we are calling setCompoundDrawable() instead of using intrinsic bounds. (Bug 11203738)
2013-10-14 16:42:25 -07:00
Adam Cohen 84add1de6d Fix issue where custom content pops in (issue 11209357)
Change-Id: Ibb40505ac25d59add0b405a1b2ac48a9778314d3
2013-10-14 16:42:10 -07:00
Winson Chung 540004905a Ensuring that we are calling setCompoundDrawable() instead of using intrinsic bounds. (Bug 11203738)
Change-Id: Ic2100e4008d7fc95d2670aab9d3b46a96a927599
2013-10-14 16:30:38 -07:00
Adam Cohen 2cc2e4ab30 am 2ac85a6d: Merge "Ensuring that we restore bounds when resizing them for folder preview drawing. (Bug 11203738)" into jb-ub-now-indigo-rose
* commit '2ac85a6d3e1096b50f00f4236ae059bcdaecb761':
  Ensuring that we restore bounds when resizing them for folder preview drawing. (Bug 11203738)
2013-10-14 15:45:44 -07:00
Adam Cohen 2ac85a6d3e Merge "Ensuring that we restore bounds when resizing them for folder preview drawing. (Bug 11203738)" into jb-ub-now-indigo-rose 2013-10-14 22:43:03 +00:00
Winson Chung d4e53c8824 Ensuring that we restore bounds when resizing them for folder preview drawing. (Bug 11203738)
Change-Id: I0cef3916217bd3808363cafcfb25c2cd140f35fc
2013-10-14 15:40:53 -07:00
Michael Jurka 8e93c09ccd am 9e91b7d5: Merge "Don\'t crash if WallpaperCropActivity isn\'t passed a URI" into jb-ub-now-indigo-rose
* commit '9e91b7d5fccebc454424657e62497016ebdc7d1e':
  Don't crash if WallpaperCropActivity isn't passed a URI
2013-10-14 15:33:29 -07:00
Michael Jurka 9e91b7d5fc Merge "Don't crash if WallpaperCropActivity isn't passed a URI" into jb-ub-now-indigo-rose 2013-10-14 22:31:50 +00:00