Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 566ca565 authored by Anton Potapov's avatar Anton Potapov Committed by Android (Google) Code Review
Browse files

Merge "Setup Volume Panel infra" into main

parents 329dafe3 bf249195
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2023 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.android.systemui.volume.panel.domain.interactor

class ComponentsInteractorTest {

    // TODO(b/318080198) Write tests
}
+22 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2023 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.android.systemui.volume.panel.ui.viewmodel

class DefaultComponentsLayoutManagerTest {

    // TODO(b/318080198) Write tests
}
+22 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2023 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.android.systemui.volume.panel.ui.viewmodel

class VolumePanelViewModelTest {

    // TODO(b/318080198) Write tests
}
+5 −0
Original line number Diff line number Diff line
@@ -608,6 +608,11 @@
    <dimen name="volume_panel_slice_vertical_padding">8dp</dimen>
    <dimen name="volume_panel_slice_horizontal_padding">24dp</dimen>

    <dimen name="volume_panel_corner_radius">52dp</dimen>
    <dimen name="volume_panel_content_padding">24dp</dimen>
    <dimen name="volume_panel_bottom_bar_horizontal_padding">24dp</dimen>
    <dimen name="volume_panel_bottom_bar_bottom_padding">20dp</dimen>

    <!-- Size of each item in the ringer selector drawer. -->
    <dimen name="volume_ringer_drawer_item_size">42dp</dimen>
    <dimen name="volume_ringer_drawer_item_size_half">21dp</dimen>
+9 −0
Original line number Diff line number Diff line
@@ -930,6 +930,15 @@
        <item name="wallpaperTextColor">@*android:color/primary_text_material_dark</item>
    </style>

    <style name="Theme.VolumePanelActivity" parent="@style/Theme.SystemUI">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <!-- Setting a placeholder will avoid using the SystemUI icon on the splash screen.  -->
        <item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_blank</item>
    </style>

    <style name="Theme.UserSwitcherFullscreenDialog" parent="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen">
        <item name="android:statusBarColor">@color/user_switcher_fullscreen_bg</item>
        <item name="android:windowBackground">@color/user_switcher_fullscreen_bg</item>
Loading