Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java198 when(display.getDisplayId()).thenReturn(displayId); in mockDisplay()
342 mDisplay2.getDisplayId()); in assertPassengerDisplaysFromDefaultConfig()
344 mDisplay4.getDisplayId()); in assertPassengerDisplaysFromDefaultConfig()
359 assertDisplayWhitelist(CURRENT_USER, new int[] {mDisplay4.getDisplayId()}); in testAssignProfileUserOnce()
360 assertDisplayWhitelist(PROFILE_USER1, new int[] {mDisplay2.getDisplayId()}); in testAssignProfileUserOnce()
387 assertDisplayWhitelist(CURRENT_USER, new int[] {mDisplay4.getDisplayId()}); in testAssignProfileUserSwitch()
388 assertDisplayWhitelist(PROFILE_USER1, new int[] {mDisplay2.getDisplayId()}); in testAssignProfileUserSwitch()
394 assertDisplayWhitelist(CURRENT_USER, new int[] {mDisplay4.getDisplayId()}); in testAssignProfileUserSwitch()
395 assertDisplayWhitelist(PROFILE_USER2, new int[] {mDisplay2.getDisplayId()}); in testAssignProfileUserSwitch()
408 assertDisplayWhitelist(CURRENT_USER, new int[] {mDisplay4.getDisplayId()}); in testAssignProfileFollowedByUserSwitch()
[all …]
DSystemActivityMonitoringServiceTest.java139 startActivity(activityB, virtualDisplay.getDisplay().getDisplayId()); in testGetTopTasksOnMultiDisplay()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java132 int displayId = presentation.getDisplay().getDisplayId(); in setupListeners()
148 R.string.presentation_alert_info_text, display.getDisplayId())) in setupListeners()
206 final int displayId = display.getDisplayId(); in showPresentation()
225 final int displayId = display.getDisplayId(); in hidePresentation()
265 final int displayId = display.getDisplayId(); in getView()
280 if (displayId == mCurrentDisplay.getDisplayId()) { in getView()
331 int displayId = display.getDisplayId(); in onCreate()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsManager.java105 registerListener(listener, getDisplayId()); in registerListener()
185 return getCurrentCarUxRestrictions(getDisplayId()); in getCurrentCarUxRestrictions()
371 private int getDisplayId() { in getDisplayId() method in CarUxRestrictionsManager
376 mDisplayId = getContext().getDisplayId(); in getDisplayId()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterDisplayProvider.java78 clusterDisplay.getName(), clusterDisplay.getDisplayId(), in checkClusterDisplayAdded()
80 mClusterDisplayId = clusterDisplay.getDisplayId(); in checkClusterDisplayAdded()
81 mListener.onDisplayAdded(clusterDisplay.getDisplayId()); in checkClusterDisplayAdded()
DNavigationFragment.java199 ? mVirtualDisplay.getDisplay().getDisplayId() : Display.INVALID_DISPLAY; in getVirtualDisplayId()
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java141 b.append(display.getDisplayId()); in toString()
450 displayIds[i] = config.displayInfos.get(i).display.getDisplayId(); in getAllDisplaysForOccupantZone()
465 return config.displayInfos.get(i).display.getDisplayId(); in getDisplayForOccupant()
714 displays.add(config.displayInfos.get(i).display.getDisplayId()); in getAllActivePassengerDisplaysLocked()
779 displays.add(config.displayInfos.get(i).display.getDisplayId()); in createDisplayWhitelistsLocked()
1036 "Display id:" + display.getDisplayId() + " port:" + portAddress in handleActiveDisplaysLocked()
1040 if (display.getDisplayId() == Display.DEFAULT_DISPLAY) { in handleActiveDisplaysLocked()
DCarUxRestrictionsManagerService.java917 if (display.getDisplayId() == Display.DEFAULT_DISPLAY && display.getAddress() == null) { in initPhysicalPort()
930 "Display %d uses port %d", display.getDisplayId(), in initPhysicalPort()
/packages/services/Car/car-lib/src/android/car/app/
DCarActivityView.java96 mUxRestrictionsManager, mVirtualDisplayId, mContext.getDisplayId()); in onActivityViewReady()
159 mUxRestrictionsManager, mVirtualDisplayId, mContext.getDisplayId()); in onAttachedToWindow()
/packages/services/Car/service/src/com/android/car/pm/
DActivityBlockingActivity.java191 int displayId = getDisplayId(); in setupGLSurface()
199 boolean shouldRenderBlurred = getDisplayId() == Display.DEFAULT_DISPLAY; in setupGLSurface()
278 if (stackInfo.displayId != getDisplayId()) { in isTopActivityBehindAbaDistractionOptimized()
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DLauncherActivity.java240 final int currentDisplayId = view.getDisplay().getDisplayId(); in refreshDisplayPicker()
247 final int id = display.getDisplayId(); in refreshDisplayPicker()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java347 updateDisplay(primaryDisplay.getDisplayId()); in getSystemService()
861 int displayId = window.getDisplayId(); in handleRotateEvent()
1053 int displayId = window.getDisplayId(); in injectScrollEvent()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentsAnimationDeviceState.java326 if (info.id != getDisplayId() || flags == CHANGE_FRAME_DELAY) { in onDisplayInfoChanged()
393 public int getDisplayId() { in getDisplayId() method in RecentsAnimationDeviceState
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DProfileUserFragment.java164 zoneStatebuilder.append(display.getDisplayId()); in updateTextInfo()
461 int displayId = disp.getDisplayId(); in getDisplays()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java350 int virtualDisplayId = virtualDisplay.getDisplay().getDisplayId(); in testGetCurrentUxRestrictions_UnreportedVirtualDisplay_UseDefaultDisplayRestriction()
441 when(display.getDisplayId()).thenReturn(displayId); in mockDisplay()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DCarLauncher.java112 if (displayId != getDisplay().getDisplayId()) {
DAppLauncherUtils.java84 options.setLaunchDisplayId(context.getDisplayId()); in launchApp()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperConnection.java124 int displayId = root.getDisplay().getDisplayId(); in onServiceConnected()
/packages/apps/Settings/src/com/android/settings/accessibility/
DLaunchAccessibilityActivityPreferenceFragment.java61 launchShortcutTargetActivity(getPrefContext().getDisplayId(), mComponentName); in onPreferenceToggled()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarActivityViewDisplayIdTestBase.java80 return display.getDisplayId(); in waitForActivityViewDisplayReady()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDefaultDisplay.java158 id = display.getDisplayId(); in Info()
/packages/services/Car/tests/SecondaryHomeApp/src/com/android/car/secondaryhome/launcher/
DAppFragment.java100 mHomeDisplayId = mActivity.getWindowManager().getDefaultDisplay().getDisplayId(); in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java608 mCurDisplayId = wm.getDefaultDisplay().getDisplayId(); in onCreate()
805 final int newDisplayId = wm.getDefaultDisplay().getDisplayId(); in onInitializeInterface()
1820 .getDefaultDisplay().getDisplayId(); in startActivityOnTheSameDisplay()
/packages/services/Car/car-lib/src/android/car/
DCarOccupantZoneManager.java386 return mService.getDisplayType(display.getDisplayId()); in getDisplayType()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskShortcutFactory.java222 act.getDisplayId());

12