Joe Onorato | 2314aab | 2010-04-08 16:41:23 -0500 | [diff] [blame] | 1 | /** |
| 2 | * Copyright (c) 2007, The Android Open Source Project |
| 3 | * |
Jorim Jaggi | 24bec7c | 2015-02-04 12:40:14 +0100 | [diff] [blame] | 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 |
Joe Onorato | 2314aab | 2010-04-08 16:41:23 -0500 | [diff] [blame] | 7 | * |
Jorim Jaggi | 24bec7c | 2015-02-04 12:40:14 +0100 | [diff] [blame] | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Joe Onorato | 2314aab | 2010-04-08 16:41:23 -0500 | [diff] [blame] | 9 | * |
Jorim Jaggi | 24bec7c | 2015-02-04 12:40:14 +0100 | [diff] [blame] | 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 |
Joe Onorato | 2314aab | 2010-04-08 16:41:23 -0500 | [diff] [blame] | 14 | * limitations under the License. |
| 15 | */ |
Jorim Jaggi | 24bec7c | 2015-02-04 12:40:14 +0100 | [diff] [blame] | 16 | |
Joe Onorato | 0cbda99 | 2010-05-02 16:28:15 -0700 | [diff] [blame] | 17 | package com.android.internal.statusbar; |
| 18 | |
| 19 | import com.android.internal.statusbar.StatusBarIcon; |
Daniel Sandler | 5feceeb | 2013-03-22 18:29:23 -0700 | [diff] [blame] | 20 | import android.service.notification.StatusBarNotification; |
Joe Onorato | 2314aab | 2010-04-08 16:41:23 -0500 | [diff] [blame] | 21 | |
| 22 | /** @hide */ |
Joe Onorato | 0cbda99 | 2010-05-02 16:28:15 -0700 | [diff] [blame] | 23 | oneway interface IStatusBar |
Joe Onorato | 2314aab | 2010-04-08 16:41:23 -0500 | [diff] [blame] | 24 | { |
Joe Onorato | 0cbda99 | 2010-05-02 16:28:15 -0700 | [diff] [blame] | 25 | void setIcon(int index, in StatusBarIcon icon); |
| 26 | void removeIcon(int index); |
Benjamin Franz | cde0a2a | 2015-04-23 17:19:48 +0100 | [diff] [blame] | 27 | void disable(int state1, int state2); |
Daniel Sandler | 11cf178 | 2012-09-27 14:03:08 -0400 | [diff] [blame] | 28 | void animateExpandNotificationsPanel(); |
| 29 | void animateExpandSettingsPanel(); |
| 30 | void animateCollapsePanels(); |
Dianne Hackborn | 3a3a6cf | 2012-03-26 10:24:04 -0700 | [diff] [blame] | 31 | void setSystemUiVisibility(int vis, int mask); |
Dianne Hackborn | 7d04932 | 2011-06-14 15:00:32 -0700 | [diff] [blame] | 32 | void topAppWindowChanged(boolean menuVisible); |
Jason Monk | b605fec | 2014-05-02 17:04:10 -0400 | [diff] [blame] | 33 | void setImeWindowStatus(in IBinder token, int vis, int backDisposition, |
| 34 | boolean showImeSwitcher); |
Winson Chung | 1e8d71b | 2014-05-16 17:05:22 -0700 | [diff] [blame] | 35 | void setWindowState(int window, int state); |
John Spurlock | cad5768 | 2014-07-26 17:09:56 -0400 | [diff] [blame] | 36 | void buzzBeepBlinked(); |
John Spurlock | cb566aa | 2014-08-03 22:58:28 -0400 | [diff] [blame] | 37 | void notificationLightOff(); |
| 38 | void notificationLightPulse(int argb, int millisOn, int millisOff); |
Winson Chung | 1e8d71b | 2014-05-16 17:05:22 -0700 | [diff] [blame] | 39 | |
| 40 | void showRecentApps(boolean triggeredFromAltTab); |
Winson Chung | cdcd487 | 2014-08-05 18:00:13 -0700 | [diff] [blame] | 41 | void hideRecentApps(boolean triggeredFromAltTab, boolean triggeredFromHomeKey); |
Michael Jurka | 3b1fc47 | 2011-06-13 10:54:40 -0700 | [diff] [blame] | 42 | void toggleRecentApps(); |
Michael Jurka | 7f2668c | 2012-03-27 07:49:52 -0700 | [diff] [blame] | 43 | void preloadRecentApps(); |
| 44 | void cancelPreloadRecentApps(); |
Jason Monk | 5565cb4 | 2014-09-12 10:59:21 -0400 | [diff] [blame] | 45 | void showScreenPinningRequest(); |
Jorim Jaggi | 24bec7c | 2015-02-04 12:40:14 +0100 | [diff] [blame] | 46 | |
| 47 | /** |
| 48 | * Notifies the status bar that an app transition is pending to delay applying some flags with |
| 49 | * visual impact until {@link #appTransitionReady} is called. |
| 50 | */ |
| 51 | void appTransitionPending(); |
| 52 | |
| 53 | /** |
| 54 | * Notifies the status bar that a pending app transition has been cancelled. |
| 55 | */ |
| 56 | void appTransitionCancelled(); |
| 57 | |
| 58 | /** |
| 59 | * Notifies the status bar that an app transition is now being executed. |
| 60 | * |
| 61 | * @param statusBarAnimationsStartTime the desired start time for all visual animations in the |
| 62 | * status bar caused by this app transition in uptime millis |
| 63 | * @param statusBarAnimationsDuration the duration for all visual animations in the status |
| 64 | * bar caused by this app transition in millis |
| 65 | */ |
| 66 | void appTransitionStarting(long statusBarAnimationsStartTime, long statusBarAnimationsDuration); |
Adrian Roos | 4f43dc0 | 2015-06-17 16:43:38 -0700 | [diff] [blame^] | 67 | |
| 68 | void showAssistDisclosure(); |
Joe Onorato | 2314aab | 2010-04-08 16:41:23 -0500 | [diff] [blame] | 69 | } |
| 70 | |