Search in sources :

Example 1 with LoggerUtils.newTarget

use of com.android.launcher3.logging.LoggerUtils.newTarget in project Neo-Launcher by NeoApplications.

the class DeleteDropTarget method getDropTargetForLogging.

@Override
public Target getDropTargetForLogging() {
    Target t = LoggerUtils.newTarget(Target.Type.CONTROL);
    t.controlType = mControlType;
    return t;
}
Also used : Target(com.android.launcher3.userevent.nano.LauncherLogProto.Target)

Example 2 with LoggerUtils.newTarget

use of com.android.launcher3.logging.LoggerUtils.newTarget in project Neo-Launcher by NeoApplications.

the class SecondaryDropTarget method getDropTargetForLogging.

@Override
public Target getDropTargetForLogging() {
    Target t = LoggerUtils.newTarget(Target.Type.CONTROL);
    t.controlType = mCurrentAccessibilityAction == UNINSTALL ? ControlType.UNINSTALL_TARGET : ControlType.SETTINGS_BUTTON;
    return t;
}
Also used : Target(com.android.launcher3.userevent.nano.LauncherLogProto.Target)

Example 3 with LoggerUtils.newTarget

use of com.android.launcher3.logging.LoggerUtils.newTarget in project android_packages_apps_Trebuchet by LineageOS.

the class DeleteDropTarget method getDropTargetForLogging.

@Override
public Target getDropTargetForLogging() {
    Target t = LoggerUtils.newTarget(Target.Type.CONTROL);
    t.controlType = mControlType;
    return t;
}
Also used : Target(com.android.launcher3.userevent.nano.LauncherLogProto.Target)

Aggregations

Target (com.android.launcher3.userevent.nano.LauncherLogProto.Target)3