TvStatusBar.java revision a4ef6203262d45d4ffae7860ef40bd931ab27e07
1/* 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 19import android.os.IBinder; 20import android.service.notification.NotificationListenerService; 21import android.service.notification.NotificationListenerService.Ranking; 22import android.service.notification.StatusBarNotification; 23import android.view.View; 24import android.view.ViewGroup.LayoutParams; 25import android.view.WindowManager; 26 27import com.android.internal.statusbar.StatusBarIcon; 28import com.android.systemui.statusbar.BaseStatusBar; 29 30/* 31 * Status bar implementation for "large screen" products that mostly present no on-screen nav 32 */ 33 34public class TvStatusBar extends BaseStatusBar { 35 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 50 public void addNotification(StatusBarNotification notification) { 51 } 52 53 @Override 54 public void addNotificationInternal(StatusBarNotification notification, Ranking ranking) { 55 } 56 57 @Override 58 protected void updateRankingInternal(Ranking ranking) { 59 } 60 61 @Override 62 public void updateNotification(StatusBarNotification notification) { 63 } 64 65 @Override 66 public void removeNotificationInternal(String key, Ranking ranking) { 67 } 68 69 @Override 70 public void removeNotification(String key) { 71 } 72 73 @Override 74 public void disable(int state) { 75 } 76 77 @Override 78 public void animateExpandNotificationsPanel() { 79 } 80 81 @Override 82 public void animateCollapsePanels(int flags) { 83 } 84 85 @Override 86 public void setSystemUiVisibility(int vis, int mask) { 87 } 88 89 @Override 90 public void topAppWindowChanged(boolean visible) { 91 } 92 93 @Override 94 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, 95 boolean showImeSwitcher) { 96 } 97 98 @Override 99 public void setHardKeyboardStatus(boolean available, boolean enabled) { 100 } 101 102 @Override 103 public void toggleRecentApps() { 104 } 105 106 @Override // CommandQueue 107 public void setWindowState(int window, int state) { 108 } 109 110 @Override 111 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 125 protected void updateNotifications() { 126 } 127 128 @Override 129 protected void tick(StatusBarNotification n, boolean firstTime) { 130 } 131 132 @Override 133 protected void updateExpandedViewPos(int expandedPosition) { 134 } 135 136 @Override 137 protected boolean shouldDisableNavbarGestures() { 138 return true; 139 } 140 141 public View getStatusBarView() { 142 return null; 143 } 144 145 @Override 146 public void resetHeadsUpDecayTimer() { 147 } 148 149 @Override 150 public void scheduleHeadsUpOpen() { 151 } 152 153 @Override 154 public void scheduleHeadsUpEscalation() { 155 } 156 157 @Override 158 public void scheduleHeadsUpClose() { 159 } 160 161 @Override 162 protected int getMaxKeyguardNotifications() { 163 return 0; 164 } 165 166 @Override 167 public void animateExpandSettingsPanel() { 168 } 169 170 @Override 171 protected void createAndAddWindows() { 172 } 173 174 @Override 175 protected void refreshLayout(int layoutDirection) { 176 } 177 178 @Override 179 public void onActivated(View view) { 180 } 181 182 @Override 183 public void onActivationReset(View view) { 184 } 185} 186