Home
last modified time | relevance | path

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

12

/packages/services/Car/cpp/evs/sampleDriver/
DGlWrapper.cpp235 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize()
236 if (mDisplay == EGL_NO_DISPLAY) { in initialize()
243 if (!eglInitialize(mDisplay, &major, &minor)) { in initialize()
261 eglChooseConfig(mDisplay, config_attribs, &egl_config, 1, &numConfigs); in initialize()
268 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mWindow, nullptr); in initialize()
278 mContext = eglCreateContext(mDisplay, egl_config, EGL_NO_CONTEXT, context_attribs); in initialize()
286 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize()
320 eglDestroyImageKHR(mDisplay, mKHRimage); in shutdown()
325 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in shutdown()
326 eglDestroySurface(mDisplay, mSurface); in shutdown()
[all …]
DGlWrapper.h61 EGLDisplay mDisplay; variable
/packages/services/Car/cpp/evs/support_library/
DResourceManager.cpp122 if (mDisplay.get() == nullptr) { in openDisplay()
123 mDisplay = getEvsEnumerator()->openDisplay(); in openDisplay()
124 if (mDisplay.get() != nullptr) { in openDisplay()
131 return mDisplay; in openDisplay()
144 if (mDisplay.get() == pDisplay.get()) { in closeDisplay()
145 getEvsEnumerator()->closeDisplay(mDisplay); in closeDisplay()
146 mDisplay = nullptr; in closeDisplay()
157 return mDisplay.get() != nullptr; in isDisplayOpened()
DDisplayUseCase.cpp75 mDisplay = mResourceManager->openDisplay(); in initialize()
76 if (mDisplay.get() == nullptr) { in initialize()
141 Return<EvsResult> result = mDisplay->setDisplayState(DisplayState::VISIBLE_ON_NEXT_FRAME); in startVideoStream()
182 mResourceManager->closeDisplay(mDisplay); in stopVideoStream()
183 mDisplay = nullptr; in stopVideoStream()
201 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { tgtBuffer = buff; }); in streamFrame()
241 mDisplay->returnTargetBufferForDisplay(tgtBuffer); in streamFrame()
DVideoTex.cpp45 , mDisplay(glDisplay) { in VideoTex()
52 eglDestroyImageKHR(mDisplay, mKHRimage); in ~VideoTex()
67 eglDestroyImageKHR(mDisplay, mKHRimage); in refresh()
88 mKHRimage = eglCreateImageKHR(mDisplay, EGL_NO_CONTEXT, in refresh()
DVideoTex.h50 EGLDisplay mDisplay;
DDisplayUseCase.h64 sp<IEvsDisplay> mDisplay; variable
DResourceManager.h136 sp<IEvsDisplay> mDisplay; variable
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastChannelManagerTest.java77 assertFalse(list.get(0).mDisplay); in testGetCellBroadcastChannelRanges()
87 assertTrue(list.get(1).mDisplay); in testGetCellBroadcastChannelRanges()
98 assertTrue(list.get(2).mDisplay); in testGetCellBroadcastChannelRanges()
109 assertTrue(list.get(3).mDisplay); in testGetCellBroadcastChannelRanges()
119 assertTrue(list.get(4).mDisplay); in testGetCellBroadcastChannelRanges()
129 assertTrue(list.get(5).mDisplay); in testGetCellBroadcastChannelRanges()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java126 protected final int mDisplay; field in BubbleTextView
176 mDisplay = a.getInteger(R.styleable.BubbleTextView_iconDisplay, DISPLAY_WORKSPACE); in BubbleTextView()
178 if (mDisplay == DISPLAY_WORKSPACE) { in BubbleTextView()
183 } else if (mDisplay == DISPLAY_ALL_APPS) { in BubbleTextView()
187 } else if (mDisplay == DISPLAY_FOLDER) { in BubbleTextView()
191 } else if (mDisplay == DISPLAY_SEARCH_RESULT) { in BubbleTextView()
193 } else if (mDisplay == DISPLAY_SEARCH_RESULT_SMALL) { in BubbleTextView()
196 } else if (mDisplay == DISPLAY_TASKBAR) { in BubbleTextView()
324 boolean useTheme = mDisplay == DISPLAY_WORKSPACE || mDisplay == DISPLAY_FOLDER; in applyIconAndLabel()
650 if (mDisplay == DISPLAY_ALL_APPS) { in applyDotState()
[all …]
/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/cpp/evs/apps/default/
DVideoTex.cpp46 , mDisplay(glDisplay) { in VideoTex()
59 eglDestroyImageKHR(mDisplay, mKHRimage); in ~VideoTex()
76 eglDestroyImageKHR(mDisplay, mKHRimage); in refresh()
109 mKHRimage = eglCreateImageKHR(mDisplay, EGL_NO_CONTEXT, in refresh()
DEvsStateControl.cpp51 mDisplay(pDisplay), in EvsStateControl()
180 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc_1_0& buff) { in updateLoop()
196 mDisplay->returnTargetBufferForDisplay(tgtBuffer); in updateLoop()
366 mDisplay->setDisplayState(EvsDisplayState::NOT_VISIBLE); in configureEvsPipeline()
381 … Return<EvsResult> result = mDisplay->setDisplayState(EvsDisplayState::VISIBLE_ON_NEXT_FRAME); in configureEvsPipeline()
DVideoTex.h62 EGLDisplay mDisplay; variable
DEvsStateControl.h93 sp<IEvsDisplay> mDisplay; variable
/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/apps/Settings/tests/robotests/src/com/android/settings/display/
DBrightnessLevelPreferenceControllerTest.java64 private Display mDisplay; field in BrightnessLevelPreferenceControllerTest
92 when(mContext.getDisplay()).thenReturn(mDisplay); in setUp()
154 when(mDisplay.getBrightnessInfo()).thenReturn( in updateState_autoBrightness_shouldSetSummaryToAutoBrightness()
168 when(mDisplay.getBrightnessInfo()).thenReturn( in updateState_manualBrightness_shouldSetSummaryToScreenBrightness()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DPreviewSurfaceRenderer.java80 private final Display mDisplay; field in PreviewSurfaceRenderer
102 mDisplay = context.getSystemService(DisplayManager.class) in PreviewSurfaceRenderer()
106 .submit(() -> new SurfaceControlViewHost(mContext, mDisplay, mHostToken)) in PreviewSurfaceRenderer()
142 Context context = mContext.createDisplayContext(mDisplay); in loadModelData()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManager.java138 public boolean mDisplay; field in CellBroadcastChannelManager.CellBroadcastChannelRange
169 mDisplay = true; in CellBroadcastChannelRange()
238 mDisplay = false; in CellBroadcastChannelRange()
297 + ",display=" + mDisplay + ",testMode=" + mTestMode + ",mAlwaysOn=" in toString()
/packages/services/Car/service/jni/evs/
DEvsServiceContext.cpp187 mDisplay = mService->openDisplay_1_1(EvsServiceContext::kExclusiveMainDisplayId); in acquireCameraAndDisplay()
188 if (!mDisplay) { in acquireCameraAndDisplay()
196 auto ret = mCamera->forceMaster(mDisplay); in acquireCameraAndDisplay()
DEvsServiceContext.h141 sp<hardware::automotive::evs::V1_1::IEvsDisplay> mDisplay; variable
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java707 private final WifiDisplay mDisplay; field in WifiDisplaySettings.WifiDisplayRoutePreference
717 mDisplay = display; in WifiDisplayRoutePreference()
739 showWifiDisplayOptionsDialog(mDisplay); in onClick()
745 private final WifiDisplay mDisplay; field in WifiDisplaySettings.UnpairedWifiDisplayPreference
750 mDisplay = display; in UnpairedWifiDisplayPreference()
765 pairWifiDisplay(mDisplay); in onPreferenceClick()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java141 final Display mDisplay; field in SendUi
213 mDisplay = mWindowManager.getDefaultDisplay(); in SendUi()
363 mDisplay.getRealMetrics(mDisplayMetrics); in showPreSend()
610 mDisplay.getRealMetrics(mDisplayMetrics); in createScreenshot()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DPredictedAppIcon.java164 if (mDisplay != DISPLAY_TASKBAR) { in getOutlineOffsetY()

12