summaryrefslogtreecommitdiff
path: root/quickstep/src/com/android/launcher3/taskbar/TaskbarIconController.java
AgeCommit message (Collapse)Author
2021-06-09Reorganize taskbar controllersTony Wickham
Organize existing properties as follows: - TaskbarViewController contains properties affecting TaskbarView (though child icons are still supplied by TaskbarHotseatController) - TaskbarDragLayerController contains properties related to TaskbarDragLayer itself - Renamed NavbarButtonUiController to NavbarButtonsViewController, following the pattern of TaskbarViewController and TaskbarDragLayerController - TaskbarControllers contains the different controllers to make it easier to construct, initialize, destroy, and pass them around - Removed TaskbarIconController as its responsibilities were moved to more specific controllers Test: compiles and runs, manually tested Bug: 187353581 Change-Id: Idccd95d47117101bf9617e5532a5b87635d2b8f6
2021-06-04Fixing taskbar window not collapsed after closing folderSunny Goyal
Bug: 187353581 Test: Manual Change-Id: If55ef7c44a7e51f552eba3368edd2d8b5552ca99
2021-06-03Taskbar layout updateSunny Goyal
> Calculating the hotseat padding statically > Animating taskbar views individually when animating to home instead of a layout animation > Moving all navbar buttons to a separate layout/controller and independent of Launcher > Fixing RTL layout for taskbar and nav bar Bug: 187353581 Test: Manual Change-Id: If21696f38beee328f553e467394776a8e8ed4c3e
2021-06-03Check for taskbar 3 button flag when initializing RotationContextualButtonVinit Nayak
Fixes: 190063583 Change-Id: Ibc8ee6586cdf7316f61bae9fc5eff39b4b9992f1
2021-06-01Initial commit of rotation contextual button.Vinit Nayak
UI fixing todo: b/187754252 Bug: 180046394 Test: Works in basic cases with on home and in app taskbar. Change-Id: I69985b57e38a9fdb7935fcafb097b1e6da73a6b9
2021-05-25Taskbar drag starts internal pre-drag before system dragTony Wickham
- TaskbarDragController now extends DragController. - Currently there is no pre-drag condition, so we immediately get onDragStart(), which starts the system global drag (which cancels the original internal drag). - Make the original view invisible during the drag and drop operation, across both internal and system drag events. - No longer handle onDragEvent() in TaskbarView, as TaskbarDragController handles all of it now. Test: Drag and drop from taskbar still works (bonus: starts from the correct registration point that you touched down on). Locally added a PreDragCondition and verified a seamless handoff to system drag and drop when the pre drag end condition was met. Bug: 182981908 Change-Id: I6bf48141a5eedfc6db6f461258e880ef8146e733
2021-05-21Renamin TaskbarContainerView to TaskbarDragLayerSunny Goyal
Bug: 187353581 Test: Presubmit Change-Id: I9164a956aaa896111f287ab4e97b091a7d4d30ee
2021-05-21Revert^2 "Moving taskbar lifecycle to TouchInteractionService"Sunny Goyal
430465a3d5ff0dcdd0c2e263d862049d93075a07 Bug: 187353581 Change-Id: I7b2280d16adfafd3e85ffc1d22e32d0c00d12b67
2021-05-20Revert "Moving taskbar lifecycle to TouchInteractionService"Kholoud Mohamed
This reverts commit e215fb730bb3d4a357a2c4bf0c082d3c0ad69495. Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/tests/view?invocationId=I13700009003387451&testResultId=TR89423459137251402, bug https://buganizer.corp.google.com/issues/188755902 Bug: 188755902 Change-Id: I4650136975b60f311499ee6ff5b27ab9a32d23d6
2021-05-17Moving taskbar lifecycle to TouchInteractionServiceSunny Goyal
> Inflating taskbar views with a non-launcher window context > Removing separate taskbar view in Launcher > Handling taskbar icon clicks directly instead of going via launcher > Fixing some relayouts during show/hide animation Bug: 187353581 Test: Manual Change-Id: Ia7d44acbb770bf0345922234b3daa5cc040a5843