use of com.android.launcher3.logging.LoggerUtils.newContainerTarget in project Neo-Launcher by NeoApplications.
the class PopupContainerWithArrow method onControllerInterceptTouchEvent.
@Override
public boolean onControllerInterceptTouchEvent(MotionEvent ev) {
if (ev.getAction() == MotionEvent.ACTION_DOWN) {
BaseDragLayer dl = getPopupContainer();
if (!dl.isEventOverView(this, ev)) {
mLauncher.getUserEventDispatcher().logActionTapOutside(LoggerUtils.newContainerTarget(ContainerType.DEEPSHORTCUTS));
close(true);
// the app with one tap if they don't find a shortcut they want.
return mOriginalIcon == null || !dl.isEventOverView(mOriginalIcon, ev);
}
}
return false;
}
Aggregations