Search in sources :

Example 1 with SplitPlaceholderView

use of com.android.quickstep.views.SplitPlaceholderView in project android_packages_apps_Launcher3 by crdroidandroid.

the class RecentsActivity method setupViews.

/**
 * Init drag layer and overview panel views.
 */
protected void setupViews() {
    inflateRootView(R.layout.fallback_recents_activity);
    setContentView(getRootView());
    mDragLayer = findViewById(R.id.drag_layer);
    mScrimView = findViewById(R.id.scrim_view);
    mFallbackRecentsView = findViewById(R.id.overview_panel);
    mActionsView = findViewById(R.id.overview_actions_view);
    SYSUI_PROGRESS.set(getRootView().getSysUiScrim(), 0f);
    SplitPlaceholderView splitPlaceholderView = findViewById(R.id.split_placeholder);
    splitPlaceholderView.init(new SplitSelectStateController(mUiHandler, SystemUiProxy.INSTANCE.get(this)));
    mDragLayer.recreateControllers();
    mFallbackRecentsView.init(mActionsView, splitPlaceholderView);
}
Also used : SplitSelectStateController(com.android.quickstep.util.SplitSelectStateController) SplitPlaceholderView(com.android.quickstep.views.SplitPlaceholderView)

Aggregations

SplitSelectStateController (com.android.quickstep.util.SplitSelectStateController)1 SplitPlaceholderView (com.android.quickstep.views.SplitPlaceholderView)1