/packages/services/Car/cpp/evs/sampleDriver/aidl/src/ |
D | GlWrapper.cpp | 229 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize() 230 if (mDisplay == EGL_NO_DISPLAY) { in initialize() 237 if (!eglInitialize(mDisplay, &major, &minor)) { in initialize() 256 eglChooseConfig(mDisplay, config_attribs, &egl_config, 1, &numConfigs); in initialize() 263 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mWindow, nullptr); in initialize() 273 mContext = eglCreateContext(mDisplay, egl_config, EGL_NO_CONTEXT, context_attribs); in initialize() 280 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize() 311 eglDestroyImageKHR(mDisplay, mKHRimage); in shutdown() 317 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in shutdown() 319 eglDestroySurface(mDisplay, mSurface); in shutdown() [all …]
|
/packages/services/Car/cpp/evs/sampleDriver/hidl/ |
D | GlWrapper.cpp | 218 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize() 219 if (mDisplay == EGL_NO_DISPLAY) { in initialize() 226 if (!eglInitialize(mDisplay, &major, &minor)) { in initialize() 238 eglChooseConfig(mDisplay, config_attribs, &egl_config, 1, &numConfigs); in initialize() 245 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mWindow, nullptr); in initialize() 255 mContext = eglCreateContext(mDisplay, egl_config, EGL_NO_CONTEXT, context_attribs); in initialize() 262 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize() 293 eglDestroyImageKHR(mDisplay, mKHRimage); in shutdown() 298 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in shutdown() 299 eglDestroySurface(mDisplay, mSurface); in shutdown() [all …]
|
/packages/services/Car/cpp/evs/support_library/ |
D | ResourceManager.cpp | 120 if (mDisplay.get() == nullptr) { in openDisplay() 121 mDisplay = getEvsEnumerator()->openDisplay(); in openDisplay() 122 if (mDisplay.get() != nullptr) { in openDisplay() 129 return mDisplay; in openDisplay() 142 if (mDisplay.get() == pDisplay.get()) { in closeDisplay() 143 getEvsEnumerator()->closeDisplay(mDisplay); in closeDisplay() 144 mDisplay = nullptr; in closeDisplay() 155 return mDisplay.get() != nullptr; in isDisplayOpened()
|
D | DisplayUseCase.cpp | 78 mDisplay = mResourceManager->openDisplay(); in initialize() 79 if (mDisplay.get() == nullptr) { in initialize() 143 Return<EvsResult> result = mDisplay->setDisplayState(DisplayState::VISIBLE_ON_NEXT_FRAME); in startVideoStream() 184 mResourceManager->closeDisplay(mDisplay); in stopVideoStream() 185 mDisplay = nullptr; in stopVideoStream() 203 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { tgtBuffer = buff; }); in streamFrame() 243 mDisplay->returnTargetBufferForDisplay(tgtBuffer); in streamFrame()
|
D | VideoTex.cpp | 44 VideoTex::VideoTex(EGLDisplay glDisplay) : TexWrapper(), mDisplay(glDisplay) { in VideoTex() 51 eglDestroyImageKHR(mDisplay, mKHRimage); in ~VideoTex() 65 eglDestroyImageKHR(mDisplay, mKHRimage); in refresh() 85 mKHRimage = eglCreateImageKHR(mDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, clientBuf, in refresh()
|
D | VideoTex.h | 48 EGLDisplay mDisplay;
|
D | DisplayUseCase.h | 63 sp<IEvsDisplay> mDisplay; variable
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | DisplayCompat.java | 20 private final Display mDisplay; field in DisplayCompat 23 this.mDisplay = display; in DisplayCompat() 27 return mDisplay.getReportedHdrTypes(); in getReportedHdrTypes() 31 return mDisplay.getColorMode(); in getColorMode() 35 mDisplay.requestColorMode(colorMode); in requestColorMode()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systeminterface/ |
D | DisplayInterfaceTest.java | 76 private Display mDisplay; field in DisplayInterfaceTest 92 when(mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY)).thenReturn(mDisplay); in setUp() 93 when(mDisplayManager.getDisplays()).thenReturn(new Display[]{mDisplay}); in setUp() 98 when(mDisplayManager.getDisplay(anyInt())).thenReturn(mDisplay); in testStartDisplayStateMonitoring_perDisplayBrightnessSupported() 99 when(mDisplay.getState()).thenReturn(Display.STATE_ON); in testStartDisplayStateMonitoring_perDisplayBrightnessSupported() 111 when(mDisplayManager.getDisplay(anyInt())).thenReturn(mDisplay); in testStartDisplayStateMonitoring_perDisplayBrightnessNotSupported() 112 when(mDisplay.getState()).thenReturn(Display.STATE_ON); in testStartDisplayStateMonitoring_perDisplayBrightnessNotSupported()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 156 protected int mDisplay; field in BubbleTextView 236 mDisplay = a.getInteger(R.styleable.BubbleTextView_iconDisplay, DISPLAY_WORKSPACE); in BubbleTextView() 238 if (mDisplay == DISPLAY_WORKSPACE) { in BubbleTextView() 243 } else if (mDisplay == DISPLAY_ALL_APPS || mDisplay == DISPLAY_PREDICTION_ROW in BubbleTextView() 244 || mDisplay == DISPLAY_SEARCH_RESULT_APP_ROW) { in BubbleTextView() 248 } else if (mDisplay == DISPLAY_FOLDER) { in BubbleTextView() 252 } else if (mDisplay == DISPLAY_SEARCH_RESULT) { in BubbleTextView() 255 } else if (mDisplay == DISPLAY_SEARCH_RESULT_SMALL) { in BubbleTextView() 258 } else if (mDisplay == DISPLAY_TASKBAR) { in BubbleTextView() 448 if (mHideBadge || mDisplay == DISPLAY_SEARCH_RESULT_SMALL) { in applyIconAndLabel() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | ColorModePreference.java | 35 private Display mDisplay; field in ColorModePreference 76 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in updateCurrentAndSupported() 95 int currentColorMode = mDisplay.getColorMode(); in updateCurrentAndSupported() 112 mDisplay.requestColorMode(desc.colorMode); in persistBoolean()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | ColorModePreference.java | 37 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/Settings/src/com/android/settings/display/ |
D | ScreenResolutionController.java | 42 private Display mDisplay; field in ScreenResolutionController 52 mDisplay = in ScreenResolutionController() 136 return mDisplay.getMode().getPhysicalWidth(); in getDisplayWidth() 141 return mDisplay.getSupportedModes(); in getSupportedModes()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastChannelManagerTest.java | 132 assertFalse(list.get(0).mDisplay); in verifyChannelRangesForConfig1() 143 assertTrue(list.get(1).mDisplay); in verifyChannelRangesForConfig1() 155 assertTrue(list.get(2).mDisplay); in verifyChannelRangesForConfig1() 167 assertTrue(list.get(3).mDisplay); in verifyChannelRangesForConfig1() 178 assertTrue(list.get(4).mDisplay); in verifyChannelRangesForConfig1() 189 assertTrue(list.get(5).mDisplay); in verifyChannelRangesForConfig1() 232 assertTrue(list.get(0).mDisplay); in verifyChannelRangesForConfig2() 243 assertTrue(list.get(1).mDisplay); in verifyChannelRangesForConfig2() 255 assertTrue(list.get(2).mDisplay); in verifyChannelRangesForConfig2()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/vendor/ |
D | DisplayPreviewFragment.java | 52 private Display mDisplay = null; field in DisplayPreviewFragment 73 mDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in onCreatePreferences() 74 if (mDisplay.getSystemPreferredDisplayMode() != null) { in onCreatePreferences() 127 if (mDisplay.getSystemPreferredDisplayMode() != null) { in onStart() 144 if (mDisplay.getSystemPreferredDisplayMode() != null) { in onStop()
|
/packages/services/Car/cpp/evs/apps/default/src/ |
D | VideoTex.cpp | 52 mDisplay(glDisplay) { in VideoTex() 65 eglDestroyImageKHR(mDisplay, mKHRimage); in ~VideoTex() 81 eglDestroyImageKHR(mDisplay, mKHRimage); in refresh() 125 mKHRimage = eglCreateImageKHR(mDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, clientBuf, in refresh()
|
D | EvsStateControl.cpp | 73 mDisplay(pDisplay), in EvsStateControl() 193 displayHandle = mDisplay.lock(); in updateLoop() 384 std::shared_ptr<IEvsDisplay> displayHandle = mDisplay.lock(); in configureEvsPipeline()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 73 private Display mDisplay; field in BrightnessLevelPreferenceControllerTest 97 doReturn(mDisplay).when(mContext).getDisplay(); in setUp() 153 when(mDisplay.getBrightnessInfo()).thenReturn( in onStart_shouldSetSummary() 166 when(mDisplay.getBrightnessInfo()).thenReturn( in updateState_autoBrightness_shouldSetSummaryToAutoBrightness() 180 when(mDisplay.getBrightnessInfo()).thenReturn( in updateState_manualBrightness_shouldSetSummaryToScreenBrightness()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/ |
D | PreferredDynamicRangeFragmentTest.java | 56 private Display mDisplay; field in PreferredDynamicRangeFragmentTest 138 doReturn(mDisplay).when(mDisplayManager).getDisplay(Display.DEFAULT_DISPLAY); in createPreferredDynamicRangeFragmentWith() 139 doReturn(new Display.Mode[]{TEST_MODE}).when(mDisplay).getSupportedModes(); in createPreferredDynamicRangeFragmentWith() 155 doReturn(mDisplay).when(mDisplayManager).getDisplay(Display.DEFAULT_DISPLAY); in createPreferredDynamicRangeForceFragmentWith() 156 doReturn(new Display.Mode[]{TEST_MODE}).when(mDisplay).getSupportedModes(); in createPreferredDynamicRangeForceFragmentWith()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | EyePosition.java | 55 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/service/jni/evs/ |
D | EvsServiceContext.cpp | 222 mDisplay = nullptr; in initialize() 374 &mDisplay); in acquireCameraAndDisplayLocked() 375 if (!status.isOk() || !mDisplay) { in acquireCameraAndDisplayLocked() 382 mDisplay = ndk::SharedRefBase::make<NoOpEvsDisplay>(); in acquireCameraAndDisplayLocked() 387 status = mCamera->forcePrimaryClient(mDisplay); in acquireCameraAndDisplayLocked() 412 if (!mDisplay) { in doneWithFrame()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | PreviewSurfaceRenderer.java | 90 private final Display mDisplay; field in PreviewSurfaceRenderer 114 mDisplay = context.getSystemService(DisplayManager.class) in PreviewSurfaceRenderer() 116 if (mDisplay == null) { in PreviewSurfaceRenderer() 212 Context context = mContext.createDisplayContext(mDisplay); in getPreviewContext()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/ |
D | QCLogoutButtonControllerTest.java | 88 private Display mDisplay; field in QCLogoutButtonControllerTest 220 when(mDisplay.getDisplayId()).thenReturn(displayId); in setOccupantZoneForDisplay() 221 List<Display> displays = new ArrayList<Display>(Arrays.asList(mDisplay)); in setOccupantZoneForDisplay()
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
D | WifiDisplaySettings.java | 714 private final WifiDisplay mDisplay; field in WifiDisplaySettings.WifiDisplayRoutePreference 724 mDisplay = display; in WifiDisplayRoutePreference() 746 showWifiDisplayOptionsDialog(mDisplay); in onClick() 752 private final WifiDisplay mDisplay; field in WifiDisplaySettings.UnpairedWifiDisplayPreference 757 mDisplay = display; in UnpairedWifiDisplayPreference() 772 pairWifiDisplay(mDisplay); in onPreferenceClick()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastChannelManager.java | 165 public boolean mDisplay; field in CellBroadcastChannelManager.CellBroadcastChannelRange 203 mDisplay = true; in CellBroadcastChannelRange() 273 mDisplay = false; in CellBroadcastChannelRange() 356 + ",display=" + mDisplay + ",testMode=" + mTestMode + ",mAlwaysOn=" in toString()
|