Commit Graph

897 Commits

Author SHA1 Message Date
Michael Jurka 566bdc3759 Merge "Update suggested wallpaper dimensions in onResume" into jb-ub-now-kermit 2013-12-05 13:45:00 +00:00
Adam Cohen 531a5c324e am b0ee0810: Add guards for restoreInstanceState (issue 11982812)
* commit 'b0ee08109ec89959d9bbd526c6e5f7ab96c8c3ea':
  Add guards for restoreInstanceState (issue 11982812)
2013-12-03 17:59:52 -08:00
Michael Jurka a6a0547fa6 Update suggested wallpaper dimensions in onResume
If another launcher runs in between, it might
change the suggested dimensions. This fixes that
case.

Bug: 11667475
2013-12-03 15:33:12 -08:00
Adam Cohen b0ee08109e Add guards for restoreInstanceState (issue 11982812)
Change-Id: Ic4c632a956130ab28843085490dc1badb39b0e8c
2013-12-03 10:52:21 -08:00
Michael Jurka 16fa074d82 am 1c00fd0b: Fix NPE when going to All Apps in landscape
* commit '1c00fd0b045179c9e6cc2dfc344cddc1a8d5b383':
  Fix NPE when going to All Apps in landscape
2013-12-03 07:07:33 -08:00
Michael Jurka 1c00fd0b04 Fix NPE when going to All Apps in landscape 2013-12-02 16:12:31 -08:00
Adam Cohen 6229a0d564 am 6400b84d: Update custom content insets when Workspace insets are set
* commit '6400b84d5594d7b9244e3b118f107033eb8b87a0':
  Update custom content insets when Workspace insets are set
2013-11-28 02:37:44 -08:00
Mathew Inwood 1eeb3fc9d8 Generalize support for 'App Info', 'Uninstall' and 'Delete'
This allows other DragSource's to allow this behaviour, instead of it being
tied to specific source types.

Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
2013-11-28 10:17:07 +00: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
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
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
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 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 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 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 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 c76e1dda08 Change the way view ids are assigned (issue 11627801)
Change-Id: I4d9c0542ea3ac581c4a9f4da68824f0b498ea337
2013-11-14 15:16:14 +00:00
Adam Cohen 2f32ad2907 Add logging for NPE (issue 11627249)
Change-Id: I75352f9eb1249fa5cc46d05cd7c168a868c6f7b7
2013-11-13 11:35:15 +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
Winson Chung c82d2622bc Dyanmically lay out overview mode across all orientations and form factors.
Change-Id: I788bbf289717b30b19afc9ad9d611c85715bc623
2013-11-07 18:50:37 +00:00
Adam Cohen 8590ecd29a Merge "Fix issue with adding widget with config activity to empty screen (issue 11381059)" into jb-ub-now-jetsonic 2013-10-31 22:31:06 +00:00
Adam Cohen 917e38851c Fix issue with adding widget with config activity to empty screen (issue 11381059)
Change-Id: Ic7eecb30422e7a6cf35ebe8470d9eba8752d406e
2013-10-31 15:04:59 -07:00
Michael Jurka 8775294020 Merge "Fix issues with sizing wallpapers" into jb-ub-now-jetsonic 2013-10-31 22:03:22 +00:00
Adam Cohen 3b185e2513 Fixing up PagedView to work in landscape mode
-> separated notion of page spacing and paged view padding
-> always position the current page within the rect
   created by pagedview's viewport + padding
-> space pages by a constant amount

Change-Id: I6bb35f72f04543f83b51ef981f8c9ded051623ac
2013-10-31 14:34:19 -07:00
Michael Jurka 454db97700 Fix issues with sizing wallpapers
- properly sync size across Launcher and wallpaper
picker
- remove code that was calculating wrong default
wallpaper size

Bug: 11324470

Change-Id: Ib4e7202363c56e3cb0c09d4448a7f96eef0a0915
2013-10-31 16:38:24 +01: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
Winson Chung d8e596db4b Clearing reference to SavedState bundle after restoring from it. (Bug 11322014) 2013-10-21 17:14:12 -07: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
Michael Jurka 8fd3adc2a3 Refactor RTL wallpaper code to use getLayoutTransitionOffsetForPage
Bug: 11157913
2013-10-16 13:50:31 -07:00
Adam Cohen 28f852ab67 Fix drop animation issue in springloaded
Change-Id: I1d8bf9d92ab7b94238e3e6a27b0eebf2c9af6872
2013-10-15 16:13:28 -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
Adam Cohen 8ec05f9fa4 Fix bugs / jank with folder creation feedback (issue 11195148)
Change-Id: Ia53438a7724c95d304f08a4c16382a9b9e8bdfea
2013-10-13 13:21:13 -07:00
Adam Cohen 982470ead5 Merge "Speed up overview transition" into jb-ub-now-indigo-rose 2013-10-12 01:24:57 +00:00
Adam Cohen fa2450a9ff Speed up overview transition
Change-Id: Ie4086717318939875228dd3a920cecf79ba0ff91
2013-10-11 18:23:08 -07:00
Adam Cohen 920a9c2577 Merge "Clean up interpolators on overview mode transition fades" into jb-ub-now-indigo-rose 2013-10-12 01:05:59 +00:00
Adam Cohen 58993ad14d Clean up interpolators on overview mode transition fades
Change-Id: Id10292286cba217ad18e77f7273e497efac4708c
2013-10-11 17:57:55 -07:00
Adam Cohen 1226be4398 Merge "Fix custom content scroll effects bug (recent regression) (issue 11188769)" into jb-ub-now-indigo-rose 2013-10-11 23:22:11 +00:00
Adam Cohen a45de07ece Fix custom content scroll effects bug (recent regression) (issue 11188769)
Change-Id: Ib90c024daf64baac2ccd1cfd04897d18cd35e111
2013-10-11 16:10:20 -07:00
Winson Chung dc734ef2c0 Merge "Fixing issue where the PagedView scroll is out of sync with the current page. (Bug 11050528)" into jb-ub-now-indigo-rose 2013-10-11 23:07:45 +00:00
Winson Chung 964df6b93e Fixing issue where the PagedView scroll is out of sync with the current page. (Bug 11050528)
Change-Id: I9c445d862763b2a77847cc3bff994f6ba9af8cc4
2013-10-11 15:55:37 -07:00