Home
last modified time | relevance | path

Searched refs:getDisplay (Results 1 – 21 of 21) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionService.java53 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/
DDisplayTest.java51 final Display origDisplay = mActivity.getDisplay(); in testRotation()
61 final Display updatedDisplay = mActivity.getDisplay(); in testRotation()
/cts/tests/app/app/src/android/app/stubs/
DDisplayTestActivity.java36 public Display getDisplay() { in getDisplay() method in DisplayTestActivity
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java180 int height = getDisplay().getHeight() / 2; in testAccessHeight()
184 height = getDisplay().getHeight(); in testAccessHeight()
191 height = getDisplay().getHeight() * 2; in testAccessHeight()
195 height = -getDisplay().getHeight() / 2; in testAccessHeight()
209 private Display getDisplay() { in getDisplay() method in ListPopupWindowTest
222 int width = getDisplay().getWidth() / 2; in testAccessWidth()
226 width = getDisplay().getWidth(); in testAccessWidth()
233 width = getDisplay().getWidth() * 2; in testAccessWidth()
237 width = - getDisplay().getWidth() / 2; in testAccessWidth()
265 getDisplay().getWidth() - mPopupWindow.getWidth() + listViewInWindowXY[0]; in verifyAnchoring()
DPopupWindowTest.java275 int height = getDisplay().getHeight() / 2; in testAccessHeight()
279 height = getDisplay().getHeight(); in testAccessHeight()
286 height = getDisplay().getHeight() * 2; in testAccessHeight()
290 height = -getDisplay().getHeight() / 2; in testAccessHeight()
300 private Display getDisplay() { in getDisplay() method in PopupWindowTest
310 int width = getDisplay().getWidth() / 2; in testAccessWidth()
314 width = getDisplay().getWidth(); in testAccessWidth()
321 width = getDisplay().getWidth() * 2; in testAccessWidth()
325 width = - getDisplay().getWidth() / 2; in testAccessWidth()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java124 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplay()
149 Display display = virtualDisplay.getDisplay(); in testPrivatePresentationVirtualDisplay()
173 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplayWithDynamicSurface()
DDisplayTest.java176 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testDefaultDisplayHdrCapability()
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/
DActivityManagerFreeformStackTests.java81 assertEquals(mAmWmState.getWmState().getDisplay(stack.mDisplayId).getDisplayRect(), in testNonResizeableActivityHasFullDisplayBounds()
DActivityManagerManifestLayoutTests.java168 mDisplay = mAmWmState.getWmState().getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState()
DActivityManagerAppConfigurationTests.java275 mAmWmState.getWmState().getDisplay(stack.mDisplayId); in testDialogWhenLargeSplitSmall()
558 .getDisplay(windowState.getDisplayId());
DActivityManagerPinnedStackTests.java221 WindowManagerState.Display display = wmState.getDisplay(windowState.getDisplayId()); in testPinnedStackOutOfBoundsInsetsNonNegative()
1128 final WindowManagerState.Display display = mAmWmState.getWmState().getDisplay( in assertPinnedStackActivityIsInDisplayBounds()
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/
DActivityAndWindowManagersState.java565 final Display display = getWmState().getDisplay(DEFAULT_DISPLAY_ID); in assertDeviceDefaultDisplaySize()
689 final Rectangle displayRect = mWmState.getDisplay(aStack.mDisplayId) in assertValidBounds()
797 return dpToPx(DEFAULT_RESIZABLE_TASK_SIZE_DP, mWmState.getDisplay(displayId).getDpi()); in defaultMinimalTaskSize()
801 return dpToPx(DEFAULT_PIP_RESIZABLE_TASK_SIZE_DP, mWmState.getDisplay(displayId).getDpi()); in defaultMinimalPinnedTaskSize()
DWindowManagerState.java431 Display getDisplay(int displayId) { in getDisplay() method in WindowManagerState
/cts/tests/tests/media/src/android/media/cts/
DRemoteVirtualDisplayService.java148 mVirtualDisplay.getDisplay()); in createPresentation()
DEncodeVirtualDisplayTest.java248 new ColorSlideShow(virtualDisplay.getDisplay()).start(); in encodeVirtualDisplayTest()
DEncodeVirtualDisplayWithCompositionTest.java1131 return new TestPresentation(mContext, mVirtualDisplay.getDisplay()); in doCreatePresentation()
1274 return new TopWindowPresentation(mNumWindows, mContext, mVirtualDisplay.getDisplay()); in doCreatePresentation()
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/
DVirtualDisplayActivity.java185 final int displayId = virtualDisplay.getDisplay().getDisplayId(); in surfaceCreated()
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/
DMainInteractionSession.java119 Display d = mContentView.getDisplay(); in onShow()
/cts/tests/tests/view/src/android/view/cts/surfacevalidator/
DCapturedActivity.java191 Display display = getWindow().getDecorView().getDisplay(); in runTest()
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java728 mPresentation = new ProjectedPresentation(mActivity, mVirtualDisplay.getDisplay()); in createPresentation()
DViewTest.java3411 Display d = dm.getDisplay(Display.DEFAULT_DISPLAY); in testGetWindowVisibleDisplayFrame()