blob: 434b13132451156819396fcb75905866bafe29d4 [file] [log] [blame]
Xavier Ducrohet0a496352011-07-12 11:39:27 -07001/*
2 * Copyright (C) 2011 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
Xavier Ducrohet6dfd0b392012-10-15 14:38:31 -070017package android.view;
Xavier Ducrohet0a496352011-07-12 11:39:27 -070018
Dianne Hackbornf3d46ce2013-03-26 18:00:42 -070019import android.graphics.Point;
Xavier Ducrohet0a496352011-07-12 11:39:27 -070020import com.android.internal.view.IInputContext;
21import com.android.internal.view.IInputMethodClient;
22
23import android.content.res.CompatibilityInfo;
24import android.content.res.Configuration;
25import android.graphics.Bitmap;
Svetoslav Ganov152e9bb2012-10-12 20:15:29 -070026import android.graphics.Rect;
Adam Cohenf7522022012-10-03 20:03:18 -070027import android.os.Bundle;
Xavier Ducrohet0a496352011-07-12 11:39:27 -070028import android.os.IBinder;
Dianne Hackbornce801c42011-09-18 15:22:24 -070029import android.os.IRemoteCallback;
Xavier Ducrohet0a496352011-07-12 11:39:27 -070030import android.os.RemoteException;
31import android.util.DisplayMetrics;
32import android.view.Display;
Adam Powelldfee59a2011-08-05 20:48:30 -070033import android.view.Gravity;
Xavier Ducrohet0a496352011-07-12 11:39:27 -070034import android.view.IApplicationToken;
Svetoslav Ganovc9c9a482012-07-16 08:46:07 -070035import android.view.IInputFilter;
Xavier Ducrohet0a496352011-07-12 11:39:27 -070036import android.view.IOnKeyguardExitResult;
37import android.view.IRotationWatcher;
38import android.view.IWindowManager;
39import android.view.IWindowSession;
Xavier Ducrohet0a496352011-07-12 11:39:27 -070040
41import java.util.List;
42
43/**
44 * Basic implementation of {@link IWindowManager} so that {@link Display} (and
45 * {@link Display_Delegate}) can return a valid instance.
46 */
Xavier Ducrohet6dfd0b392012-10-15 14:38:31 -070047public class IWindowManagerImpl implements IWindowManager {
Xavier Ducrohet0a496352011-07-12 11:39:27 -070048
49 private final Configuration mConfig;
50 private final DisplayMetrics mMetrics;
51 private final int mRotation;
Xavier Ducrohet6dfd0b392012-10-15 14:38:31 -070052 private final boolean mHasSystemNavBar;
53 private final boolean mHasNavigationBar;
Xavier Ducrohet0a496352011-07-12 11:39:27 -070054
Xavier Ducrohet6dfd0b392012-10-15 14:38:31 -070055 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation,
56 boolean hasSystemNavBar, boolean hasNavigationBar) {
Xavier Ducrohet0a496352011-07-12 11:39:27 -070057 mConfig = config;
58 mMetrics = metrics;
59 mRotation = rotation;
Xavier Ducrohet6dfd0b392012-10-15 14:38:31 -070060 mHasSystemNavBar = hasSystemNavBar;
61 mHasNavigationBar = hasNavigationBar;
Xavier Ducrohet0a496352011-07-12 11:39:27 -070062 }
63
64 // custom API.
65
66 public DisplayMetrics getMetrics() {
67 return mMetrics;
68 }
69
70 // ---- implementation of IWindowManager that we care about ----
71
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -080072 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -070073 public int getRotation() throws RemoteException {
74 return mRotation;
75 }
76
Xavier Ducrohet6dfd0b392012-10-15 14:38:31 -070077 @Override
78 public boolean hasNavigationBar() {
79 return mHasNavigationBar;
80 }
Xavier Ducrohet0a496352011-07-12 11:39:27 -070081
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -080082 @Override
Dianne Hackbornf87d1962012-04-04 12:48:24 -070083 public boolean hasSystemNavBar() throws RemoteException {
Xavier Ducrohet6dfd0b392012-10-15 14:38:31 -070084 return mHasSystemNavBar;
Xavier Ducrohet0a496352011-07-12 11:39:27 -070085 }
86
Xavier Ducrohet6dfd0b392012-10-15 14:38:31 -070087 // ---- unused implementation of IWindowManager ----
88
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -080089 @Override
Craig Mautner5962b122012-10-05 14:45:52 -070090 public void addAppToken(int arg0, IApplicationToken arg1, int arg2, int arg3, boolean arg4,
91 boolean arg5)
Xavier Ducrohet0a496352011-07-12 11:39:27 -070092 throws RemoteException {
93 // TODO Auto-generated method stub
94
95 }
96
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -080097 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -070098 public void addWindowToken(IBinder arg0, int arg1) throws RemoteException {
99 // TODO Auto-generated method stub
100
101 }
102
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800103 @Override
Craig Mautner59c00972012-07-30 12:10:24 -0700104 public void clearForcedDisplaySize(int displayId) throws RemoteException {
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700105 // TODO Auto-generated method stub
Craig Mautnerb49a0652012-08-03 19:03:24 -0700106 }
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700107
Craig Mautnerb49a0652012-08-03 19:03:24 -0700108 @Override
109 public void clearForcedDisplayDensity(int displayId) throws RemoteException {
110 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700111 }
112
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800113 @Override
Dianne Hackbornee973c22013-02-19 13:36:32 -0800114 public void setOverscan(int displayId, int left, int top, int right, int bottom)
115 throws RemoteException {
116 // TODO Auto-generated method stub
117 }
118
119 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700120 public void closeSystemDialogs(String arg0) throws RemoteException {
121 // TODO Auto-generated method stub
122
123 }
124
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800125 @Override
Dianne Hackborn9d9ece32012-09-10 15:33:52 -0700126 public void startFreezingScreen(int exitAnim, int enterAnim) {
127 // TODO Auto-generated method stub
128 }
129
130 @Override
131 public void stopFreezingScreen() {
132 // TODO Auto-generated method stub
133 }
134
135 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700136 public void disableKeyguard(IBinder arg0, String arg1) throws RemoteException {
137 // TODO Auto-generated method stub
138
139 }
140
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800141 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700142 public void executeAppTransition() throws RemoteException {
143 // TODO Auto-generated method stub
144
145 }
146
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800147 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700148 public void exitKeyguardSecurely(IOnKeyguardExitResult arg0) throws RemoteException {
149 // TODO Auto-generated method stub
150
151 }
152
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800153 @Override
Jeff Brown24478712011-10-05 18:01:23 -0700154 public void freezeRotation(int arg0) throws RemoteException {
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700155 // TODO Auto-generated method stub
156
157 }
158
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800159 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700160 public float getAnimationScale(int arg0) throws RemoteException {
161 // TODO Auto-generated method stub
162 return 0;
163 }
164
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800165 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700166 public float[] getAnimationScales() throws RemoteException {
167 // TODO Auto-generated method stub
168 return null;
169 }
170
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800171 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700172 public int getAppOrientation(IApplicationToken arg0) throws RemoteException {
173 // TODO Auto-generated method stub
174 return 0;
175 }
176
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800177 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700178 public int getPendingAppTransition() throws RemoteException {
179 // TODO Auto-generated method stub
180 return 0;
181 }
182
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800183 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700184 public boolean inKeyguardRestrictedInputMode() throws RemoteException {
185 // TODO Auto-generated method stub
186 return false;
187 }
188
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800189 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700190 public boolean inputMethodClientHasFocus(IInputMethodClient arg0) throws RemoteException {
191 // TODO Auto-generated method stub
192 return false;
193 }
194
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800195 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700196 public boolean isKeyguardLocked() throws RemoteException {
197 // TODO Auto-generated method stub
198 return false;
199 }
200
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800201 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700202 public boolean isKeyguardSecure() throws RemoteException {
203 // TODO Auto-generated method stub
204 return false;
205 }
206
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800207 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700208 public boolean isViewServerRunning() throws RemoteException {
209 // TODO Auto-generated method stub
210 return false;
211 }
212
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800213 @Override
Craig Mautner2ad92072013-02-25 16:19:24 -0800214 public void moveAppToken(int arg0, IBinder arg1) throws RemoteException {
215 // TODO Auto-generated method stub
216
217 }
218
219 @Override
220 public void moveAppTokensToBottom(List<IBinder> arg0) throws RemoteException {
221 // TODO Auto-generated method stub
222
223 }
224
225 @Override
226 public void moveAppTokensToTop(List<IBinder> arg0) throws RemoteException {
227 // TODO Auto-generated method stub
228
229 }
230
231 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700232 public IWindowSession openSession(IInputMethodClient arg0, IInputContext arg1)
233 throws RemoteException {
234 // TODO Auto-generated method stub
235 return null;
236 }
237
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800238 @Override
Dianne Hackbornbb47cf62012-06-04 10:51:17 -0700239 public void overridePendingAppTransition(String arg0, int arg1, int arg2,
240 IRemoteCallback startedCallback) throws RemoteException {
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700241 // TODO Auto-generated method stub
242
243 }
244
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800245 @Override
Dianne Hackborneabfb3a2012-04-16 16:28:22 -0700246 public void overridePendingAppTransitionScaleUp(int startX, int startY, int startWidth,
247 int startHeight) throws RemoteException {
248 // TODO Auto-generated method stub
249 }
250
251 @Override
Dianne Hackborn8078d8c2012-03-20 11:11:26 -0700252 public void overridePendingAppTransitionThumb(Bitmap srcThumb, int startX, int startY,
Michael Jurka832cb222012-04-13 09:32:47 -0700253 IRemoteCallback startedCallback, boolean scaleUp) throws RemoteException {
Dianne Hackborn8078d8c2012-03-20 11:11:26 -0700254 // TODO Auto-generated method stub
255 }
256
257 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700258 public void pauseKeyDispatching(IBinder arg0) throws RemoteException {
259 // TODO Auto-generated method stub
260
261 }
262
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800263 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700264 public void prepareAppTransition(int arg0, boolean arg1) throws RemoteException {
265 // TODO Auto-generated method stub
266
267 }
268
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800269 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700270 public void reenableKeyguard(IBinder arg0) throws RemoteException {
271 // TODO Auto-generated method stub
272
273 }
274
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800275 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700276 public void removeAppToken(IBinder arg0) throws RemoteException {
277 // TODO Auto-generated method stub
278
279 }
280
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800281 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700282 public void removeWindowToken(IBinder arg0) throws RemoteException {
283 // TODO Auto-generated method stub
284
285 }
286
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800287 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700288 public void resumeKeyDispatching(IBinder arg0) throws RemoteException {
289 // TODO Auto-generated method stub
290
291 }
292
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800293 @Override
Craig Mautner59c00972012-07-30 12:10:24 -0700294 public Bitmap screenshotApplications(IBinder arg0, int displayId, int arg1, int arg2)
295 throws RemoteException {
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700296 // TODO Auto-generated method stub
297 return null;
298 }
299
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800300 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700301 public void setAnimationScale(int arg0, float arg1) throws RemoteException {
302 // TODO Auto-generated method stub
303
304 }
305
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800306 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700307 public void setAnimationScales(float[] arg0) throws RemoteException {
308 // TODO Auto-generated method stub
309
310 }
311
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800312 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700313 public void setAppGroupId(IBinder arg0, int arg1) throws RemoteException {
314 // TODO Auto-generated method stub
315
316 }
317
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800318 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700319 public void setAppOrientation(IApplicationToken arg0, int arg1) throws RemoteException {
320 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700321 }
322
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800323 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700324 public void setAppStartingWindow(IBinder arg0, String arg1, int arg2, CompatibilityInfo arg3,
325 CharSequence arg4, int arg5, int arg6, int arg7, IBinder arg8, boolean arg9)
326 throws RemoteException {
327 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700328 }
329
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800330 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700331 public void setAppVisibility(IBinder arg0, boolean arg1) throws RemoteException {
332 // TODO Auto-generated method stub
333
334 }
335
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800336 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700337 public void setAppWillBeHidden(IBinder arg0) throws RemoteException {
338 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700339 }
340
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800341 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700342 public void setEventDispatching(boolean arg0) throws RemoteException {
343 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700344 }
345
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800346 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700347 public void setFocusedApp(IBinder arg0, boolean arg1) throws RemoteException {
348 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700349 }
350
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800351 @Override
Dianne Hackbornf3d46ce2013-03-26 18:00:42 -0700352 public void getInitialDisplaySize(int displayId, Point size) {
353 // TODO Auto-generated method stub
354 }
355
356 @Override
357 public void getBaseDisplaySize(int displayId, Point size) {
358 // TODO Auto-generated method stub
359 }
360
361 @Override
Craig Mautner59c00972012-07-30 12:10:24 -0700362 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException {
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700363 // TODO Auto-generated method stub
Craig Mautnerb49a0652012-08-03 19:03:24 -0700364 }
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700365
Craig Mautnerb49a0652012-08-03 19:03:24 -0700366 @Override
Dianne Hackbornf3d46ce2013-03-26 18:00:42 -0700367 public int getInitialDisplayDensity(int displayId) {
368 return -1;
369 }
370
371 @Override
372 public int getBaseDisplayDensity(int displayId) {
373 return -1;
374 }
375
376 @Override
Craig Mautnerb49a0652012-08-03 19:03:24 -0700377 public void setForcedDisplayDensity(int displayId, int density) throws RemoteException {
378 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700379 }
380
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800381 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700382 public void setInTouchMode(boolean arg0) throws RemoteException {
383 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700384 }
385
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800386 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700387 public void setNewConfiguration(Configuration arg0) throws RemoteException {
388 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700389 }
390
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800391 @Override
Dianne Hackbornf87d1962012-04-04 12:48:24 -0700392 public void updateRotation(boolean arg0, boolean arg1) throws RemoteException {
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700393 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700394 }
395
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800396 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700397 public void setStrictModeVisualIndicatorPreference(String arg0) throws RemoteException {
398 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700399 }
400
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800401 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700402 public void showStrictModeViolation(boolean arg0) throws RemoteException {
403 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700404 }
405
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800406 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700407 public void startAppFreezingScreen(IBinder arg0, int arg1) throws RemoteException {
408 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700409 }
410
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800411 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700412 public boolean startViewServer(int arg0) throws RemoteException {
413 // TODO Auto-generated method stub
414 return false;
415 }
416
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800417 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700418 public void statusBarVisibilityChanged(int arg0) throws RemoteException {
419 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700420 }
421
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800422 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700423 public void stopAppFreezingScreen(IBinder arg0, boolean arg1) throws RemoteException {
424 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700425 }
426
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800427 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700428 public boolean stopViewServer() throws RemoteException {
429 // TODO Auto-generated method stub
430 return false;
431 }
432
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800433 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700434 public void thawRotation() throws RemoteException {
435 // TODO Auto-generated method stub
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700436 }
437
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800438 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700439 public Configuration updateOrientationFromAppTokens(Configuration arg0, IBinder arg1)
440 throws RemoteException {
441 // TODO Auto-generated method stub
442 return null;
443 }
444
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800445 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700446 public int watchRotation(IRotationWatcher arg0) throws RemoteException {
447 // TODO Auto-generated method stub
448 return 0;
449 }
450
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800451 @Override
Brian Colonnab1b9a8a2013-03-29 11:52:42 -0400452 public void removeRotationWatcher(IRotationWatcher arg0) throws RemoteException {
453 }
454
455 @Override
Jeff Brownc38c9be2012-10-04 13:16:19 -0700456 public boolean waitForWindowDrawn(IBinder token, IRemoteCallback callback) {
457 return false;
Dianne Hackborn29aae6f2011-08-18 18:30:09 -0700458 }
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800459
460 @Override
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700461 public IBinder asBinder() {
462 // TODO Auto-generated method stub
463 return null;
464 }
465
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800466 @Override
Adam Powelldfee59a2011-08-05 20:48:30 -0700467 public int getPreferredOptionsPanelGravity() throws RemoteException {
468 return Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
469 }
Dianne Hackborn90c52de2011-09-23 12:57:44 -0700470
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800471 @Override
Dianne Hackborn90c52de2011-09-23 12:57:44 -0700472 public void dismissKeyguard() {
473 }
Daniel Sandler0c4ccff2011-10-19 16:39:14 -0400474
Xavier Ducrohet46d43cc2012-02-02 15:44:50 -0800475 @Override
Adam Cohenf7522022012-10-03 20:03:18 -0700476 public void lockNow(Bundle options) {
Jim Miller93c518e2012-01-17 15:55:31 -0800477 // TODO Auto-generated method stub
478 }
Svetoslav Ganov152e9bb2012-10-12 20:15:29 -0700479
Jim Millerbfec0a82012-11-05 20:05:22 -0800480 @Override
481 public boolean isSafeModeEnabled() {
482 return false;
483 }
Svetoslav Ganovc9c9a482012-07-16 08:46:07 -0700484
485 @Override
Jim Miller4eeb4f62012-11-08 00:04:29 -0800486 public void showAssistant() {
487
488 }
489
490 @Override
Svetoslav Ganovc9c9a482012-07-16 08:46:07 -0700491 public IBinder getFocusedWindowToken() {
492 // TODO Auto-generated method stub
493 return null;
494 }
495
496 @Override
Svetoslav Ganovc9c9a482012-07-16 08:46:07 -0700497 public void setInputFilter(IInputFilter filter) throws RemoteException {
498 // TODO Auto-generated method stub
499 }
Svetoslav Ganov1cf70bb2012-08-06 10:53:34 -0700500
501 @Override
Svetoslav Ganov2ec50932012-12-14 17:45:44 -0800502 public void getWindowFrame(IBinder token, Rect outFrame) {
Svetoslav Ganov1cf70bb2012-08-06 10:53:34 -0700503 // TODO Auto-generated method stub
Svetoslav Ganov1cf70bb2012-08-06 10:53:34 -0700504 }
505
506 @Override
Svetoslav Ganov2ec50932012-12-14 17:45:44 -0800507 public void setMagnificationCallbacks(IMagnificationCallbacks callbacks) {
Svetoslav Ganov1cf70bb2012-08-06 10:53:34 -0700508 // TODO Auto-generated method stub
509 }
Svetoslav Ganov2ec50932012-12-14 17:45:44 -0800510
511 @Override
512 public void setMagnificationSpec(MagnificationSpec spec) {
513 // TODO Auto-generated method stub
514 }
515
516 @Override
517 public MagnificationSpec getCompatibleMagnificationSpecForWindow(IBinder windowToken) {
518 // TODO Auto-generated method stub
519 return null;
520 }
Svetoslavf5f7d972013-01-29 02:08:54 -0800521
522 @Override
523 public boolean isRotationFrozen() throws RemoteException {
524 // TODO Auto-generated method stub
525 return false;
526 }
Xavier Ducrohet0a496352011-07-12 11:39:27 -0700527}