blob: 049add571864c15406d6e60689d9caa6f4aa2a99 [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;
Christoph Studerd0694b62014-06-04 16:36:01 +020020import android.service.notification.NotificationListenerService.RankingMap;
John Spurlockde84f0e2013-06-12 12:41:00 -040021import android.service.notification.StatusBarNotification;
Christopher Tateacad1832012-02-17 16:01:27 -080022import android.view.View;
23import android.view.ViewGroup.LayoutParams;
24import android.view.WindowManager;
25
John Spurlockde84f0e2013-06-12 12:41:00 -040026import com.android.internal.statusbar.StatusBarIcon;
Selim Cineka32ab602014-06-11 15:06:01 +020027import com.android.systemui.statusbar.ActivatableNotificationView;
John Spurlockde84f0e2013-06-12 12:41:00 -040028import com.android.systemui.statusbar.BaseStatusBar;
29
Christopher Tateacad1832012-02-17 16:01:27 -080030/*
31 * Status bar implementation for "large screen" products that mostly present no on-screen nav
32 */
33
34public class TvStatusBar extends BaseStatusBar {
Christopher Tateacad1832012-02-17 16:01:27 -080035
36 @Override
37 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) {
38 }
39
40 @Override
41 public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old,
42 StatusBarIcon icon) {
43 }
44
45 @Override
46 public void removeIcon(String slot, int index, int viewIndex) {
47 }
48
49 @Override
Christoph Studere71fefc2014-06-24 16:16:49 +020050 public void addNotification(StatusBarNotification notification, RankingMap ranking) {
Christopher Tateacad1832012-02-17 16:01:27 -080051 }
52
53 @Override
Christoph Studere71fefc2014-06-24 16:16:49 +020054 protected void updateNotificationRanking(RankingMap ranking) {
Christoph Studer60748e72014-05-22 16:51:41 +020055 }
56
57 @Override
Christoph Studere71fefc2014-06-24 16:16:49 +020058 public void removeNotification(String key, RankingMap ranking) {
Christopher Tateacad1832012-02-17 16:01:27 -080059 }
60
61 @Override
Jorim Jaggi2580a9762014-06-25 03:08:25 +020062 public void disable(int state, boolean animate) {
Christopher Tateacad1832012-02-17 16:01:27 -080063 }
64
65 @Override
Daniel Sandler11cf1782012-09-27 14:03:08 -040066 public void animateExpandNotificationsPanel() {
Christopher Tateacad1832012-02-17 16:01:27 -080067 }
68
69 @Override
Daniel Sandler11cf1782012-09-27 14:03:08 -040070 public void animateCollapsePanels(int flags) {
Christopher Tateacad1832012-02-17 16:01:27 -080071 }
72
73 @Override
74 public void setSystemUiVisibility(int vis, int mask) {
75 }
76
77 @Override
78 public void topAppWindowChanged(boolean visible) {
79 }
80
81 @Override
Jason Monkb605fec2014-05-02 17:04:10 -040082 public void setImeWindowStatus(IBinder token, int vis, int backDisposition,
83 boolean showImeSwitcher) {
Christopher Tateacad1832012-02-17 16:01:27 -080084 }
85
86 @Override
87 public void setHardKeyboardStatus(boolean available, boolean enabled) {
88 }
89
90 @Override
91 public void toggleRecentApps() {
92 }
93
94 @Override // CommandQueue
John Spurlock97642182013-07-29 17:58:39 -040095 public void setWindowState(int window, int state) {
96 }
97
John Spurlockcad57682014-07-26 17:09:56 -040098 @Override // CommandQueue
99 public void buzzBeepBlinked() {
100 }
101
John Spurlockcb566aa2014-08-03 22:58:28 -0400102 @Override // CommandQueue
103 public void notificationLightOff() {
104 }
105
106 @Override // CommandQueue
107 public void notificationLightPulse(int argb, int onMillis, int offMillis) {
108 }
109
Christopher Tateacad1832012-02-17 16:01:27 -0800110 @Override
Christopher Tateacad1832012-02-17 16:01:27 -0800111 protected WindowManager.LayoutParams getSearchLayoutParams(
112 LayoutParams layoutParams) {
113 return null;
114 }
115
116 @Override
117 protected void haltTicker() {
118 }
119
120 @Override
121 protected void setAreThereNotifications() {
122 }
123
124 @Override
Christoph Studer37fe6932014-05-26 13:10:30 +0200125 protected void updateNotifications() {
Christopher Tateacad1832012-02-17 16:01:27 -0800126 }
127
128 @Override
Christoph Studer71f18fd2014-05-20 17:02:04 +0200129 protected void tick(StatusBarNotification n, boolean firstTime) {
Christopher Tateacad1832012-02-17 16:01:27 -0800130 }
131
132 @Override
133 protected void updateExpandedViewPos(int expandedPosition) {
134 }
135
136 @Override
Christopher Tateacad1832012-02-17 16:01:27 -0800137 protected boolean shouldDisableNavbarGestures() {
138 return true;
139 }
140
Michael Jurkacb2522c2012-04-13 09:32:47 -0700141 public View getStatusBarView() {
142 return null;
143 }
144
Svetoslav Ganove20a1772012-09-25 16:07:46 -0700145 @Override
Chris Wren51c75102013-07-16 20:49:17 -0400146 public void resetHeadsUpDecayTimer() {
147 }
148
149 @Override
Chris Wrena4ef6202014-06-09 18:07:30 -0400150 public void scheduleHeadsUpOpen() {
151 }
152
153 @Override
154 public void scheduleHeadsUpEscalation() {
155 }
156
157 @Override
158 public void scheduleHeadsUpClose() {
159 }
160
161 @Override
Jorim Jaggid4a57442014-04-10 02:45:55 +0200162 protected int getMaxKeyguardNotifications() {
163 return 0;
164 }
165
166 @Override
Daniel Sandler11cf1782012-09-27 14:03:08 -0400167 public void animateExpandSettingsPanel() {
Christopher Tateacad1832012-02-17 16:01:27 -0800168 }
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -0700169
170 @Override
Jorim Jaggi5cf17872014-03-26 18:31:48 +0100171 protected void createAndAddWindows() {
172 }
173
174 @Override
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -0700175 protected void refreshLayout(int layoutDirection) {
176 }
177
Jorim Jaggid552d9d2014-05-07 19:41:13 +0200178 @Override
Selim Cineka32ab602014-06-11 15:06:01 +0200179 public void onActivated(ActivatableNotificationView view) {
Jorim Jaggid552d9d2014-05-07 19:41:13 +0200180 }
181
182 @Override
Selim Cineka32ab602014-06-11 15:06:01 +0200183 public void onActivationReset(ActivatableNotificationView view) {
Jorim Jaggid552d9d2014-05-07 19:41:13 +0200184 }
Christopher Tateacad1832012-02-17 16:01:27 -0800185}