Commit Graph

3098 Commits

Author SHA1 Message Date
Dan Sandler b3084e87fc Merge "Revert "Revert "Enable Launcher2 workspace import.""" into jb-ub-now-jolly-elf 2013-12-03 04:12:23 +00:00
Adam Cohen c924cacfab Merge "Only import workspaces for non-tablets (where grid hasn't changed)" into jb-ub-now-jolly-elf 2013-12-03 01:17:38 +00:00
Adam Cohen 6dbe049431 Only import workspaces for non-tablets (where grid hasn't changed)
Change-Id: I832b6259477d6325c141fddfe9b50cb05aeff8d2
2013-12-02 17:02:36 -08:00
Michael Jurka 1c00fd0b04 Fix NPE when going to All Apps in landscape 2013-12-02 16:12:31 -08:00
Winson Chung 2cb2471e7f Ensure we pass search bar bounds to GoogleSearch. (Bug 11968598)
Change-Id: I10027c2c10bbc5b2f2e63276dc91ceca0bf59a08
2013-12-02 15:01:39 -08:00
Winson Chung 1a5adf4f4c Merge "Modifying Workspace padding to account for Search Bar offsets. (Bug 11968598)" into jb-ub-now-jolly-elf 2013-12-02 22:49:28 +00:00
Winson Chung 69e04ea5ab Modifying Workspace padding to account for Search Bar offsets. (Bug 11968598)
Change-Id: I26b8488afd6d75777e1d881f1105b5c1a89021d7
2013-12-02 14:43:44 -08:00
Michael Jurka 10a8935ef1 Merge "Use AsyncTasks instead of creating new threads" into jb-ub-now-jolly-elf 2013-12-02 22:17:49 +00:00
Dan Sandler d0e4118f2e Revert "Revert "Enable Launcher2 workspace import.""
This reverts commit a6a296ba1f.

https://memegen.googleplex.com/5476445807706112

Bug: 9832552
2013-12-02 16:00:03 -05:00
Mac Duy Hai a50d34306c Merge "Add method to retrieve search box bounds." into jb-ub-now-jolly-elf 2013-12-02 11:40:18 +00:00
Mac Duy Hai 6def4f900c Add method to retrieve search box bounds.
Change-Id: I67893f00990053415453490034ea7066d9f0f3b6
2013-11-28 16:17:33 +00:00
Adam Cohen 76980e3397 Merge "Fix binding problem with no screens (issue 11768766)" into jb-ub-now-jolly-elf 2013-11-27 21:06:00 +00:00
Adam Cohen d8dbb46468 Fix binding problem with no screens (issue 11768766)
Change-Id: I0a296892d4964913f38bf6d7bd2c2b17e1e0e8e0
2013-11-27 11:58:48 -08:00
Adam Cohen 6400b84d55 Update custom content insets when Workspace insets are set
-> Not sure if custom content can be added before insets are set,
   so this is just a speculative fix.

Bug: 11875171
Change-Id: Ia8e07f51f527f464262b7ff99e4db245fe5a7906
2013-11-26 15:46:47 -08:00
Adam Cohen 166ebd4da5 De-parent custom content view before adding to custom content screen
Bug: 11666352
Change-Id: Ief35e6e8a16ec0217e0dd27434723ee7a7d5beef
2013-11-26 14:56:18 -08:00
Adam Cohen d552dd90f1 Fix NPE in Launcher onDestroy
Bug: 11765296
Change-Id: I83299656cc90b8a744afb0db4b5ea08675c8db82
2013-11-26 12:17:39 -08:00
Adam Cohen 060a48378f Merge "Fix NPE in case where workspace is null because Launcher has been destroyed " into jb-ub-now-jolly-elf 2013-11-26 19:57:10 +00:00
Adam Cohen 37c717ffa6 Fix NPE in case where workspace is null because Launcher has been destroyed
Bug: 11765964
Change-Id: Iacd4db712c09940c05ccd2a64b25e376b63c6aee
2013-11-26 19:52:58 +00:00
Dan Sandler a6a296ba1f Revert "Enable Launcher2 workspace import."
This reverts commit 5b3bdd394e.

Bug: 11768766
Bug: 9832552
2013-11-26 18:55:28 +00:00
Michael Jurka 04a231bbe4 Merge "Making workspace->overview transition smoother" into jb-ub-now-jolly-elf 2013-11-26 13:35:40 +00:00
Adam Cohen cccfe95beb Merge "Allowing ability to pick up items / enter overview before full page settle" into jb-ub-now-jolly-elf 2013-11-25 18:46:23 +00:00
Michael Jurka 853f5a46eb Making workspace->overview transition smoother
- Also set interpolator on page indicators
2013-11-25 16:02:09 +01:00
Dan Sandler 5b3bdd394e Enable Launcher2 workspace import.
Bug: 11800663
Change-Id: I5c8963bde69e667bf726d1f926a913c347294e16
2013-11-21 08:29:51 -05:00
Winson Chung 2c130e1f29 Reducing workspace grid for dogfooding. 2013-11-19 15:10:12 -08:00
Winson Chung 6dc8f7c856 Merge "Update the database when converting the final screen. (Bug 11683562, Bug 11034205)" into jb-ub-now-jolly-elf 2013-11-19 20:02:19 +00:00
Dan Sandler f0b8dacf15 Disable importing workspaces from Launcher2.
Bug: 9832552
Bug: 11761032
Change-Id: I4dfd16046e9d6d0d1d864dff4340b0ed13cc8b8f
2013-11-19 19:31:04 +00:00
Winson Chung f0716b7a74 Update the database when converting the final screen. (Bug 11683562, Bug 11034205) 2013-11-18 16:09:54 -08:00
Winson Chung 540efef758 Merge changes Ida9603e3,I3dfa45cc into jb-ub-now-jolly-elf
* changes:
  Initialize FastBitmapDrawable bounds with default bitmap dimensions.
  Updating LauncherModel filtering to use screen ids. (Bug 11685286)
2013-11-18 22:12:11 +00:00
Winson Chung 268f1c563f Initialize FastBitmapDrawable bounds with default bitmap dimensions.
Change-Id: Ida9603e35b242a581b9401c6440875cd511725a1
2013-11-18 14:04:41 -08:00
Adam Cohen a765215280 Allowing ability to pick up items / enter overview before full page settle
-> Fixes issue 11701996
-> Fixes issue where if you tried to longpress a widget before the page
   settled, it would instead enter overview

Change-Id: Ic6321805687dd5e8c69506c6cd6941a11d557ed6
2013-11-18 20:08:11 +00:00
Adam Cohen f9618856d6 Syncing up state transition with paging transition
Change-Id: Id91e4c046cfe7d9aa6e7de10dbf57ee727ba160e
2013-11-18 15:21:29 +00:00
Winson Chung 9b9fb967b2 Updating LauncherModel filtering to use screen ids. (Bug 11685286)
- Fixes the issue with the current page not synchronously binding

Change-Id: I3dfa45cc1777f846c77f3e86059dfb715553e1a3
2013-11-15 15:46:27 -08:00
Winson Chung 603d19a333 Merge "Additional logs to track down missing workspace screen. (Bug 11683562)" into jb-ub-now-jolly-elf 2013-11-15 21:27:34 +00:00
Winson Chung 9f9f00bca6 Additional logs to track down missing workspace screen. (Bug 11683562)
Change-Id: I4f6b3c3ae07e2069bad01940dfce6bdc9cdb0ae0
2013-11-15 13:27:00 -08:00
Winson Chung 28b690ab8e Merge "Adding logs to track down missing workspace screen. (Bug 11683562)" into jb-ub-now-jolly-elf 2013-11-15 21:11:22 +00:00
Winson Chung a90303bb6f Adding logs to track down missing workspace screen. (Bug 11683562)
Change-Id: I12ef3331ab81004c75229d33afa0a8dd0fa8521c
2013-11-15 13:10:03 -08:00
Adam Cohen 582a36949b Merge "Adding method to get the search bar bounds." into jb-ub-now-jolly-elf 2013-11-15 17:09:23 +00:00
Adam Cohen 3a14eeb54e Bit of code cleanup (issue 11648206)
Change-Id: I2d04bbbdb037de089a16da236dadc4f5950504da
2013-11-15 17:03:49 +00:00
Adam Cohen 202e4fdafb Merge "Fix for transparent CustomContent screen (issue 11549096)" into jb-ub-now-jolly-elf 2013-11-15 13:21:05 +00:00
Adam Cohen 1774a8a0c6 Fix for transparent CustomContent screen (issue 11549096)
Change-Id: I8b371e3c556a80b7eb3e145a8d4b78f15421046a
2013-11-15 13:16:43 +00:00
Winson Chung b38002419d Adding method to get the search bar bounds.
Change-Id: Iec2fe0992cc666432ba6b9eac7ee8bf63e49b146
2013-11-14 14:15:06 -08:00
Winson Chung b427f30e4d Merge "Require valid arrays when adding and binding new Apps. (Bug 11627095)" into jb-ub-now-jolly-elf 2013-11-14 19:50:29 +00:00
Winson Chung fe9d96a396 Require valid arrays when adding and binding new Apps. (Bug 11627095)
Change-Id: I8f2a4dc70bf376d804885f433ab20064823ebaac
2013-11-14 11:30:05 -08:00
Winson Chung 89ee93e0f8 Merge "Use the icon bounds for all calculations." into jb-ub-now-jolly-elf 2013-11-14 19:19:25 +00:00
Winson Chung eeb5bbc940 Use the icon bounds for all calculations.
- Fixes a drag and drop issue when the dynamic
grid scales icons down, due to the drawable bounds
not being equal to their bitmap sizes.

Change-Id: If7c68b51131de7bac3195a2619e22340f7789432
2013-11-14 11:18:18 -08:00
Adam Cohen 4e2683a4b5 Merge "Fix issue where custom content would be invisible (issue 11644432)" into jb-ub-now-jolly-elf 2013-11-14 17:10:57 +00:00
Adam Cohen 76128b6359 Fix issue where custom content would be invisible (issue 11644432)
-> Also making sure to clear the widget frame when moving to custom
   content.

Change-Id: I460c707f1b6ec34bc6d78c9df43a613d9bfced3c
2013-11-14 16:48:08 +00:00
Adam Cohen e9b198fd74 Merge "Change the way view ids are assigned (issue 11627801)" into jb-ub-now-jolly-elf 2013-11-14 16:22:36 +00:00
Adam Cohen c76e1dda08 Change the way view ids are assigned (issue 11627801)
Change-Id: I4d9c0542ea3ac581c4a9f4da68824f0b498ea337
2013-11-14 15:16:14 +00:00
Adam Copp 3dc3ecda28 Merge "Hooks for subclasses to react to home presses." into jb-ub-now-jolly-elf 2013-11-14 14:04:45 +00:00