Home | History | Annotate | Download | only in tv
      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.service.notification.StatusBarNotification;
     20 import com.android.internal.statusbar.StatusBarIcon;
     21 import com.android.systemui.statusbar.BaseStatusBar;
     22 
     23 import android.os.IBinder;
     24 import android.view.View;
     25 import android.view.ViewGroup.LayoutParams;
     26 import android.view.WindowManager;
     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 setNavigationIconHints(int hints) {
     93     }
     94 
     95     @Override
     96     protected void createAndAddWindows() {
     97     }
     98 
     99     @Override
    100     protected WindowManager.LayoutParams getRecentsLayoutParams(
    101             LayoutParams layoutParams) {
    102         return null;
    103     }
    104 
    105     @Override
    106     protected WindowManager.LayoutParams getSearchLayoutParams(
    107             LayoutParams layoutParams) {
    108         return null;
    109     }
    110 
    111     @Override
    112     protected void haltTicker() {
    113     }
    114 
    115     @Override
    116     protected void setAreThereNotifications() {
    117     }
    118 
    119     @Override
    120     protected void updateNotificationIcons() {
    121     }
    122 
    123     @Override
    124     protected void tick(IBinder key, StatusBarNotification n, boolean firstTime) {
    125     }
    126 
    127     @Override
    128     protected void updateExpandedViewPos(int expandedPosition) {
    129     }
    130 
    131     @Override
    132     protected int getExpandedViewMaxHeight() {
    133         return 0;
    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 animateExpandSettingsPanel() {
    147     }
    148 
    149     @Override
    150     protected void refreshLayout(int layoutDirection) {
    151     }
    152 
    153 }
    154