Show tooltips on cursor hover of taskbar icons.
Fix: 250092437 Test: TaskbarHoverToolTipControllerTest Flag: ENABLE_CURSOR_HOVER_STATES Change-Id: Ia0463518d13b313b354328078685930215fb7636
This commit is contained in:
1 parent
db3cdd4e97
commit
da69661add
13 files changed
+464
-2
No files matched your search
@@ -690,6 +690,11 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
|
||||
.updateAndAnimateIsManuallyStashedInApp(true);
|
||||
}
|
||||
|
||||
/** Gets the hover listener for the provided icon view. */
|
||||
public View.OnHoverListener getIconOnHoverListener(View icon) {
|
||||
return new TaskbarHoverToolTipController(mActivity, mTaskbarView, icon);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the first chance to handle TaskbarView#onTouchEvent, and return whether we want to
|
||||
* consume the touch so TaskbarView treats it as an ACTION_CANCEL.
|
||||
|
||||
Reference in new issue
Block a user