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 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    void setHardKeyboardStatus(boolean available, boolean enabled);
38    void toggleRecentApps();
39    void preloadRecentApps();
40    void cancelPreloadRecentApps();
41}
42
43