Commit Graph

16 Commits

Author SHA1 Message Date
Winson Chung 99d96ba6c8 Fixing issue with fast scroller not showing sub-section headers.
- Removed some old logic to draw merged section headers

Change-Id: I2a7ff9948a3dce253d6bdcda89cc9f222faab309
2015-05-09 00:39:01 +00:00
Winson Chung 9480415d9b Make common base class to update container bounds and to handle scroll logic.
Bug: 20763871

Change-Id: I8c2f45cfb10964e4be7e9c07c89dd336585c9989
2015-05-08 21:41:40 +00:00
Winson Chung 0a71b9d83f Adding abstract methods for new RecyclerView lib.
Change-Id: I50c3dfaecd79a87340ed4eeaa3195a26311062e0
2015-05-07 11:14:42 -07:00
Winson Chung 83f59abc9c Explorations in dense grids for all apps.
- Adds sticky section headers
- Removing AppsListAdapter
- Adding search bar field
- Subtitle filtering

Bug: 20222023

Change-Id: I1eaef701b5d68f475615f09d86561eacc91c937f
2015-05-06 20:37:10 -07:00
Adam Cohen 04ac4faab0 Fix build in ub-launcher3-master
-> Stop depending on new RecyclerView methods

Change-Id: Ib2c58b24e2b796e6e7b3cd5e4bb927dc3f11faf2
2015-05-06 19:05:25 -07:00
Hyunyoung Song ebe1734a67 Make drag and drop also work when the widget tray is still in scroll mode.
b/20698514

Change-Id: Ic075f0016d5e00bbdec193bbcd2e311da1957388
2015-05-06 17:49:33 -07:00
Winson Chung ba17ad75f0 Add override method to fix building against master support lib. 2015-04-24 13:59:17 -07:00
Winson Chung 466663edee Accounting for recent changes in padding when detecting backgound taps to close AllApps.
- Also ensuring that we keep the search bar visible in all apps only if it is being overridden.

Change-Id: Iba980ecec255da80aff8ff57b42ad99d70a2122a
2015-04-17 12:51:27 -07:00
Winson Chung 0f78572066 Initial changes to support a fixed all-apps layout.
- Dynamically update padding and background depending on fixed bounds and searchbar
- Fixes issue with drag layer bg getting clobbered when rotating launcher
- Tapping outside the bounds of all apps should close all apps
- Fixing typo causing widgets to not show in sw720dp devices

Bug: 20127840

Change-Id: I29c3f905bdee940f938ffe054f58434887073092
2015-04-09 13:18:31 -07:00
Winson Chung 1c7c49331e Fixing issue with building velvet against lower support lib. 2015-04-07 13:45:29 -07:00
Winson Chung 9121fbffaf Small refactoring to apps list.
- Fixes issue with fading in app icons when items are added/removed
- Reduces number of expensive calls when drawing sections and the scrollbar
- Removes fake section AppInfos in the adapters
2015-04-06 15:12:49 -07:00
Winson Chung 24cf70092b Ensuring that we fast-scroll to the first section app.
Bug: 19992026

Change-Id: Ia015b870f80fa598fa68087f90236c59b0ad7e6d
2015-03-30 15:28:43 -07:00
Winson Chung 3d9490ab95 Removing more code with API 21 dependencies.
Change-Id: I16c914334ce0694b84626269ae4bb5e83082c739
2015-03-24 18:02:01 -07:00
Winson Chung f819dc2bc7 Making the scrollbar scrubbable.
- This change in behavior will remove the ability to scrub anywhere in the gutter to
  start fast-scrolling, but requires the user to touch near the scroll bar to start
  fast-scrolling.
- Also fixes issue with wonky scrollbar due to the fake section breaks

Change-Id: I34b08ac46ea93f7f4cad7ccde1048a388ee6a55d
2015-03-24 10:30:05 -07:00
Winson Chung aa2ab254ea Tweaking the apps list fast scroller.
- Making the view span the full width so that you can grab the scroller on the edge of the screen.
- Offsetting the fast-scoll popup so that you can see it as you scrub.

Change-Id: If1b1934bbeac0660d829cfc29c9e588df927c5e5
2015-03-16 15:20:39 -07:00
Winson Chung 93f98eaf18 Adding app grid layout with fastscroller.
- Adding filtering and using alphabetic index for app grouping.

Change-Id: I745b644fa8f90f5ff24a8642ac377ef1c65d8aff
2015-03-12 18:57:02 -07:00