blob: e8d0a066dade533d43779c7dec504ac72a35db62 [file] [log] [blame]
Wale Ogunwaleb699ce02016-07-18 12:05:30 -07001/*
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
Tadashi G. Takaokab6e148c2018-11-03 02:59:06 -070014 * limitations under the License.
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070015 */
16
17package com.android.server.wm;
18
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070019import android.graphics.Rect;
20import android.os.Bundle;
21import android.os.ParcelFileDescriptor;
22import android.os.RemoteException;
Andrii Kulian44607962017-03-16 11:06:24 -070023import android.util.MergedConfiguration;
Adrian Roos5c6b6222017-11-07 17:36:10 +010024import android.view.DisplayCutout;
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070025import android.view.DragEvent;
26import android.view.IWindow;
27
Tadashi G. Takaokab6e148c2018-11-03 02:59:06 -070028import com.android.internal.os.IResultReceiver;
29
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070030public class TestIWindow extends IWindow.Stub {
31 @Override
32 public void executeCommand(String command, String parameters,
Tadashi G. Takaokab6e148c2018-11-03 02:59:06 -070033 ParcelFileDescriptor descriptor) throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070034 }
35
36 @Override
37 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets,
Andrii Kulian44607962017-03-16 11:06:24 -070038 Rect stableInsets, Rect outsets, boolean reportDraw, MergedConfiguration mergedConfig,
Adrian Roos5c6b6222017-11-07 17:36:10 +010039 Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId,
Tadashi G. Takaokab6e148c2018-11-03 02:59:06 -070040 DisplayCutout.ParcelableWrapper displayCutout) throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070041 }
42
43 @Override
44 public void moved(int newX, int newY) throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070045 }
46
47 @Override
48 public void dispatchAppVisibility(boolean visible) throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070049 }
50
51 @Override
52 public void dispatchGetNewSurface() throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070053 }
54
55 @Override
Tadashi G. Takaokab6e148c2018-11-03 02:59:06 -070056 public void windowFocusChanged(boolean hasFocus, boolean inTouchMode) throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070057 }
58
59 @Override
60 public void closeSystemDialogs(String reason) throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070061 }
62
63 @Override
Tadashi G. Takaokab6e148c2018-11-03 02:59:06 -070064 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, boolean sync)
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070065 throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070066 }
67
68 @Override
69 public void dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras,
70 boolean sync) throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070071 }
72
73 @Override
74 public void dispatchDragEvent(DragEvent event) throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070075 }
76
77 @Override
78 public void updatePointerIcon(float x, float y) throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070079 }
80
81 @Override
82 public void dispatchSystemUiVisibilityChanged(int seq, int globalVisibility, int localValue,
83 int localChanges) throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070084 }
85
86 @Override
87 public void dispatchWindowShown() throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070088 }
89
90 @Override
91 public void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId)
92 throws RemoteException {
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070093 }
Vladislav Kaznacheev3787de12016-12-21 10:36:35 -080094
95 @Override
96 public void dispatchPointerCaptureChanged(boolean hasCapture) {
97 }
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070098}