Home
last modified time | relevance | path

Searched refs:refreshRate (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h71 auto refreshRate = mRefreshRateMap.find(type); in getRefreshRateFromType() local
72 LOG_ALWAYS_FATAL_IF(refreshRate == mRefreshRateMap.end()); in getRefreshRateFromType()
73 return refreshRate->second; in getRefreshRateFromType()
98 for (const auto& [type, refreshRate] : mRefreshRateMap) { in getRefreshRateTypeFromHwcConfigId()
99 if (refreshRate.hwcId == hwcId) { in getRefreshRateTypeFromHwcConfigId()
159 for (const auto& refreshRate : mRefreshRates) { in init() local
160 sortedRefreshRates.push_back(&refreshRate); in init()
DScheduler.cpp361 auto [refreshRate, isHDR] = mLayerHistory.getDesiredRefreshRateAndHDR(); in updateFpsBasedOnContent()
362 const uint32_t refreshRateRound = std::round(refreshRate); in updateFpsBasedOnContent()
444 const auto refreshRate = mRefreshRateConfigs.getCurrentRefreshRate(); in resetKernelTimerCallback() local
445 if (refreshRate.first == RefreshRateType::PERFORMANCE) { in resetKernelTimerCallback()
449 resyncToHardwareVsync(true, refreshRate.second.vsyncPeriod); in resetKernelTimerCallback()
480 const auto refreshRate = mRefreshRateConfigs.getCurrentRefreshRate(); in expiredKernelTimerCallback() local
481 if (refreshRate.first != RefreshRateType::PERFORMANCE) { in expiredKernelTimerCallback()
DLayerInfo.h49 void insertRefreshRate(int refreshRate) { in insertRefreshRate() argument
50 mElements.push_back(refreshRate); in insertRefreshRate()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayAdapter.java132 public static Display.Mode createMode(int width, int height, float refreshRate) { in createMode() argument
134 NEXT_DISPLAY_MODE_ID.getAndIncrement(), width, height, refreshRate); in createMode()
DDisplayModeDirector.java266 final float refreshRate = mode.getRefreshRate(); in filterModes() local
270 if (refreshRate < (minRefreshRate - EPSILON) in filterModes()
271 || refreshRate > (maxRefreshRate + EPSILON)) { in filterModes()
277 + ", modeRefreshRate=" + refreshRate); in filterModes()
678 float refreshRate = requestedMode.getRefreshRate(); in setAppRequestedModeLocked() local
679 refreshRateVote = Vote.forRefreshRates(refreshRate, refreshRate); in setAppRequestedModeLocked()
901 public void onDeviceConfigRefreshRateInZoneChanged(int refreshRate) { in onDeviceConfigRefreshRateInZoneChanged() argument
902 if (refreshRate != mRefreshRateInZone) { in onDeviceConfigRefreshRateInZoneChanged()
903 mRefreshRateInZone = refreshRate; in onDeviceConfigRefreshRateInZoneChanged()
1203 int refreshRate = DeviceConfig.getInt( in getRefreshRateInZone() local
[all …]
DOverlayDisplayAdapter.java239 float refreshRate, long presentationDeadlineNanos, in OverlayDisplayDevice() argument
244 mRefreshRate = refreshRate; in OverlayDisplayDevice()
253 mModes[i] = createMode(mode.mWidth, mode.mHeight, refreshRate); in OverlayDisplayDevice()
412 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, in onWindowCreated() argument
417 DEFAULT_MODE_INDEX, refreshRate, presentationDeadlineNanos, in onWindowCreated()
DWifiDisplayAdapter.java379 float refreshRate = 60.0f; // TODO: get this for real in addDisplayDeviceLocked() local
385 refreshRate, deviceFlags, address, surface); in addDisplayDeviceLocked()
592 int width, int height, float refreshRate, int flags, String address, in WifiDisplayDevice() argument
598 mRefreshRate = refreshRate; in WifiDisplayDevice()
602 mMode = createMode(width, height, refreshRate); in WifiDisplayDevice()
DLocalDisplayAdapter.java834 mMode = createMode(phys.width, phys.height, phys.refreshRate);
846 int displayInfoRefreshRate = Float.floatToIntBits(info.refreshRate);
DOverlayDisplayWindow.java392 float refreshRate, long presentationDeadlineNanos, int state); in onWindowCreated() argument
/frameworks/base/core/java/android/view/
DDisplay.java1253 public Mode(int modeId, int width, int height, float refreshRate) { in Mode() argument
1257 mRefreshRate = refreshRate; in Mode()
1311 public boolean matches(int width, int height, float refreshRate) { in matches() argument
1314 Float.floatToIntBits(mRefreshRate) == Float.floatToIntBits(refreshRate); in matches()
DSurfaceControl.java1389 public float refreshRate; field in SurfaceControl.PhysicalDisplayInfo
1456 && refreshRate == other.refreshRate in equals()
1479 refreshRate = other.refreshRate; in copyFrom()
1493 return "PhysicalDisplayInfo{" + width + " x " + height + ", " + refreshRate + " fps, " in toString()
DDisplayInfo.java510 public int findDefaultModeByRefreshRate(float refreshRate) { in findDefaultModeByRefreshRate() argument
515 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), refreshRate)) { in findDefaultModeByRefreshRate()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h412 auto& setRefreshRate(int32_t refreshRate) { in setRefreshRate() argument
413 mRefreshRate = refreshRate; in setRefreshRate()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp61 jfieldID refreshRate; member
746 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.refreshRate, info.fps); in nativeGetDisplayConfigs()
1403 gPhysicalDisplayInfoClassInfo.refreshRate = GetFieldIDOrDie(env, clazz, "refreshRate", "F"); in register_android_view_SurfaceControl()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1449 void SurfaceFlinger::setRefreshRateTo(RefreshRateType refreshRate, Scheduler::ConfigEvent event) { in setRefreshRateTo() argument
1457 const auto& refreshRateConfig = mRefreshRateConfigs->getRefreshRateFromType(refreshRate); in setRefreshRateTo()
1465 setDesiredActiveConfig({refreshRate, desiredConfigId, event}); in setRefreshRateTo()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java2453 float refreshRate = 60.0f; in onAttachedToWindow() local
2457 refreshRate = displayRefreshRate; in onAttachedToWindow()
2460 mGapWorker.mFrameIntervalNs = (long) (1000000000 / refreshRate); in onAttachedToWindow()
/frameworks/native/vulkan/api/
Dvulkan.api5335 u32 refreshRate