Search in sources :

Example 11 with TransformingTouchDelegate

use of com.android.launcher3.util.TransformingTouchDelegate in project android_packages_apps_Launcher3 by ProtonAOSP.

the class TaskView method onFinishInflate.

@Override
protected void onFinishInflate() {
    super.onFinishInflate();
    mSnapshotView = findViewById(R.id.snapshot);
    mIconView = findViewById(R.id.icon);
    mIconTouchDelegate = new TransformingTouchDelegate(mIconView);
}
Also used : TransformingTouchDelegate(com.android.launcher3.util.TransformingTouchDelegate)

Example 12 with TransformingTouchDelegate

use of com.android.launcher3.util.TransformingTouchDelegate in project android_packages_apps_Launcher3 by AOSPA.

the class GroupedTaskView method onFinishInflate.

@Override
protected void onFinishInflate() {
    super.onFinishInflate();
    mSnapshotView2 = findViewById(R.id.bottomright_snapshot);
    mIconView2 = findViewById(R.id.bottomRight_icon);
    mIcon2TouchDelegate = new TransformingTouchDelegate(mIconView2);
}
Also used : TransformingTouchDelegate(com.android.launcher3.util.TransformingTouchDelegate)

Aggregations

TransformingTouchDelegate (com.android.launcher3.util.TransformingTouchDelegate)12 GradientDrawable (android.graphics.drawable.GradientDrawable)1 InsetDrawable (android.graphics.drawable.InsetDrawable)1