Winson | 190fe3bf | 2015-10-20 14:57:24 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 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.systemui.recents; |
| 18 | |
Jorim Jaggi | 899327f | 2016-02-25 20:44:18 -0500 | [diff] [blame] | 19 | import android.graphics.Rect; |
| 20 | |
Winson | 190fe3bf | 2015-10-20 14:57:24 -0700 | [diff] [blame] | 21 | /** |
| 22 | * Due to the fact that RecentsActivity is per-user, we need to establish an |
| 23 | * interface (this) for the non-system user to register itself for callbacks and to |
| 24 | * callback to the system user to update internal state. |
| 25 | */ |
| 26 | oneway interface IRecentsSystemUserCallbacks { |
| 27 | void registerNonSystemUserCallbacks(IBinder nonSystemUserCallbacks, int userId); |
| 28 | |
| 29 | void updateRecentsVisibility(boolean visible); |
Andrii Kulian | 0f051f5 | 2016-04-14 00:41:51 -0700 | [diff] [blame] | 30 | void startScreenPinning(int taskId); |
Jorim Jaggi | 11cc01d | 2016-01-22 19:39:23 -0800 | [diff] [blame] | 31 | void sendRecentsDrawnEvent(); |
Jorim Jaggi | 899327f | 2016-02-25 20:44:18 -0500 | [diff] [blame] | 32 | void sendDockingTopTaskEvent(int dragMode, in Rect initialRect); |
Jorim Jaggi | cdb06ca | 2016-01-25 19:15:12 -0800 | [diff] [blame] | 33 | void sendLaunchRecentsEvent(); |
Matthew Ng | 534e854 | 2017-10-16 14:34:52 -0700 | [diff] [blame] | 34 | void sendDockedFirstAnimationFrameEvent(); |
Matthew Ng | 912c7f7 | 2017-08-02 22:12:04 +0000 | [diff] [blame] | 35 | void setWaitingForTransitionStartEvent(boolean waitingForTransitionStart); |
Winson | 190fe3bf | 2015-10-20 14:57:24 -0700 | [diff] [blame] | 36 | } |