/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AspectRatioTestsBase.java | 51 getDisplay(activity).getDisplayId(), in runAspectRatioTest() 81 return getAspectRatio(getDisplay(activity)); in getActivityAspectRatio() 86 getDisplay(activity).getSize(size); in getActivitySize() 90 private static Display getDisplay(Activity activity) { in getDisplay() method in AspectRatioTestsBase 91 return activity.getWindow().peekDecorView().getDisplay(); in getDisplay()
|
D | VirtualDisplayHelper.java | 81 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId() /* default */, in createAndWaitForDisplay() 85 return mVirtualDisplay.getDisplay().getDisplayId(); in createAndWaitForDisplay() 91 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId() /* displayId */, in turnDisplayOff() 99 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId() /* displayId */, in turnDisplayOn() 109 waitForDisplayCondition(mVirtualDisplay.getDisplay().getDisplayId() /* displayId */, in releaseDisplay()
|
D | MultiDisplayActivityLaunchTests.java | 549 final int stackNum = mAmWmState.getAmState().getDisplay(DEFAULT_DISPLAY) in testMoveToDisplayOnLaunch() 552 .getDisplay(newDisplay.mId).mStacks.size(); in testMoveToDisplayOnLaunch() 570 final int stackNumFinal = mAmWmState.getAmState().getDisplay(DEFAULT_DISPLAY) in testMoveToDisplayOnLaunch() 575 .getDisplay(newDisplay.mId).mStacks.size(); in testMoveToDisplayOnLaunch() 597 final int stackNum = mAmWmState.getAmState().getDisplay(DEFAULT_DISPLAY).mStacks.size(); in testMoveToEmptyDisplayOnLaunch() 613 final int stackNumFinal = mAmWmState.getAmState().getDisplay(DEFAULT_DISPLAY) in testMoveToEmptyDisplayOnLaunch() 781 mAmWmState.getAmState().getDisplay(newDisplay.mId).mStacks.size()); in testNewTaskSameDisplay()
|
D | FreeformWindowingModeTests.java | 103 assertEquals(mAmWmState.getWmState().getDisplay(stack.mDisplayId).getDisplayRect(), in testNonResizeableActivityHasFullDisplayBounds() 123 mAmWmState.getWmState().getDisplay(displayId).getDpi(); in testActivityLifeCycleOnResizeFreeformTask()
|
D | MultiDisplayPolicyTests.java | 807 final WindowManagerState.Display display = mAmWmState.getWmState().getDisplay(displayId); in assertTopTaskSameSurfaceSizeWithDisplay() 839 mAmWmState.getWmState().getDisplay(DEFAULT_DISPLAY).getLastTransition()); in testAppTransitionForActivityOnDifferentDisplay() 850 mAmWmState.getWmState().getDisplay(DEFAULT_DISPLAY).getLastTransition()); in testAppTransitionForActivityOnDifferentDisplay() 852 mAmWmState.getWmState().getDisplay(newDisplay.mId).getLastTransition()); in testAppTransitionForActivityOnDifferentDisplay() 868 .getDisplay(newDisplay.mId).getLastTransition(); in testNoTransitionWhenMovingActivityToDisplay() 881 mAmWmState.getWmState().getDisplay(newDisplay.mId).getLastTransition()); in testNoTransitionWhenMovingActivityToDisplay()
|
D | AnimationBackgroundTests.java | 84 final Display display = mAmWmState.getWmState().getDisplay(displayId); in assumeActivityNotInFreeformDisplay()
|
D | MultiDisplayClientTests.java | 124 assertEquals(message, newDisplay.mId, activity.getDisplay().getDisplayId()); in testDisplayIdUpdateOnMove() 213 .getDisplay(newDisplay.mId); in testInputMethodManagerDisplayId()
|
D | WindowFocusTests.java | 107 .getDisplay(displayId) in tapOnCenterOfDisplay() 366 mDisplayId = getWindow().getDecorView().getDisplay().getDisplayId(); in onAttachedToWindow() 511 return mVirtualDisplay.getDisplay(); in createDisplay()
|
D | DisplayCutoutTests.java | 138 a.getDisplay().getCutout(), equalTo(displayCutout)); in testDisplayCutout_shortEdges_portrait() 249 runOnMainSync(() -> activity.getDecorView().getDisplay().getRealSize(displaySize)); in assertOnlyShortEdgeHasInsets() 269 runOnMainSync(() -> activity.getDecorView().getDisplay().getRealSize(displaySize)); in assertOnlyShortEdgeHasBounds()
|
D | WindowInputTests.java | 79 mActivity.getDisplay().getSize(displaySize); in testMoveWindowAndTap()
|
D | DisplaySizeTest.java | 126 final Display targetDisplay = virtualDisplay.getDisplay(); in testSizeRangesAfterSettingDisplaySize()
|
D | DisplayTests.java | 191 final Display display = displayManager.getDisplay(activityDisplay.mId); in getDisplayResourcesConfiguration()
|
D | ManifestLayoutTests.java | 183 mDisplay = mAmWmState.getWmState().getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectionService.java | 53 return new CubePresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 56 return new WidgetPresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 59 return new ListPresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 62 return new VideoPresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 65 return new TouchPresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation() 68 return new OffscreenPresentation(ProjectionService.this, mDisplay.getDisplay()); in createPresentation()
|
/cts/tests/app/src/android/app/cts/ |
D | DisplayTest.java | 58 final Display origDisplay = mActivity.getDisplay(); in testRotation() 80 final Display updatedDisplay = mActivity.getDisplay(); in testRotation()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerState.java | 199 ActivityDisplay getDisplay(int displayId) { in getDisplay() method in ActivityManagerState 209 return getDisplay(displayId).mStacks.get(0).mStackId; in getFrontStackId() 213 return getDisplay(displayId).mStacks.get(0).getActivityType(); in getFrontStackActivityType() 217 return getDisplay(displayId).mStacks.get(0).getWindowingMode(); in getFrontStackWindowingMode() 221 if (!getDisplay(displayId).mStacks.isEmpty()) { in getTopActivityName() 222 final ActivityStack topStack = getDisplay(displayId).mStacks.get(0); in getTopActivityName() 271 return getDisplay(displayId).mResumedActivity; in getResumedActivityOnDisplay()
|
D | ActivityAndWindowManagersState.java | 345 state.getDisplay(displayId).getAppTransitionState()), in waitForAppTransitionIdleOnDisplay() 619 assertEquals(msg, activityComponentName, mWmState.getDisplay(displayId).getFocusedApp()); in assertFocusedAppOnDisplay() 690 final Display display = getWmState().getDisplay(DEFAULT_DISPLAY); in assertDeviceDefaultDisplaySize() 980 final Rect displayRect = mWmState.getDisplay(displayId).getDisplayRect(); in isScreenPortrait() 989 return dpToPx(DEFAULT_RESIZABLE_TASK_SIZE_DP, mWmState.getDisplay(displayId).getDpi()); in defaultMinimalTaskSize() 993 return dpToPx(DEFAULT_PIP_RESIZABLE_TASK_SIZE_DP, mWmState.getDisplay(displayId).getDpi()); in defaultMinimalPinnedTaskSize()
|
D | WindowManagerState.java | 396 Display getDisplay(int displayId) { in getDisplay() method in WindowManagerState 425 return getDisplay(DEFAULT_DISPLAY).getLastTransition(); in getDefaultDisplayLastTransition() 429 return getDisplay(DEFAULT_DISPLAY).getAppTransitionState(); in getDefaultDisplayAppTransitionState() 552 return getDisplay(DEFAULT_DISPLAY).mStableBounds; in getStableBounds()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | DisplayTestActivity.java | 44 public Display getDisplay() { in getDisplay() method in DisplayTestActivity
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListPopupWindowTest.java | 194 int height = getDisplay().getHeight() / 2; in testAccessHeight() 198 height = getDisplay().getHeight(); in testAccessHeight() 205 height = getDisplay().getHeight() * 2; in testAccessHeight() 209 height = -getDisplay().getHeight() / 2; in testAccessHeight() 223 private Display getDisplay() { in getDisplay() method in ListPopupWindowTest 236 int width = getDisplay().getWidth() / 2; in testAccessWidth() 240 width = getDisplay().getWidth(); in testAccessWidth() 247 width = getDisplay().getWidth() * 2; in testAccessWidth() 251 width = - getDisplay().getWidth() / 2; in testAccessWidth() 282 getDisplay().getWidth() - mPopupWindow.getWidth() + listViewInWindowXY[0]; in verifyAnchoring()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 124 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplay() 149 Display display = virtualDisplay.getDisplay(); in testPrivatePresentationVirtualDisplay() 173 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplayWithDynamicSurface()
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | ActivityAndWindowManagersState.java | 547 final Rect displayRect = mWmState.getDisplay(displayId).getDisplayRect(); in isScreenPortrait() 556 return dpToPx(DEFAULT_RESIZABLE_TASK_SIZE_DP, mWmState.getDisplay(displayId).getDpi()); in defaultMinimalTaskSize() 560 return dpToPx(DEFAULT_PIP_RESIZABLE_TASK_SIZE_DP, mWmState.getDisplay(displayId).getDpi()); in defaultMinimalPinnedTaskSize()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsActivity.java | 95 getDisplay().getRealMetrics(mDisplayMetrics); in onCreate() 217 Display display = getDisplay(); in showInfoInTextView()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeLayoutInfo.java | 169 final Display display = v.getDisplay(); in fromLayoutListenerCallback()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RemoteVirtualDisplayService.java | 148 mVirtualDisplay.getDisplay()); in createPresentation()
|