Commit Graph

16456 Commits

Author SHA1 Message Date
Adam Cohen b3fff9d98a Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide" into ub-launcher3-burnaby 2015-09-21 17:34:05 +00:00
Adam Cohen 0d6211ce8f am ed10c013: am 36bde9a9: Merge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher3-burnaby
* commit 'ed10c013bd6f6775cd6bb834283303deed55daa7':
  Add fake CustomContent screen for testing Launcher interface
2015-09-19 00:56:56 +00:00
Adam Cohen ed10c013bd am 36bde9a9: Merge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher3-burnaby
* commit '36bde9a9e50412329237081e595d732b7da93e0b':
  Add fake CustomContent screen for testing Launcher interface
2015-09-19 00:35:57 +00:00
Adam Cohen 36bde9a9e5 Merge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher3-burnaby 2015-09-19 00:32:53 +00:00
Adam Cohen 4b66bf3cff Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide
-> In some instances, onResume would incorrectly call onShow
-> When pressing Home from CustomContent, we'd get a sequence of onHide,
   onShow, and then onHide due to some deferred actions in onNewIntent.
   Got rid of the onShow.

issue 17629011

Change-Id: I9b4f2ef682f5a7060e68210866fa05452076e428
2015-09-18 17:32:00 -07:00
Tony Wickham ce86e194c4 Show App Info when dragging widgets from the workspace.
Bug: 24190195
Change-Id: I65f67b7c1a1ae895035942aa97e40186ea5a206f
2015-09-18 16:06:55 -07:00
Tony Wickham 2516428710 Drags originating in Folder exit spring loaded mode when completed.
Change-Id: Id020473a7a466fa98897455f48d3de7a3bc4997d
2015-09-18 15:30:24 -07:00
Tony Wickham 20bd2c10c1 am 6ed058cb: Wallpaper preview parallax matches the actual wallpaper\'s.
* commit '6ed058cb6bfbb5756721e0d7f4a80a1c08ee665c':
  Wallpaper preview parallax matches the actual wallpaper's.
2015-09-18 20:41:14 +00:00
Tony Wickham 6ed058cb6b Wallpaper preview parallax matches the actual wallpaper's.
Cherry picking the following changes from ub-launcher3-master:
Change-Id: I41c5bbbfdabfeb4e20d77e9b5804842a03211edf
Change-Id: I69afa3f8cc59c77e9c4c25e29e8db8c4beb87462
Change-Id: I82b7ba506d51ee4b3812af5fbdf95d3303b37aef
Change-Id: Id7c2b5483c5535d59be2f8a459ce7788e3c8318a

Bug: 23568800
Change-Id: I343169b9fdc5ceaab3d4b39044627d78b7267868
(cherry picked from commit 3e776a87dc)
2015-09-18 13:09:01 -07:00
Tony Wickham fcd19dfcd3 Merge "Ensure that setting a wallpaper snaps to a page." into ub-launcher3-master 2015-09-18 19:52:32 +00:00
Tony Wickham e305441960 Ensure that setting a wallpaper snaps to a page.
Previously it was possible to end in a sort of limbo state between pages if the
user free scrolled in the overview before entering the wallpaper picker.

Bug: 23829077

Change-Id: I2837fb46f092efac3b3274043378431963e6eabc
2015-09-18 12:42:48 -07:00
Adam Cohen 141b20e0b3 Add fake CustomContent screen for testing Launcher interface
Change-Id: I5f2aee1768fe59ee3079d069ff0be21cdf9282ea
2015-09-18 12:11:16 -07:00
Winson Chung 26bfdd9d5a am a3c9fb12: Merge "Requiring key chord to delete icons and folders on the workspace" into ub-launcher3-burnaby-polish
* commit 'a3c9fb125c7449df5add990e91e0e3471e3cc776':
  Requiring key chord to delete icons and folders on the workspace
2015-09-18 18:53:48 +00:00
Winson Chung a3c9fb125c Merge "Requiring key chord to delete icons and folders on the workspace" into ub-launcher3-burnaby-polish 2015-09-18 18:49:25 +00:00
Winson d1b49ee9f1 am 605156bd: Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
* commit '605156bd87345beef31bf9164e85fbfc8a1cfc08':
  Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
2015-09-18 17:23:12 +00:00
Winson 77f670721d am 605156bd: Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
* commit '605156bd87345beef31bf9164e85fbfc8a1cfc08':
  Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
