Searched refs:activeMode (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | TemperatureControlBehavior.kt | 48 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/ |
D | LocalDisplayAdapterTest.java | 436 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated() local 437 assertThat(matches(activeMode, displayMode)).isTrue(); in testAfterDisplayChange_DisplayModesAreUpdated() 460 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated() 461 assertThat(matches(activeMode, addedDisplayInfo)).isTrue(); in testAfterDisplayChange_DisplayModesAreUpdated() 485 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated() local 486 assertThat(activeMode.matches(1920, 1080, 60f)).isTrue(); in testAfterDisplayChange_ActiveModeIsUpdated() 502 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated() 503 assertThat(activeMode.matches(1920, 1080, 50f)).isTrue(); in testAfterDisplayChange_ActiveModeIsUpdated() 690 final int activeMode = 0; in testDisplayChange_withStaleDesiredDisplayModeSpecs() local 691 FakeDisplay display = new FakeDisplay(PORT_A, modes, activeMode); in testDisplayChange_withStaleDesiredDisplayModeSpecs() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp | 242 DisplayModePtr activeMode = DisplayMode::Builder(Case::Display::HWC_ACTIVE_CONFIG_ID) in setupNewDisplayDeviceInternalTest() local 252 .supportedModes = makeModes(activeMode), in setupNewDisplayDeviceInternalTest() 253 .activeMode = std::move(activeMode)}; in setupNewDisplayDeviceInternalTest()
|
D | TestableSurfaceFlinger.h | 861 const auto activeMode = modes.get(activeModeId); in inject() local 862 LOG_ALWAYS_FATAL_IF(!activeMode); in inject() 869 .activeMode = activeMode->get()}; in inject()
|
/frameworks/base/graphics/java/android/graphics/ |
D | HardwareRenderer.java | 1308 Mode activeMode = display.getMode(); in initDisplayInfo() local 1309 nInitDisplayInfo(activeMode.getPhysicalWidth(), activeMode.getPhysicalHeight(), in initDisplayInfo()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayAdapter.java | 281 List<OverlayMode> modes, int activeMode, int defaultMode, in OverlayDisplayDevice() argument 298 mActiveMode = activeMode; in OverlayDisplayDevice()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1164 state.physical->activeMode = upcomingModeInfo.mode; in updateInternalStateWithChangedMode() 2747 const DisplayModePtr activeMode = in loadDisplayModes() local 2752 return {modes, activeMode}; in loadDisplayModes() 2768 auto [supportedModes, activeMode] = loadDisplayModes(displayId); in processDisplayHotplugEventsLocked() 2779 .activeMode = std::move(activeMode)}; in processDisplayHotplugEventsLocked() 2793 state.physical->activeMode = std::move(activeMode); in processDisplayHotplugEventsLocked() 2839 creationArgs.activeModeId = physical->activeMode->getId(); in setupNewDisplayDeviceInternal() 2911 display->setActiveMode(state.physical->activeMode->getId())); in setupNewDisplayDeviceInternal() 2929 resolution = state.physical->activeMode->getResolution(); in processDisplayAdded() 2983 state.physical->activeMode->getResolution(), in processDisplayAdded() [all …]
|
D | DisplayDevice.h | 321 DisplayModePtr activeMode; member
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 2213 if (const auto activeMode = info.getActiveDisplayMode()) { in getActiveDisplayMode() local 2214 *mode = *activeMode; in getActiveDisplayMode()
|