/frameworks/base/services/core/java/com/android/server/display/config/ |
D | SupportedModeData.java | 29 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/ |
D | DisplayModeController.cpp | 212 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()
|
D | DisplayModeController.h | 47 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/ |
D | SupportedRefreshRatesVote.java | 70 RefreshRates(float peakRefreshRate, float vsyncRate) { in RefreshRates() argument 72 mVsyncRate = vsyncRate; in RefreshRates()
|
D | Vote.java | 227 rates.add(new SupportedRefreshRatesVote.RefreshRates(data.refreshRate, data.vsyncRate)); in forSupportedRefreshRates()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayAdapter.java | 134 public static Display.Mode createMode(int width, int height, float refreshRate, float vsyncRate, in createMode() argument 138 vsyncRate, /* isSynthetic= */ false, alternativeRefreshRates, supportedHdrTypes); in createMode()
|
D | LocalDisplayAdapter.java | 1419 mMode = createMode(mode.width, mode.height, mode.peakRefreshRate, mode.vsyncRate, 1436 == Float.floatToIntBits(mode.vsyncRate);
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | DisplayMode.aidl | 34 float vsyncRate = 0.0f;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | DisplayMode.h | 42 float vsyncRate = 0.f; member
|
/frameworks/native/libs/ui/include/ui/ |
D | DisplayMode.h | 42 float vsyncRate = 0.f; member
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncPredictorTest.cpp | 681 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()
|
D | DisplayModeControllerTest.cpp | 55 [this](PhysicalDisplayId displayId, Fps vsyncRate, Fps renderFps) { in SetUp() argument 56 mActiveModeListener.Call(displayId, vsyncRate, renderFps); in SetUp()
|
D | FrameTimelineTest.cpp | 1795 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/ |
D | VoteSummaryTest.kt | 194 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/ |
D | RefreshRateSelector.cpp | 107 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/ |
D | Display.java | 2261 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()
|
D | SurfaceControl.java | 1819 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/ |
D | LocalDisplayAdapterTest.java | 1417 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/ |
D | android_view_SurfaceControl.cpp | 130 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/ |
D | SurfaceComposerClient.cpp | 2617 outMode.vsyncRate = mode.vsyncRate; in getDynamicDisplayInfoInternal()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 941 [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()
|