Commit Graph

78507 Commits

Author SHA1 Message Date
Sunny Goyal d0030b05f5 Adding placeholder method for compat implementations for Accessibility manager
> Moving some utility methods to the compat class

Bug: 69611105
Change-Id: Ide0cab0b926d7bc03617fc568d2a2b429ee00cd9
2017-12-08 16:09:45 -08:00
TreeHugger Robot df01b9ee41 Merge "Separating predictionrowview into a separate layout file." into ub-launcher3-master 2017-12-08 23:37:08 +00:00
TreeHugger Robot def90801df Merge "Fix for predicted apps not being refreshed." into ub-launcher3-master 2017-12-08 22:51:57 +00:00
Mario Bertschler 846ba918ff Separating predictionrowview into a separate layout file.
This enables overriding the predictions_view file.

Change-Id: Ie42ce37e1bcd3c3c7b51e0e734e7c01a6f9b9a98
2017-12-08 14:51:22 -08:00
Mario Bertschler 8db94e108b Fix for predicted apps not being refreshed.
Bug: 70353064
Change-Id: I1a667d5836b4b35ea4ee98baa83785be481aeb73
2017-12-08 14:25:29 -08:00
Tony Wickham fcb1dd183c Merge "Implement swipe to dismiss recent tasks" into ub-launcher3-master 2017-12-08 19:12:42 +00:00
Tony Mak b74ac8d3a1 Merge "Tab indicator of work tab should be in orange color" into ub-launcher3-master 2017-12-08 11:09:31 +00:00
Xin Li 6adfe64c8b Merge "DO NOT MERGE: Merge Oreo MR1 into master" am: 64a43efc26 -s ours am: 0fe8f65ecd
am: 4565047b4a  -s ours

Change-Id: I9861e1414451d44fc5e7841249d9cfe69922ce9f
2017-12-08 04:59:25 +00:00
Bill Yi a704cac421 Import translations. DO NOT MERGE
Change-Id: Ic201b6f9b3e92db0ec1548704582fb3afa30af83
Auto-generated-cl: translation import
2017-12-07 17:02:20 -08:00
Sunny Goyal a3e0350329 Creating a copy of vertical swipe detector for quickstep
Change-Id: Ie38e0c11e8ea9aa476e450f074295358623c6942
2017-12-07 16:28:21 -08:00
Tony Wickham 8643cd4ef4 Implement swipe to dismiss recent tasks
Bug: 69166452
Change-Id: I6ccb77dbc6e55c5076ecb9808ee8283e0c72eea7
2017-12-07 15:36:56 -08:00
TreeHugger Robot daa8467e67 Merge "Removing view layer support during state animation." into ub-launcher3-master 2017-12-07 23:30:43 +00:00
Stephen Li 065a2913bf Manually merge changes from giant AOSP topic
Change-Id: Ie706753a6894f5175b2d00f376ab1966ed9eb4e3
2017-12-07 23:23:46 +00:00
Sunny Goyal c35d7ea424 Merge "Replacing some method definitions with default platform implementations" into ub-launcher3-master 2017-12-07 22:28:53 +00:00
TreeHugger Robot bf8c36a4df Merge "Minor refactoring of FloatingHeaderView and PredictionRowView." into ub-launcher3-master 2017-12-07 22:27:05 +00:00
Sunny Goyal 3c585ddbf7 Removing view layer support during state animation.
View layer was only being used when fading in/out hotseat in overview.
From API 21+, android automatically create layers when animating alpha

The current support for view layers does not work properly when cancelling
animations and controlling partial animations

Change-Id: I2d5785471af9819575beefe65f1f2bdd28c76bd5
2017-12-07 14:18:16 -08:00
Mario Bertschler 527051aaba Minor refactoring of FloatingHeaderView and PredictionRowView.
The main purpose of the CL is to let the let the PredictionRowView
calculate its own height instead of setting it from outside and cleaning
up dead code in FloatingHeaderView.

