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);
}
Aggregations