Searched refs:newModes (Results 1 – 2 of 2) sorted by relevance
2433 Display.Mode[] newModes = new Display.Mode[4]; in testStaleAppVote() local2434 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()
3536 DisplayModes newModes; in loadDisplayModes() local3539 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()