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 17 package com.android.systemui.statusbar.tv; 18 19 import android.os.IBinder; 20 import android.service.notification.StatusBarNotification; 21 import android.view.View; 22 import android.view.ViewGroup.LayoutParams; 23 import android.view.WindowManager; 24 25 import com.android.internal.statusbar.StatusBarIcon; 26 import com.android.systemui.statusbar.BaseStatusBar; 27 28 /* 29 * Status bar implementation for "large screen" products that mostly present no on-screen nav 30 */ 31 32 public class TvStatusBar extends BaseStatusBar { 33 34 @Override 35 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { 36 } 37 38 @Override 39 public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old, 40 StatusBarIcon icon) { 41 } 42 43 @Override 44 public void removeIcon(String slot, int index, int viewIndex) { 45 } 46 47 @Override 48 public void addNotification(IBinder key, StatusBarNotification notification) { 49 } 50 51 @Override 52 public void updateNotification(IBinder key, StatusBarNotification notification) { 53 } 54 55 @Override 56 public void removeNotification(IBinder key) { 57 } 58 59 @Override 60 public void disable(int state) { 61 } 62 63 @Override 64 public void animateExpandNotificationsPanel() { 65 } 66 67 @Override 68 public void animateCollapsePanels(int flags) { 69 } 70 71 @Override 72 public void setSystemUiVisibility(int vis, int mask) { 73 } 74 75 @Override 76 public void topAppWindowChanged(boolean visible) { 77 } 78 79 @Override 80 public void setImeWindowStatus(IBinder token, int vis, int backDisposition) { 81 } 82 83 @Override 84 public void setHardKeyboardStatus(boolean available, boolean enabled) { 85 } 86 87 @Override 88 public void toggleRecentApps() { 89 } 90 91 @Override // CommandQueue 92 public void setWindowState(int window, int state) { 93 } 94 95 @Override 96 protected void createAndAddWindows() { 97 } 98 99 @Override 100 protected WindowManager.LayoutParams getSearchLayoutParams( 101 LayoutParams layoutParams) { 102 return null; 103 } 104 105 @Override 106 protected void haltTicker() { 107 } 108 109 @Override 110 protected void setAreThereNotifications() { 111 } 112 113 @Override 114 protected void updateNotificationIcons() { 115 } 116 117 @Override 118 protected void tick(IBinder key, StatusBarNotification n, boolean firstTime) { 119 } 120 121 @Override 122 protected void updateExpandedViewPos(int expandedPosition) { 123 } 124 125 @Override 126 protected int getExpandedViewMaxHeight() { 127 return 0; 128 } 129 130 @Override 131 protected boolean shouldDisableNavbarGestures() { 132 return true; 133 } 134 135 public View getStatusBarView() { 136 return null; 137 } 138 139 @Override 140 public void resetHeadsUpDecayTimer() { 141 } 142 143 @Override 144 public void animateExpandSettingsPanel() { 145 } 146 147 @Override 148 protected void refreshLayout(int layoutDirection) { 149 } 150 151 } 152