Home
last modified time | relevance | path

Searched refs:getDisplay (Results 1 – 13 of 13) 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/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java147 int height = getDisplay().getHeight() / 2; in testAccessHeight()
151 height = getDisplay().getHeight(); in testAccessHeight()
158 height = getDisplay().getHeight() * 2; in testAccessHeight()
162 height = -getDisplay().getHeight() / 2; in testAccessHeight()
172 private Display getDisplay() { in getDisplay() method in ListPopupWindowTest
183 int width = getDisplay().getWidth() / 2; in testAccessWidth()
187 width = getDisplay().getWidth(); in testAccessWidth()
194 width = getDisplay().getWidth() * 2; in testAccessWidth()
198 width = - getDisplay().getWidth() / 2; in testAccessWidth()
DPopupWindowTest.java246 int height = getDisplay().getHeight() / 2; in testAccessHeight()
250 height = getDisplay().getHeight(); in testAccessHeight()
257 height = getDisplay().getHeight() * 2; in testAccessHeight()
261 height = -getDisplay().getHeight() / 2; in testAccessHeight()
271 private Display getDisplay() { in getDisplay() method in PopupWindowTest
280 int width = getDisplay().getWidth() / 2; in testAccessWidth()
284 width = getDisplay().getWidth(); in testAccessWidth()
291 width = getDisplay().getWidth() * 2; in testAccessWidth()
295 width = - getDisplay().getWidth() / 2; in testAccessWidth()
661 int avaliable = getDisplay().getHeight() - anchorView.getHeight(); in testGetMaxAvailableHeight()
[all …]
/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.java166 Display display = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testDefaultDisplayHdrCapability()
/cts/tests/tests/media/src/android/media/cts/
DRemoteVirtualDisplayService.java148 mVirtualDisplay.getDisplay()); in createPresentation()
DEncodeVirtualDisplayTest.java244 new ColorSlideShow(virtualDisplay.getDisplay()).start(); in encodeVirtualDisplayTest()
DEncodeVirtualDisplayWithCompositionTest.java1120 return new TestPresentation(mContext, mVirtualDisplay.getDisplay()); in doCreatePresentation()
1263 return new TopWindowPresentation(mNumWindows, mContext, mVirtualDisplay.getDisplay()); in doCreatePresentation()
/cts/hostsidetests/services/activitymanager/src/android/server/cts/
DActivityManagerManifestLayoutTests.java162 mDisplay = mAmWmState.getWmState().getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState()
DActivityAndWindowManagersState.java498 return dpToPx(DEFAULT_RESIZABLE_TASK_SIZE_DP, mWmState.getDisplay(displayId).getDpi()); in defaultMinimalTaskSize()
DWindowManagerState.java215 Display getDisplay(int displayId) { in getDisplay() method in WindowManagerState
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/
DMainInteractionSession.java109 Display d = mContentView.getDisplay(); in onShow()
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java803 context, mVirtualDisplay.getDisplay()); in createPresentation()