Home
last modified time | relevance | path

Searched refs:newModes (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayModeDirectorTest.java2433 Display.Mode[] newModes = new Display.Mode[4]; in testStaleAppVote() local
2434 newModes[0] = new Display.Mode( in testStaleAppVote()
2436 newModes[1] = new Display.Mode( in testStaleAppVote()
2438 newModes[2] = new Display.Mode( in testStaleAppVote()
2440 newModes[3] = new Display.Mode( in testStaleAppVote()
2444 supportedModesByDisplay.put(DISPLAY_ID, newModes); in testStaleAppVote()
2447 defaultModesByDisplay.put(DISPLAY_ID, newModes[0]); in testStaleAppVote()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp3536 DisplayModes newModes; in loadDisplayModes() local
3539 newModes.try_emplace(id, in loadDisplayModes()
3553 std::equal(newModes.begin(), newModes.end(), oldModes.begin(), oldModes.end(), in loadDisplayModes()
3559 const auto& modes = sameModes ? oldModes : newModes; in loadDisplayModes()