blob: 0a644b60d224e43024823770d0e8e4cbc29674f9 [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
14 * limitations under the License
15 */
16
17package com.android.server.wm;
18
19import com.android.internal.os.IResultReceiver;
20
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070021import android.graphics.Rect;
22import android.os.Bundle;
23import android.os.ParcelFileDescriptor;
24import android.os.RemoteException;
Andrii Kulian44607962017-03-16 11:06:24 -070025import android.util.MergedConfiguration;
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070026import android.view.DragEvent;
27import android.view.IWindow;
28
29public class TestIWindow extends IWindow.Stub {
30 @Override
31 public void executeCommand(String command, String parameters,
32 ParcelFileDescriptor descriptor)
33 throws RemoteException {
34
35 }
36
37 @Override
38 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets,
Andrii Kulian44607962017-03-16 11:06:24 -070039 Rect stableInsets, Rect outsets, boolean reportDraw, MergedConfiguration mergedConfig,
Andrii Kulianb047b8b2017-02-08 18:38:26 -080040 Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId)
Wale Ogunwaleb699ce02016-07-18 12:05:30 -070041 throws RemoteException {
42
43 }
44
45 @Override
46 public void moved(int newX, int newY) throws RemoteException {
47
48 }
49
50 @Override
51 public void dispatchAppVisibility(boolean visible) throws RemoteException {
52
53 }
54
55 @Override
56 public void dispatchGetNewSurface() throws RemoteException {
57
58 }
59
60 @Override
61 public void windowFocusChanged(boolean hasFocus, boolean inTouchMode)
62 throws RemoteException {
63
64 }
65
66 @Override
67 public void closeSystemDialogs(String reason) throws RemoteException {
68
69 }
70
71 @Override
72 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep,
73 boolean sync)
74 throws RemoteException {
75
76 }
77
78 @Override
79 public void dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras,
80 boolean sync) throws RemoteException {
81
82 }
83
84 @Override
85 public void dispatchDragEvent(DragEvent event) throws RemoteException {
86
87 }
88
89 @Override
90 public void updatePointerIcon(float x, float y) throws RemoteException {
91
92 }
93
94 @Override
95 public void dispatchSystemUiVisibilityChanged(int seq, int globalVisibility, int localValue,
96 int localChanges) throws RemoteException {
97
98 }
99
100 @Override
101 public void dispatchWindowShown() throws RemoteException {
102
103 }
104
105 @Override
106 public void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId)
107 throws RemoteException {
108
109 }
Vladislav Kaznacheev3787de12016-12-21 10:36:35 -0800110
111 @Override
112 public void dispatchPointerCaptureChanged(boolean hasCapture) {
113 }
Wale Ogunwaleb699ce02016-07-18 12:05:30 -0700114}