Searched refs:mDisplayModes (Results 1 – 6 of 6) sorted by relevance
41 private Mode[] mDisplayModes; field in TouchLatencyActivity87 mDisplayModes = display.getSupportedModes(); in onCreate()90 for (int i = 0; i < mDisplayModes.length; i++) { in onCreate()91 if (currentMode.getModeId() == mDisplayModes[i].getModeId()) { in onCreate()100 if (mDisplayModes.length > 1) { in updateOptionsMenu()161 Mode currentMode = mDisplayModes[mCurrentModeIndex]; in sameSizeMode()170 int modeIndex = (mCurrentModeIndex + 1) % mDisplayModes.length; in changeDisplayMode()173 if (sameSizeMode(mDisplayModes[modeIndex])) { in changeDisplayMode()176 modeIndex = (modeIndex + 1) % mDisplayModes.length; in changeDisplayMode()179 params.preferredDisplayModeId = mDisplayModes[modeIndex].getModeId(); in changeDisplayMode()[all …]
44 const auto& displayModes() const { return mDisplayModes; } in displayModes()57 DisplayModes mDisplayModes; variable
35 mDisplayModes(std::move(displayModes)), in DisplaySnapshot()40 return ftl::find_if(mDisplayModes, in translateModeId()
183 for (auto it = mDisplayModes.begin(); it != mDisplayModes.end(); ++it) { in createFrameRateModes()595 const auto& defaultMode = mDisplayModes.get(policy->defaultMode)->get(); in getRankedFrameRatesLocked()1087 REQUIRES(mLock) { return mDisplayModes.get(modeId); }) in onKernelTimerChanged()1253 const auto activeModeOpt = mDisplayModes.get(modeId); in setActiveMode()1294 mDisplayModes = std::move(modes); in updateDisplayModes()1295 const auto activeModeOpt = mDisplayModes.get(activeModeId); in updateDisplayModes()1300 const auto sortedModes = sortByRefreshRate(mDisplayModes); in updateDisplayModes()1323 for (const auto& [_, mode] : mDisplayModes) { in updateDisplayModes()1333 if (const auto mode = mDisplayModes.get(policy.defaultMode)) { in isPolicyValidLocked()1470 const auto& defaultMode = mDisplayModes.get(policy->defaultMode)->get(); in constructAvailableRefreshRates()[all …]
324 const DisplayModes& displayModes() const { return mDisplayModes; } in displayModes()333 return mDisplayModes.size() > 1 || in canSwitch()527 DisplayModes mDisplayModes GUARDED_BY(mLock);
991 mDisplayModes = std::move(modes); in setDisplayModes()998 mDisplayModes = selectorPtr->displayModes(); in setRefreshRateSelector()1058 auto& modes = mDisplayModes; in inject()1139 DisplayModes mDisplayModes; variable