Searched refs:forRefreshRates (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayModeDirectorTest.java | 112 votes.put(priority, Vote.forRefreshRates(minFps + i, maxFps - i)); in testDisplayModeVoting() 131 votes.put(Vote.MAX_PRIORITY, Vote.forRefreshRates(65, 85)); in testDisplayModeVoting() 132 votes.put(Vote.MIN_PRIORITY, Vote.forRefreshRates(70, 80)); in testDisplayModeVoting() 149 votes.put(Vote.PRIORITY_USER_SETTING_PEAK_REFRESH_RATE, Vote.forRefreshRates(0, 60)); in testVotingWithFloatingPointErrors() 150 votes.put(Vote.PRIORITY_APP_REQUEST_SIZE, Vote.forRefreshRates(60 + error, 60 + error)); in testVotingWithFloatingPointErrors() 152 Vote.forRefreshRates(60 - error, 60 - error)); in testVotingWithFloatingPointErrors() 171 votes.put(Vote.PRIORITY_APP_REQUEST_REFRESH_RATE, Vote.forRefreshRates(60, 90)); in testBrightnessHasLowerPriorityThanUser() 172 votes.put(Vote.PRIORITY_LOW_BRIGHTNESS, Vote.forRefreshRates(60, 60)); in testBrightnessHasLowerPriorityThanUser() 179 votes.put(Vote.PRIORITY_APP_REQUEST_REFRESH_RATE, Vote.forRefreshRates(60, 90)); in testBrightnessHasLowerPriorityThanUser() 180 votes.put(Vote.PRIORITY_LOW_BRIGHTNESS, Vote.forRefreshRates(90, 90)); in testBrightnessHasLowerPriorityThanUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayModeDirector.java | 744 public static Vote forRefreshRates(float minRefreshRate, float maxRefreshRate) { in forRefreshRates() method in DisplayModeDirector.Vote 863 vote = Vote.forRefreshRates(0f, 60f); in updateLowPowerModeSettingLocked() 887 : Vote.forRefreshRates(0f, Math.max(minRefreshRate, peakRefreshRate)); in updateRefreshRateSettingLocked() 890 Vote.forRefreshRates(minRefreshRate, Float.POSITIVE_INFINITY)); in updateRefreshRateSettingLocked() 892 defaultRefreshRate == 0f ? null : Vote.forRefreshRates(0f, defaultRefreshRate); in updateRefreshRateSettingLocked() 946 refreshRateVote = Vote.forRefreshRates(refreshRate, refreshRate); in setAppRequestedModeLocked() 1310 vote = Vote.forRefreshRates(mRefreshRateInZone, mRefreshRateInZone); in onBrightnessChangedLocked()
|
/frameworks/base/services/ |
D | art-profile | 15274 HSPLcom/android/server/display/DisplayModeDirector$Vote;->forRefreshRates(FF)Lcom/android/server/di…
|