Home
last modified time | relevance | path

Searched refs:mDisplay (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/evs/sampleDriver/
DGlWrapper.cpp239 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize()
240 if (mDisplay == EGL_NO_DISPLAY) { in initialize()
247 if (!eglInitialize(mDisplay, &major, &minor)) { in initialize()
265 eglChooseConfig(mDisplay, config_attribs, &egl_config, 1, &numConfigs); in initialize()
272 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mFlingerSurface.get(), nullptr); in initialize()
282 mContext = eglCreateContext(mDisplay, egl_config, EGL_NO_CONTEXT, context_attribs); in initialize()
290 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize()
324 eglDestroyImageKHR(mDisplay, mKHRimage); in shutdown()
329 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in shutdown()
330 eglDestroySurface(mDisplay, mSurface); in shutdown()
[all …]
DGlWrapper.h59 EGLDisplay mDisplay; variable
/packages/services/Car/evs/app/
DVideoTex.cpp44 , mDisplay(glDisplay) { in VideoTex()
57 eglDestroyImageKHR(mDisplay, mKHRimage); in ~VideoTex()
74 eglDestroyImageKHR(mDisplay, mKHRimage); in refresh()
103 mKHRimage = eglCreateImageKHR(mDisplay, EGL_NO_CONTEXT, in refresh()
DEvsStateControl.cpp48 mDisplay(pDisplay), in EvsStateControl()
180 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { in updateLoop()
195 mDisplay->returnTargetBufferForDisplay(tgtBuffer); in updateLoop()
346 mDisplay->setDisplayState(DisplayState::NOT_VISIBLE); in configureEvsPipeline()
359 Return<EvsResult> result = mDisplay->setDisplayState(DisplayState::VISIBLE_ON_NEXT_FRAME); in configureEvsPipeline()
DVideoTex.h57 EGLDisplay mDisplay; variable
DEvsStateControl.h88 sp<IEvsDisplay> mDisplay; variable
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DColorModePreference.java36 private Display mDisplay; field in ColorModePreference
77 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in updateCurrentAndSupported()
96 int currentColorMode = mDisplay.getColorMode(); in updateCurrentAndSupported()
113 mDisplay.requestColorMode(desc.colorMode); in persistBoolean()
/packages/apps/Settings/src/com/android/settings/development/
DColorModePreference.java37 private Display mDisplay; field in ColorModePreference
99 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in updateCurrentAndSupported()
103 int currentColorMode = mDisplay.getColorMode(); in updateCurrentAndSupported()
120 mDisplay.requestColorMode(desc.colorMode); in persistBoolean()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DColorModePreference.java37 private Display mDisplay; field in ColorModePreference
99 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in updateCurrentAndSupported()
103 int currentColorMode = mDisplay.getColorMode(); in updateCurrentAndSupported()
120 mDisplay.requestColorMode(desc.colorMode); in persistBoolean()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java55 private Display mDisplay; field in EyePosition
78 mDisplay = wManager.getDefaultDisplay(); in EyePosition()
117 switch (mDisplay.getRotation()) { in onAccelerometerChanged()
166 switch (mDisplay.getRotation()) { in onGyroscopeChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wfd/
DWifiDisplaySettings.java705 private final WifiDisplay mDisplay; field in WifiDisplaySettings.WifiDisplayRoutePreference
711 mDisplay = display; in WifiDisplayRoutePreference()
734 showWifiDisplayOptionsDialog(mDisplay); in onClick()
740 private final WifiDisplay mDisplay; field in WifiDisplaySettings.UnpairedWifiDisplayPreference
745 mDisplay = display; in UnpairedWifiDisplayPreference()
760 pairWifiDisplay(mDisplay); in onPreferenceClick()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java706 private final WifiDisplay mDisplay; field in WifiDisplaySettings.WifiDisplayRoutePreference
712 mDisplay = display; in WifiDisplayRoutePreference()
735 showWifiDisplayOptionsDialog(mDisplay); in onClick()
741 private final WifiDisplay mDisplay; field in WifiDisplaySettings.UnpairedWifiDisplayPreference
746 mDisplay = display; in UnpairedWifiDisplayPreference()
761 pairWifiDisplay(mDisplay); in onPreferenceClick()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java142 final Display mDisplay; field in SendUi
214 mDisplay = mWindowManager.getDefaultDisplay(); in SendUi()
364 mDisplay.getRealMetrics(mDisplayMetrics); in showPreSend()
611 mDisplay.getRealMetrics(mDisplayMetrics); in createScreenshot()
616 int rot = mDisplay.getRotation(); in createScreenshot()