/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarLaunchParamsModifierUpdatableTest.java | 163 when(display.getDisplayId()).thenReturn(displayId); in mockDisplay() 251 display.getDisplayId()).getTaskDisplayArea(); in assertDisplayIsAllowed() 260 assertThat(displayRequested.getDisplayId()).isNotEqualTo(displayAssigned.getDisplayId()); in assertDisplayIsReassigned() 263 displayRequested.getDisplayId()).getTaskDisplayArea(); in assertDisplayIsReassigned() 265 displayAssigned.getDisplayId()).getTaskDisplayArea(); in assertDisplayIsReassigned() 339 mUpdatable.setPassengerDisplays(new int[]{mDisplay10ForPassenger.getDisplayId(), in testAllowAllForDriverDuringBoot() 340 mDisplay10ForPassenger.getDisplayId()}); in testAllowAllForDriverDuringBoot() 348 mUpdatable.setPassengerDisplays(new int[]{mDisplay10ForPassenger.getDisplayId(), in testAllowAllForDriverAfterUserSwitching() 349 mDisplay10ForPassenger.getDisplayId()}); in testAllowAllForDriverAfterUserSwitching() 364 mUpdatable.setPassengerDisplays(new int[]{mDisplay10ForPassenger.getDisplayId(), in testPassengerAllowed() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ContentRecorder.java | 146 mDisplayContent.getDisplayId()); in onConfigurationChanged() 152 mDisplayContent.getDisplayId()); in onConfigurationChanged() 164 mDisplayContent.getDisplayId(), recordedContentBounds, in onConfigurationChanged() 174 mDisplayContent.getDisplayId(), recordedContentBounds, in onConfigurationChanged() 190 "Display %d has content (%b) so pause recording", mDisplayContent.getDisplayId(), in pauseRecording() 231 "Stop MediaProjection on virtual display %d", mDisplayContent.getDisplayId()); in stopMediaProjection() 275 mDisplayContent.getDisplayId()); in startRecordingIfNeeded() 280 mDisplayContent.getDisplayId(), mDisplayContent.getDisplay().getState()); in startRecordingIfNeeded() 328 mDisplayContent.getDisplayId()); in retrieveRecordedWindowContainer() 340 mDisplayContent.getDisplayId(), false); in retrieveRecordedWindowContainer() [all …]
|
D | ContentRecordingController.java | 76 incomingSession.getDisplayId(), in setContentRecordingSessionLocked() 77 mSession == null ? null : mSession.getDisplayId()); in setContentRecordingSessionLocked() 79 incomingSession.getDisplayId()); in setContentRecordingSessionLocked() 85 mDisplayContent.getDisplayId()); in setContentRecordingSessionLocked()
|
D | InputTarget.java | 33 int getDisplayId(); in getDisplayId() method
|
D | InputManagerCallback.java | 205 return displayContent.getDisplayId(); in getPointerDisplayId() 209 && displayContent.getDisplayId() != DEFAULT_DISPLAY) { in getPointerDisplayId() 210 firstExternalDisplayId = displayContent.getDisplayId(); in getPointerDisplayId()
|
D | ShellRoot.java | 63 + dc.getDisplayId(), e); in ShellRoot() 85 .setName("Shell Root Leash " + dc.getDisplayId()) in ShellRoot()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 61 assertEquals(systemContext.getDisplay().getDisplayId(), systemContext.getDisplayId()); in testDisplayIdForSystemContext() 69 assertEquals(systemUiContext.getDisplay().getDisplayId(), systemUiContext.getDisplayId()); in testDisplayIdForSystemUiContext() 77 assertEquals(testContext.getDisplayNoVerify().getDisplayId(), testContext.getDisplayId()); in testDisplayIdForTestContext() 88 assertEquals(defaultDisplayContext.getDisplay().getDisplayId(), in testDisplayIdForDefaultDisplayContext() 89 defaultDisplayContext.getDisplayId()); in testDisplayIdForDefaultDisplayContext()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 121 Log.w(LOG_TAG, "Cannot fetch display info for display " + display.getDisplayId()); in DisplayDensityUtils() 125 if (display.getDisplayId() == Display.DEFAULT_DISPLAY) { in DisplayDensityUtils() 133 display.getDisplayId()); in DisplayDensityUtils() 136 + display.getDisplayId()); in DisplayDensityUtils() 216 if (display.getDisplayId() == Display.DEFAULT_DISPLAY) { in DisplayDensityUtils() 270 int displayId = display.getDisplayId(); in clearForcedDisplayDensity() 304 int displayId = display.getDisplayId(); in setForcedDisplayDensity()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskContainer.java | 92 mDisplayId = taskProperties.getDisplayId(); in TaskContainer() 102 int getDisplayId() { in getDisplayId() method in TaskContainer 123 mDisplayId = info.getDisplayId(); in updateTaskFragmentParentInfo() 237 int getDisplayId() { in getDisplayId() method in TaskContainer.TaskProperties 262 final int displayId = activity.getDisplayId(); in getTaskPropertiesFromActivity()
|
/frameworks/base/core/java/android/view/ |
D | VerifiedInputEvent.java | 116 public int getDisplayId() { in getDisplayId() method in VerifiedInputEvent 172 && getDisplayId() == that.getDisplayId(); in equals() 182 _hash = 31 * _hash + getDisplayId(); in hashCode()
|
D | ContentRecordingSession.java | 107 return session != null && (session.getDisplayId() > INVALID_DISPLAY in isValid() 117 && session.getDisplayId() == incomingSession.getDisplayId(); in isSameDisplay() 183 public int getDisplayId() { in getDisplayId() method in ContentRecordingSession
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InputMethodDialogWindowContextTest.java | 105 final int displayId = mSecondaryDisplay.getDisplayId(); in setUp() 130 mWindowContext.get(mSecondaryDisplay.getDisplayId()); in testGetSettingsContext() 137 final Context context = mWindowContext.get(mSecondaryDisplay.getDisplayId()); in testGetSettingsContextOnDualDisplayContent() 171 assertThat(context.getDisplayId()).isEqualTo(dc.getDisplayId()); in assertImeSwitchContextMetricsValidity()
|
D | DisplayWindowSettingsTests.java | 99 assertNotEquals(Display.DEFAULT_DISPLAY, mSecondaryDisplay.getDisplayId()); in setUp() 104 assertNotEquals(Display.DEFAULT_DISPLAY, mPrivateDisplay.getDisplayId()); in setUp() 105 assertNotEquals(mSecondaryDisplay.getDisplayId(), mPrivateDisplay.getDisplayId()); in setUp() 232 mWm.clearForcedDisplaySize(mSecondaryDisplay.getDisplayId()); in testSetForcedSize() 245 mWm.clearForcedDisplayDensityForUser(mSecondaryDisplay.getDisplayId(), 0 /* userId */); in testSetForcedDensity() 258 mWm.setForcedDisplayScalingMode(mSecondaryDisplay.getDisplayId(), in testSetForcedScalingMode() 432 … assertEquals(DISPLAY_IME_POLICY_LOCAL, wmInternal.getDisplayImePolicy(dc.getDisplayId())); in testShouldShowImeOnDisplayWithinForceDesktopMode()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | SurfaceViewRequestUtils.java | 36 bundle.putInt(KEY_DISPLAY_ID, surfaceView.getDisplay().getDisplayId()); in createSurfaceBundle() 58 public static int getDisplayId(Bundle bundle) { in getDisplayId() method in SurfaceViewRequestUtils
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 221 resetStreamStateForDisplay(display.getDisplayId()); in onDisplayAdded() 258 final int displayId = event.getDisplayId(); in onInputEvent() 296 final int displayId = event.getDisplayId(); in getEventStreamState() 362 final int displayId = event.getDisplayId(); in handleMotionEvent() 456 Slog.i(TAG, "enableFeaturesForDisplay() : display Id = " + display.getDisplayId()); in enableFeaturesForDisplay() 460 final int displayId = display.getDisplayId(); in enableFeaturesForDisplay() 543 disableFeaturesForDisplay(displaysList.get(i).getDisplayId()); in disableFeatures() 623 resetStreamStateForDisplay(displaysList.get(i).getDisplayId()); in resetAllStreamState() 658 final int displayId = display.getDisplayId(); in refreshMagnificationMode() 944 final int displayId = displaysList.get(i).getDisplayId(); in dump()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | BurnInProtectionHelper.java | 153 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), in updateBurnInProtection() 254 if (displayId == mDisplay.getDisplayId()) { in onDisplayChanged() 275 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), 0, 0); in onAnimationEnd() 291 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), in onAnimationUpdate()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | InputController.java | 199 == inputDeviceDescriptor.getDisplayId()) { in closeInputDeviceDescriptorLocked() 240 mostRecentlyCreatedMouse.getDisplayId()); in updateActivePointerDisplayIdLocked() 277 if (inputDeviceDescriptor.getDisplayId() in sendButtonEvent() 309 if (inputDeviceDescriptor.getDisplayId() in sendRelativeEvent() 327 if (inputDeviceDescriptor.getDisplayId() in sendScrollEvent() 345 if (inputDeviceDescriptor.getDisplayId() in getCursorPosition() 360 fout.println(" displayId: " + inputDeviceDescriptor.getDisplayId()); in dump() 481 public int getDisplayId() { in getDisplayId() method in InputController.InputDeviceDescriptor
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 69 assertEquals(INVALID_DISPLAY, keyEvent.getDisplayId()); in testObtain() 96 assertEquals(displayId, keyEvent.getDisplayId()); in testObtainWithDisplayId() 183 assertEquals(key1.getDisplayId(), key2.getDisplayId()); in compareKeys()
|
D | MotionEventTest.java | 76 assertEquals(displayId, motionEvent_Single.getDisplayId()); in testObtainWithDisplayId() 77 assertEquals(displayId, motionEvent.getDisplayId()); in testObtainWithDisplayId() 81 assertEquals(displayId, motionEvent.getDisplayId()); in testObtainWithDisplayId()
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 122 const int32_t displayId = mCursorController.getDisplayId(); in move() 141 const int32_t displayId = mCursorController.getDisplayId(); in setPosition() 152 const int32_t displayId = mCursorController.getDisplayId(); in getPosition() 163 int32_t PointerController::getDisplayId() const { in getDisplayId() function in android::PointerController 164 return mCursorController.getDisplayId(); in getDisplayId()
|
/frameworks/base/core/java/android/companion/virtual/audio/ |
D | VirtualAudioDevice.java | 107 mVirtualDevice.onAudioSessionStarting(mVirtualDisplay.getDisplay().getDisplayId(), in startAudioInjection() 138 mVirtualDevice.onAudioSessionStarting(mVirtualDisplay.getDisplay().getDisplayId(), in startAudioCapture()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | CompatUIController.java | 272 forAllLayouts(layout -> layout.updateVisibility(showOnDisplay(layout.getDisplayId()))); in onKeyguardVisibilityChanged() 289 showOnDisplay(layout.getDisplayId()))) { in createOrUpdateCompatLayout() 336 showOnDisplay(mActiveLetterboxEduLayout.getDisplayId()))) { in createOrUpdateLetterboxEduLayout() 391 showOnDisplay(layout.getDisplayId()))) { in createOrUpdateRestartDialogLayout() 438 showOnDisplay(mActiveReachabilityEduLayout.getDisplayId()))) { in createOrUpdateReachabilityEduLayout() 522 forAllLayouts(layout -> layout.getDisplayId() == displayId, callback); in forAllLayoutsOnDisplay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarController.java | 232 if (!taskbarShown && mNavigationBars.get(mContext.getDisplayId()) == null) { in updateNavbarForTaskbar() 246 final int displayId = mContext.getDisplayId(); in initializeTaskbarIfNecessary() 313 || display.getDisplayId() != mDisplayTracker.getDefaultDisplayId()) { in createNavigationBars() 331 final int displayId = display.getDisplayId(); in createNavigationBar() 364 navBar.setImeWindowStatus(display.getDisplayId(), result.mImeToken, in createNavigationBar()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationControllerTest.java | 183 eq(mContext.getDisplayId()), any(Rect.class)); in enableWindowMagnification_showControlAndNotifyBoundsChanged() 195 (eq(mContext.getDisplayId())), any()); in enableWindowMagnification_notifySourceBoundsChanged() 234 (eq(mContext.getDisplayId())), sourceBoundsCaptor.capture()); in moveWindowMagnifier_enabled_notifySourceBoundsChanged() 320 (eq(mContext.getDisplayId())), any()); in deleteWindowMagnification_notifySourceBoundsChanged() 346 .onSourceBoundsChanged((eq(mContext.getDisplayId())), sourceBoundsCaptor.capture()); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() 359 .onSourceBoundsChanged((eq(mContext.getDisplayId())), sourceBoundsCaptor.capture()); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() 380 .onSourceBoundsChanged((eq(mContext.getDisplayId())), sourceBoundsCaptor.capture()); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback() 401 .onSourceBoundsChanged((eq(mContext.getDisplayId())), sourceBoundsCaptor.capture()); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback() 585 final int displayId = mContext.getDisplayId(); in performA11yActions_visible_expectedResults() 613 final int displayId = mContext.getDisplayId(); in performA11yActions_visible_notifyAccessibilityActionPerformed()
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 345 if (displayId == mDisplay.getDisplayId()) { 352 if (displayId == mDisplay.getDisplayId()) {
|