Home
last modified time | relevance | path

Searched refs:getDefaultDisplay (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
DInstrumentationUiAutomatorBridge.java39 public Display getDefaultDisplay() { in getDefaultDisplay() method in InstrumentationUiAutomatorBridge
42 return windowManager.getDefaultDisplay(); in getDefaultDisplay()
47 return getDefaultDisplay().getRotation(); in getRotation()
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardController.java190 mRootWindowContainer.getDefaultDisplay().mDisplayContent in keyguardGoingAway()
314 mRootWindowContainer.getDefaultDisplay().mDisplayContent in handleOccludedChanged()
345 mRootWindowContainer.getDefaultDisplay().mDisplayContent; in handleDismissKeyguard()
368 final DisplayContent dc = mRootWindowContainer.getDefaultDisplay().mDisplayContent; in resolveOccludeTransit()
496 mOccluded |= mService.mRootWindowContainer.getDefaultDisplay().mDisplayContent in visibilitiesUpdated()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWallpaperControllerTests.java157 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperZoom()
183 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperZoom_shouldNotScaleWallpaper()
213 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperZoom_multipleCallers()
261 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperTokenWindowingMode()
DActivityDisplayTests.java67 mRootWindowContainer.getDefaultDisplay().getDefaultTaskDisplayArea(); in testLastFocusedStackIsUpdatedWhenMovingStack()
102 mRootWindowContainer.getDefaultDisplay()); in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists()
175 final DisplayContent display = mRootWindowContainer.getDefaultDisplay(); in testTopRunningActivity()
DRootActivityContainerTests.java106 mRootWindowContainer.getDefaultDisplay().removeAllTasks(); in testRestoringInvalidTask()
171 final DisplayContent display = mRootWindowContainer.getDefaultDisplay(); in testApplySleepTokens()
229 final DisplayContent display = mRootWindowContainer.getDefaultDisplay(); in testAwakeFromSleepingWithAppConfiguration()
577 assertTrue(mRootWindowContainer.getDefaultDisplay().getTopStack().isActivityTypeHome()); in testStartHomeOnAllDisplays()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java133 Display display = getAutomatorBridge().getDefaultDisplay(); in getDisplaySizeDp()
381 Display display = getAutomatorBridge().getDefaultDisplay(); in getDisplayWidth()
395 Display display = getAutomatorBridge().getDefaultDisplay(); in getDisplayHeight()
768 Display display = getAutomatorBridge().getDefaultDisplay(); in dumpWindowHierarchy()
DUiAutomatorBridge.java140 public abstract Display getDefaultDisplay(); in getDefaultDisplay() method in UiAutomatorBridge
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java242 Display display = wm.getDefaultDisplay(); in onCreate()
244 Mode currentMode = getWindowManager().getDefaultDisplay().getMode(); in onCreate()
264 Mode currentMode = getWindowManager().getDefaultDisplay().getMode(); in onCreateOptionsMenu()
/frameworks/layoutlib/bridge/src/android/view/
DAttachInfo_Accessor.java33 Display display = wm.getDefaultDisplay(); in setAttachInfo()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DSubActivity.java43 int dx = getWindowManager().getDefaultDisplay().getWidth(); in onResume()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabels.java65 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
DRequestRectangleVisible.java50 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java85 Context.WINDOW_SERVICE)).getDefaultDisplay().getRotation(); in updateOrientation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java49 .getDefaultDisplay().getMetrics(metrics); in TunablePadding()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java126 wm.getDefaultDisplay().getRealMetrics(metrics); in prepare()
129 int refereshRate = (int) wm.getDefaultDisplay().getRefreshRate(); in prepare()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java50 public Display getDefaultDisplay() { in getDefaultDisplay() method in ShellUiAutomatorBridge
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
DSidecarHelper.java124 ? activity.getWindowManager().getDefaultDisplay().getDisplayId() : INVALID_DISPLAY; in getWindowDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightsOutNotifController.java92 mDisplayId = mWindowManager.getDefaultDisplay().getDisplayId(); in init()
DFloatingRotationButton.java88 switch (mWindowManager.getDefaultDisplay().getRotation()) { in show()
DShadeControllerImpl.java71 mDisplayId = windowManager.getDefaultDisplay().getDisplayId(); in ShadeControllerImpl()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGetBitmapSurfaceViewActivity.java99 int rotation = activity.getWindowManager().getDefaultDisplay() in setCameraDisplayOrientation()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListTouchBottomGravityManyTest.java149 (int)(mActivity.getWindowManager().getDefaultDisplay().getHeight() * 0.75f)); in testLongScroll()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarFragmentTest.java177 Display defaultDisplay = mContext.getSystemService(WindowManager.class).getDefaultDisplay(); in setupSysuiDependency()
178 when(windowManager.getDefaultDisplay()).thenReturn( in setupSysuiDependency()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java61 public Display getDefaultDisplay() { in getDefaultDisplay() method in WindowManagerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
DTunablePaddingTest.java117 mContext.getSystemService(WindowManager.class).getDefaultDisplay().getMetrics(metrics); in testTuning()

123