-> 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
Don't measure GONE views in ShortcutAndWidgetContainer and
PagedView. They will not be processed in onLayout anyway.
This is pre-requisite for avoiding costly onMeasure in GEL.
Bug: 10734110
Change-Id: I4c1bef41d9185af5eda42b43371546c60f341f87
-> This was caused by a strange race condition. The page snap time was equal to
the delay to recheck whether to snap (in DragController). This meant that
scrollRight()/Left() would get called, and the scroller would be finished
however, the final computeScrollHelper() hadn't been called, so the mCurrentPage
hadn't yet been incremented.
-> Fixed the underlying race condition.
-> Added suitable gap (150 ms) between the two delays.
Change-Id: If700eb9e14d77a174e4395ca6933119bdb0da768
- Fixing stuck page in All Apps (Bug 9347818)
- Fixing shortcuts to uninstalled apps from being installed (Bug 10726510)
- Consolidating vibration feedback
- Ensuring that we trim names during comparison in AllApps list
Change-Id: Ieaae4d85851ce771283b4684a8a60306da28cb3b
-> Fixing random page jumps from one edge of page view to another (issue 10846070)
-> Fixing screen -1 overlap (issue 10861684)
-> Fixing callbacks / transition state related to Custom Content in RTL (issue 10858355)
-> Overview mode now works in RTL
-> Making visible page range code RTL-LTR independent
Change-Id: I4dcc6127a02bf6669f5a1e8e1b62b340b60a5edc
-> New assets, text, fonts
-> New spacing of pages (translated upwards)
-> Updated outline color to white (the ones we're drawing)
Change-Id: Ie664ac0598ae18b86ae6d54d1d6b497c13d2ee95
-> Fixed fade in of overview panel on first animation
-> Fixed long press issue in page indicator region
-> Added background scrim to overview mode
-> Fading search bar in overview mode / disabling clickability
of search bar and mic
Change-Id: Ic9bf84f7cb9ff2991c5b4e93273d9e3f65556e5c
Instead of fitting system windows as before, DragLayer now
lays out under the system windows.
DragLayer will simply add the system window insets to each
child's layout margins by default. e.g. for Hotseat, Page
Indicators, QSB, Search Overlay.
Children that want to use the full viewport can declare so
by implementing a new Insettable interface. System window
insets will be passed to Insettable#setInsets(insets) and
the child can do what it wants with them.
Currently, two of DragLayer's children implement Insettable:
1) Workspace (for the -1 screen).
Full screen pages are given the entire viewport, paged
view offsets modified to end up in the right place now
that the viewport is larger (the full screen height).
Non-full screen pages like the normal icon pages simply
apply the insets to end up in the same place they did
before.
NowClientCardsView uses the full viewport, applying the
insets as padding. Will want to better take advantage
of this new real estate in a future CL.
2) All Apps (AppsCustomizeTabHost).
Applies the insets as layout margin one level down, so that
the bar area is opaque during the transition, but visually
the content lands in the same place.
(Also add db_files to .gitignore to ignore the output of the
db tool)
Bug:10687177
Bug:10652189
Change-Id: I80b25d63884d244fcf704b24dad9497ee0d8b453
- Removes unused all apps code due to dynamic grid/spacing
- Attempts to use CellLayout instead of PagedViewCellLayout
Change-Id: I3c49bca9fc35dfeaf250591fd63bc7f36119968f
- Fixing issue where the LauncherModel would be out of sync on first migration, and subsequent crashes
Change-Id: I6f58b09b615b28958c7f941e58ff9ae0ee3ba939
-> 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