Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 1 | /* |
| 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 | |
| 17 | package android.view; |
| 18 | |
| 19 | import android.graphics.Point; |
Wale Ogunwale | 861aaa9 | 2015-08-06 12:34:44 -0700 | [diff] [blame] | 20 | import android.graphics.Rect; |
Dianne Hackborn | 4025c96 | 2015-03-17 17:22:33 -0700 | [diff] [blame] | 21 | import com.android.internal.app.IAssistScreenshotReceiver; |
Wale Ogunwale | b2d1356 | 2016-01-13 15:08:29 -0800 | [diff] [blame] | 22 | import com.android.internal.os.IResultReceiver; |
Muyuan Li | 94ce94e | 2016-02-24 16:20:54 -0800 | [diff] [blame] | 23 | import com.android.internal.policy.IShortcutService; |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 24 | import com.android.internal.view.IInputContext; |
| 25 | import com.android.internal.view.IInputMethodClient; |
| 26 | |
| 27 | import android.content.res.CompatibilityInfo; |
| 28 | import android.content.res.Configuration; |
| 29 | import android.graphics.Bitmap; |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 30 | import android.os.Bundle; |
| 31 | import android.os.IBinder; |
| 32 | import android.os.IRemoteCallback; |
| 33 | import android.os.RemoteException; |
| 34 | import android.util.DisplayMetrics; |
Filip Gruszczynski | ad98eeb | 2015-08-19 15:12:11 -0700 | [diff] [blame] | 35 | import android.view.AppTransitionAnimationSpec; |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 36 | |
Svetoslav | dd137a8 | 2014-04-10 12:48:07 -0700 | [diff] [blame] | 37 | import java.lang.Override; |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 38 | |
| 39 | /** |
| 40 | * Basic implementation of {@link IWindowManager} so that {@link Display} (and |
| 41 | * {@link Display_Delegate}) can return a valid instance. |
| 42 | */ |
| 43 | public class IWindowManagerImpl implements IWindowManager { |
| 44 | |
| 45 | private final Configuration mConfig; |
| 46 | private final DisplayMetrics mMetrics; |
| 47 | private final int mRotation; |
| 48 | private final boolean mHasNavigationBar; |
| 49 | |
| 50 | public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation, |
| 51 | boolean hasNavigationBar) { |
| 52 | mConfig = config; |
| 53 | mMetrics = metrics; |
| 54 | mRotation = rotation; |
| 55 | mHasNavigationBar = hasNavigationBar; |
| 56 | } |
| 57 | |
| 58 | // custom API. |
| 59 | |
| 60 | public DisplayMetrics getMetrics() { |
| 61 | return mMetrics; |
| 62 | } |
| 63 | |
| 64 | // ---- implementation of IWindowManager that we care about ---- |
| 65 | |
| 66 | @Override |
| 67 | public int getRotation() throws RemoteException { |
| 68 | return mRotation; |
| 69 | } |
| 70 | |
| 71 | @Override |
| 72 | public boolean hasNavigationBar() { |
| 73 | return mHasNavigationBar; |
| 74 | } |
| 75 | |
| 76 | // ---- unused implementation of IWindowManager ---- |
| 77 | |
| 78 | @Override |
Filip Gruszczynski | 1bca297 | 2015-09-01 09:29:11 -0700 | [diff] [blame] | 79 | public void addAppToken(int arg0, IApplicationToken arg1, int arg2, int arg3, int arg4, |
Wale Ogunwale | 861aaa9 | 2015-08-06 12:34:44 -0700 | [diff] [blame] | 80 | boolean arg5, boolean arg6, int arg7, int arg8, boolean arg9, boolean arg10, |
Wale Ogunwale | b1faf60 | 2016-01-27 09:12:31 -0800 | [diff] [blame] | 81 | Rect arg11, Configuration arg12, int arg13, boolean arg14, boolean arg15) |
| 82 | throws RemoteException { |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 83 | // TODO Auto-generated method stub |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 84 | } |
| 85 | |
| 86 | @Override |
| 87 | public void addWindowToken(IBinder arg0, int arg1) throws RemoteException { |
| 88 | // TODO Auto-generated method stub |
| 89 | |
| 90 | } |
| 91 | |
| 92 | @Override |
| 93 | public void clearForcedDisplaySize(int displayId) throws RemoteException { |
| 94 | // TODO Auto-generated method stub |
| 95 | } |
| 96 | |
| 97 | @Override |
| 98 | public void clearForcedDisplayDensity(int displayId) throws RemoteException { |
| 99 | // TODO Auto-generated method stub |
| 100 | } |
| 101 | |
| 102 | @Override |
| 103 | public void setOverscan(int displayId, int left, int top, int right, int bottom) |
| 104 | throws RemoteException { |
| 105 | // TODO Auto-generated method stub |
| 106 | } |
| 107 | |
| 108 | @Override |
| 109 | public void closeSystemDialogs(String arg0) throws RemoteException { |
| 110 | // TODO Auto-generated method stub |
| 111 | |
| 112 | } |
| 113 | |
| 114 | @Override |
| 115 | public void startFreezingScreen(int exitAnim, int enterAnim) { |
| 116 | // TODO Auto-generated method stub |
| 117 | } |
| 118 | |
| 119 | @Override |
| 120 | public void stopFreezingScreen() { |
| 121 | // TODO Auto-generated method stub |
| 122 | } |
| 123 | |
| 124 | @Override |
| 125 | public void disableKeyguard(IBinder arg0, String arg1) throws RemoteException { |
| 126 | // TODO Auto-generated method stub |
| 127 | |
| 128 | } |
| 129 | |
| 130 | @Override |
| 131 | public void executeAppTransition() throws RemoteException { |
| 132 | // TODO Auto-generated method stub |
| 133 | |
| 134 | } |
| 135 | |
| 136 | @Override |
| 137 | public void exitKeyguardSecurely(IOnKeyguardExitResult arg0) throws RemoteException { |
| 138 | // TODO Auto-generated method stub |
| 139 | |
| 140 | } |
| 141 | |
| 142 | @Override |
| 143 | public void freezeRotation(int arg0) throws RemoteException { |
| 144 | // TODO Auto-generated method stub |
| 145 | |
| 146 | } |
| 147 | |
| 148 | @Override |
| 149 | public float getAnimationScale(int arg0) throws RemoteException { |
| 150 | // TODO Auto-generated method stub |
| 151 | return 0; |
| 152 | } |
| 153 | |
| 154 | @Override |
| 155 | public float[] getAnimationScales() throws RemoteException { |
| 156 | // TODO Auto-generated method stub |
| 157 | return null; |
| 158 | } |
| 159 | |
| 160 | @Override |
| 161 | public int getAppOrientation(IApplicationToken arg0) throws RemoteException { |
| 162 | // TODO Auto-generated method stub |
| 163 | return 0; |
| 164 | } |
| 165 | |
| 166 | @Override |
| 167 | public int getPendingAppTransition() throws RemoteException { |
| 168 | // TODO Auto-generated method stub |
| 169 | return 0; |
| 170 | } |
| 171 | |
| 172 | @Override |
| 173 | public boolean inKeyguardRestrictedInputMode() throws RemoteException { |
| 174 | // TODO Auto-generated method stub |
| 175 | return false; |
| 176 | } |
| 177 | |
| 178 | @Override |
| 179 | public boolean inputMethodClientHasFocus(IInputMethodClient arg0) throws RemoteException { |
| 180 | // TODO Auto-generated method stub |
| 181 | return false; |
| 182 | } |
| 183 | |
| 184 | @Override |
| 185 | public boolean isKeyguardLocked() throws RemoteException { |
| 186 | // TODO Auto-generated method stub |
| 187 | return false; |
| 188 | } |
| 189 | |
| 190 | @Override |
| 191 | public boolean isKeyguardSecure() throws RemoteException { |
| 192 | // TODO Auto-generated method stub |
| 193 | return false; |
| 194 | } |
| 195 | |
| 196 | @Override |
| 197 | public boolean isViewServerRunning() throws RemoteException { |
| 198 | // TODO Auto-generated method stub |
| 199 | return false; |
| 200 | } |
| 201 | |
| 202 | @Override |
Dianne Hackborn | eb94fa7 | 2014-06-03 17:48:12 -0700 | [diff] [blame] | 203 | public IWindowSession openSession(IWindowSessionCallback argn1, IInputMethodClient arg0, |
| 204 | IInputContext arg1) throws RemoteException { |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 205 | // TODO Auto-generated method stub |
| 206 | return null; |
| 207 | } |
| 208 | |
| 209 | @Override |
| 210 | public void overridePendingAppTransition(String arg0, int arg1, int arg2, |
| 211 | IRemoteCallback startedCallback) throws RemoteException { |
| 212 | // TODO Auto-generated method stub |
| 213 | |
| 214 | } |
| 215 | |
| 216 | @Override |
| 217 | public void overridePendingAppTransitionScaleUp(int startX, int startY, int startWidth, |
| 218 | int startHeight) throws RemoteException { |
| 219 | // TODO Auto-generated method stub |
| 220 | } |
| 221 | |
| 222 | @Override |
Chet Haase | 10e23ab | 2015-02-11 15:08:38 -0800 | [diff] [blame] | 223 | public void overridePendingAppTransitionClipReveal(int startX, int startY, |
| 224 | int startWidth, int startHeight) throws RemoteException { |
| 225 | // TODO Auto-generated method stub |
| 226 | } |
| 227 | |
| 228 | @Override |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 229 | public void overridePendingAppTransitionThumb(Bitmap srcThumb, int startX, int startY, |
| 230 | IRemoteCallback startedCallback, boolean scaleUp) throws RemoteException { |
| 231 | // TODO Auto-generated method stub |
| 232 | } |
| 233 | |
| 234 | @Override |
Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 235 | public void overridePendingAppTransitionAspectScaledThumb(Bitmap srcThumb, int startX, |
Winson Chung | 2e7f3bd | 2014-09-05 13:17:22 +0200 | [diff] [blame] | 236 | int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, |
| 237 | boolean scaleUp) { |
Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 238 | // TODO Auto-generated method stub |
| 239 | } |
| 240 | |
| 241 | @Override |
Winson Chung | 044d529 | 2014-11-06 11:05:19 -0800 | [diff] [blame] | 242 | public void overridePendingAppTransitionInPlace(String packageName, int anim) { |
| 243 | // TODO Auto-generated method stub |
| 244 | } |
| 245 | |
| 246 | @Override |
Jorim Jaggi | 1a2f3ab | 2015-11-06 21:31:17 +0100 | [diff] [blame] | 247 | public void overridePendingAppTransitionMultiThumbFuture( |
| 248 | IAppTransitionAnimationSpecsFuture specsFuture, IRemoteCallback startedCallback, |
| 249 | boolean scaleUp) throws RemoteException { |
| 250 | |
| 251 | } |
| 252 | |
| 253 | @Override |
Filip Gruszczynski | ad98eeb | 2015-08-19 15:12:11 -0700 | [diff] [blame] | 254 | public void overridePendingAppTransitionMultiThumb(AppTransitionAnimationSpec[] specs, |
Filip Gruszczynski | f254e95 | 2015-10-30 16:14:57 -0700 | [diff] [blame] | 255 | IRemoteCallback callback0, IRemoteCallback callback1, boolean scaleUp) { |
Filip Gruszczynski | ad98eeb | 2015-08-19 15:12:11 -0700 | [diff] [blame] | 256 | // TODO Auto-generated method stub |
| 257 | } |
| 258 | |
| 259 | @Override |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 260 | public void pauseKeyDispatching(IBinder arg0) throws RemoteException { |
| 261 | // TODO Auto-generated method stub |
| 262 | |
| 263 | } |
| 264 | |
| 265 | @Override |
| 266 | public void prepareAppTransition(int arg0, boolean arg1) throws RemoteException { |
| 267 | // TODO Auto-generated method stub |
| 268 | |
| 269 | } |
| 270 | |
| 271 | @Override |
| 272 | public void reenableKeyguard(IBinder arg0) throws RemoteException { |
| 273 | // TODO Auto-generated method stub |
| 274 | |
| 275 | } |
| 276 | |
| 277 | @Override |
| 278 | public void removeAppToken(IBinder arg0) throws RemoteException { |
| 279 | // TODO Auto-generated method stub |
| 280 | |
| 281 | } |
| 282 | |
| 283 | @Override |
| 284 | public void removeWindowToken(IBinder arg0) throws RemoteException { |
| 285 | // TODO Auto-generated method stub |
| 286 | |
| 287 | } |
| 288 | |
| 289 | @Override |
| 290 | public void resumeKeyDispatching(IBinder arg0) throws RemoteException { |
| 291 | // TODO Auto-generated method stub |
| 292 | |
| 293 | } |
| 294 | |
| 295 | @Override |
Dianne Hackborn | 4025c96 | 2015-03-17 17:22:33 -0700 | [diff] [blame] | 296 | public boolean requestAssistScreenshot(IAssistScreenshotReceiver receiver) |
| 297 | throws RemoteException { |
| 298 | // TODO Auto-generated method stub |
| 299 | return false; |
| 300 | } |
| 301 | |
| 302 | @Override |
| 303 | public Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth, |
Winson | 8b1871d | 2015-11-20 09:56:20 -0800 | [diff] [blame] | 304 | int maxHeight, float frameScale) throws RemoteException { |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 305 | // TODO Auto-generated method stub |
| 306 | return null; |
| 307 | } |
| 308 | |
| 309 | @Override |
| 310 | public void setAnimationScale(int arg0, float arg1) throws RemoteException { |
| 311 | // TODO Auto-generated method stub |
| 312 | |
| 313 | } |
| 314 | |
| 315 | @Override |
| 316 | public void setAnimationScales(float[] arg0) throws RemoteException { |
| 317 | // TODO Auto-generated method stub |
| 318 | |
| 319 | } |
| 320 | |
| 321 | @Override |
Dianne Hackborn | eb94fa7 | 2014-06-03 17:48:12 -0700 | [diff] [blame] | 322 | public float getCurrentAnimatorScale() throws RemoteException { |
| 323 | return 0; |
| 324 | } |
| 325 | |
| 326 | @Override |
Wale Ogunwale | b1faf60 | 2016-01-27 09:12:31 -0800 | [diff] [blame] | 327 | public void setAppTask(IBinder arg0, int arg1, int arg2, Rect arg3, Configuration arg4, |
| 328 | int arg5, boolean arg6) |
Filip Gruszczynski | 1bca297 | 2015-09-01 09:29:11 -0700 | [diff] [blame] | 329 | throws RemoteException { |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 330 | // TODO Auto-generated method stub |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 331 | } |
| 332 | |
| 333 | @Override |
| 334 | public void setAppOrientation(IApplicationToken arg0, int arg1) throws RemoteException { |
| 335 | // TODO Auto-generated method stub |
| 336 | } |
| 337 | |
| 338 | @Override |
| 339 | public void setAppStartingWindow(IBinder arg0, String arg1, int arg2, CompatibilityInfo arg3, |
| 340 | CharSequence arg4, int arg5, int arg6, int arg7, int arg8, IBinder arg9, boolean arg10) |
| 341 | throws RemoteException { |
| 342 | // TODO Auto-generated method stub |
| 343 | } |
| 344 | |
| 345 | @Override |
| 346 | public void setAppVisibility(IBinder arg0, boolean arg1) throws RemoteException { |
| 347 | // TODO Auto-generated method stub |
| 348 | |
| 349 | } |
| 350 | |
| 351 | @Override |
Wale Ogunwale | 8d5a542 | 2016-03-03 18:28:21 -0800 | [diff] [blame] | 352 | public void notifyAppStopped(IBinder token, boolean stopped) throws RemoteException { |
Robert Carr | e12aece | 2016-02-02 22:43:27 -0800 | [diff] [blame] | 353 | // TODO Auto-generated method stub |
| 354 | } |
| 355 | |
| 356 | @Override |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 357 | public void setEventDispatching(boolean arg0) throws RemoteException { |
| 358 | // TODO Auto-generated method stub |
| 359 | } |
| 360 | |
| 361 | @Override |
| 362 | public void setFocusedApp(IBinder arg0, boolean arg1) throws RemoteException { |
| 363 | // TODO Auto-generated method stub |
| 364 | } |
| 365 | |
| 366 | @Override |
| 367 | public void getInitialDisplaySize(int displayId, Point size) { |
| 368 | // TODO Auto-generated method stub |
| 369 | } |
| 370 | |
| 371 | @Override |
| 372 | public void getBaseDisplaySize(int displayId, Point size) { |
| 373 | // TODO Auto-generated method stub |
| 374 | } |
| 375 | |
| 376 | @Override |
| 377 | public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { |
| 378 | // TODO Auto-generated method stub |
| 379 | } |
| 380 | |
| 381 | @Override |
| 382 | public int getInitialDisplayDensity(int displayId) { |
| 383 | return -1; |
| 384 | } |
| 385 | |
| 386 | @Override |
| 387 | public int getBaseDisplayDensity(int displayId) { |
| 388 | return -1; |
| 389 | } |
| 390 | |
| 391 | @Override |
| 392 | public void setForcedDisplayDensity(int displayId, int density) throws RemoteException { |
| 393 | // TODO Auto-generated method stub |
| 394 | } |
| 395 | |
| 396 | @Override |
Jeff Brown | d46747a | 2015-04-15 19:02:36 -0700 | [diff] [blame] | 397 | public void setForcedDisplayScalingMode(int displayId, int mode) { |
| 398 | } |
| 399 | |
| 400 | @Override |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 401 | public void setInTouchMode(boolean arg0) throws RemoteException { |
| 402 | // TODO Auto-generated method stub |
| 403 | } |
| 404 | |
| 405 | @Override |
| 406 | public void setNewConfiguration(Configuration arg0) throws RemoteException { |
| 407 | // TODO Auto-generated method stub |
| 408 | } |
| 409 | |
| 410 | @Override |
Sander Alewijnse | a87863a | 2014-07-29 12:01:38 +0100 | [diff] [blame] | 411 | public void setScreenCaptureDisabled(int userId, boolean disabled) { |
Sander Alewijnse | d2a1eec | 2014-07-09 12:57:05 +0100 | [diff] [blame] | 412 | // TODO Auto-generated method stub |
| 413 | } |
| 414 | |
| 415 | @Override |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 416 | public void updateRotation(boolean arg0, boolean arg1) throws RemoteException { |
| 417 | // TODO Auto-generated method stub |
| 418 | } |
| 419 | |
| 420 | @Override |
| 421 | public void setStrictModeVisualIndicatorPreference(String arg0) throws RemoteException { |
| 422 | // TODO Auto-generated method stub |
| 423 | } |
| 424 | |
| 425 | @Override |
| 426 | public void showStrictModeViolation(boolean arg0) throws RemoteException { |
| 427 | // TODO Auto-generated method stub |
| 428 | } |
| 429 | |
| 430 | @Override |
| 431 | public void startAppFreezingScreen(IBinder arg0, int arg1) throws RemoteException { |
| 432 | // TODO Auto-generated method stub |
| 433 | } |
| 434 | |
| 435 | @Override |
| 436 | public boolean startViewServer(int arg0) throws RemoteException { |
| 437 | // TODO Auto-generated method stub |
| 438 | return false; |
| 439 | } |
| 440 | |
| 441 | @Override |
| 442 | public void statusBarVisibilityChanged(int arg0) throws RemoteException { |
| 443 | // TODO Auto-generated method stub |
| 444 | } |
| 445 | |
| 446 | @Override |
| 447 | public void stopAppFreezingScreen(IBinder arg0, boolean arg1) throws RemoteException { |
| 448 | // TODO Auto-generated method stub |
| 449 | } |
| 450 | |
| 451 | @Override |
| 452 | public boolean stopViewServer() throws RemoteException { |
| 453 | // TODO Auto-generated method stub |
| 454 | return false; |
| 455 | } |
| 456 | |
| 457 | @Override |
| 458 | public void thawRotation() throws RemoteException { |
| 459 | // TODO Auto-generated method stub |
| 460 | } |
| 461 | |
| 462 | @Override |
| 463 | public Configuration updateOrientationFromAppTokens(Configuration arg0, IBinder arg1) |
| 464 | throws RemoteException { |
| 465 | // TODO Auto-generated method stub |
| 466 | return null; |
| 467 | } |
| 468 | |
| 469 | @Override |
| 470 | public int watchRotation(IRotationWatcher arg0) throws RemoteException { |
| 471 | // TODO Auto-generated method stub |
| 472 | return 0; |
| 473 | } |
| 474 | |
| 475 | @Override |
| 476 | public void removeRotationWatcher(IRotationWatcher arg0) throws RemoteException { |
| 477 | } |
| 478 | |
| 479 | @Override |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 480 | public IBinder asBinder() { |
| 481 | // TODO Auto-generated method stub |
| 482 | return null; |
| 483 | } |
| 484 | |
| 485 | @Override |
| 486 | public int getPreferredOptionsPanelGravity() throws RemoteException { |
| 487 | return Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM; |
| 488 | } |
| 489 | |
| 490 | @Override |
| 491 | public void dismissKeyguard() { |
| 492 | } |
| 493 | |
| 494 | @Override |
Adrian Roos | d5c2db6 | 2016-03-08 16:11:31 -0800 | [diff] [blame] | 495 | public void keyguardGoingAway(int flags) throws RemoteException { |
Craig Mautner | 8bd94d5 | 2014-05-29 10:49:10 -0700 | [diff] [blame] | 496 | } |
| 497 | |
| 498 | @Override |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 499 | public void lockNow(Bundle options) { |
| 500 | // TODO Auto-generated method stub |
| 501 | } |
| 502 | |
| 503 | @Override |
| 504 | public boolean isSafeModeEnabled() { |
| 505 | return false; |
| 506 | } |
| 507 | |
| 508 | @Override |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 509 | public boolean isRotationFrozen() throws RemoteException { |
| 510 | // TODO Auto-generated method stub |
| 511 | return false; |
| 512 | } |
Jorim Jaggi | cff0acb | 2014-03-31 16:35:15 +0200 | [diff] [blame] | 513 | |
| 514 | @Override |
| 515 | public void enableScreenIfNeeded() throws RemoteException { |
Svetoslav | dd137a8 | 2014-04-10 12:48:07 -0700 | [diff] [blame] | 516 | // TODO Auto-generated method stub |
| 517 | } |
| 518 | |
| 519 | @Override |
Colin Cross | d4d4658 | 2014-04-10 22:41:05 -0700 | [diff] [blame] | 520 | public boolean clearWindowContentFrameStats(IBinder token) throws RemoteException { |
Svetoslav | 1376d60 | 2014-03-13 11:17:26 -0700 | [diff] [blame] | 521 | // TODO Auto-generated method stub |
| 522 | return false; |
| 523 | } |
| 524 | |
| 525 | @Override |
Colin Cross | d4d4658 | 2014-04-10 22:41:05 -0700 | [diff] [blame] | 526 | public WindowContentFrameStats getWindowContentFrameStats(IBinder token) |
Svetoslav | dd137a8 | 2014-04-10 12:48:07 -0700 | [diff] [blame] | 527 | throws RemoteException { |
Svetoslav | 1376d60 | 2014-03-13 11:17:26 -0700 | [diff] [blame] | 528 | // TODO Auto-generated method stub |
| 529 | return null; |
Jorim Jaggi | cff0acb | 2014-03-31 16:35:15 +0200 | [diff] [blame] | 530 | } |
Winson | 6b05f80 | 2015-11-02 16:38:25 -0800 | [diff] [blame] | 531 | |
| 532 | @Override |
Jorim Jaggi | 1a2f3ab | 2015-11-06 21:31:17 +0100 | [diff] [blame] | 533 | public int getDockedStackSide() throws RemoteException { |
| 534 | return 0; |
| 535 | } |
| 536 | |
| 537 | @Override |
| 538 | public void setDockedStackResizing(boolean resizing) throws RemoteException { |
| 539 | } |
| 540 | |
| 541 | @Override |
Winson | 6b05f80 | 2015-11-02 16:38:25 -0800 | [diff] [blame] | 542 | public void cancelTaskWindowTransition(int taskId) { |
| 543 | } |
Filip Gruszczynski | 14b4e57 | 2015-11-03 15:53:55 -0800 | [diff] [blame] | 544 | |
| 545 | @Override |
Winson | 13d3066 | 2015-11-06 15:30:29 -0800 | [diff] [blame] | 546 | public void cancelTaskThumbnailTransition(int taskId) { |
| 547 | } |
| 548 | |
| 549 | @Override |
Filip Gruszczynski | 14b4e57 | 2015-11-03 15:53:55 -0800 | [diff] [blame] | 550 | public void endProlongedAnimations() { |
| 551 | } |
Filip Gruszczynski | 64cdc14 | 2015-11-29 21:10:07 -0800 | [diff] [blame] | 552 | |
| 553 | @Override |
Jorim Jaggi | 2a37455 | 2016-01-05 15:25:24 +0100 | [diff] [blame] | 554 | public void registerDockedStackListener(IDockedStackListener listener) throws RemoteException { |
| 555 | } |
| 556 | |
| 557 | @Override |
| 558 | public void setResizeDimLayer(boolean visible, int targetStackId, float alpha) |
| 559 | throws RemoteException { |
Filip Gruszczynski | 64cdc14 | 2015-11-29 21:10:07 -0800 | [diff] [blame] | 560 | } |
Wale Ogunwale | b2d1356 | 2016-01-13 15:08:29 -0800 | [diff] [blame] | 561 | |
| 562 | @Override |
Jorim Jaggi | d47e7e1 | 2016-03-01 09:57:38 +0100 | [diff] [blame] | 563 | public void setDockedStackDividerTouchRegion(Rect touchableRegion) throws RemoteException { |
| 564 | } |
| 565 | |
| 566 | @Override |
Clara Bayarri | fcd7e80 | 2016-03-10 12:58:18 +0000 | [diff] [blame] | 567 | public void requestAppKeyboardShortcuts( |
| 568 | IResultReceiver receiver, int deviceId) throws RemoteException { |
Wale Ogunwale | b2d1356 | 2016-01-13 15:08:29 -0800 | [diff] [blame] | 569 | } |
Jorim Jaggi | 1444cfd | 2016-02-01 14:24:05 -0800 | [diff] [blame] | 570 | |
| 571 | @Override |
| 572 | public void getStableInsets(Rect outInsets) throws RemoteException { |
| 573 | } |
Muyuan Li | 94ce94e | 2016-02-24 16:20:54 -0800 | [diff] [blame] | 574 | |
| 575 | @Override |
| 576 | public void registerShortcutKey(long shortcutCode, IShortcutService service) |
| 577 | throws RemoteException {} |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 578 | } |