/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | VoteSummary.java | 98 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()
|
D | SyntheticModeManager.java | 70 sizes.put(new Size(mode.getPhysicalWidth(), mode.getPhysicalHeight()), in createAppSupportedModes()
|
D | DisplayModeDirector.java | 1318 ? 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/ |
D | DisplayUtils.java | 66 if (mode.getPhysicalWidth() > maxWidth) { in getMaximumResolutionDisplayMode() 67 maxWidth = mode.getPhysicalWidth(); in getMaximumResolutionDisplayMode()
|
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 163 && currentMode.getPhysicalWidth() == mode.getPhysicalWidth(); in sameSizeMode()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | ScreenDecorationsUtils.java | 84 maxDisplayMode.getPhysicalWidth(), maxDisplayMode.getPhysicalHeight(), in getPhysicalPixelDisplaySizeRatio()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RefreshRatePolicy.java | 152 final int pW = preferredMode.getPhysicalWidth(); in getPreferredModeId() 154 if ((pW != mDefaultMode.getPhysicalWidth() in getPreferredModeId()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | FrameRateSelectionPriorityTests.java | 86 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()
|
D | RefreshRatePolicyTest.java | 103 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/ |
D | DisplayObserverTest.java | 194 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()
|
D | DisplayModeDirectorTest.java | 149 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/ |
D | UdfpsUtils.java | 48 maxDisplayMode.getPhysicalWidth(), in getScaleFactor()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerShellCommand.java | 453 getOutPrintWriter().println("User preferred display mode: " + mode.getPhysicalWidth() + " " in getUserPreferredDisplayMode() 477 getOutPrintWriter().println("Boot display mode: " + mode.getPhysicalWidth() + " " in getActiveDisplayModeAtStart()
|
D | DisplayDevice.java | 441 resolutions.add(new Point(mode.getPhysicalWidth(), mode.getPhysicalHeight())); in getSupportedResolutionsLocked()
|
D | LocalDisplayAdapter.java | 736 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
|
D | OverlayDisplayAdapter.java | 343 mInfo.width = mode.getPhysicalWidth(); in getDisplayDeviceInfoLocked()
|
D | DisplayManagerService.java | 1233 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/ |
D | DisplayInfo.java | 714 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), refreshRate)) { in findDefaultModeByRefreshRate() 730 if (mode.getPhysicalWidth() == defaultMode.getPhysicalWidth() in getDefaultRefreshRates()
|
D | Display.java | 1508 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/ |
D | HardwareRenderer.java | 1392 int largestWidth = activeMode.getPhysicalWidth(); in initDisplayInfo() 1410 int width = mode.getPhysicalWidth(); in initDisplayInfo()
|
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/ |
D | GraphicsActivity.java | 408 && mode1.getPhysicalWidth() == mode2.getPhysicalWidth(); in hasSameResolution()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManager.java | 1416 Display.Mode preferredMode = new Display.Mode(mode.getPhysicalWidth(), in setGlobalUserPreferredDisplayMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 1066 maxDisplayMode.getPhysicalWidth(), maxDisplayMode.getPhysicalHeight(), in getPhysicalPixelDisplaySizeRatio()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 4918 ? userPreferredDisplayMode.getPhysicalWidth() : -1; 5078 element.getPhysicalWidth()); 5104 int alternativeModeId = findModeId(supportedModes, mode.getPhysicalWidth(),
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | LocalDisplayAdapterTest.java | 1535 return a.getPhysicalWidth() == b.width && a.getPhysicalHeight() == b.height in matches()
|