Home
last modified time | relevance | path

Searched refs:getDisplayId (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarLaunchParamsModifierUpdatableTest.java160 when(display.getDisplayId()).thenReturn(displayId); in mockDisplay()
265 display.getDisplayId()).getTaskDisplayArea(); in assertDisplayIsAllowed()
274 assertThat(displayRequested.getDisplayId()).isNotEqualTo(displayAssigned.getDisplayId()); in assertDisplayIsReassigned()
277 displayRequested.getDisplayId()).getTaskDisplayArea(); in assertDisplayIsReassigned()
279 displayAssigned.getDisplayId()).getTaskDisplayArea(); in assertDisplayIsReassigned()
353 mUpdatable.setPassengerDisplays(new int[]{mDisplay10ForPassenger.getDisplayId(), in testAllowAllForDriverDuringBoot()
354 mDisplay10ForPassenger.getDisplayId()}); in testAllowAllForDriverDuringBoot()
362 mUpdatable.setPassengerDisplays(new int[]{mDisplay10ForPassenger.getDisplayId(), in testAllowAllForDriverAfterUserSwitching()
363 mDisplay10ForPassenger.getDisplayId()}); in testAllowAllForDriverAfterUserSwitching()
378 mUpdatable.setPassengerDisplays(new int[]{mDisplay10ForPassenger.getDisplayId(), in testPassengerAllowed()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DContentRecorder.java181 mDisplayContent.getDisplayId()); in onConfigurationChanged()
193 mDisplayContent.getDisplayId()); in onConfigurationChanged()
212 mDisplayContent.getDisplayId()); in onConfigurationChanged()
227 mDisplayContent.getDisplayId(), recordedContentBounds, in onConfigurationChanged()
238 mDisplayContent.getDisplayId(), recordedContentBounds, in onConfigurationChanged()
254 mDisplayContent.getDisplayId(), mDisplayContent.getLastHasContent()); in pauseRecording()
296 mDisplayContent.getDisplayId()); in stopMediaProjection()
359 mDisplayContent.getDisplayId()); in startRecordingIfNeeded()
369 mDisplayContent.getDisplayId()); in startRecordingIfNeeded()
375 mDisplayContent.getDisplayId(), mDisplayContent.getDisplayInfo().state); in startRecordingIfNeeded()
[all …]
DActivityRecordInputSink.java98 mInputWindowHandleWrapper.setDisplayId(mActivityRecord.getDisplayId()); in getInputWindowHandleWrapper()
104 mActivityRecord.getDisplayId()); in createInputWindowHandle()
DAnrController.java95 DisplayContent display = mService.mRoot.getDisplayContent(activity.getDisplayId()); in notifyAppUnresponsive()
114 mUnresponsiveAppByDisplay.put(activity.getDisplayId(), activity); in notifyAppUnresponsive()
266 unresponsiveApp = mUnresponsiveAppByDisplay.get(newFocus.getDisplayId()); in onFocusChanged()
272 mUnresponsiveAppByDisplay.remove(newFocus.getDisplayId()); in onFocusChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationSettingsControllerTest.java110 eq(mContext.getDisplayId()), eq(enable)); in testPanelOnSetDiagonalScrolling_delegateToCallback()
120 eq(mContext.getDisplayId()), eq(newMode)); in testPanelOnModeSwitch_delegateToCallback()
130 eq(mContext.getDisplayId()), eq(shown)); in testPanelOnSettingsPanelVisibilityChanged_delegateToCallback()
140 eq(mContext.getDisplayId()), eq(index)); in testPanelOnSetMagnifierSize_delegateToCallback()
150 eq(mContext.getDisplayId()), eq(enable)); in testPanelOnEditMagnifierSizeMode_delegateToCallback()
161 eq(mContext.getDisplayId()), eq(scale), eq(updatePersistence)); in testPanelOnMagnifierScale_delegateToCallback()
/frameworks/base/core/tests/coretests/src/android/app/
DUiAutomationTest.java84 assertWithMessage("getDisplayId()").that(uiAutomation.getDisplayId()) in testGetDisplay_contextWithSecondaryDisplayId()
94 assertWithMessage("getDisplayId()").that(uiAutomation.getDisplayId()) in testGetDisplay_contextWithInvalidDisplayId()
107 assertWithMessage("getDisplayId()").that(uiAutomation.getDisplayId()) in testGetDisplay_visibleBgUsers()
119 assertWithMessage("getDisplayId()").that(uiAutomation.getDisplayId()) in testGetDisplay_visibleBgUsers_contextWithInvalidDisplayId()
134 when(mContext.getDisplayId()).thenReturn(displayId); in mockContextDisplay()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java82 assertEquals(systemContext.getDisplay().getDisplayId(), systemContext.getDisplayId()); in testDisplayIdForSystemContext()
91 assertEquals(systemUiContext.getDisplay().getDisplayId(), systemUiContext.getDisplayId()); in testDisplayIdForSystemUiContext()
100 assertEquals(testContext.getDisplayNoVerify().getDisplayId(), testContext.getDisplayId()); in testDisplayIdForTestContext()
112 assertEquals(defaultDisplayContext.getDisplay().getDisplayId(), in testDisplayIdForDefaultDisplayContext()
113 defaultDisplayContext.getDisplayId()); in testDisplayIdForDefaultDisplayContext()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java121 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/core/java/android/view/
DVerifiedInputEvent.java116 public int getDisplayId() { in getDisplayId() method in VerifiedInputEvent
172 && getDisplayId() == that.getDisplayId(); in equals()
182 _hash = 31 * _hash + getDisplayId(); in hashCode()
/frameworks/base/services/core/java/com/android/server/policy/
DSingleKeyGestureDetector.java239 event.getDisplayId()); in interceptKeyDown()
287 event.getDisplayId()); in interceptKeyDown()
295 event.getDisplayId()); in interceptKeyDown()
313 event.getDisplayId()); in interceptKeyDown()
354 mKeyPressCounter, event.getDisplayId()); in interceptKeyUp()
365 /* pressCount= */ 1, event.getDisplayId()); in interceptKeyUp()
376 mKeyPressCounter, event.getDisplayId()); in interceptKeyUp()
DBurnInProtectionHelper.java153 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/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskContainer.java133 taskProperties.getDisplayId(), in TaskContainer()
145 int getDisplayId() { in getDisplayId() method in TaskContainer
146 return mInfo.getDisplayId(); in getDisplayId()
154 mInfo = new TaskFragmentParentInfo(mInfo.getConfiguration(), mInfo.getDisplayId(), in setInvisible()
169 return new TaskProperties(mInfo.getDisplayId(), mInfo.getConfiguration()); in getTaskProperties()
196 || mInfo.getDisplayId() != info.getDisplayId(); in shouldUpdateContainer()
678 int getDisplayId() { in getDisplayId() method in TaskContainer.TaskProperties
721 final int displayId = activity.getDisplayId(); in getTaskPropertiesFromActivity()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestUtils.java36 bundle.putInt(KEY_DISPLAY_ID, surfaceView.getDisplay().getDisplayId()); in createSurfaceBundle()
58 public static int getDisplayId(Bundle bundle) { in getDisplayId() method in SurfaceViewRequestUtils
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/src/com/android/systemui/accessibility/accessibilitymenu/tests/
DAccessibilityMenuServiceTest.java259 float resetBrightness = displayManager.getBrightness(context.getDisplayId()); in testAdjustBrightness()
268 context.getDisplayId()).getBrightnessInfo(); in testAdjustBrightness()
275 context.getDisplayId(), brightnessInfo.brightnessMinimum); in testAdjustBrightness()
276 return displayManager.getBrightness(context.getDisplayId()) in testAdjustBrightness()
282 () -> displayManager.getBrightness(context.getDisplayId()) in testAdjustBrightness()
289 context.getDisplayId(), brightnessInfo.brightnessMaximum); in testAdjustBrightness()
290 return displayManager.getBrightness(context.getDisplayId()) in testAdjustBrightness()
296 () -> displayManager.getBrightness(context.getDisplayId()) in testAdjustBrightness()
299 displayManager.setBrightness(context.getDisplayId(), resetBrightness); in testAdjustBrightness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarControllerImpl.java258 if (!taskbarShown && mNavigationBars.get(mContext.getDisplayId()) == null) { in updateNavbarForTaskbar()
267 mContext.getDisplayId()); in initializeTaskbarIfNecessary()
271 final int displayId = mContext.getDisplayId(); in initializeTaskbarIfNecessary()
316 int displayId = mContext.getDisplayId();
325 int displayId = mContext.getDisplayId();
359 || display.getDisplayId() != mDisplayTracker.getDefaultDisplayId()) { in createNavigationBars()
378 final int displayId = display.getDisplayId(); in createNavigationBar()
404 navBar.setImeWindowStatus(display.getDisplayId(), result.mImeToken, in createNavigationBar()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInputMethodDialogWindowContextTest.java117 final int displayId = mSecondaryDisplay.getDisplayId(); in setUp()
142 mWindowContext.get(mSecondaryDisplay.getDisplayId()); in testGetSettingsContext()
149 final Context context = mWindowContext.get(mSecondaryDisplay.getDisplayId()); in testGetSettingsContextOnDualDisplayContent()
196 assertThat(context.getDisplayId()).isEqualTo(dc.getDisplayId()); in assertImeSwitchContextMetricsValidity()
DPhysicalDisplaySwitchTransitionLauncherTest.java100 mDisplayContent.getDisplayId(), in testDisplaySwitchAfterUnfoldToOpen_animationsEnabled_requestsTransition()
108 assertEquals(mDisplayContent.getDisplayId(), in testDisplaySwitchAfterUnfoldToOpen_animationsEnabled_requestsTransition()
109 mPlayer.mLastRequest.getDisplayChange().getDisplayId()); in testDisplaySwitchAfterUnfoldToOpen_animationsEnabled_requestsTransition()
249 mDisplayContent.getDisplayId(), in requestDisplaySwitch()
DDisplayWindowSettingsTests.java100 assertNotEquals(Display.DEFAULT_DISPLAY, mSecondaryDisplay.getDisplayId()); in setUp()
105 assertNotEquals(Display.DEFAULT_DISPLAY, mPrivateDisplay.getDisplayId()); in setUp()
106 assertNotEquals(mSecondaryDisplay.getDisplayId(), mPrivateDisplay.getDisplayId()); in setUp()
233 mWm.clearForcedDisplaySize(mSecondaryDisplay.getDisplayId()); in testSetForcedSize()
246 mWm.clearForcedDisplayDensityForUser(mSecondaryDisplay.getDisplayId(), 0 /* userId */); in testSetForcedDensity()
259 mWm.setForcedDisplayScalingMode(mSecondaryDisplay.getDisplayId(), in testSetForcedScalingMode()
433 … assertEquals(DISPLAY_IME_POLICY_LOCAL, wmInternal.getDisplayImePolicy(dc.getDisplayId())); in testShouldShowImeOnDisplayWithinForceDesktopMode()
DContentRecordingControllerTests.java68 mVirtualDisplayId = mVirtualDisplayContent.getDisplayId(); in setup()
191 assertThat(virtualDisplay.getDisplayId()).isNotEqualTo(mVirtualDisplayId); in testSetContentRecordingSessionLocked_takeOverCurrentSession_accepted()
192 sessionUpdate.setVirtualDisplayId(virtualDisplay.getDisplayId()); in testSetContentRecordingSessionLocked_takeOverCurrentSession_accepted()
/frameworks/base/core/java/android/window/
DWindowTokenClientController.java193 client.postOnConfigurationChanged(info.getConfiguration(), info.getDisplayId()); in onWindowContextTokenAttached()
197 client.onConfigurationChanged(info.getConfiguration(), info.getDisplayId(), in onWindowContextTokenAttached()
207 windowTokenClient.onConfigurationChanged(info.getConfiguration(), info.getDisplayId()); in onWindowContextInfoChanged()
DWindowTokenClient.java176 displayChanged = isDifferentDisplay(context.getDisplayId(), newDisplayId); in onConfigurationChangedInner()
220 + ", display ID=" + context.getDisplayId() + "\n" in onConfigurationChangedInner()
228 + ", display ID=" + context.getDisplayId()); in onConfigurationChangedInner()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java263 event.getEdgeFlags(), event.getSource(), event.getDisplayId(), event.getFlags(), in cancelMotion()
348 final int displayId = event.getDisplayId(); in onInputEventInternal()
391 final int displayId = event.getDisplayId(); in getEventStreamState()
532 final int displayId = event.getDisplayId(); in handleMotionEvent()
637 Slog.i(TAG, "enableFeaturesForDisplay() : display Id = " + display.getDisplayId()); in enableFeaturesForDisplay()
641 final int displayId = display.getDisplayId(); in enableFeaturesForDisplay()
760 disableFeaturesForDisplay(displaysList.get(i).getDisplayId()); in disableFeatures()
798 resetStreamStateForDisplay(display.getDisplayId()); in enableFeaturesForDisplayIfInstalled()
862 resetStreamStateForDisplay(displaysList.get(i).getDisplayId()); in resetAllStreamState()
897 final int displayId = display.getDisplayId(); in refreshMagnificationMode()
[all …]
/frameworks/base/libs/input/
DPointerController.cpp145 const ui::LogicalDisplayId displayId = mCursorController.getDisplayId(); in move()
156 const ui::LogicalDisplayId displayId = mCursorController.getDisplayId(); in setPosition()
167 const ui::LogicalDisplayId displayId = mCursorController.getDisplayId(); in getPosition()
176 ui::LogicalDisplayId PointerController::getDisplayId() const { in getDisplayId() function in android::PointerController
177 return mCursorController.getDisplayId(); in getDisplayId()
/frameworks/native/services/inputflinger/tests/
DFakeWindows.cpp94 EXPECT_EQ(expectedDisplayId, event->getDisplayId()); in consumeEvent()
155 ASSERT_EQ(ui::LogicalDisplayId::INVALID, event->getDisplayId()) in consumeFocusEvent()
168 ASSERT_EQ(ui::LogicalDisplayId::INVALID, event->getDisplayId()) in consumeCaptureEvent()
180 EXPECT_EQ(ui::LogicalDisplayId::INVALID, event->getDisplayId()) in consumeDragEvent()
195 ASSERT_EQ(ui::LogicalDisplayId::INVALID, event->getDisplayId()) in consumeTouchModeEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipController.java181 mPipDisplayLayoutState.setDisplayId(mContext.getDisplayId()); in onInit()
186 mDisplayInsetsController.addInsetsChangedListener(mPipDisplayLayoutState.getDisplayId(), in onInit()
191 .getDisplayLayout(mPipDisplayLayoutState.getDisplayId())); in onInit()
255 if (displayId != mPipDisplayLayoutState.getDisplayId()) { in onDisplayAdded()
263 if (displayId != mPipDisplayLayoutState.getDisplayId()) { in onDisplayConfigurationChanged()

12345678910>>...16