Searched refs:baseModeId (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayModeDirectorTest.java | 59 float[] refreshRates, int baseModeId) { in createDirectorFromRefreshRateArray() argument 66 /*modeId=*/baseModeId + i, /*width=*/1000, /*height=*/1000, refreshRates[i]); in createDirectorFromRefreshRateArray() 93 Truth.assertThat(modeSpecs.baseModeId).isEqualTo(60); in testDisplayModeVoting() 115 Truth.assertThat(modeSpecs.baseModeId).isEqualTo(minFps + i); in testDisplayModeVoting() 135 Truth.assertThat(modeSpecs.baseModeId).isEqualTo(70); in testDisplayModeVoting() 158 Truth.assertThat(desiredSpecs.baseModeId).isEqualTo(60); in testVotingWithFloatingPointErrors()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayModeDirector.java | 276 int baseModeId = defaultMode.getModeId(); in getDesiredDisplayModeSpecs() local 278 baseModeId = availableModes[0]; in getDesiredDisplayModeSpecs() 283 return new DesiredDisplayModeSpecs(baseModeId, in getDesiredDisplayModeSpecs() 601 public int baseModeId; field in DisplayModeDirector.DesiredDisplayModeSpecs 619 public DesiredDisplayModeSpecs(int baseModeId, in DesiredDisplayModeSpecs() argument 622 this.baseModeId = baseModeId; in DesiredDisplayModeSpecs() 634 baseModeId, primaryRefreshRateRange.min, primaryRefreshRateRange.max, in toString() 652 if (baseModeId != desiredDisplayModeSpecs.baseModeId) { in equals() 667 return Objects.hash(baseModeId, primaryRefreshRateRange, appRequestRefreshRateRange); in hashCode() 674 baseModeId = other.baseModeId; in copyFrom()
|
D | LocalDisplayAdapter.java | 304 if (mDisplayModeSpecs.baseModeId != NO_DISPLAY_MODE_ID) { in updateDisplayConfigsLocked() 310 if (mDisplayModeSpecs.baseModeId != activeBaseMode in updateDisplayConfigsLocked() 356 if (mSupportedModes.indexOfKey(mDisplayModeSpecs.baseModeId) < 0) { in updateDisplayConfigsLocked() 357 if (mDisplayModeSpecs.baseModeId != NO_DISPLAY_MODE_ID) { in updateDisplayConfigsLocked() 362 mDisplayModeSpecs.baseModeId = activeRecord.mMode.getModeId(); in updateDisplayConfigsLocked() 773 if (displayModeSpecs.baseModeId == 0) { in setDesiredDisplayModeSpecsLocked() 786 int baseConfigId = findDisplayConfigIdLocked(displayModeSpecs.baseModeId, in setDesiredDisplayModeSpecsLocked() 796 "Ignoring request for invalid base mode id " + displayModeSpecs.baseModeId); in setDesiredDisplayModeSpecsLocked()
|
D | OverlayDisplayAdapter.java | 370 final int id = displayModeSpecs.baseModeId; in setDesiredDisplayModeSpecsLocked()
|