Loading packages/CarSystemUI/res/layout/car_fullscreen_user_switcher.xml +12 −7 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ --> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/fullscreen_user_switcher" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true"> Loading @@ -24,22 +25,26 @@ android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_alignParentTop="true" android:orientation="vertical"> <include <!-- TODO(b/150302361): Status bar is commented out since a top inset is being added which causes it to be displayed below the top of the screen. --> <!-- <include layout="@layout/car_status_bar_header" android:layout_alignParentTop="true" android:theme="@android:style/Theme"/> android:theme="@android:style/Theme"/>--> <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent"> <com.android.systemui.statusbar.car.UserGridRecyclerView <com.android.systemui.car.userswitcher.UserGridRecyclerView android:id="@+id/user_grid" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_marginTop="@dimen/car_user_switcher_margin_top"/> android:layout_gravity="center_vertical"/> <!-- TODO(b/150302361): Re-add marginTop once status bar has been added back. --> <!-- android:layout_marginTop="@dimen/car_user_switcher_margin_top"/>--> </FrameLayout> </LinearLayout> Loading packages/CarSystemUI/res/layout/car_qs_panel.xml +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ android:layout_width="match_parent" android:layout_height="@dimen/car_user_switcher_container_height"> <com.android.systemui.statusbar.car.UserGridRecyclerView <com.android.systemui.car.userswitcher.UserGridRecyclerView android:id="@+id/user_grid" android:layout_width="match_parent" android:layout_height="match_parent"/> Loading packages/CarSystemUI/res/layout/sysui_primary_window.xml→packages/CarSystemUI/res/layout/sysui_overlay_window.xml +0 −0 File moved. View file packages/CarSystemUI/res/values/config.xml +6 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,11 @@ to a constant alpha percent value using the initial alpha. --> <integer name="config_finalNotificationBackgroundAlpha">100</integer> <!-- Car System UI's OverlayViewsMediator--> <string-array name="config_carSystemUIOverlayViewsMediators" translatable="false"> <item>com.android.systemui.car.userswitcher.FullscreenUserSwitcherViewMediator</item> </string-array> <!-- SystemUI Services: The classes of the stuff to start. --> <string-array name="config_systemUIServiceComponents" translatable="false"> <item>com.android.systemui.util.NotificationChannels</item> Loading Loading @@ -85,5 +90,6 @@ <item>com.android.systemui.navigationbar.car.CarNavigationBar</item> <item>com.android.systemui.toast.ToastUI</item> <item>com.android.systemui.voicerecognition.car.ConnectedDeviceVoiceRecognitionNotifier</item> <item>com.android.systemui.window.SystemUIOverlayWindowManager</item> </string-array> </resources> packages/CarSystemUI/src/com/android/systemui/CarSystemUIBinder.java +9 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ import com.android.systemui.toast.ToastUI; import com.android.systemui.util.leak.GarbageMonitor; import com.android.systemui.voicerecognition.car.ConnectedDeviceVoiceRecognitionNotifier; import com.android.systemui.volume.VolumeUI; import com.android.systemui.window.OverlayWindowModule; import com.android.systemui.window.SystemUIOverlayWindowManager; import dagger.Binds; import dagger.Module; Loading @@ -47,7 +49,7 @@ import dagger.multibindings.IntoMap; /** Binder for car specific {@link SystemUI} modules. */ @Module(includes = {RecentsModule.class, CarStatusBarModule.class, NotificationsModule.class, BubbleModule.class, KeyguardModule.class}) BubbleModule.class, KeyguardModule.class, OverlayWindowModule.class}) public abstract class CarSystemUIBinder { /** Inject into AuthController. */ @Binds Loading Loading @@ -182,4 +184,10 @@ public abstract class CarSystemUIBinder { @ClassKey(ConnectedDeviceVoiceRecognitionNotifier.class) public abstract SystemUI bindConnectedDeviceVoiceRecognitionNotifier( ConnectedDeviceVoiceRecognitionNotifier sysui); /** Inject into SystemUIOverlayWindowManager. */ @Binds @IntoMap @ClassKey(SystemUIOverlayWindowManager.class) public abstract SystemUI bindSystemUIPrimaryWindowManager(SystemUIOverlayWindowManager sysui); } Loading
packages/CarSystemUI/res/layout/car_fullscreen_user_switcher.xml +12 −7 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ --> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/fullscreen_user_switcher" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true"> Loading @@ -24,22 +25,26 @@ android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_alignParentTop="true" android:orientation="vertical"> <include <!-- TODO(b/150302361): Status bar is commented out since a top inset is being added which causes it to be displayed below the top of the screen. --> <!-- <include layout="@layout/car_status_bar_header" android:layout_alignParentTop="true" android:theme="@android:style/Theme"/> android:theme="@android:style/Theme"/>--> <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent"> <com.android.systemui.statusbar.car.UserGridRecyclerView <com.android.systemui.car.userswitcher.UserGridRecyclerView android:id="@+id/user_grid" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_marginTop="@dimen/car_user_switcher_margin_top"/> android:layout_gravity="center_vertical"/> <!-- TODO(b/150302361): Re-add marginTop once status bar has been added back. --> <!-- android:layout_marginTop="@dimen/car_user_switcher_margin_top"/>--> </FrameLayout> </LinearLayout> Loading
packages/CarSystemUI/res/layout/car_qs_panel.xml +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ android:layout_width="match_parent" android:layout_height="@dimen/car_user_switcher_container_height"> <com.android.systemui.statusbar.car.UserGridRecyclerView <com.android.systemui.car.userswitcher.UserGridRecyclerView android:id="@+id/user_grid" android:layout_width="match_parent" android:layout_height="match_parent"/> Loading
packages/CarSystemUI/res/layout/sysui_primary_window.xml→packages/CarSystemUI/res/layout/sysui_overlay_window.xml +0 −0 File moved. View file
packages/CarSystemUI/res/values/config.xml +6 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,11 @@ to a constant alpha percent value using the initial alpha. --> <integer name="config_finalNotificationBackgroundAlpha">100</integer> <!-- Car System UI's OverlayViewsMediator--> <string-array name="config_carSystemUIOverlayViewsMediators" translatable="false"> <item>com.android.systemui.car.userswitcher.FullscreenUserSwitcherViewMediator</item> </string-array> <!-- SystemUI Services: The classes of the stuff to start. --> <string-array name="config_systemUIServiceComponents" translatable="false"> <item>com.android.systemui.util.NotificationChannels</item> Loading Loading @@ -85,5 +90,6 @@ <item>com.android.systemui.navigationbar.car.CarNavigationBar</item> <item>com.android.systemui.toast.ToastUI</item> <item>com.android.systemui.voicerecognition.car.ConnectedDeviceVoiceRecognitionNotifier</item> <item>com.android.systemui.window.SystemUIOverlayWindowManager</item> </string-array> </resources>
packages/CarSystemUI/src/com/android/systemui/CarSystemUIBinder.java +9 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ import com.android.systemui.toast.ToastUI; import com.android.systemui.util.leak.GarbageMonitor; import com.android.systemui.voicerecognition.car.ConnectedDeviceVoiceRecognitionNotifier; import com.android.systemui.volume.VolumeUI; import com.android.systemui.window.OverlayWindowModule; import com.android.systemui.window.SystemUIOverlayWindowManager; import dagger.Binds; import dagger.Module; Loading @@ -47,7 +49,7 @@ import dagger.multibindings.IntoMap; /** Binder for car specific {@link SystemUI} modules. */ @Module(includes = {RecentsModule.class, CarStatusBarModule.class, NotificationsModule.class, BubbleModule.class, KeyguardModule.class}) BubbleModule.class, KeyguardModule.class, OverlayWindowModule.class}) public abstract class CarSystemUIBinder { /** Inject into AuthController. */ @Binds Loading Loading @@ -182,4 +184,10 @@ public abstract class CarSystemUIBinder { @ClassKey(ConnectedDeviceVoiceRecognitionNotifier.class) public abstract SystemUI bindConnectedDeviceVoiceRecognitionNotifier( ConnectedDeviceVoiceRecognitionNotifier sysui); /** Inject into SystemUIOverlayWindowManager. */ @Binds @IntoMap @ClassKey(SystemUIOverlayWindowManager.class) public abstract SystemUI bindSystemUIPrimaryWindowManager(SystemUIOverlayWindowManager sysui); }