Home
last modified time | relevance | path

Searched refs:getPhysicalHeight (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/display/mode/
DVoteSummary.java99 height = defaultMode.getPhysicalHeight(); in adjustSize()
205 || mode.getPhysicalHeight() != height) { in validateModeSize()
211 + ": actualHeight=" + mode.getPhysicalHeight()); in validateModeSize()
367 || mode.getPhysicalHeight() > maxAllowedHeight in updateSummaryWithBestAllowedResolution()
369 || mode.getPhysicalHeight() < minHeight in updateSummaryWithBestAllowedResolution()
376 int numberOfPixels = mode.getPhysicalHeight() * mode.getPhysicalWidth(); in updateSummaryWithBestAllowedResolution()
378 && mode.getPhysicalHeight() == maxAllowedHeight)) { in updateSummaryWithBestAllowedResolution()
381 height = mode.getPhysicalHeight(); in updateSummaryWithBestAllowedResolution()
DSyntheticModeManager.java70 sizes.put(new Size(mode.getPhysicalWidth(), mode.getPhysicalHeight()), in createAppSupportedModes()
DDisplayModeDirector.java1318 ? Vote.forSize(mode.getPhysicalWidth(), mode.getPhysicalHeight()) : null; in getSizeVote()
1341 defaultMode.getPhysicalHeight(), refreshRate)) { in findDefaultModeByRefreshRateLocked()
1514 /* height */ preferredMode.getPhysicalHeight())); in updateUserSettingDisplayPreferredSize()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java162 return currentMode.getPhysicalHeight() == mode.getPhysicalHeight() in sameSizeMode()
/frameworks/base/core/java/com/android/internal/policy/
DScreenDecorationsUtils.java84 maxDisplayMode.getPhysicalWidth(), maxDisplayMode.getPhysicalHeight(), in getPhysicalPixelDisplaySizeRatio()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DFrameRateSelectionPriorityTests.java86 new Mode(1, defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), 90), in setUp()
87 new Mode(2, defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), 70), in setUp()
89 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), 60), in setUp()
DRefreshRatePolicyTest.java103 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), in setUp()
106 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), in setUp()
109 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), in setUp()
/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java153 final int pH = preferredMode.getPhysicalHeight(); in getPreferredModeId()
155 || pH != mDefaultMode.getPhysicalHeight()) in getPreferredModeId()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayObserverTest.java195 preferredMode.getPhysicalHeight()); in testExternalDisplay_voteUserPreferredMode()
216 preferredMode.getPhysicalHeight()); in testExternalDisplay_voteUserPreferredMode()
246 preferredMode.getPhysicalHeight()); in testExternalDisplay_doNotApplyLimitToUserPreferredMode()
278 preferredMode.getPhysicalHeight()); in testDefaultDisplayAdded_notAppliedLimitToUserPreferredMode()
DDisplayModeDirectorTest.java150 APP_MODE_HIGH_90.getPhysicalHeight()), in getAppRequestedSizeTestCases()
159 APP_MODE_HIGH_90.getPhysicalHeight()), in getAppRequestedSizeTestCases()
164 LIMIT_MODE_70.getPhysicalHeight()))}, in getAppRequestedSizeTestCases()
171 APP_MODE_65.getPhysicalHeight()), in getAppRequestedSizeTestCases()
176 LIMIT_MODE_70.getPhysicalHeight()))}, in getAppRequestedSizeTestCases()
183 APP_MODE_65.getPhysicalHeight()), in getAppRequestedSizeTestCases()
190 LIMIT_MODE_70.getPhysicalHeight(), in getAppRequestedSizeTestCases()
199 APP_MODE_65.getPhysicalHeight()), in getAppRequestedSizeTestCases()
206 LIMIT_MODE_70.getPhysicalHeight(), in getAppRequestedSizeTestCases()
215 APP_MODE_HIGH_90.getPhysicalHeight()), in getAppRequestedSizeTestCases()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java454 + mode.getPhysicalHeight() + " " + mode.getRefreshRate()); in getUserPreferredDisplayMode()
478 + mode.getPhysicalHeight() + " " + mode.getRefreshRate()); in getActiveDisplayModeAtStart()
DDisplayDevice.java441 resolutions.add(new Point(mode.getPhysicalWidth(), mode.getPhysicalHeight())); in getSupportedResolutionsLocked()
DLocalDisplayAdapter.java738 maxDisplayMode == null ? mInfo.height : maxDisplayMode.getPhysicalHeight(); in getDisplayDeviceInfoLocked()
1042 mode.getPhysicalHeight(), mode.getRefreshRate()); in setUserPreferredDisplayModeLocked()
1339 supportedMode.getPhysicalHeight(), in findUserPreferredModeIdLocked()
1432 && mMode.getPhysicalHeight() == mode.height
DOverlayDisplayAdapter.java344 mInfo.height = mode.getPhysicalHeight(); in getDisplayDeviceInfoLocked()
DDisplayManagerService.java1233 currentMode.getPhysicalWidth(), currentMode.getPhysicalHeight(), in getDisplayInfoForFrameRateOverride()
2390 : mode.getPhysicalHeight(); in setUserPreferredDisplayModeInternal()
2440 Point newMode = new Point(mode.getPhysicalWidth(), mode.getPhysicalHeight()); in setUserPreferredModeForDisplayLocked()
3392 return mode.getPhysicalWidth() > 0 && mode.getPhysicalHeight() > 0 in isResolutionAndRefreshRateValid()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUdfpsUtils.java49 maxDisplayMode.getPhysicalHeight(), in getScaleFactor()
/frameworks/base/core/java/android/view/
DDisplayInfo.java714 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), refreshRate)) { in findDefaultModeByRefreshRate()
731 && mode.getPhysicalHeight() == defaultMode.getPhysicalHeight()) { in getDefaultRefreshRates()
DDisplay.java1509 mode.getPhysicalHeight(), mode.getRefreshRate()); in setUserPreferredDisplayMode()
2321 public int getPhysicalHeight() { in getPhysicalHeight() method in Display.Mode
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java1393 int largestHeight = activeMode.getPhysicalHeight(); in initDisplayInfo()
1411 int height = mode.getPhysicalHeight(); in initDisplayInfo()
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/
DGraphicsActivity.java407 return mode1.getPhysicalHeight() == mode2.getPhysicalHeight() in hasSameResolution()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java1417 mode.getPhysicalHeight(), mode.getRefreshRate()); in setGlobalUserPreferredDisplayMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java1066 maxDisplayMode.getPhysicalWidth(), maxDisplayMode.getPhysicalHeight(), in getPhysicalPixelDisplaySizeRatio()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java4920 ? userPreferredDisplayMode.getPhysicalHeight() : -1;
5075 element.getPhysicalHeight());
5105 mode.getPhysicalHeight(), refreshRate);
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java1535 return a.getPhysicalWidth() == b.width && a.getPhysicalHeight() == b.height in matches()
DDisplayManagerServiceTest.java3372 displayDeviceInfo.height = displayDeviceInfo.supportedModes[0].getPhysicalHeight();
3607 preferredMode.getPhysicalHeight(),

12