Home
last modified time | relevance | path

Searched refs:activeMode (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DTemperatureControlBehavior.kt48 val activeMode = template.getCurrentActiveMode() in <lambda>() constant
54 val enabled = activeMode != 0 && activeMode != TemperatureControlTemplate.MODE_OFF in <lambda>()
56 cvh.applyRenderInfo(enabled, activeMode) in <lambda>()
71 activeMode in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DLocalDisplayAdapterTest.java348 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated() local
349 assertThat(activeMode.matches(displayMode.width, displayMode.height, in testAfterDisplayChange_DisplayModesAreUpdated()
373 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated()
374 assertThat(activeMode.matches(addedDisplayInfo.width, addedDisplayInfo.height, in testAfterDisplayChange_DisplayModesAreUpdated()
400 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated() local
401 assertThat(activeMode.matches(1920, 1080, 60f)).isTrue(); in testAfterDisplayChange_ActiveModeIsUpdated()
417 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated()
418 assertThat(activeMode.matches(1920, 1080, 50f)).isTrue(); in testAfterDisplayChange_ActiveModeIsUpdated()
571 final int activeMode = 0; in testDisplayChange_withStaleDesiredDisplayModeSpecs() local
572 FakeDisplay display = new FakeDisplay(PORT_A, modes, activeMode); in testDisplayChange_withStaleDesiredDisplayModeSpecs()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp243 DisplayModePtr activeMode = DisplayMode::Builder(Case::Display::HWC_ACTIVE_CONFIG_ID) in setupNewDisplayDeviceInternalTest() local
251 DisplayModes modes{activeMode}; in setupNewDisplayDeviceInternalTest()
256 .activeMode = activeMode}; in setupNewDisplayDeviceInternalTest()
DTestableSurfaceFlinger.h644 DisplayModePtr activeMode = in FakeDisplayDeviceInjector() local
655 DisplayModes modes{activeMode}; in FakeDisplayDeviceInjector()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp276 const auto activeMode = getActiveMode(); in dump() local
278 activeMode ? to_string(*activeMode).c_str() : "none"); in dump()
DSurfaceFlinger.cpp1175 state.physical->activeMode = upcomingMode; in setActiveModeInternal()
2585 DisplayModePtr activeMode; in processDisplayHotplugEventsLocked() local
2586 loadDisplayModes(displayId, supportedModes, activeMode); in processDisplayHotplugEventsLocked()
2597 .activeMode = activeMode}; in processDisplayHotplugEventsLocked()
2617 state.physical->activeMode = activeMode; in processDisplayHotplugEventsLocked()
2719 display->setActiveMode(state.physical->activeMode->getId()); in setupNewDisplayDeviceInternal()
2736 resolution = state.physical->activeMode->getSize(); in processDisplayAdded()
2792 state.physical->activeMode->getSize(), in processDisplayAdded()
2874 currentState.physical->activeMode->getId()); in processDisplayChanged()
2876 const Fps refreshRate = currentState.physical->activeMode->getFps(); in processDisplayChanged()
[all …]
DDisplayDevice.h242 DisplayModePtr activeMode; member
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java1220 Mode activeMode = display.getMode(); in initDisplayInfo() local
1221 nInitDisplayInfo(activeMode.getPhysicalWidth(), activeMode.getPhysicalHeight(), in initDisplayInfo()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java281 List<OverlayMode> modes, int activeMode, int defaultMode, in OverlayDisplayDevice() argument
298 mActiveMode = activeMode; in OverlayDisplayDevice()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp1969 if (const auto activeMode = info.getActiveDisplayMode()) { in getActiveDisplayMode() local
1970 *mode = *activeMode; in getActiveDisplayMode()