Change-Id: I7d63ee51a1a2f64618f7fd287bcf4cdb8476caa2
2017-12-07 14:15:23 -08:00
TreeHugger Robot 47f5914069 Merge "Adding support for tagging animations per controller, so that they can be controlled independently" into ub-launcher3-master 2017-12-07 22:11:40 +00:00
TreeHugger Robot 9a774e4489 Merge "Do not modify the children order while iterating the viewgroup" into ub-launcher3-master 2017-12-07 21:39:48 +00:00
TreeHugger Robot 303bbc3ba4 Merge "Stop settings properties to null in onDestroy()" into ub-launcher3-master 2017-12-07 21:29:22 +00:00
Sunny Goyal e3c6d58b71 Adding support for tagging animations per controller, so that they can be controlled independently
Change-Id: I6f360362aa16f7e02fe5fe84976b23663f228030
2017-12-07 12:46:26 -08:00
Mario Bertschler ead0e7255b Merge "Turn on feature flags to eanble all apps personal/work tabs." into ub-launcher3-master 2017-12-07 17:37:31 +00:00
Mario Bertschler ab3d4a4c02 Merge "Forwarding touch events from floating header to recyclerview." into ub-launcher3-master 2017-12-07 17:37:00 +00:00
Mario Bertschler ea0eb4bb4b Forwarding touch events from floating header to recyclerview.
Additionally adds little sidepadding to the tabs buttons and fixes yPos
calculations for the scrollbar.

Bug: 69966700
Change-Id: I9d236ce7a782090f5d17931839f24b65b4ce7019
2017-12-07 08:54:36 -08:00
Tony Mak 195f005448 Tab indicator of work tab should be in orange color
Also fix the tab according to the spec.

Fix: 70272233

Change-Id: Ib4a0446d52a8488aadada1b823b3f541c4031d43
2017-12-07 15:37:38 +00:00
Xin Li 4565047b4a Merge "DO NOT MERGE: Merge Oreo MR1 into master" am: 64a43efc26 -s ours
am: 0fe8f65ecd

Change-Id: I10040e48d060a908aea4d154a66f5ab6a97d1780
2017-12-07 14:35:36 +00:00
Xin Li 0fe8f65ecd Merge "DO NOT MERGE: Merge Oreo MR1 into master"
am: 64a43efc26  -s ours

Change-Id: Ib724e60c79fe39edcc550a4135e0618d9d3caafa
2017-12-07 14:27:43 +00:00
Xin Li 8ad3b6b29c DO NOT MERGE: Merge Oreo MR1 into master am: dc54c7eb3d -s ours
am: 10921744ba

Change-Id: Ifc2ba60d725136894dc2729ecec8f0c74ef31dd0
2017-12-07 07:01:54 +00:00
Xin Li 10921744ba DO NOT MERGE: Merge Oreo MR1 into master
am: dc54c7eb3d  -s ours

Change-Id: Ia68e705e3907369f1451a110ae5a394dd97c8667
2017-12-07 04:33:11 +00:00
Sunny Goyal f4aceab637 Replacing some method definitions with default platform implementations
Change-Id: I32e007ca0edc4a1e12b19fdb8c8c08df4109b0f4
2017-12-06 16:18:28 -08:00
Xin Li 64a43efc26 Merge "DO NOT MERGE: Merge Oreo MR1 into master" 2017-12-06 23:18:29 +00:00
Sunny Goyal bc683e9d06 Separating various UI properties into state variables
> Using workspace scale and translation for all-apps
> Without quickstep, workspace has the parallex effect as before
> With quickstep, workspace scales down to match the recents card width
> Using a single animator for recents views in case of state transtion and
  controlled transition to prevent going into inconsistant state.

Change-Id: I1864de6892052ca771f4d0062e3d60c28840a72d
2017-12-06 14:29:33 -08:00
Xin Li dc54c7eb3d DO NOT MERGE: Merge Oreo MR1 into master
Exempt-From-Owner-Approval: Changes already landed internally
Change-Id: Iaf6b819715ac128c13b6ceb24a470cf27182eb57
2017-12-06 14:24:53 -08:00
TreeHugger Robot 92731d48d2 Merge "FloatingHeaderHandler refactored into custom view FloatingHeaderView." into ub-launcher3-master 2017-12-06 20:05:26 +00:00
TreeHugger Robot c72f124586 Merge "Moving discovery bounce logic to a separate class." into ub-launcher3-master 2017-12-06 20:05:06 +00:00
Mario Bertschler 3d87ed17b3 FloatingHeaderHandler refactored into custom view FloatingHeaderView.
No logical change.

