Vadim Tryshev
c7dc69dc1f
Removing accessibility description from page indicators
...
The current page is announced upon switching to it.
Is should be done this way for all future page implementations with
indicators.
Bug: 77827828
Test: Manual
Change-Id: I8f2f163a261dd7098939674d39e014236fc66d5d
2018-04-16 15:43:24 -07:00
Jon Miranda
2b67bacadc
Fix bug where drag handle translation was not set to 0 on device profile change.
...
Bug: 77523779
Change-Id: Idec97c34999e05adfac7e9931ab9596a8aae67ae
2018-04-03 11:54:49 -07:00
Sunny Goyal
8c1a935a45
Don't wait until layout to calculate the scroll range
...
State UI is based on scroll range, which is applied on insets change.
So the scroll range should be updated as part of insets change, for the State
UI to be applied properly
Bug: 77220795
Change-Id: I839f89e4887d9731b1483135724227c4245a00a9
2018-03-28 14:20:04 -07:00
Sunny Goyal
81b4c7bb3c
Adding a custom view for DragHandle
...
> Separating page indicator and drag handle
> Page indicator always draws irrespactive of oriantation
> Drag handle is responsible for accessibility interactions
> Adding assissibility actions for DragHandle
Bug: 72500733
Change-Id: I9030337456964af1bdf77f1c01956452321f9229
2018-03-26 15:52:03 -07:00
TreeHugger Robot
9b73c86d32
Merge "Fixing crash when changing state while all-apps is not complete bound" into ub-launcher3-master
2018-03-22 01:20:28 +00:00
Sunny Goyal
033e614127
Fixing crash when changing state while all-apps is not complete bound
...
Change-Id: I564501244cb1478195e5d226da295c13269ff524
2018-03-21 18:05:15 -07:00
Sunny Goyal
7a80b59e97
Swipe interaction changes on home screen
...
> Increasing the distance to travel for the first swipe
> Adding support for custom interpolators when building an animation
> When quickly swiping twice from home, finished the first animation
Change-Id: Ibc3c8667e9b927376fd99f08f0ca027f2398914b
2018-03-21 17:55:35 -07:00
Tony Wickham
bd6f05e0b6
Separate some elements to set visibility separately
...
Added entries for:
- All apps header extra content
- Hotseat extra content
Change-Id: I47c4ccfe3b54fd47cbbee88698ed045611e3e92d
2018-03-21 12:15:48 -07:00
Sunny Goyal
7185dd63eb
Changing the overviewState to show appsearch and floating header
...
Change-Id: I2cfd61cfc9978e4c8e4520f0f7217e49e7344c79
2018-03-19 20:02:34 -07:00
Tony Mak
98f7350f8f
Fix accessiblity issue around work tab
...
1. Instead of always announcing "Apps list", we now announce
"personal apps list" and "work apps list" if tab is there.
2. Fix an issue that "personal" and "work" are announced twice.
3. Work footer is now announced as a group
FIX: 71703082
Change-Id: I0240bc04df09a5599540cfe67f0f48156f285548
2018-03-14 17:32:18 +00:00
Sunny Goyal
8a2a63b3f0
Moving click and long click handling for items from launcher to separate class
...
Change-Id: I1d12862205f7fa7f3671ff351e66dba58bb430e2
2018-03-08 15:21:42 -08:00
Mario Bertschler
14a89262f1
Using edge effect to trigger spring animation for all apps.
...
Bug: 72811152
Bug: 72059944
Change-Id: Ied7b51caa2fb48a2fda126d59e4eaf6a35edded3
2018-03-08 11:16:53 -08:00
Sunny Goyal
3661bfac0b
Fixing fast scroller touch handling in all-apps and widget sheet
...
Also removing scrim view, instead drawing the scrim manually
Bug: 73085356
Change-Id: I188c6c9b1685e22d5d97b38dd5d3e960b655c9ba
2018-03-06 11:41:43 -08:00
Sunny Goyal
d912e3f82a
Merge "Simplifying all-apps search box" into ub-launcher3-master
2018-03-06 00:12:59 +00:00
Sunny Goyal
726bee7d5d
Removing click-feedback shadow generation logic in BubbleTextView
...
Instead of animating the shadow, animating the icon scale. This avoids
unnecessary bitmap creating at app-launch and also plays nice with the
app-launch transition
Change-Id: I1d3d24bc7212a6d659855ff1002a45388e269e52
2018-03-05 14:56:38 -08:00
Sunny Goyal
dbd6bb348c
Simplifying all-apps search box
...
> Giving the search box a solid background so that it work fine with scrolling
> bottom shadow logic for search box
Bug: 73085356
Change-Id: Ie4dc4922be39ffd8e2d562becedbd4c6f820e6c9
2018-03-01 15:58:11 -08:00
Sunny Goyal
6639a5dfe0
Updating the scrim and landscpae ui
...
> Instead of views, using a custom class to draw the color scrims
> All-apps has full screen UI
> Quickstep does not have search box in landscape
Bug: 73085356
Change-Id: I360a78a2ade0134daad29fe712796cd39a381fbb
2018-03-01 11:23:46 -08:00
Mario Bertschler
dd2424296a
Fix for floatingheader snap value being higher than the max
...
translation if flinging quickly the all-apps recycler view.
Bug: 73151273
Change-Id: If7acbf7b48f69ea6a818a83d519049496b86ced3
2018-02-28 14:16:38 -08:00
Tony Mak
2e564400ba
Fix all apps tab fling detection
...
It is a regression when we changed from ViewPager to PagedView.
Unlike ViewPager, PagedView does not take "yDiff" into account
when determining should it intercept its child MotionEvent.
Override determineScrollingStart, just like what we did in Workspace
Change-Id: I25f7415c45c370629558d944f59bf95c741b9319
FIX: 73878167
2018-02-27 17:29:12 +00:00
Tony Mak
82a1091d2d
Fix RTL issue in work tab
...
To simplify the code, we assume work tab widget == personal tab width.
FIX: 73782774
Change-Id: I534c97b1e0de0c8a1f5108bb9fa13da989bc73b0
2018-02-26 11:38:44 +00:00
Sunny Goyal
0bd7f4f2dc
Using paged view for all-apps tabs
...
Bug: 72811152
Change-Id: I0cca426d935f079c923b93fe3d4399f87778fe95
2018-02-13 09:55:29 -08:00
Sunny Goyal
60180b049e
Deferring all app updates until the pending executor is complete.
...
We were only deferring full apps binds and not partial updates which could cause
the model to go out of sync with Launcher.
Bug: 72051234
Change-Id: I20db0e86aadd1e6a518237026f6dfb03e469eb87
2018-02-07 15:55:58 -08:00
Sunny Goyal
ee047871eb
Removing unnecessary view inflation
...
Using a predefined height for app icons, and for everything else,
inflating it on demand
Change-Id: I7520802f30d2111d63fe336b09f6264201cdea61
2018-02-06 11:00:09 -08:00
TreeHugger Robot
0ad5131d77
Merge "Removing support for app prediction from Launcher3" into ub-launcher3-master
2018-02-06 00:55:56 +00:00
Sunny Goyal
fde5505d02
Handling configuration changes
...
> Adding a listener for device profile changes
> Updating various controllers instead of recreating them
> Clearing all-apps icon
Bug: 71709920
Change-Id: Ief7db199eb7494ebd8fb433198f333cd2e8e661d
2018-02-01 14:47:08 -08:00
Sunny Goyal
c94cfc052c
Merge "Initial changes for handling configuration changes dynamically" into ub-launcher3-master
2018-02-01 21:35:10 +00:00
TreeHugger Robot
ac0a506072
Merge "Ditch work profile orange and use the accent color instead" into ub-launcher3-master
2018-02-01 17:38:21 +00:00
TreeHugger Robot
6a22996244
Merge "Highlight the tab for the first time" into ub-launcher3-master
2018-02-01 17:28:56 +00:00
Tony Mak
d6947d2729
Ditch work profile orange and use the accent color instead
...
FIXES: 72804074
Change-Id: If9dfd6eceb6b3d3365c32859d5cc13d6d49be1a0
2018-02-01 17:16:58 +00:00
Sunny Goyal
f8d56fc8a1
Initial changes for handling configuration changes dynamically
...
Bug: 71709920
Change-Id: I88cf2229dea28d01c13a5a76d2290e91b07d095e
2018-01-31 15:20:30 -08:00
Sunny Goyal
b1d222e9a7
Removing support for app prediction from Launcher3
...
Derivative projects can extend the FloatingHeader to add support
to custom content in all-apps screen.
Change-Id: I4e29221a72e5a077a756713a6774cda7ecde8f1b
2018-01-30 20:53:11 -08:00
Sunny Goyal
7e2e67fd47
Adding isSeascape method to have a common place to orientation check
...
Change-Id: Ia61792b29ab0d1d74f76a8dfa53bbf968874dfaa
2018-01-26 13:47:32 -08:00
Sunny Goyal
426345bfc4
Adding AppsStore for handling various app updates
...
Change-Id: Ia2242ce583576ace0924ef7142793ba37f4adcb9
2018-01-25 15:19:29 -08:00
TreeHugger Robot
285c190ba7
Merge "Removing unused app discovery support" into ub-launcher3-master
2018-01-23 22:26:52 +00:00
Jon Miranda
701b0f528e
Use AllAppsTransitionController to animate the hotseat & scrim.
...
Bug: 70220260
Change-Id: I69bff4234c2fd0c76cb43cdd89342dcc04f2db40
2018-01-23 14:05:13 -08:00
Sunny Goyal
01ce755753
Removing unused app discovery support
...
Change-Id: I670be29851b232caa5c05624ae37ae5e92a8b65f
2018-01-23 13:53:03 -08:00
Sunny Goyal
19d32b76dd
Removing multi-state apha control for hotseat
...
Change-Id: I68ccbe96caa70921aefd18fc8ec9ad0638c3fab1
2018-01-19 14:26:44 -08:00
TreeHugger Robot
6682318dc7
Merge "Don't show the discovery bounce when running test harness" into ub-launcher3-master
2018-01-19 00:31:17 +00:00
Adam Cohen
2e95ce8b8c
Don't show the discovery bounce when running test harness
...
Change-Id: I03d31e5b8eaf5b61920c63fd455dab4b817a2466
2018-01-18 16:13:03 -08:00
TreeHugger Robot
04ff8b1ca6
Merge "Fix work tab is gone when leaving search mode" into ub-launcher3-master
2018-01-18 23:31:55 +00:00
Tony Mak
cad08fb661
Highlight the tab for the first time
...
FIXES: 71748023
Change-Id: I051789172a1869ceb950eb5dbbf15e3eeb60ed64
2018-01-18 13:55:33 +00:00
TreeHugger Robot
fddaaca841
Merge "Update apps icon in prediction apps row when apps are updated" into ub-launcher3-master
2018-01-18 10:45:12 +00:00
TreeHugger Robot
d811d99daf
Merge "Fix for badge updates in PredictionRowView" into ub-launcher3-master
2018-01-16 23:01:12 +00:00
Mario Bertschler
62d2db1d60
Fix for badge updates in PredictionRowView
...
Bug: 72054359
Change-Id: I6d435c380d182ba99f9627c049f7f36ad331ee1d
2018-01-16 14:49:51 -08:00
Sunny Goyal
5d1acbbbf9
Merge "Removing some device profile dependencies in view contructors" into ub-launcher3-master
2018-01-16 22:46:30 +00:00
Sunny Goyal
12069e6cbf
Removing some device profile dependencies in view contructors
...
Bug: 71709920
Change-Id: I13e33dceaeff71e3fb7bbb93f24be69c17d6da96
2018-01-16 14:17:47 -08:00
Tony Mak
b5950bbd6c
Update label accordingly when work mode is changed
...
Also, updates the work related strings accordingly.
Fix: 71987096
Change-Id: Iedbf6ee04f3a165a392efdf2bd351817997817ca
2018-01-16 21:33:56 +00:00
Mario Bertschler
88126e44ba
Merge "Setting PREDICTION as the containerType in PredictionRowView" into ub-launcher3-master
2018-01-16 18:45:17 +00:00
Mario Bertschler
fc6305aea1
Setting PREDICTION as the containerType in PredictionRowView
...
Bug: 71644433
Change-Id: Icf97cabb2a439b47ddcc751909e0425fd8343b48
2018-01-16 10:12:54 -08:00
Tony Mak
faaf5a5399
Update apps icon in prediction apps row when apps are updated
...
Fix: 70717710
Change-Id: I89540893ca3c8c4eae3f47bc07c3deade135e5c3
2018-01-15 14:08:48 +00:00