IStatusBar.aidl revision 7f2668c8469934ce83a5647977f6e74ab782cf07
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 com.android.internal.statusbar.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 animateExpand(); 32 void animateCollapse(); 33 void setSystemUiVisibility(int vis); 34 void topAppWindowChanged(boolean menuVisible); 35 void setImeWindowStatus(in IBinder token, int vis, int backDisposition); 36 void setHardKeyboardStatus(boolean available, boolean enabled); 37 void toggleRecentApps(); 38 void preloadRecentApps(); 39 void cancelPreloadRecentApps(); 40} 41 42