Home
last modified time | relevance | path

Searched refs:maxRefreshRate (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java160 float maxRefreshRate = Float.POSITIVE_INFINITY; in getAllowedModesLocked() local
173 maxRefreshRate = Math.min(maxRefreshRate, vote.maxRefreshRate); in getAllowedModesLocked()
192 filterModes(modes, width, height, minRefreshRate, maxRefreshRate); in getAllowedModesLocked()
202 + ", maxRefreshRate=" + maxRefreshRate); in getAllowedModesLocked()
214 + ", maxRefreshRate=" + maxRefreshRate); in getAllowedModesLocked()
227 int width, int height, float minRefreshRate, float maxRefreshRate) { in filterModes() argument
245 || refreshRate > (maxRefreshRate + EPSILON)) { in filterModes()
250 + ", maxRefreshRate=" + maxRefreshRate in filterModes()
439 public final float maxRefreshRate; field in DisplayModeDirector.Vote
441 public static Vote forRefreshRates(float minRefreshRate, float maxRefreshRate) { in forRefreshRates() argument
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.cpp27 LayerInfo::LayerInfo(const std::string name, float maxRefreshRate) in LayerInfo() argument
29 mMinRefreshDuration(1e9f / maxRefreshRate), in LayerInfo()
DLayerHistory.cpp49 float maxRefreshRate) { in createLayer() argument
53 mInactiveLayerInfos.emplace(id, std::make_shared<LayerInfo>(name, maxRefreshRate)); in createLayer()
DLayerHistory.h56 std::unique_ptr<LayerHandle> createLayer(const std::string name, float maxRefreshRate);
DLayerInfo.h107 LayerInfo(const std::string name, float maxRefreshRate);