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.phone.CentralSurfaces
21 import com.android.systemui.statusbar.policy.HeadsUpManager
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 
setWillPlayDelayedDozeAmountAnimationnull52     override fun setWillPlayDelayedDozeAmountAnimation(willPlay: Boolean) {
53         // TODO(b/322494538): determine if still needed
54     }
55 
setDozingnull56     override fun setDozing(dozing: Boolean, animate: Boolean) {
57         // Do nothing
58     }
59 
setImportantForAccessibilitynull60     override fun setImportantForAccessibility(mode: Int) {
61         // Do nothing
62     }
63 
resetTranslationnull64     override fun resetTranslation() {
65         // Do nothing
66     }
67 
resetAlphanull68     override fun resetAlpha() {
69         // Do nothing
70     }
71 
onScreenTurningOnnull72     override fun onScreenTurningOn() {
73         // Do nothing
74     }
75 
onThemeChangednull76     override fun onThemeChanged() {
77         // Do nothing
78     }
79 
updateExpansionAndVisibilitynull80     override fun updateExpansionAndVisibility() {
81         // Do nothing
82     }
83 
updateResourcesnull84     override fun updateResources() {
85         // Do nothing
86     }
87 }
88