blob: 7f23ed54f354b7ac4622ded1c217f5978d5c165f [file] [log] [blame]
Joe Onorato2314aab2010-04-08 16:41:23 -05001/**
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
Joe Onorato0cbda992010-05-02 16:28:15 -070017package com.android.internal.statusbar;
18
19import com.android.internal.statusbar.StatusBarIcon;
Joe Onoratoa0c56fe2010-05-20 10:21:52 -070020import com.android.internal.statusbar.StatusBarNotification;
Joe Onorato2314aab2010-04-08 16:41:23 -050021
22/** @hide */
Joe Onorato0cbda992010-05-02 16:28:15 -070023oneway interface IStatusBar
Joe Onorato2314aab2010-04-08 16:41:23 -050024{
Joe Onorato0cbda992010-05-02 16:28:15 -070025 void setIcon(int index, in StatusBarIcon icon);
26 void removeIcon(int index);
Joe Onoratoa0c56fe2010-05-20 10:21:52 -070027 void addNotification(IBinder key, in StatusBarNotification notification);
28 void updateNotification(IBinder key, in StatusBarNotification notification);
29 void removeNotification(IBinder key);
Joe Onoratof3f0e052010-05-14 18:49:29 -070030 void disable(int state);
Joe Onorato4762c2d2010-05-17 15:42:59 -070031 void animateExpand();
32 void animateCollapse();
Joe Onorato93056472010-09-10 10:30:46 -040033 void setLightsOn(boolean on);
Daniel Sandlere02d8082010-10-08 15:13:22 -040034 void setMenuKeyVisible(boolean visible);
Joe Onorato857fd9b2011-01-27 15:08:35 -080035 void setImeWindowStatus(in IBinder token, int vis, int backDisposition);
Jeff Brown2992ea72011-01-28 22:04:14 -080036 void setHardKeyboardStatus(boolean available, boolean enabled);
Joe Onorato2314aab2010-04-08 16:41:23 -050037}
38