Home
last modified time | relevance | path

Searched refs:mRefreshRate (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/mode/
DRequestedRefreshRateVote.java24 final float mRefreshRate; field in RequestedRefreshRateVote
27 this.mRefreshRate = refreshRate; in RequestedRefreshRateVote()
32 summary.requestedRefreshRates.add(mRefreshRate); in updateSummary()
37 return "RequestedRefreshRateVote{ refreshRate=" + mRefreshRate + " }"; in toString()
44 return Float.compare(mRefreshRate, that.mRefreshRate) == 0; in equals()
49 return Objects.hash(mRefreshRate); in hashCode()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DBaseTest.java53 private final double mRefreshRate; field in BaseTest
57 mRefreshRate = activity.getDisplay().getRefreshRate(); in BaseTest()
96 final double passFps = PASS_THRESHOLD * mRefreshRate; in run()
97 final double obviousBadFps = OBVIOUS_BAD_THRESHOLD * mRefreshRate; in run()
/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java193 float mRefreshRate; field in RefreshRatePolicy.FrameRateVote
213 mRefreshRate = refreshRate; in update()
233 return refreshRateEquals(other.mRefreshRate) in equals()
240 return Objects.hash(mRefreshRate, mCompatibility, mSelectionStrategy); in hashCode()
246 return "mRefreshRate=" + mRefreshRate + ", mCompatibility=" + mCompatibility in toString()
251 return mRefreshRate <= refreshRate + RefreshRateRange.FLOAT_TOLERANCE in refreshRateEquals()
252 && mRefreshRate >= refreshRate - RefreshRateRange.FLOAT_TOLERANCE; in refreshRateEquals()
DWindowState.java5236 .setFrameRate(mSurfaceControl, mFrameRateVote.mRefreshRate, in updateFrameRateSelectionPriorityIfNeeded()
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp276 mRefreshRate = refreshRate; in changeRefreshRate()
284 if (!mRefreshRate || !mRenderFps) return; in onVrrIdle()
286 const auto buffer = getOrCreateBuffers(*mRefreshRate, *mRenderFps, mIsVrrIdle)[mFrame]; in onVrrIdle()
291 if (mFeatures.test(Features::RenderRate) && mRefreshRate && in changeRenderRate()
294 const auto buffer = getOrCreateBuffers(*mRefreshRate, renderFps, mIsVrrIdle)[mFrame]; in changeRenderRate()
300 if (!mFeatures.test(Features::Spinner) || !mRefreshRate) return; in animate()
302 const auto& buffers = getOrCreateBuffers(*mRefreshRate, *mRenderFps, mIsVrrIdle); in animate()
DRefreshRateOverlay.h93 std::optional<Fps> mRefreshRate; variable
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java98 private double mRefreshRate; field in SurfaceCompositionMeasuringActivity
425 double fps = mViews.get(0).measureFPS(mRefreshRate * 0.8, mRefreshRate * 0.999); in measureFPS()
528 ". Refresh rate: " + DOUBLE_FORMAT.format(mRefreshRate) + "."; in updateSystemInfo()
533 mRefreshRate = getDisplay().getRefreshRate(); in detectRefreshRate()
534 if (mRefreshRate < MIN_REFRESH_RATE_SUPPORTED) in detectRefreshRate()
535 throw new RuntimeException("Unsupported display refresh rate: " + mRefreshRate); in detectRefreshRate()
536 mTargetFPS = mRefreshRate - 2.0f; in detectRefreshRate()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java658 private float mRefreshRate; field in PersistentDataStore.DisplayState
722 if (refreshRate == mRefreshRate) { in setRefreshRate()
725 mRefreshRate = refreshRate; in setRefreshRate()
730 return mRefreshRate; in getRefreshRate()
759 mRefreshRate = Float.parseFloat(refreshRate); in loadFromXml()
790 serializer.text(Float.toString(mRefreshRate)); in saveToXml()
804 pw.println(prefix + "RefreshRate=" + mRefreshRate); in dump()
DOverlayDisplayAdapter.java271 private final float mRefreshRate; field in OverlayDisplayAdapter.OverlayDisplayDevice
291 mRefreshRate = refreshRate; in OverlayDisplayDevice()
353 1000000000L / (int) mRefreshRate; // display's deadline + 1 frame in getDisplayDeviceInfoLocked()
DWifiDisplayAdapter.java601 private final float mRefreshRate; field in WifiDisplayAdapter.WifiDisplayDevice
617 mRefreshRate = refreshRate; in WifiDisplayDevice()
661 mInfo.presentationDeadlineNanos = 1000000000L / (int) mRefreshRate; // 1 frame in getDisplayDeviceInfoLocked()
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.cpp947 mRefreshRate = refreshRate; in onSfWakeUp()
1009 deltaToVsync = mRefreshRate.getPeriodNsecs() > 0 in classifyJank()
1010 ? std::abs(presentDelta) % mRefreshRate.getPeriodNsecs() in classifyJank()
1045 deltaToVsync >= (mRefreshRate.getPeriodNsecs() - in classifyJank()
1074 deltaToVsync >= (mRefreshRate.getPeriodNsecs() - in classifyJank()
1087 mRefreshRate.getPeriodNsecs() + in classifyJank()
1116 surfaceFrame->onPresent(signalTime, mJankType, mRefreshRate, mRenderRate, deadlineDelta, in onPresent()
1123 surfaceFrame->onCommitNotComposited(mRefreshRate, mRenderRate); in onCommitNotComposited()
1470 std::chrono::nanoseconds vsyncPeriod(mRefreshRate.getPeriodNsecs()); in dump()
1478 std::chrono::nanoseconds deltaToVsync(std::abs(presentDelta) % mRefreshRate.getPeriodNsecs()); in dump()
DFrameTimeline.h464 Fps mRefreshRate; variable
/frameworks/base/core/java/android/view/
DDisplay.java2540 private float mRefreshRate; field in Display.Mode.Builder
2545 mRefreshRate = Display.INVALID_DISPLAY_REFRESH_RATE; in Builder()
2570 mRefreshRate = refreshRate; in setRefreshRate()
2600 Display.Mode mode = new Mode(mWidth, mHeight, mRefreshRate); in build()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59043 Landroid/view/Display$Mode;->mRefreshRate:F