Home
last modified time | relevance | path

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

1234

/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/tests/wmtests/src/com/android/server/wm/
DRootActivityContainerTests.java92 mFullscreenStack = mRootActivityContainer.getDefaultDisplay().createStack( in setUp()
102 ((TestActivityDisplay) mRootActivityContainer.getDefaultDisplay()).removeAllTasks(); in testRestoringInvalidTask()
166 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testApplySleepTokens()
222 final ActivityDisplay defaultDisplay = mRootActivityContainer.getDefaultDisplay(); in testRemovingStackOnAppCrash()
224 final ActivityStack stack = mRootActivityContainer.getDefaultDisplay().createStack( in testRemovingStackOnAppCrash()
241 final ActivityStack stack = mRootActivityContainer.getDefaultDisplay().createStack( in testFocusability()
256 final ActivityStack pinnedStack = mRootActivityContainer.getDefaultDisplay().createStack( in testFocusability()
286 final ActivityStack primaryStack = mRootActivityContainer.getDefaultDisplay() in testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary()
313 final ActivityStack primaryStack = mRootActivityContainer.getDefaultDisplay() in testResizeDockedStackForSplitScreenPrimary()
332 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testFindTaskToMoveToFrontWhenRecentsOnTop()
[all …]
DActivityDisplayTests.java69 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testLastFocusedStackIsUpdatedWhenMovingStack()
91 final ActivityStack pinnedStack = mRootActivityContainer.getDefaultDisplay().createStack( in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists()
104 mRootActivityContainer.getDefaultDisplay()); in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists()
183 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testTopRunningActivity()
233 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testAlwaysOnTopStackLocation()
298 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in removeStackTests()
347 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testHandleActivitySizeCompatMode()
DRecentsAnimationTest.java88 ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testRecentsActivityVisiblility()
141 ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testPreloadRecentsActivity()
170 ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testRestartRecentsActivity()
202 ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testSetLaunchTaskBehindOfTargetActivity()
242 ActivityDisplay display = mService.mRootActivityContainer.getDefaultDisplay(); in testCancelAnimationOnVisibleStackOrderChange()
288 ActivityDisplay display = mService.mRootActivityContainer.getDefaultDisplay(); in testKeepAnimationOnHiddenStackOrderChange()
324 ActivityDisplay display = mService.mRootActivityContainer.getDefaultDisplay(); in testMultipleUserHomeActivity_findUserHomeTask()
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardController.java181 mRootActivityContainer.getDefaultDisplay().mDisplayContent in keyguardGoingAway()
323 mRootActivityContainer.getDefaultDisplay().mDisplayContent in handleOccludedChanged()
354 mRootActivityContainer.getDefaultDisplay().mDisplayContent; in handleDismissKeyguard()
378 mService.mRootActivityContainer.getDefaultDisplay().mDisplayContent; in resolveOccludeTransit()
406 mRootActivityContainer.getDefaultDisplay().getSplitScreenPrimaryStack(); in dismissDockedStackIfNeeded()
DRecentsAnimation.java84 mDefaultDisplay = mService.mRootActivityContainer.getDefaultDisplay(); in RecentsAnimation()
163 mService.mRootActivityContainer.getDefaultDisplay().mDisplayContent; in startRecentsActivity()
421 mService.mRootActivityContainer.getDefaultDisplay().mDisplayContent; in onStackOrderChanged()
/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()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java239 Display display = wm.getDefaultDisplay(); in onCreate()
241 Mode currentMode = getWindowManager().getDefaultDisplay().getMode(); in onCreate()
261 Mode currentMode = getWindowManager().getDefaultDisplay().getMode(); in onCreateOptionsMenu()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodManagerTest.java48 testContext.createDisplayContext(wm.getDefaultDisplay()); in testPrivateApiGetInstance()
/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/core/tests/coretests/src/android/view/
DBigCache.java41 final Display display = getWindowManager().getDefaultDisplay(); in onCreate()
DScaleGestureDetectorTest.java61 wm.getDefaultDisplay().getMetrics(dm); in testScaleGestureDetector()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java46 public Display getDefaultDisplay() { in getDefaultDisplay() method in WindowManagerImpl
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java75 Display associatedDisplay = wm.getDefaultDisplay(); in assertDecorContextDisplay()
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java84 Context.WINDOW_SERVICE)).getDefaultDisplay().getRotation(); in updateOrientation()
/frameworks/base/core/tests/coretests/src/android/view/menu/
DContextMenuTest.java87 final Display display = windowManager.getDefaultDisplay(); in getMinScreenDimension()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java57 testContext.createDisplayContext(wm.getDefaultDisplay()); in testDisplayIdForDefaultDisplayContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java49 .getDefaultDisplay().getMetrics(metrics); in TunablePadding()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfInternalSelectionViews.java116 getWindowManager().getDefaultDisplay().getSize(size); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DAdjacentListsWithAdjacentISVsInside.java68 final int desiredHeight = (int) (0.8 * getWindowManager().getDefaultDisplay().getHeight()); in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarFragmentTest.java152 Display defaultDisplay = mContext.getSystemService(WindowManager.class).getDefaultDisplay(); in setupSysuiDependency()
153 when(windowManager.getDefaultDisplay()).thenReturn( in setupSysuiDependency()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java50 public Display getDefaultDisplay() { in getDefaultDisplay() method in ShellUiAutomatorBridge

1234