Home
last modified time | relevance | path

Searched refs:mDisplay (Results 1 – 4 of 4) 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()
85 mDisplay = manager.createVirtualDisplay(DISPLAY_NAME, width, height, density, in startRendering()
107 if (mDisplay != null) { in stopRendering()
108 mDisplay.release(); in stopRendering()
109 mDisplay = null; in stopRendering()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DManifestLayoutTests.java65 private Display mDisplay; field in ManifestLayoutTests
117 final int minWidth = dpToPx(MIN_WIDTH_DP, mDisplay.getDpi()); in testMinimalSize()
118 final int minHeight = dpToPx(MIN_HEIGHT_DP, mDisplay.getDpi()); in testMinimalSize()
144 final Rect appRect = mDisplay.getAppRect(); in testLayout()
153 final int densityDpi = mDisplay.getDpi(); in testLayout()
183 mDisplay = mAmWmState.getWmState().getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState()
184 assertNotNull("Should be on a display", mDisplay); in getDisplayAndWindowState()
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferGLTest.cpp1140 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext[mWhich]); in MakeCurrent()
1143 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in MakeCurrentNone()
1166 EGLDisplay mDisplay = EGL_NO_DISPLAY; member in android::AHardwareBufferGLTest
1186 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in SetUp()
1187 eglInitialize(mDisplay, NULL, NULL); in SetUp()
1201 eglChooseConfig(mDisplay, config_attrib_list, &first_config, 1, &num_config); in SetUp()
1206 eglChooseConfig(mDisplay, config_attrib_list, &first_config, 1, &num_config); in SetUp()
1216 mContext[0] = eglCreateContext(mDisplay, first_config, EGL_NO_CONTEXT, context_attrib_list); in SetUp()
1221 mContext[0] = eglCreateContext(mDisplay, first_config, EGL_NO_CONTEXT, context_attrib_list); in SetUp()
1223 mContext[1] = eglCreateContext(mDisplay, first_config, EGL_NO_CONTEXT, context_attrib_list); in SetUp()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java525 private Display mDisplay; field in EncodeVirtualDisplayTest.ColorSlideShow
528 mDisplay = display; in ColorSlideShow()
550 presentation[0] = new TestPresentation(getContext(), mDisplay, color); in showPresentation()