Commit Graph

2552 Commits

Author SHA1 Message Date
Winson Chung 08ab8d28c6 Merge "Prevent dragging workspace items to custom content page." into jb-ub-gel-agar 2013-07-31 17:31:17 +00:00
Winson Chung df11a77f29 Merge "Adding support for custom page indicator markers." into jb-ub-gel-agar 2013-07-31 17:30:55 +00:00
Derek Prothro ce9249e4d3 Call onShow/onHide when visibility changes on -1 screen.
Bug: 10089616
Change-Id: I4365432d5ff699b3722ca3f30713e0c490d0e4ed
2013-07-30 15:40:07 -04:00
Winson Chung 82dfe58514 Adding support for custom page indicator markers.
Change-Id: I057b0cccc4194157d92ebb123af2afaf94fb5415
2013-07-26 15:07:49 -07:00
Winson Chung 9883c9ae25 Prevent dragging workspace items to custom content page.
Change-Id: I4279f5feffb9512af66243969efaaadfb9011962
2013-07-26 13:50:47 -07:00
Winson Chung 18350f2dc4 Merge "Updating focus helper to account for change in Folder layout hierarchy. (Bug 9626867)" into jb-ub-gel-agar 2013-07-25 18:17:12 +00:00
Winson Chung a1f133de78 Updating focus helper to account for change in Folder layout hierarchy. (Bug 9626867)
Change-Id: I8d6cce9089913de987316c9790ecfb301ca1f218
2013-07-25 11:15:13 -07:00
Daniel Sandler 47b5031c70 Fix NPE on failed loader queries.
Bug: 9901236
Change-Id: I3139174dd03ac3e79960f03729b7a39528804d76
2013-07-25 13:16:14 -04:00
Adam Cohen 6ad0e7dcae Fix overhang of custom content area into first screen of launcher
Change-Id: I2e8cbedb644c8399be269616e617851136489da5
2013-07-24 14:25:58 -07:00
Adam Cohen 390af56a31 Merge "Fixing issue where the page was reset to 0 on rotation." into jb-ub-gel-agar 2013-07-24 18:47:10 +00:00
Winson Chung 8c87cd83e0 Fixing issue where the page was reset to 0 on rotation.
- We needed to defer setting the restore page until the first onLayout

Change-Id: I6b7b4c0a6401ab6ab2caaea0dac0a7261ff831e8
2013-07-24 10:57:22 -07:00
Adam Cohen ec40b2b90c Giving custom content full screen
Change-Id: Icd104fff8a1a315b795a60b812048a6218bf0e5a
2013-07-23 17:47:54 -07:00
Adam Cohen bffe745b1e Adding contract for custom content screen
Change-Id: Ia4dae3c641730ab24a0a124fd94b871d248b7dda
2013-07-22 18:22:02 -07:00
Winson Chung 9c0565fe93 Fixing regression causing PagedView not to load subsequent widget pages.
Change-Id: I1da1bd0ec5e4b964dd43cdba98d36ef30655a4a3
2013-07-22 13:28:59 -07:00
Winson Chung bc902ad603 Merge "Fixing performance issues with drawing all visible pages." into jb-ub-gel-agar 2013-07-22 19:20:54 +00:00
Adam Cohen d637124462 Merge "Just for now, for fun" into jb-ub-gel-agar 2013-07-19 23:38:50 +00:00
Adam Cohen 3e056d13d2 Merge "Adding layout transition for when pages get deleted" into jb-ub-gel-agar 2013-07-19 23:38:39 +00:00
Adam Cohen 955806dfc4 Just for now, for fun
Change-Id: I4105b4299da59f5f34e280f7e7386f6e0e9c1b1a
2013-07-19 16:36:50 -07:00
Adam Cohen 22cba7f995 Adding layout transition for when pages get deleted
-> Fixing NPE

