Wale Ogunwale | b699ce0 | 2016-07-18 12:05:30 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2016 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.server.wm; |
| 18 | |
| 19 | import com.android.internal.os.IResultReceiver; |
| 20 | |
Wale Ogunwale | b699ce0 | 2016-07-18 12:05:30 -0700 | [diff] [blame] | 21 | import android.graphics.Rect; |
| 22 | import android.os.Bundle; |
| 23 | import android.os.ParcelFileDescriptor; |
| 24 | import android.os.RemoteException; |
Andrii Kulian | 4460796 | 2017-03-16 11:06:24 -0700 | [diff] [blame] | 25 | import android.util.MergedConfiguration; |
Adrian Roos | 5c6b622 | 2017-11-07 17:36:10 +0100 | [diff] [blame^] | 26 | import android.view.DisplayCutout; |
Wale Ogunwale | b699ce0 | 2016-07-18 12:05:30 -0700 | [diff] [blame] | 27 | import android.view.DragEvent; |
| 28 | import android.view.IWindow; |
| 29 | |
| 30 | public class TestIWindow extends IWindow.Stub { |
| 31 | @Override |
| 32 | public void executeCommand(String command, String parameters, |
| 33 | ParcelFileDescriptor descriptor) |
| 34 | throws RemoteException { |
| 35 | |
| 36 | } |
| 37 | |
| 38 | @Override |
| 39 | public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, |
Andrii Kulian | 4460796 | 2017-03-16 11:06:24 -0700 | [diff] [blame] | 40 | Rect stableInsets, Rect outsets, boolean reportDraw, MergedConfiguration mergedConfig, |
Adrian Roos | 5c6b622 | 2017-11-07 17:36:10 +0100 | [diff] [blame^] | 41 | Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId, |
| 42 | DisplayCutout.ParcelableWrapper displayCutout) |
Wale Ogunwale | b699ce0 | 2016-07-18 12:05:30 -0700 | [diff] [blame] | 43 | throws RemoteException { |
| 44 | |
| 45 | } |
| 46 | |
| 47 | @Override |
| 48 | public void moved(int newX, int newY) throws RemoteException { |
| 49 | |
| 50 | } |
| 51 | |
| 52 | @Override |
| 53 | public void dispatchAppVisibility(boolean visible) throws RemoteException { |
| 54 | |
| 55 | } |
| 56 | |
| 57 | @Override |
| 58 | public void dispatchGetNewSurface() throws RemoteException { |
| 59 | |
| 60 | } |
| 61 | |
| 62 | @Override |
| 63 | public void windowFocusChanged(boolean hasFocus, boolean inTouchMode) |
| 64 | throws RemoteException { |
| 65 | |
| 66 | } |
| 67 | |
| 68 | @Override |
| 69 | public void closeSystemDialogs(String reason) throws RemoteException { |
| 70 | |
| 71 | } |
| 72 | |
| 73 | @Override |
| 74 | public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, |
| 75 | boolean sync) |
| 76 | throws RemoteException { |
| 77 | |
| 78 | } |
| 79 | |
| 80 | @Override |
| 81 | public void dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, |
| 82 | boolean sync) throws RemoteException { |
| 83 | |
| 84 | } |
| 85 | |
| 86 | @Override |
| 87 | public void dispatchDragEvent(DragEvent event) throws RemoteException { |
| 88 | |
| 89 | } |
| 90 | |
| 91 | @Override |
| 92 | public void updatePointerIcon(float x, float y) throws RemoteException { |
| 93 | |
| 94 | } |
| 95 | |
| 96 | @Override |
| 97 | public void dispatchSystemUiVisibilityChanged(int seq, int globalVisibility, int localValue, |
| 98 | int localChanges) throws RemoteException { |
| 99 | |
| 100 | } |
| 101 | |
| 102 | @Override |
| 103 | public void dispatchWindowShown() throws RemoteException { |
| 104 | |
| 105 | } |
| 106 | |
| 107 | @Override |
| 108 | public void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId) |
| 109 | throws RemoteException { |
| 110 | |
| 111 | } |
Vladislav Kaznacheev | 3787de1 | 2016-12-21 10:36:35 -0800 | [diff] [blame] | 112 | |
| 113 | @Override |
| 114 | public void dispatchPointerCaptureChanged(boolean hasCapture) { |
| 115 | } |
Wale Ogunwale | b699ce0 | 2016-07-18 12:05:30 -0700 | [diff] [blame] | 116 | } |