Home
last modified time | relevance | path

Searched refs:RefreshRateOverlay (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp31 auto RefreshRateOverlay::draw(int refreshRate, int renderFps, bool idle, SkColor color, in draw()
134 void RefreshRateOverlay::drawNumber(int number, int left, SkColor color, SkCanvas& canvas) { in drawNumber()
150 void RefreshRateOverlay::drawDash(int left, SkCanvas& canvas) { in drawDash()
158 std::unique_ptr<RefreshRateOverlay> RefreshRateOverlay::create(FpsRange range, in create()
160 std::unique_ptr<RefreshRateOverlay> overlay = in create()
161 std::make_unique<RefreshRateOverlay>(ConstructorTag{}, range, features); in create()
170 RefreshRateOverlay::RefreshRateOverlay(ConstructorTag, FpsRange fpsRange, in RefreshRateOverlay() function in android::RefreshRateOverlay
187 bool RefreshRateOverlay::initCheck() const { in initCheck()
191 auto RefreshRateOverlay::getOrCreateBuffers(Fps refreshRate, Fps renderFps, bool idle) in getOrCreateBuffers()
252 void RefreshRateOverlay::setViewport(ui::Size viewport) { in setViewport()
[all …]
DRefreshRateOverlay.h39 class RefreshRateOverlay {
52 static std::unique_ptr<RefreshRateOverlay> create(FpsRange, ftl::Flags<Features>);
59 bool isSetByHwc() const { return mFeatures.test(RefreshRateOverlay::Features::SetByHwc); } in isSetByHwc()
62 RefreshRateOverlay(ConstructorTag, FpsRange, ftl::Flags<Features>);
DDisplayDevice.cpp416 ftl::Flags<RefreshRateOverlay::Features> features; in enableRefreshRateOverlay()
418 features |= RefreshRateOverlay::Features::Spinner; in enableRefreshRateOverlay()
422 features |= RefreshRateOverlay::Features::RenderRate; in enableRefreshRateOverlay()
426 features |= RefreshRateOverlay::Features::ShowInMiddle; in enableRefreshRateOverlay()
430 features |= RefreshRateOverlay::Features::SetByHwc; in enableRefreshRateOverlay()
434 mRefreshRateOverlay = RefreshRateOverlay::create(fpsRange, features); in enableRefreshRateOverlay()
DDisplayDevice.h59 class RefreshRateOverlay; variable
255 std::unique_ptr<RefreshRateOverlay> mRefreshRateOverlay;
DAndroid.bp197 "RefreshRateOverlay.cpp",
DSurfaceFlinger.h129 class RefreshRateOverlay; variable
376 friend class RefreshRateOverlay; variable