Home
last modified time | relevance | path

Searched refs:getPhysicalWidth (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/display/mode/
DVoteSummary.java98 width = defaultMode.getPhysicalWidth(); in adjustSize()
204 if (mode.getPhysicalWidth() != width in validateModeSize()
210 + ": actualWidth=" + mode.getPhysicalWidth() in validateModeSize()
366 if (mode.getPhysicalWidth() > maxAllowedWidth in updateSummaryWithBestAllowedResolution()
368 || mode.getPhysicalWidth() < minWidth in updateSummaryWithBestAllowedResolution()
376 int numberOfPixels = mode.getPhysicalHeight() * mode.getPhysicalWidth(); in updateSummaryWithBestAllowedResolution()
377 if (numberOfPixels > maxNumberOfPixels || (mode.getPhysicalWidth() == maxAllowedWidth in updateSummaryWithBestAllowedResolution()
380 width = mode.getPhysicalWidth(); 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()
1340 if (modes[i].matches(defaultMode.getPhysicalWidth(), in findDefaultModeByRefreshRateLocked()
1513 Vote.forSize(/* width */ preferredMode.getPhysicalWidth(), in updateUserSettingDisplayPreferredSize()
/frameworks/base/core/java/android/util/
DDisplayUtils.java66 if (mode.getPhysicalWidth() > maxWidth) { in getMaximumResolutionDisplayMode()
67 maxWidth = mode.getPhysicalWidth(); in getMaximumResolutionDisplayMode()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java163 && currentMode.getPhysicalWidth() == mode.getPhysicalWidth(); in sameSizeMode()
/frameworks/base/core/java/com/android/internal/policy/
DScreenDecorationsUtils.java84 maxDisplayMode.getPhysicalWidth(), maxDisplayMode.getPhysicalHeight(), in getPhysicalPixelDisplaySizeRatio()
/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java152 final int pW = preferredMode.getPhysicalWidth(); in getPreferredModeId()
154 if ((pW != mDefaultMode.getPhysicalWidth() in getPreferredModeId()
/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/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayObserverTest.java194 preferredMode.getPhysicalWidth(), in testExternalDisplay_voteUserPreferredMode()
215 preferredMode.getPhysicalWidth(), in testExternalDisplay_voteUserPreferredMode()
245 var expectedResolutionVote = Vote.forSize(preferredMode.getPhysicalWidth(), in testExternalDisplay_doNotApplyLimitToUserPreferredMode()
277 var expectedResolutionVote = Vote.forSize(preferredMode.getPhysicalWidth(), in testDefaultDisplayAdded_notAppliedLimitToUserPreferredMode()
DDisplayModeDirectorTest.java149 Vote.forSize(APP_MODE_HIGH_90.getPhysicalWidth(), in getAppRequestedSizeTestCases()
158 Vote.forSize(APP_MODE_HIGH_90.getPhysicalWidth(), in getAppRequestedSizeTestCases()
163 Vote.forSize(LIMIT_MODE_70.getPhysicalWidth(), in getAppRequestedSizeTestCases()
170 Vote.forSize(APP_MODE_65.getPhysicalWidth(), in getAppRequestedSizeTestCases()
175 Vote.forSize(LIMIT_MODE_70.getPhysicalWidth(), in getAppRequestedSizeTestCases()
182 Vote.forSize(APP_MODE_65.getPhysicalWidth(), in getAppRequestedSizeTestCases()
189 LIMIT_MODE_70.getPhysicalWidth(), in getAppRequestedSizeTestCases()
198 Vote.forSize(APP_MODE_65.getPhysicalWidth(), in getAppRequestedSizeTestCases()
205 LIMIT_MODE_70.getPhysicalWidth(), in getAppRequestedSizeTestCases()
214 Vote.forSize(APP_MODE_HIGH_90.getPhysicalWidth(), in getAppRequestedSizeTestCases()
[all …]
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUdfpsUtils.java48 maxDisplayMode.getPhysicalWidth(), in getScaleFactor()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java453 getOutPrintWriter().println("User preferred display mode: " + mode.getPhysicalWidth() + " " in getUserPreferredDisplayMode()
477 getOutPrintWriter().println("Boot display mode: " + mode.getPhysicalWidth() + " " in getActiveDisplayModeAtStart()
DDisplayDevice.java441 resolutions.add(new Point(mode.getPhysicalWidth(), mode.getPhysicalHeight())); in getSupportedResolutionsLocked()
DLocalDisplayAdapter.java736 maxDisplayMode == null ? mInfo.width : maxDisplayMode.getPhysicalWidth(); in getDisplayDeviceInfoLocked()
1041 matchingSupportedMode = findMode(mode.getPhysicalWidth(), in setUserPreferredDisplayModeLocked()
1338 if (userPreferredMode.matches(supportedMode.getPhysicalWidth(), in findUserPreferredModeIdLocked()
1431 return mMode.getPhysicalWidth() == mode.width
DOverlayDisplayAdapter.java343 mInfo.width = mode.getPhysicalWidth(); in getDisplayDeviceInfoLocked()
DDisplayManagerService.java1233 currentMode.getPhysicalWidth(), currentMode.getPhysicalHeight(), in getDisplayInfoForFrameRateOverride()
2392 : mode.getPhysicalWidth(); 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/core/java/android/view/
DDisplayInfo.java714 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), refreshRate)) { in findDefaultModeByRefreshRate()
730 if (mode.getPhysicalWidth() == defaultMode.getPhysicalWidth() in getDefaultRefreshRates()
DDisplay.java1508 Display.Mode preferredMode = new Display.Mode(mode.getPhysicalWidth(), in setUserPreferredDisplayMode()
2305 public int getPhysicalWidth() { in getPhysicalWidth() method in Display.Mode
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java1392 int largestWidth = activeMode.getPhysicalWidth(); in initDisplayInfo()
1410 int width = mode.getPhysicalWidth(); in initDisplayInfo()
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/
DGraphicsActivity.java408 && mode1.getPhysicalWidth() == mode2.getPhysicalWidth(); in hasSameResolution()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java1416 Display.Mode preferredMode = new Display.Mode(mode.getPhysicalWidth(), 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.java4918 ? userPreferredDisplayMode.getPhysicalWidth() : -1;
5078 element.getPhysicalWidth());
5104 int alternativeModeId = findModeId(supportedModes, mode.getPhysicalWidth(),
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java1535 return a.getPhysicalWidth() == b.width && a.getPhysicalHeight() == b.height in matches()

12