Change-Id: I1e0cb057ff65c2b8831a2e10652acb6db10e50e3
2013-07-19 16:14:47 -07:00
Adam Cohen ae6f6c67a3 Merge "Adding switch to toggle Memory Overlay" into jb-ub-gel-agar 2013-07-19 21:42:12 +00:00
Adam Cohen 39a0604255 Adding switch to toggle Memory Overlay
-> The overlay causes performance regressions so it's hard to evaluate
   performance with it on.
-> Also, the WeightWatcher is still running regardless, so you can
   always check it
-> Saved as a shared pref

Change-Id: Iad5ccbeca2c2b4e0ec86294879f3eb09caa594e9
2013-07-19 14:32:09 -07:00
Michael Jurka 1e2f465f46 Implement ability to uninstall shortcuts from workspace
Change-Id: I14ca94ea719825c4de19ab85d67537155098d50c
2013-07-19 17:15:39 -04:00
Winson Chung c9ca298098 Fixing performance issues with drawing all visible pages.
Change-Id: I17736c1e6afa1f4a961c136fe82bf1d632cbe6cc
2013-07-19 14:01:19 -07:00
Adam Cohen 766f5f7a53 Merge "More PagedView cleanup" into jb-ub-gel-agar 2013-07-19 01:38:28 +00:00
Adam Cohen edb4076e59 More PagedView cleanup
-> Custom content screen is now full screen (with some padding inserted for now)
-> Hiding the hotseat and page indicators when scrolling to the
   custom content screen
-> Adding background scrim fade in to custom content space.

Change-Id: I28921318a38af46f11fa836020a590c70d5d96ed
2013-07-18 16:47:23 -07:00
Winson Chung 5bc865e787 Adding workaround for page indicators to support many pages.
- Tweaking assets until we get something proper

Change-Id: Ie07946acb529ff747d76896ff38837f8db6a7258
2013-07-18 15:18:25 -07:00
Daniel Sandler ea6772346e Merge "Fix crash when processes die." into jb-ub-gel-agar 2013-07-18 19:06:04 +00:00
Daniel Sandler 074e9acb6f Fix crash when processes die.
Bug: 9902561
Change-Id: I83682034095c905171bf284bf7d9fc0860f2b0f9
2013-07-18 10:16:48 -04:00
Adam Cohen f698c6ebda Simplifying some more stuff related to PagedView
Change-Id: I25d41697f4514825664a05e78df1e24fc81c492a
2013-07-17 18:46:30 -07:00
Winson Chung 181c3dc582 Fixing regression due to removal of updateCurrentPageScroll() call in previous commit.
Change-Id: Ibf43b1f671c3348e6023e79b094d0beb2dc7637d
2013-07-17 15:36:20 -07:00
Adam Cohen 02b3a8ca1f Merge "Adding notion of fullscreen page to PagedView" into jb-ub-gel-agar 2013-07-17 18:24:46 +00:00
Winson Chung d2be381d36 Removing old scroll indicator and adding page indicator dots.
Change-Id: I44c5b4b532e8464010d45dd0a3dfeccb2d475216
2013-07-17 11:15:22 -07:00
Adam Cohen 96d30a1651 Adding notion of fullscreen page to PagedView
-> This will be used for appending custom content to the left of the workspace
-> Stripped out a bunch of dead code related to notion of layout scale in PagedView

Change-Id: If4dbe28431cb5fb60dc170f6ee6e55a649dac45e
2013-07-16 18:14:22 -07:00
Adam Cohen b5da445839 Merge "Fixing issue where migration all apps folder couldn't be picked up." into jb-ub-gel-agar 2013-07-12 22:16:03 +00:00
Winson Chung 156ab5b22e Fixing issue where migration all apps folder couldn't be picked up.
- Ensuring that we add items to the non-primary home page
- Fixing issue with drop-target touch handling on tablets

