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