Change-Id: I9a6dadb151872abe9915e96833af530ca08ddb8e
2017-12-06 11:45:49 -08:00
Sunny Goyal 7ede6118b7 Moving discovery bounce logic to a separate class.
Removing special transition handling around discovery bound to avoid
inconsistant UI state

Change-Id: Ia40bcb0719076021a6c96f1bd16d44da0286a209
2017-12-06 10:34:16 -08:00
TreeHugger Robot adaeeee690 Merge "Fixes for fast-scrollbar when using work profile tabs in all apps." into ub-launcher3-master 2017-12-06 17:29:22 +00:00
Sunny Goyal e969c68c7e Removing horizontal bar from page indicator
> Removing the clickable bar from pageIndicator in portrait view
> Moving onClick logic to respective classes

Change-Id: I83a8df90d8c5442890bc09fdda17a82b9d134b8a
2017-12-05 16:57:48 -08:00
Mario Bertschler 2d3157a0bf Fixes for fast-scrollbar when using work profile tabs in all apps.
- do not hide scrollbar between switching tabs
- full scrollbar height
- show predictionrow only when fully scrolled to top

Bug: 70037972
Bug: 68713881

Change-Id: Icaa434ce2726b75d22ec4ac3287ab2b0e18ce42b
2017-12-05 14:36:16 -08:00
Tony Wickham 7d6b4fa47c Merge "Allow hotseat items to be clicked in overview" into ub-launcher3-master 2017-12-05 21:27:26 +00:00
Tony Wickham 53370678ce Allow hotseat items to be clicked in overview
Bug: 70179573
Change-Id: Ib2cbd7b12e5e1287d652d703e95c15ca6ea12a4e
2017-12-05 11:40:21 -08:00
Tony Mak 191b688cc8 Bottom user education view shown in work tab
Introduced a BottomUserEducationView for similar use case.

Screenshot: https://hsv.googleplex.com/4856820942241792

BUG=69963630

Change-Id: Ia818ee44fa5ce97ad1778f33e6a9a3a36cea5017
2017-12-04 17:36:33 -08:00
Sunny Goyal c7d808a424 Do not modify the children order while iterating the viewgroup
Bug: 69799241
Change-Id: I06a0a88aadc41cd93081a7de90e641283e79ec70
2017-12-04 14:52:13 -08:00
Sunny Goyal ce0900d3c0 Stop settings properties to null in onDestroy()
Some callbacks can come after onDestory, depending on the order in which
they were added. Setting properties to null can cause excptions in such cases.

Bug: 69812172
Change-Id: Ia812e6a074ad65591a6b5c963677a9182c45c153
2017-12-04 13:19:41 -08:00
Mario Bertschler 4018f3df14 Merge "Enables searching when using work tabs together with fallback search." into ub-launcher3-master 2017-12-04 20:05:41 +00:00
Sunny Goyal e6af6318cf Merge "Forwarding touch events from TouchInteractionService to Launcher when launcher window is visible" into ub-launcher3-master 2017-12-04 19:23:09 +00:00
Tony Wickham 985ea90c48 Merge "Dim non-forefront recent pages" into ub-launcher3-master 2017-12-04 19:18:04 +00:00
Tony Mak f630865f60 Fix failed to launch work app shortcut when work mode is ON
FIX=70143968

Change-Id: If2a98843410dcef466cf4d7868b8564f07a49e30
2017-12-04 10:20:27 +00:00
Tony Wickham 7df64b3dbf Dim non-forefront recent pages
Also move updateCurveProperties to computeScroll instead of scrollTo.

Change-Id: Ibb380f0122185b7fe93541daf58d5bda916c89c0
2017-12-01 16:00:59 -08:00