Commit Graph

7322 Commits

Author SHA1 Message Date
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
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
Adam Cohen b79a48c251 Merge "Add logging for NPE (issue 11627249)" into jb-ub-now-jolly-elf 2013-11-13 11:46:27 +00:00
Adam Copp a120b8e304 Hooks for subclasses to react to home presses.
This provides the nessecary hooks for GEL so that it can prevent
scrolling to the home screen when a search is open, instead choosing to
dismiss the search.

Bug: 11128544
Change-Id: I3c1b67bc271c1342db4a0abac364f2923bdeba3a
2013-11-13 11:37:59 +00:00
Adam Cohen 17e1aeac4b Merge "Fix CellLayout UNSPECIFIED exception (issue 11627191)" into jb-ub-now-jolly-elf 2013-11-13 11:36:04 +00:00
Adam Cohen 2f32ad2907 Add logging for NPE (issue 11627249)
Change-Id: I75352f9eb1249fa5cc46d05cd7c168a868c6f7b7
2013-11-13 11:35:15 +00:00
Winson Chung e248b83797 Merge "Prevent launching Widgets when cycling between Overview/Shrink state and Home. (Bug 11439120)" into jb-ub-now-jolly-elf 2013-11-12 19:37:07 +00:00
Adam Cohen 1960ea4a71 Fix CellLayout UNSPECIFIED exception (issue 11627191)
Change-Id: Id2f840a804c51e8c61bb28882796059584e4c8bb
2013-11-12 15:47:10 +00:00
Adam Cohen f0f2ffaedc Fix issue where extra page hangs around (issue 11634172)
Change-Id: Ia0900c9fc07bc587259e36ed17816eaf519b10dc
2013-11-12 11:48:23 +00:00
Adam Cohen c361b6fe3e Merge "Small tweaks to custom content management" into jb-ub-now-jolly-elf 2013-11-12 10:43:15 +00:00
Winson Chung 8e15fdf60a Prevent launching Widgets when cycling between Overview/Shrink state and Home. (Bug 11439120)
Change-Id: I21173f114228ba43172af9074d2ac1fadeee9886
2013-11-11 15:47:45 -08:00
Michael Jurka bf292a0bd3 Merge "Fix wallpaper cropping bugs" into jb-ub-now-jolly-elf 2013-11-11 20:07:04 +00:00
Adam Cohen 84a465aa0e Small tweaks to custom content management
-> Never allow the custom content overhang onto the viewport when
   it is not the current page
-> Never fade the custom content screen as a consequence of scrolling

Change-Id: I91a4cfb3f740ee8b429084fce1c96258bac8dd9e
2013-11-11 18:50:56 +00:00
Michael Jurka 2d13e6934f 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

Change-Id: I42be79c68b883a6e329dcc5645d7db6cd6e3eeeb
2013-11-11 17:49:42 +01:00
Adam Cohen ab087b9fbc Fix NPE we're seeing in feedback (issue 11626428)
Change-Id: I848ca84b325339004ba8ea50a01f5240eea356f5
2013-11-11 15:46:07 +00:00
Adam Cohen 2777273a2a Add method to determine if Launcher is using vertical bars
Change-Id: I7e9096cf81b49d213025c6f98708186330448fc0
2013-11-11 14:01:35 +00:00
Michael Jurka 62dacd6797 Merge "Uncommenting throw when item not contained in sBgItemsIdMap" into jb-ub-now-jolly-elf 2013-11-08 16:32:57 +00:00
Adam Cohen b9ada65af3 Uncommenting throw when item not contained in sBgItemsIdMap
-> Improving logging for issue 11580149

Change-Id: I10ce7c4b54a6435302d33bbeba4e8600f69d4920
2013-11-08 08:26:33 -08:00
Michael Jurka 5fa148a1d9 am 5bfab60f: Fix NPE in Live Wallpaper loader
* commit '5bfab60fff6c3da8f8d8e245a496a031f807560d':
  Fix NPE in Live Wallpaper loader
2013-11-08 08:17:24 -08:00
Michael Jurka 5bfab60fff Fix NPE in Live Wallpaper loader
Bug: 11584868
2013-11-08 17:02:42 +01:00
Adam Cohen 18238d90ae am 3428b5e9: Merge "Fix default wallpaper thumbnail" into jb-ub-now-jetsonic
* commit '3428b5e9f944e476fa4e5230dc682242198309ce':
  Fix default wallpaper thumbnail
2013-11-08 07:33:22 -08:00
Adam Cohen 3428b5e9f9 Merge "Fix default wallpaper thumbnail" into jb-ub-now-jetsonic 2013-11-08 15:31:04 +00:00
Adam Cohen 4683041885 am 2da0a053: Fix small scrolling regression
* commit '2da0a0532752fae8985e3e8a192eb5087cf78aab':
  Fix small scrolling regression
2013-11-08 07:29:13 -08:00