Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DDisplayUtils.java66 if (mode.getPhysicalWidth() > maxWidth) { in getMaximumResolutionDisplayMode()
67 maxWidth = mode.getPhysicalWidth(); in getMaximumResolutionDisplayMode()
/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java146 final int pW = preferredMode.getPhysicalWidth(); in getPreferredModeId()
148 if ((pW != mDefaultMode.getPhysicalWidth() in getPreferredModeId()
DDisplayContent.java2857 maxDisplayMode == null ? mInitialDisplayWidth : maxDisplayMode.getPhysicalWidth(), in initializeDisplayBaseInfo()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DFrameRateSelectionPriorityTests.java72 new Mode(1, defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), 90), in setUp()
73 new Mode(2, defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), 70), in setUp()
75 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), 60), in setUp()
DRefreshRatePolicyTest.java78 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), in setUp()
81 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), in setUp()
84 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), in setUp()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java302 getOutPrintWriter().println("User preferred display mode: " + mode.getPhysicalWidth() + " " in getUserPreferredDisplayMode()
326 getOutPrintWriter().println("Boot display mode: " + mode.getPhysicalWidth() + " " in getActiveDisplayModeAtStart()
DLocalDisplayAdapter.java685 maxDisplayMode == null ? mInfo.width : maxDisplayMode.getPhysicalWidth(); in getDisplayDeviceInfoLocked()
920 matchingSupportedMode = findMode(mode.getPhysicalWidth(), in setUserPreferredDisplayModeLocked()
1193 if (userPreferredMode.matches(supportedMode.getPhysicalWidth(), in findUserPreferredModeIdLocked()
1280 return mMode.getPhysicalWidth() == mode.width
DDisplayModeDirector.java342 primarySummary.width = defaultMode.getPhysicalWidth(); in getDesiredDisplayModeSpecs()
468 if (mode.getPhysicalWidth() != summary.width in filterModes()
474 + ": actualWidth=" + mode.getPhysicalWidth() in filterModes()
1396 sizeVote = Vote.forSize(requestedMode.getPhysicalWidth(), in setAppRequestedModeLocked()
DOverlayDisplayAdapter.java339 mInfo.width = mode.getPhysicalWidth(); in getDisplayDeviceInfoLocked()
DDisplayManagerService.java950 currentMode.getPhysicalWidth(), currentMode.getPhysicalHeight(),
1720 display.getDisplayIdLocked(), systemPreferredMode.getPhysicalWidth(),
1789 : mode.getPhysicalWidth();
2580 return mode.getPhysicalWidth() > 0 && mode.getPhysicalHeight() > 0 in isResolutionAndRefreshRateValid()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java889 return oldMode.getPhysicalWidth() != newMode.getPhysicalWidth() in displayModeChanged()
968 maxDisplayMode.getPhysicalWidth(), maxDisplayMode.getPhysicalHeight(), in getPhysicalPixelDisplaySizeRatio()
1427 + mTargetDisplayMode.getPhysicalWidth() + "x" in onPreDraw()
1443 + ", resolution " + mDisplayMode.getPhysicalWidth() + "x" in onPreDraw()
1479 Log.i(TAG, "Drawing at " + mDisplayMode.getPhysicalWidth()
1481 + displayMode.getPhysicalWidth() + "x"
/frameworks/base/core/java/android/view/
DDisplayInfo.java610 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), refreshRate)) { in findDefaultModeByRefreshRate()
626 if (mode.getPhysicalWidth() == defaultMode.getPhysicalWidth() in getDefaultRefreshRates()
DDisplay.java1233 Display.Mode preferredMode = new Display.Mode(mode.getPhysicalWidth(), in setUserPreferredDisplayMode()
1943 public int getPhysicalWidth() { in getPhysicalWidth() method in Display.Mode
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java304 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forSize(appRequestedMode.getPhysicalWidth(), in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
319 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forSize(appRequestedMode.getPhysicalWidth(), in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
334 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forSize(appRequestedMode.getPhysicalWidth(), in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
349 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forSize(appRequestedMode.getPhysicalWidth(), in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
384 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forSize(appRequestedMode.getPhysicalWidth(),
397 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forSize(appRequestedMode.getPhysicalWidth(),
410 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forSize(appRequestedMode.getPhysicalWidth(),
423 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forSize(appRequestedMode.getPhysicalWidth(),
480 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forSize(appRequestedMode.getPhysicalWidth(), in testAppRequestRefreshRateRange()
1224 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forSize(appRequestedMode.getPhysicalWidth(), in testAppRequestsIsTheDefaultMode()
[all …]
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java1211 Display.Mode preferredMode = new Display.Mode(mode.getPhysicalWidth(), in setGlobalUserPreferredDisplayMode()
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java1309 nInitDisplayInfo(activeMode.getPhysicalWidth(), activeMode.getPhysicalHeight(), in initDisplayInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java566 maxDisplayMode.getPhysicalWidth(), maxDisplayMode.getPhysicalHeight(), in updateSensorLocations()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DLocalDisplayAdapterTest.java1110 return a.getPhysicalWidth() == b.width && a.getPhysicalHeight() == b.height in matches()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java4669 ? userPreferredDisplayMode.getPhysicalWidth() : -1;
4769 element.getPhysicalWidth());
4795 int alternativeModeId = findModeId(supportedModes, mode.getPhysicalWidth(),
/frameworks/base/boot/
Dboot-image-profile.txt15922 HSPLandroid/view/Display$Mode;->getPhysicalWidth()I
/frameworks/base/config/
Dboot-image-profile.txt15985 HSPLandroid/view/Display$Mode;->getPhysicalWidth()I
/frameworks/base/core/api/
Dcurrent.txt47914 method public int getPhysicalWidth();