Home
last modified time | relevance | path

Searched refs:preferredMode (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayObserverTest.java158 var preferredMode = mExternalDisplayModes[5]; in testExternalDisplay_notVotedUserPreferredMode() local
159 mExternalDisplayUserPreferredModeId = preferredMode.getModeId(); in testExternalDisplay_notVotedUserPreferredMode()
191 var preferredMode = mExternalDisplayModes[5]; in testExternalDisplay_voteUserPreferredMode() local
192 mExternalDisplayUserPreferredModeId = preferredMode.getModeId(); in testExternalDisplay_voteUserPreferredMode()
194 preferredMode.getPhysicalWidth(), in testExternalDisplay_voteUserPreferredMode()
195 preferredMode.getPhysicalHeight()); in testExternalDisplay_voteUserPreferredMode()
212 preferredMode = mExternalDisplayModes[4]; in testExternalDisplay_voteUserPreferredMode()
213 mExternalDisplayUserPreferredModeId = preferredMode.getModeId(); in testExternalDisplay_voteUserPreferredMode()
215 preferredMode.getPhysicalWidth(), in testExternalDisplay_voteUserPreferredMode()
216 preferredMode.getPhysicalHeight()); in testExternalDisplay_voteUserPreferredMode()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java144 Display.Mode preferredMode = null; in getPreferredModeId() local
147 preferredMode = mode; in getPreferredModeId()
151 if (preferredMode != null) { in getPreferredModeId()
152 final int pW = preferredMode.getPhysicalWidth(); in getPreferredModeId()
153 final int pH = preferredMode.getPhysicalHeight(); in getPreferredModeId()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DDeviceCapabilityListener.java387 int preferredMode = intent.getIntExtra(TelecomManager.EXTRA_TTY_PREFERRED_MODE,
389 handleTtyPreferredModeChanged(preferredMode);
559 private void handleTtyPreferredModeChanged(int preferredMode) { in handleTtyPreferredModeChanged() argument
560 boolean isChanged = mCapabilityInfo.updateTtyPreferredMode(preferredMode); in handleTtyPreferredModeChanged()
561 logi("TTY preferred mode changed: " + preferredMode + ", isChanged=" + isChanged); in handleTtyPreferredModeChanged()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java1416 Display.Mode preferredMode = new Display.Mode(mode.getPhysicalWidth(), in setGlobalUserPreferredDisplayMode() local
1418 mGlobal.setUserPreferredDisplayMode(Display.INVALID_DISPLAY, preferredMode); in setGlobalUserPreferredDisplayMode()
/frameworks/base/core/java/android/view/
DDisplay.java1508 Display.Mode preferredMode = new Display.Mode(mode.getPhysicalWidth(), in setUserPreferredDisplayMode() local
1510 mGlobal.setUserPreferredDisplayMode(mDisplayId, preferredMode); in setUserPreferredDisplayMode()
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java1505 var preferredMode = findDisplayPreferredMode(info); in updateUserSettingDisplayPreferredSize() local
1506 if (preferredMode == null) { in updateUserSettingDisplayPreferredSize()
1513 Vote.forSize(/* width */ preferredMode.getPhysicalWidth(), in updateUserSettingDisplayPreferredSize()
1514 /* height */ preferredMode.getPhysicalHeight())); in updateUserSettingDisplayPreferredSize()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java1368 int preferredMode) { in FakeDisplay() argument
1373 dynamicInfo.preferredBootDisplayMode = preferredMode; in FakeDisplay()
DDisplayManagerServiceTest.java3603 public void setUserPreferredDisplayModeLocked(Display.Mode preferredMode) {
3606 preferredMode.getPhysicalWidth(),
3607 preferredMode.getPhysicalHeight(),
3608 preferredMode.getRefreshRate())) {
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp8757 auto preferredMode = std::move(*preferredModeOpt); in applyRefreshRateSelectorPolicy() local
8758 const auto preferredModeId = preferredMode.modePtr->getId(); in applyRefreshRateSelectorPolicy()
8760 const Fps preferredFps = preferredMode.fps; in applyRefreshRateSelectorPolicy()
8764 if (!selector.isModeAllowed(preferredMode)) { in applyRefreshRateSelectorPolicy()
8769 setDesiredMode({std::move(preferredMode), .emitEvent = true}); in applyRefreshRateSelectorPolicy()