Home
last modified time | relevance | path

Searched refs:pacesetterDisplayRefreshRate (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_CreateDisplayTest.cpp31 float pacesetterDisplayRefreshRate, in createDisplayWithRequestedRefreshRate() argument
59 device->adjustRefreshRate(Fps::fromValue(pacesetterDisplayRefreshRate)); in createDisplayWithRequestedRefreshRate()
63 if (requestedRefreshRate < pacesetterDisplayRefreshRate) { in createDisplayWithRequestedRefreshRate()
67 Fps::fromValue(pacesetterDisplayRefreshRate)); in createDisplayWithRequestedRefreshRate()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp495 void DisplayDevice::adjustRefreshRate(Fps pacesetterDisplayRefreshRate) { in adjustRefreshRate() argument
502 if (mRequestedRefreshRate > pacesetterDisplayRefreshRate) { in adjustRefreshRate()
503 mAdjustedRefreshRate = pacesetterDisplayRefreshRate; in adjustRefreshRate()
508 std::floor(pacesetterDisplayRefreshRate.getValue() / mRequestedRefreshRate.getValue())); in adjustRefreshRate()
514 mAdjustedRefreshRate = pacesetterDisplayRefreshRate / divisor; in adjustRefreshRate()
DDisplayDevice.h212 void adjustRefreshRate(Fps pacesetterDisplayRefreshRate);