1 /* 2 * Copyright (C) 2024 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.systemui.shade 18 19 import com.android.systemui.statusbar.GestureRecorder 20 import com.android.systemui.statusbar.notification.headsup.HeadsUpManager 21 import com.android.systemui.statusbar.phone.CentralSurfaces 22 import javax.inject.Inject 23 24 class ShadeSurfaceImpl @Inject constructor() : ShadeSurface, ShadeViewControllerEmptyImpl() { initDependenciesnull25 override fun initDependencies( 26 centralSurfaces: CentralSurfaces, 27 recorder: GestureRecorder, 28 hideExpandedRunnable: Runnable, 29 headsUpManager: HeadsUpManager, 30 ) {} 31 cancelPendingCollapsenull32 override fun cancelPendingCollapse() { 33 // Do nothing 34 } 35 cancelAnimationnull36 override fun cancelAnimation() { 37 // Do nothing 38 } 39 fadeOutnull40 override fun fadeOut(startDelayMs: Long, durationMs: Long, endAction: Runnable) { 41 // Do nothing 42 } 43 setBouncerShowingnull44 override fun setBouncerShowing(bouncerShowing: Boolean) { 45 // Do nothing 46 } 47 setTouchAndAnimationDisablednull48 override fun setTouchAndAnimationDisabled(disabled: Boolean) { 49 // TODO(b/332732878): determine if still needed 50 } 51 setDozingnull52 override fun setDozing(dozing: Boolean, animate: Boolean) { 53 // Do nothing 54 } 55 setImportantForAccessibilitynull56 override fun setImportantForAccessibility(mode: Int) { 57 // Do nothing 58 } 59 resetTranslationnull60 override fun resetTranslation() { 61 // Do nothing 62 } 63 resetAlphanull64 override fun resetAlpha() { 65 // Do nothing 66 } 67 onThemeChangednull68 override fun onThemeChanged() { 69 // Do nothing 70 } 71 updateExpansionAndVisibilitynull72 override fun updateExpansionAndVisibility() { 73 // Do nothing 74 } 75 updateResourcesnull76 override fun updateResources() { 77 // Do nothing 78 } 79 } 80