1 /** 2 * Copyright (c) 2007, 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.internal.statusbar; 18 19 import com.android.internal.statusbar.StatusBarIcon; 20 import android.service.notification.StatusBarNotification; 21 22 /** @hide */ 23 oneway interface IStatusBar 24 { setIcon(int index, in StatusBarIcon icon)25 void setIcon(int index, in StatusBarIcon icon); removeIcon(int index)26 void removeIcon(int index); addNotification(IBinder key, in StatusBarNotification notification)27 void addNotification(IBinder key, in StatusBarNotification notification); updateNotification(IBinder key, in StatusBarNotification notification)28 void updateNotification(IBinder key, in StatusBarNotification notification); removeNotification(IBinder key)29 void removeNotification(IBinder key); disable(int state)30 void disable(int state); animateExpandNotificationsPanel()31 void animateExpandNotificationsPanel(); animateExpandSettingsPanel()32 void animateExpandSettingsPanel(); animateCollapsePanels()33 void animateCollapsePanels(); setSystemUiVisibility(int vis, int mask)34 void setSystemUiVisibility(int vis, int mask); topAppWindowChanged(boolean menuVisible)35 void topAppWindowChanged(boolean menuVisible); setImeWindowStatus(in IBinder token, int vis, int backDisposition)36 void setImeWindowStatus(in IBinder token, int vis, int backDisposition); setHardKeyboardStatus(boolean available, boolean enabled)37 void setHardKeyboardStatus(boolean available, boolean enabled); toggleRecentApps()38 void toggleRecentApps(); preloadRecentApps()39 void preloadRecentApps(); cancelPreloadRecentApps()40 void cancelPreloadRecentApps(); setWindowState(int window, int state)41 void setWindowState(int window, int state); 42 } 43 44