Home
last modified time | relevance | path

Searched refs:INVALID_DISPLAY (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNavigationBarControllerTest.java20 import static android.view.Display.INVALID_DISPLAY;
127 mNavigationBarController.checkNavBarModes(INVALID_DISPLAY); in testCheckNavBarModesWithInvalidDisplay()
151 mNavigationBarController.finishBarAnimations(INVALID_DISPLAY); in testFinishBarAnimationsWithInvalidDisplay()
175 mNavigationBarController.touchAutoDim(INVALID_DISPLAY); in testTouchAutoDimWithInvalidDisplay()
199 mNavigationBarController.transitionTo(INVALID_DISPLAY, 3, true); in testTransitionToWithInvalidDisplay()
223 mNavigationBarController.disableAnimationsDuringHide(INVALID_DISPLAY, 500L); in testDisableAnimationsDuringHideWithInvalidDisplay()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowProcessControllerTests.java19 import static android.view.Display.INVALID_DISPLAY;
62 assertEquals(INVALID_DISPLAY, mWpc.getDisplayId()); in testDisplayConfigurationListener()
86 assertEquals(INVALID_DISPLAY, mWpc.getDisplayId()); in testDisplayConfigurationListener()
93 assertEquals(INVALID_DISPLAY, mWpc.getDisplayId()); in testDisplayConfigurationListener()
DLaunchParamsPersisterTests.java22 import static android.view.Display.INVALID_DISPLAY;
188 assertEquals(INVALID_DISPLAY, mResult.mPreferredDisplayId); in testReturnsEmptyDisplayIfDisplayIsNotFound()
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsController.java21 import static android.view.Display.INVALID_DISPLAY;
112 } else if (mService.mVr2dDisplayId != INVALID_DISPLAY) { in calculate()
196 mPreferredDisplayId = INVALID_DISPLAY; in reset()
209 return mBounds.isEmpty() && mPreferredDisplayId == INVALID_DISPLAY in isEmpty()
218 return mPreferredDisplayId != INVALID_DISPLAY; in hasPreferredDisplay()
DTaskLaunchParamsModifier.java36 import static android.view.Display.INVALID_DISPLAY;
299 int displayId = INVALID_DISPLAY; in getPreferredLaunchDisplay()
300 final int optionLaunchId = options != null ? options.getLaunchDisplayId() : INVALID_DISPLAY; in getPreferredLaunchDisplay()
301 if (optionLaunchId != INVALID_DISPLAY) { in getPreferredLaunchDisplay()
308 if (displayId == INVALID_DISPLAY && source != null && source.noDisplay) { in getPreferredLaunchDisplay()
314 (displayId == INVALID_DISPLAY && task != null) ? task.getStack() : null; in getPreferredLaunchDisplay()
320 if (displayId == INVALID_DISPLAY && source != null) { in getPreferredLaunchDisplay()
326 if (displayId != INVALID_DISPLAY in getPreferredLaunchDisplay()
330 displayId = (displayId == INVALID_DISPLAY) ? currentParams.mPreferredDisplayId : displayId; in getPreferredLaunchDisplay()
332 return (displayId != INVALID_DISPLAY in getPreferredLaunchDisplay()
DSafeActivityOptions.java23 import static android.view.Display.INVALID_DISPLAY;
212 if (aInfo != null && launchDisplayId != INVALID_DISPLAY in checkPermissions()
DWindowProcessController.java21 import static android.view.Display.INVALID_DISPLAY;
195 mDisplayId = INVALID_DISPLAY; in WindowProcessController()
322 return mDisplayId != INVALID_DISPLAY; in registeredForDisplayConfigChanges()
928 if (mDisplayId == INVALID_DISPLAY) { in unregisterDisplayConfigurationListenerLocked()
936 mDisplayId = INVALID_DISPLAY; in unregisterDisplayConfigurationListenerLocked()
DRootWindowContainer.java21 import static android.view.Display.INVALID_DISPLAY;
130 private int mTopFocusedDisplayId = INVALID_DISPLAY;
170 int topFocusedDisplayId = INVALID_DISPLAY; in updateFocusedWindowLocked()
180 if (topFocusedDisplayId == INVALID_DISPLAY) { in updateFocusedWindowLocked()
183 } else if (topFocusedDisplayId == INVALID_DISPLAY && dc.mFocusedApp != null) { in updateFocusedWindowLocked()
190 if (topFocusedDisplayId == INVALID_DISPLAY) { in updateFocusedWindowLocked()
DRootActivityContainer.java37 import static android.view.Display.INVALID_DISPLAY;
370 if (displayId == INVALID_DISPLAY) { in startHomeOnDisplay()
521 if (displayId == INVALID_DISPLAY) { in resumeHomeActivity()
545 } else if (displayId == INVALID_DISPLAY) { in shouldPlaceSecondaryHomeOnDisplay()
599 if (displayId == DEFAULT_DISPLAY || (displayId != INVALID_DISPLAY in canStartHomeOnDisplay()
639 if (displayId == INVALID_DISPLAY) { in ensureVisibilityAndConfig()
1691 int displayId = INVALID_DISPLAY; in getLaunchStack()
1717 if (launchParams != null && launchParams.mPreferredDisplayId != INVALID_DISPLAY) { in getLaunchStack()
1726 if (displayId != INVALID_DISPLAY && (canLaunchOnDisplay(r, displayId) in getLaunchStack()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java20 import static android.view.Display.INVALID_DISPLAY;
97 int displayId = INVALID_DISPLAY; in onRun()
120 return INVALID_DISPLAY; in getDisplayId()
126 if (displayId == INVALID_DISPLAY) { in getDisplayId()
127 return INVALID_DISPLAY; in getDisplayId()
393 if (displayId == INVALID_DISPLAY && (inputSource & InputDevice.SOURCE_CLASS_POINTER) != 0) { in injectMotionEvent()
420 INVALID_DISPLAY, DEFAULT_DISPLAY); in onShowUsage()
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodManagerServiceTests.java20 import static android.view.Display.INVALID_DISPLAY;
68 INVALID_DISPLAY, sMustNotBeCalledChecker)); in testComputeImeDisplayId_InvalidDisplayId()
/frameworks/base/core/java/android/view/
DInputWindowHandle.java19 import static android.view.Display.INVALID_DISPLAY;
102 public int portalToDisplayId = INVALID_DISPLAY;
DKeyEvent.java19 import static android.view.Display.INVALID_DISPLAY;
1508 mDisplayId = INVALID_DISPLAY; in KeyEvent()
1533 mDisplayId = INVALID_DISPLAY; in KeyEvent()
1630 flags, source, INVALID_DISPLAY, characters); in obtain()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java3 import static android.view.Display.INVALID_DISPLAY;
269 return INVALID_DISPLAY; in getVirtualDisplayId()
309 updateDisplayId(INVALID_DISPLAY); in startVirtualDisplay()
337 updateDisplayId(INVALID_DISPLAY); in stopVirtualDisplay()
/frameworks/base/core/java/android/app/servertransaction/
DActivityConfigurationChangeItem.java20 import static android.view.Display.INVALID_DISPLAY;
48 client.handleActivityConfigurationChanged(token, mConfiguration, INVALID_DISPLAY); in execute()
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java19 import static android.view.Display.INVALID_DISPLAY;
59 assertEquals(INVALID_DISPLAY, keyEvent.getDisplayId()); in testObtain()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java19 import static android.view.Display.INVALID_DISPLAY;
349 int displayId = INVALID_DISPLAY; in sendEvent()
358 if (mCode == KeyEvent.KEYCODE_BACK && bubbleDisplayId != INVALID_DISPLAY) { in sendEvent()
361 if (displayId != INVALID_DISPLAY) { in sendEvent()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java253 newConfig, Display.INVALID_DISPLAY); in testHandleActivityConfigurationChanged_PickNewerPendingConfiguration()
271 config, Display.INVALID_DISPLAY); in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
356 Display.INVALID_DISPLAY); in applyConfigurationChange()
366 Display.INVALID_DISPLAY); in applyConfigurationChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubble.java19 import static android.view.Display.INVALID_DISPLAY;
225 return mExpandedView != null ? mExpandedView.getVirtualDisplayId() : INVALID_DISPLAY; in getDisplayId()
DBubbleExpandedView.java19 import static android.view.Display.INVALID_DISPLAY;
596 return INVALID_DISPLAY; in getVirtualDisplayId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java24 import static android.view.Display.INVALID_DISPLAY;
138 private int mLastUpdatedImeDisplayId = INVALID_DISPLAY;
805 if (displayId == INVALID_DISPLAY) return; in handleShowImeButton()
809 && mLastUpdatedImeDisplayId != INVALID_DISPLAY) { in handleShowImeButton()
/frameworks/base/core/java/android/app/
DActivityOptions.java23 import static android.view.Display.INVALID_DISPLAY;
320 private int mLaunchDisplayId = INVALID_DISPLAY;
947 mLaunchDisplayId = opts.getInt(KEY_LAUNCH_DISPLAY_ID, INVALID_DISPLAY); in ActivityOptions()
1506 if (mLaunchDisplayId != INVALID_DISPLAY) { in toBundle()
DVrManager.java239 return Display.INVALID_DISPLAY; in getVr2dDisplayId()
DActivityView.java22 import static android.view.Display.INVALID_DISPLAY;
484 return INVALID_DISPLAY; in getVirtualDisplayId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DEdgeBackGestureHandler.java18 import static android.view.Display.INVALID_DISPLAY;
492 if (code == KeyEvent.KEYCODE_BACK && bubbleDisplayId != INVALID_DISPLAY) { in sendEvent()

123