Home
last modified time | relevance | path

Searched refs:vsyncRate (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/config/
DSupportedModeData.java29 public final float vsyncRate; field in SupportedModeData
31 public SupportedModeData(float refreshRate, float vsyncRate) { in SupportedModeData() argument
33 this.vsyncRate = vsyncRate; in SupportedModeData()
40 + ", vsyncRate= " + vsyncRate in toString()
/frameworks/native/services/surfaceflinger/Display/
DDisplayModeController.cpp212 Fps vsyncRate, Fps renderFps) { in finalizeModeChange() argument
214 setActiveModeLocked(displayId, modeId, vsyncRate, renderFps); in finalizeModeChange()
221 Fps vsyncRate, Fps renderFps) { in setActiveMode() argument
223 setActiveModeLocked(displayId, modeId, vsyncRate, renderFps); in setActiveMode()
227 Fps vsyncRate, Fps renderFps) { in setActiveModeLocked() argument
230 ATRACE_INT(displayPtr->activeModeFpsTrace.c_str(), vsyncRate.getIntValue()); in setActiveModeLocked()
236 mActiveModeListener(displayId, vsyncRate, renderFps); in setActiveModeLocked()
DDisplayModeController.h47 using ActiveModeListener = ftl::Function<void(PhysicalDisplayId, Fps vsyncRate, Fps renderFps)>;
94 void finalizeModeChange(PhysicalDisplayId, DisplayModeId, Fps vsyncRate, Fps renderFps)
97 void setActiveMode(PhysicalDisplayId, DisplayModeId, Fps vsyncRate, Fps renderFps)
128 void setActiveModeLocked(PhysicalDisplayId, DisplayModeId, Fps vsyncRate, Fps renderFps)
/frameworks/base/services/core/java/com/android/server/display/mode/
DSupportedRefreshRatesVote.java70 RefreshRates(float peakRefreshRate, float vsyncRate) { in RefreshRates() argument
72 mVsyncRate = vsyncRate; in RefreshRates()
DVote.java227 rates.add(new SupportedRefreshRatesVote.RefreshRates(data.refreshRate, data.vsyncRate)); in forSupportedRefreshRates()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayAdapter.java134 public static Display.Mode createMode(int width, int height, float refreshRate, float vsyncRate, in createMode() argument
138 vsyncRate, /* isSynthetic= */ false, alternativeRefreshRates, supportedHdrTypes); in createMode()
DLocalDisplayAdapter.java1419 mMode = createMode(mode.width, mode.height, mode.peakRefreshRate, mode.vsyncRate,
1436 == Float.floatToIntBits(mode.vsyncRate);
/frameworks/native/libs/gui/aidl/android/gui/
DDisplayMode.aidl34 float vsyncRate = 0.0f;
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayMode.h42 float vsyncRate = 0.f; member
/frameworks/native/libs/ui/include/ui/
DDisplayMode.h42 float vsyncRate = 0.f; member
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncPredictorTest.cpp681 const auto vsyncRate = Fps::fromPeriodNsecs(500); in TEST_F() local
686 ftl::as_non_null(createDisplayModeBuilder(DisplayModeId(0), vsyncRate, kGroup, in TEST_F()
747 const auto vsyncRate = Fps::fromPeriodNsecs(1000); in TEST_F() local
752 ftl::as_non_null(createDisplayModeBuilder(DisplayModeId(0), vsyncRate, kGroup, in TEST_F()
774 const auto vsyncRate = Fps::fromPeriodNsecs(500); in TEST_F() local
779 ftl::as_non_null(createDisplayModeBuilder(DisplayModeId(0), vsyncRate, kGroup, in TEST_F()
806 const auto vsyncRate = Fps::fromPeriodNsecs(500); in TEST_F() local
811 ftl::as_non_null(createDisplayModeBuilder(DisplayModeId(0), vsyncRate, kGroup, in TEST_F()
833 const auto vsyncRate = Fps::fromPeriodNsecs(500); in TEST_F() local
838 ftl::as_non_null(createDisplayModeBuilder(DisplayModeId(0), vsyncRate, kGroup, in TEST_F()
DDisplayModeControllerTest.cpp55 [this](PhysicalDisplayId displayId, Fps vsyncRate, Fps renderFps) { in SetUp() argument
56 mActiveModeListener.Call(displayId, vsyncRate, renderFps); in SetUp()
DFrameTimelineTest.cpp1795 Fps vsyncRate = RR_11; in TEST_F() local
1799 mFrameTimeline->setSfWakeUp(sfToken1, 22, vsyncRate, vsyncRate); in TEST_F()
1809 mFrameTimeline->setSfWakeUp(sfToken2, 52, vsyncRate, vsyncRate); in TEST_F()
1836 Fps vsyncRate = RR_11; in TEST_F() local
1840 mFrameTimeline->setSfWakeUp(sfToken1, 22, vsyncRate, vsyncRate); in TEST_F()
1850 mFrameTimeline->setSfWakeUp(sfToken2, 52, vsyncRate, vsyncRate); in TEST_F()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DVoteSummaryTest.kt194 private fun createMode(modeId: Int, refreshRate: Float, vsyncRate: Float): Display.Mode { in createMode()
195 return Display.Mode(modeId, 600, 800, refreshRate, vsyncRate, false, in createMode()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.cpp107 std::pair<unsigned, unsigned> divisorRange(Fps vsyncRate, Fps peakFps, FpsRange range, in divisorRange() argument
118 static_cast<int>(vsyncRate / in divisorRange()
122 const auto end = vsyncRate / in divisorRange()
189 const auto vsyncRate = mode->getVsyncRate(); in createFrameRateModes() local
192 divisorRange(vsyncRate, peakFps, renderRange, mConfig.enableFrameRateOverride); in createFrameRateModes()
194 const auto fps = vsyncRate / divisor; in createFrameRateModes()
215 to_string(peakFps).c_str(), to_string(vsyncRate).c_str()); in createFrameRateModes()
231 to_string(vsyncRate).c_str()); in createFrameRateModes()
237 to_string(vsyncRate).c_str()); in createFrameRateModes()
/frameworks/base/core/java/android/view/
DDisplay.java2261 public Mode(int modeId, int width, int height, float refreshRate, float vsyncRate, in Mode() argument
2263 this(modeId, width, height, refreshRate, vsyncRate, false, alternativeRefreshRates, in Mode()
2270 public Mode(int modeId, int width, int height, float refreshRate, float vsyncRate, in Mode() argument
2277 mVsyncRate = vsyncRate; in Mode()
DSurfaceControl.java1819 public float vsyncRate; field in SurfaceControl.DisplayMode
1840 + ", vsyncRate=" + vsyncRate in toString()
1858 && Float.compare(that.vsyncRate, vsyncRate) == 0 in equals()
1867 return Objects.hash(id, width, height, xDpi, yDpi, peakRefreshRate, vsyncRate, in hashCode()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java1417 float vsyncRate) { in createFakeDisplayMode() argument
1418 return createFakeDisplayMode(id, width, height, refreshRate, vsyncRate, /* group */ 0); in createFakeDisplayMode()
1427 float refreshRate, float vsyncRate, int group) { in createFakeDisplayMode() argument
1433 mode.vsyncRate = vsyncRate; in createFakeDisplayMode()
1539 == Float.floatToIntBits(b.vsyncRate); in matches()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp130 jfieldID vsyncRate; member
1311 env->SetFloatField(object, gDisplayModeClassInfo.vsyncRate, config.vsyncRate); in convertDisplayModeToJavaObject()
2547 gDisplayModeClassInfo.vsyncRate = GetFieldIDOrDie(env, modeClazz, "vsyncRate", "F"); in register_android_view_SurfaceControl()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp2617 outMode.vsyncRate = mode.vsyncRate; in getDynamicDisplayInfoInternal()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp941 [this](PhysicalDisplayId displayId, Fps vsyncRate, Fps renderRate) { in init() argument
947 display->updateRefreshRateOverlayRate(vsyncRate, renderRate); in init()
1182 outMode.vsyncRate = mode->getVsyncRate().getValue(); in getDynamicDisplayInfoInternal()
9848 outMode.vsyncRate = mode.vsyncRate; in getDynamicDisplayInfoInternal()