2015-09-18 17:23:11 +00:00
Sunny Goyal 46a07220ad Merge "Build fix" into ub-launcher3-master 2015-09-18 17:18:46 +00:00
Sunny Goyal 877f92893a Build fix
Change-Id: Ic9c8872dbabbd52b902a5890e7213b7e450bbcfb
2015-09-18 10:18:25 -07:00
Sunny Goyal b3cf2d789e Merge "Refactoring deferred bind logic" into ub-launcher3-master 2015-09-18 17:18:10 +00:00
Winson 605156bd87 Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
Bug: 24173665
Change-Id: Ia59481dc7fb52454760c688ba49c90b8507d7900
2015-09-18 17:18:08 +00:00
Sunny Goyal 9b75b5f8dc am 31860581: Catching RemoteExceptions when calling packagemanager to get list of shortcuts
* commit '31860581536b3fee0221456a2dcc5d6d6f2b7e15':
  Catching RemoteExceptions when calling packagemanager to get list of shortcuts
2015-09-18 17:05:41 +00:00
Sunny Goyal 8c2fdd4c44 am 31860581: Catching RemoteExceptions when calling packagemanager to get list of shortcuts
* commit '31860581536b3fee0221456a2dcc5d6d6f2b7e15':
  Catching RemoteExceptions when calling packagemanager to get list of shortcuts
2015-09-18 17:05:39 +00:00
Sunny Goyal 3186058153 Catching RemoteExceptions when calling packagemanager to get list of shortcuts
Bug: 23796963
Change-Id: I5486c2916e981e7135edd5df360536a362bc2795
2015-09-18 09:15:22 -07:00
Sunny Goyal 1daf7f792a Merge "Build fix" into ub-launcher3-master 2015-09-17 22:07:19 +00:00
Sunny Goyal 05247be8aa am 0f196e69: Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby
* commit '0f196e6939ee9f23ea24d046e74fd1d1d3fc953f':
  Null check when getting list of widget receivers
2015-09-17 22:03:56 +00:00
Sunny Goyal a0a311ec21 am 0f196e69: Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby
* commit '0f196e6939ee9f23ea24d046e74fd1d1d3fc953f':
  Null check when getting list of widget receivers
2015-09-17 22:03:09 +00:00
Sunny Goyal 3a6205f820 Build fix
Change-Id: I42941ccd7a104a85b0314806b6d34e734f47aa5d
2015-09-17 15:01:11 -07:00
Sunny Goyal 0f196e6939 Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby 2015-09-17 21:52:13 +00:00
Sunny Goyal ace3aa210b am 79afe010: Throwing system api call exceptions in case of dogfood builds
* commit '79afe010d55af6b1753430a334bf6e24448e9375':
  Throwing system api call exceptions in case of dogfood builds
2015-09-17 21:38:27 +00:00
Sunny Goyal a3c657750a am 79afe010: Throwing system api call exceptions in case of dogfood builds
* commit '79afe010d55af6b1753430a334bf6e24448e9375':
  Throwing system api call exceptions in case of dogfood builds
2015-09-17 21:38:25 +00:00
Sunny Goyal 7b221efa53 Null check when getting list of widget receivers
Bug: 23897605
Change-Id: Ib23b394828b0e5ec50bf7452b2ec2c905f4a6fbc
2015-09-17 14:09:27 -07:00
Tony Wickham 0c29decbfd am 1cdb6d06: onDropChild() always marks the cell as occupied.
* commit '1cdb6d066123cb9b2f9ea2c66246b29bf1dd9cf2':
  onDropChild() always marks the cell as occupied.
2015-09-17 19:54:10 +00:00
Sunny Goyal 79afe010d5 Throwing system api call exceptions in case of dogfood builds
Change-Id: I28bad663712a22360ceed095ceb54ce71b1449d5
2015-09-17 12:50:11 -07:00
Tony Wickham 1cdb6d0661 onDropChild() always marks the cell as occupied.
Bug: 24164487
Change-Id: I11ef638a56b638ee82c3cd748340995970fc7e32
2015-09-17 19:48:08 +00:00
Tony Wickham f519a039b2 Merge "Dragging app from workspace to App Info doesn't consume the app." into ub-launcher3-master 2015-09-16 23:54:51 +00:00
Tony Wickham ab946a19d4 Flinging to the left deletes when in vertical bar layout mode.
This mode has the remove icon on the left side, so flinging to the
left makes more sense. But flinging up still works in either case.

