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); disable(int state)27 void disable(int state); animateExpandNotificationsPanel()28 void animateExpandNotificationsPanel(); animateExpandSettingsPanel()29 void animateExpandSettingsPanel(); animateCollapsePanels()30 void animateCollapsePanels(); setSystemUiVisibility(int vis, int mask)31 void setSystemUiVisibility(int vis, int mask); topAppWindowChanged(boolean menuVisible)32 void topAppWindowChanged(boolean menuVisible); setImeWindowStatus(in IBinder token, int vis, int backDisposition, boolean showImeSwitcher)33 void setImeWindowStatus(in IBinder token, int vis, int backDisposition, 34 boolean showImeSwitcher); setWindowState(int window, int state)35 void setWindowState(int window, int state); buzzBeepBlinked()36 void buzzBeepBlinked(); notificationLightOff()37 void notificationLightOff(); notificationLightPulse(int argb, int millisOn, int millisOff)38 void notificationLightPulse(int argb, int millisOn, int millisOff); 39 showRecentApps(boolean triggeredFromAltTab)40 void showRecentApps(boolean triggeredFromAltTab); hideRecentApps(boolean triggeredFromAltTab, boolean triggeredFromHomeKey)41 void hideRecentApps(boolean triggeredFromAltTab, boolean triggeredFromHomeKey); toggleRecentApps()42 void toggleRecentApps(); preloadRecentApps()43 void preloadRecentApps(); cancelPreloadRecentApps()44 void cancelPreloadRecentApps(); 45 } 46 47