-> 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
-> Also fixing asymmetrical assets (10951956)
-> Also fixing camera distance to improve overscroll effect
Change-Id: If229c7b8a0c80073f6dea89d5fb009a0e2f5845f
-> 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
- Don't move wallpaper when picking up items
- Don't use the entire wallpaper for parallax
until you have at least 4 pages
Bug: 10839029
Bug: 10840014
Change-Id: I1bb165c375429e4d449f654812784df610d9fcb7
-> Adding wallpaper, settings and widgets icons for overview mode
-> Fix issues with disappearing search bar / custom content screen
when screen is turned off from overview mode.
Change-Id: I0904098bd642c40709e27f571e458f1b6e479c17
-> 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
To allow as to move to the -1 screen from GEL. Also added a
showWorkspace method to handle intents when we are in All Apps.
Related GEL CL at ag/357408
Change-Id: I0a4d03df2bf035d342b74f6c3c9b3fe9105f1c59
Also, unify WallpaperCropActivity so it's
identical to the system default version (mainly
removing Launcher dependencies)
Change-Id: I1ebc390bce23de62d76daced6f8cb44d57e4ac0c
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
Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a
framework class
Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146