Change-Id: I7ab40776b67659026f03f81efd43fae3375b5ba0
2015-09-16 16:28:43 -07:00
Tony Wickham 734dfbe272 Dragging app from workspace to App Info doesn't consume the app.
In other words, the app stays on the workspace after showing the info.

Change-Id: Ibcf925c2c4c083b16ce0510a9fcedbe3fcef5b9d
2015-09-16 16:22:36 -07:00
Tony Wickham 6d1bbe350f startAnimationToWorkspace() handles coming from another workspace state.
Previously, it assumed that the transition started from an overlay -
either all apps or the widget picker. But this isn't true, because
the transition is also used when transitioning between workspace
states such as from normal to overview. Properly handling this case is
critical for the workspace to correctly manage the transition. For
instance, it wasn't setting mIsSwitchingState to true, causing issues
such as invisible overview panels in landscape mode.

Change-Id: I9c06a345233d366669972359c58c3427a518e2b9
2015-09-16 14:27:59 -07:00
Sunny Goyal 93cf2638eb am 3dc7beea: Catching DeadObjectException and TransactionTooLarge
* commit '3dc7beea3c7f9a60070e767aa43f5877a467d3ed':
  Catching DeadObjectException and TransactionTooLarge
2015-09-15 21:20:18 +00:00
Sunny Goyal f33b78b850 am 3dc7beea: Catching DeadObjectException and TransactionTooLarge
* commit '3dc7beea3c7f9a60070e767aa43f5877a467d3ed':
  Catching DeadObjectException and TransactionTooLarge
2015-09-15 21:19:40 +00:00
Sunny Goyal 3dc7beea3c Catching DeadObjectException and TransactionTooLarge
Bug: 23796965
Bug: 23796963
Change-Id: I4c6ed217b9925b2e6014adc374b8b21f1ba559bc
2015-09-15 13:36:46 -07:00
Tony Wickham 34d2c915c4 Added AppInfoDropTargetBar to spring loaded workspace.
Change-Id: Ieedc68eba9a5934ab30d6d546d8a837274491064
2015-09-15 11:37:58 -07:00
Sunny Goyal 527c7d3460 Refactoring deferred bind logic
> Using ViewTreeObserver to listen for onDraw instead of overriding onDraw in workspace
> Loader passes the list of deferrerd runnables to launcher

Change-Id: Ie4877f746c96e9497396de8089f00f70bf867e17
2015-09-15 10:43:13 -07:00
Tony Wickham b54c4a3d86 Added BaseDropTargetBar, which SearchDropTargetBar extends.
This is to allow for a future AppInfoDropTargetBar.

Change-Id: I5e66129919226eaef1ba1ddb0c0c99d0a6dc48df
2015-09-15 10:42:24 -07:00
Tony Wickham e33c09f1be Merge "Initial spring loaded workspace." into ub-launcher3-master 2015-09-15 17:32:31 +00:00
Tony Wickham 94e0d37f53 Initial spring loaded workspace.
It is a bit clunky and doesn't have the App Info drag bar at the
bottom yet, but it is a start.

Also removed page hints because they are no longer used.

Change-Id: I1f8f82d33e6694cab1f1c762e78852ac0d40ab33
2015-09-14 18:26:42 -07:00
Winson fa56b3f2f1 Requiring key chord to delete icons and folders on the workspace
- Also fixing case where the all apps button to search for more apps
  was not focusable

Bug: 20639227
Change-Id: Ie4d9092e654d3cafc0eb346b3bb744ec3e295e92
2015-09-14 19:47:19 +00:00
Tony Wickham 8a511b9123 Merge "Wallpaper preview parallax matches the actual wallpaper's." into ub-launcher3-burnaby-polish 2015-09-14 18:39:56 +00:00
Winson 7089a4e197 am c0b52fef: Refactoring to ensure item deletion always removes from the DB.
* commit 'c0b52fefbc11531d560359c093484099f9d1298e':
  Refactoring to ensure item deletion always removes from the DB.
2015-09-10 22:03:57 +00:00
Winson Chung d6a887b6a7 Merge "Prevent full sized icons from being stored when low-res icons are requested." into ub-launcher3-master 2015-09-10 22:01:24 +00:00