blob: d61554258dc921e3dd8b016f84ed1bf6895d9529 [file] [log] [blame]
Christopher Tateacad1832012-02-17 16:01:27 -08001/*
2 * Copyright (C) 2012 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
17package com.android.systemui.statusbar.tv;
18
Christopher Tateacad1832012-02-17 16:01:27 -080019import android.os.IBinder;
John Spurlockde84f0e2013-06-12 12:41:00 -040020import android.service.notification.StatusBarNotification;
Christopher Tateacad1832012-02-17 16:01:27 -080021import android.view.View;
22import android.view.ViewGroup.LayoutParams;
23import android.view.WindowManager;
24
Jorim Jaggi380ecb82014-03-14 17:25:20 +010025import com.android.internal.policy.IKeyguardShowCallback;
John Spurlockde84f0e2013-06-12 12:41:00 -040026import com.android.internal.statusbar.StatusBarIcon;
27import com.android.systemui.statusbar.BaseStatusBar;
28
Christopher Tateacad1832012-02-17 16:01:27 -080029/*
30 * Status bar implementation for "large screen" products that mostly present no on-screen nav
31 */
32
33public class TvStatusBar extends BaseStatusBar {
Christopher Tateacad1832012-02-17 16:01:27 -080034
35 @Override
36 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) {
37 }
38
39 @Override
40 public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old,
41 StatusBarIcon icon) {
42 }
43
44 @Override
45 public void removeIcon(String slot, int index, int viewIndex) {
46 }
47
48 @Override
49 public void addNotification(IBinder key, StatusBarNotification notification) {
50 }
51
52 @Override
53 public void updateNotification(IBinder key, StatusBarNotification notification) {
54 }
55
56 @Override
57 public void removeNotification(IBinder key) {
58 }
59
60 @Override
61 public void disable(int state) {
62 }
63
64 @Override
Daniel Sandler11cf1782012-09-27 14:03:08 -040065 public void animateExpandNotificationsPanel() {
Christopher Tateacad1832012-02-17 16:01:27 -080066 }
67
68 @Override
Daniel Sandler11cf1782012-09-27 14:03:08 -040069 public void animateCollapsePanels(int flags) {
Christopher Tateacad1832012-02-17 16:01:27 -080070 }
71
72 @Override
73 public void setSystemUiVisibility(int vis, int mask) {
74 }
75
76 @Override
77 public void topAppWindowChanged(boolean visible) {
78 }
79
80 @Override
81 public void setImeWindowStatus(IBinder token, int vis, int backDisposition) {
82 }
83
84 @Override
85 public void setHardKeyboardStatus(boolean available, boolean enabled) {
86 }
87
88 @Override
89 public void toggleRecentApps() {
90 }
91
92 @Override // CommandQueue
John Spurlock97642182013-07-29 17:58:39 -040093 public void setWindowState(int window, int state) {
94 }
95
Christopher Tateacad1832012-02-17 16:01:27 -080096 @Override
Christopher Tateacad1832012-02-17 16:01:27 -080097 protected WindowManager.LayoutParams getSearchLayoutParams(
98 LayoutParams layoutParams) {
99 return null;
100 }
101
102 @Override
103 protected void haltTicker() {
104 }
105
106 @Override
107 protected void setAreThereNotifications() {
108 }
109
110 @Override
111 protected void updateNotificationIcons() {
112 }
113
114 @Override
115 protected void tick(IBinder key, StatusBarNotification n, boolean firstTime) {
116 }
117
118 @Override
119 protected void updateExpandedViewPos(int expandedPosition) {
120 }
121
122 @Override
123 protected int getExpandedViewMaxHeight() {
124 return 0;
125 }
126
127 @Override
128 protected boolean shouldDisableNavbarGestures() {
129 return true;
130 }
131
Michael Jurkacb2522c2012-04-13 09:32:47 -0700132 public View getStatusBarView() {
133 return null;
134 }
135
Svetoslav Ganove20a1772012-09-25 16:07:46 -0700136 @Override
Chris Wren51c75102013-07-16 20:49:17 -0400137 public void resetHeadsUpDecayTimer() {
138 }
139
140 @Override
Jorim Jaggid4a57442014-04-10 02:45:55 +0200141 protected int getMaxKeyguardNotifications() {
142 return 0;
143 }
144
145 @Override
Daniel Sandler11cf1782012-09-27 14:03:08 -0400146 public void animateExpandSettingsPanel() {
Christopher Tateacad1832012-02-17 16:01:27 -0800147 }
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -0700148
149 @Override
Jorim Jaggi5cf17872014-03-26 18:31:48 +0100150 protected void createAndAddWindows() {
151 }
152
153 @Override
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -0700154 protected void refreshLayout(int layoutDirection) {
155 }
156
Christopher Tateacad1832012-02-17 16:01:27 -0800157}