Change-Id: Iea5a383dc735a8f6044a00982f05789f8328ab63
2013-07-12 15:12:32 -07:00
Adam Cohen accfd5648c Fix weird page jumps after dropping items
Change-Id: I9f5063d2a9db9e2f2a5c2fd183b45884da11dacc
2013-07-12 14:41:21 -07:00
Adam Cohen dedbd962dc Enabling reordering
-> Reordering is enabled and persists
-> Fixed persistence issue when adding items to empty screen

Change-Id: I7c797b2c81a2988c95d8d9383be46d6ef0b7532d
2013-07-12 11:56:42 -07:00
Winson Chung ce376639c8 Fixing crash due to checking hotseat items for collisions incorrectly.
Change-Id: I6ad2a3bd46b975959077683331a4ff7b946cc488
2013-07-11 18:19:56 -07:00
Adam Cohen 34a3340cfb Merge "Ensuring that the db reflects all package added/removed/updated broadcasts." into jb-ub-gel-agar 2013-07-11 21:20:52 +00:00
Winson Chung 64359a53dc Ensuring that the db reflects all package added/removed/updated broadcasts.
- Also ensuring that newly added pages are added before the empty page

Change-Id: I97a01f791c438aa5c5b1fd770d3536b449a871bc
2013-07-11 14:19:52 -07:00
Daniel Sandler 0d3b8097b6 Merge "Further MemoryTracker robustness:" into jb-ub-gel-agar 2013-07-11 18:28:48 +00:00
Adam Cohen 0ffac433c1 RTL for PagedView
Change-Id: If9fcada57880798ea2eb2b6defe51027fdc94b82
2013-07-10 11:46:01 -07:00
Adam Cohen d6e7aa3154 Fix widget resizing (Which stopped working at some point)
-> Also, deferring empty screen removal until after the drop animation
   in order to reduce buggy transitions
-> Also fixing workspace layout on tablet

Change-Id: I1ae9fdaf592262f959424f321efa6df4298f85cc
2013-07-09 15:47:46 -07:00
Adam Cohen 3bc8e17387 Merge "Porting PagedView from KG to gain simplified scaling model, reordering" into jb-ub-gel-agar 2013-07-09 18:34:06 +00:00
Adam Cohen 7d30a37007 Porting PagedView from KG to gain simplified scaling model, reordering
-> We are no longer scaling individual Celllayouts, instead we are scaling
   the entire Workspace (and the CellLayouts come along for the ride)
-> Due to the above change, many assumptions were broken. In particular,
   our drag and drop / animation archiecture is fairly fragile due to the
   frequent and complex mapping of points between different bits of the
   hierarchy. This CL contains a number of fixes which address such
   breakages.

Change-Id: I2e630eab17528729b764b61f587858f6499fd318
2013-07-08 18:32:57 -07:00
Daniel Sandler 0adfc5a755 Further MemoryTracker robustness:
- grab a copy of the tracked processes list in the dumper
- scan running processes when memorytracker starts to catch
  pids that may have survived a crash of the tracker's process
- use RunningServiceInfo to figure out roughly how long a
  service scanned in this way has been alive

Change-Id: I861642f07183e3945f7a7a41e1e5144567e17e13
2013-07-07 23:13:51 -05:00
Daniel Sandler a29949d2ef Merge changes I454a09c4,Ic0113388 into jb-ub-gel-agar
* changes:
  Add mutex around memory tracker data.
  Don't dump hprof for other processes.
2013-07-07 20:09:05 +00:00
Mindy DelliCarpini 70c987a0fe Merge "Use autoscroller to handle drag scrolling" into jb-ub-gel-agar 2013-07-03 21:31:15 +00:00
Mindy DelliCarpini 53b8d071ce Use autoscroller to handle drag scrolling
Change-Id: Ie094cbfa91f898133f84ad9ffc349d8cfa07e668
2013-07-03 14:28:32 -07:00
Michael Jurka ee0ce2b29f Fix NPE when drags are cancelled 2013-07-02 17:24:35 -07:00