Home
last modified time | relevance | path

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

/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/core/java/android/view/
DDisplay.java1890 private final float mRefreshRate; field in Display.Mode
1918 mRefreshRate = refreshRate; in Mode()
1967 return mRefreshRate; in getRefreshRate()
2004 Float.floatToIntBits(mRefreshRate) == Float.floatToIntBits(refreshRate); in matches()
2028 || Float.floatToIntBits(mRefreshRate) == Float.floatToIntBits(refreshRate)); in matchesIfValid()
2047 return mRefreshRate != INVALID_DISPLAY_REFRESH_RATE; in isRefreshRateSet()
2068 return mModeId == that.mModeId && matches(that.mWidth, that.mHeight, that.mRefreshRate) in equals()
2078 hash = hash * 17 + Float.floatToIntBits(mRefreshRate); in hashCode()
2089 .append(", fps=").append(mRefreshRate) in toString()
2110 out.writeFloat(mRefreshRate); in writeToParcel()
[all …]
/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.java652 private float mRefreshRate; field in PersistentDataStore.DisplayState
707 if (refreshRate == mRefreshRate) { in setRefreshRate()
710 mRefreshRate = refreshRate; in setRefreshRate()
715 return mRefreshRate; in getRefreshRate()
749 mRefreshRate = Float.parseFloat(refreshRate); in loadFromXml()
779 serializer.text(Float.toString(mRefreshRate)); in saveToXml()
789 pw.println(prefix + "RefreshRate=" + mRefreshRate); in dump()
DOverlayDisplayAdapter.java267 private final float mRefreshRate; field in OverlayDisplayAdapter.OverlayDisplayDevice
287 mRefreshRate = refreshRate; in OverlayDisplayDevice()
348 1000000000L / (int) mRefreshRate; // display's deadline + 1 frame in getDisplayDeviceInfoLocked()
DWifiDisplayAdapter.java591 private final float mRefreshRate; field in WifiDisplayAdapter.WifiDisplayDevice
607 mRefreshRate = refreshRate; in WifiDisplayDevice()
650 mInfo.presentationDeadlineNanos = 1000000000L / (int) mRefreshRate; // 1 frame in getDisplayDeviceInfoLocked()
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.cpp858 mRefreshRate = refreshRate; in onSfWakeUp()
912 deltaToVsync = mRefreshRate.getPeriodNsecs() > 0 in classifyJank()
913 ? std::abs(presentDelta) % mRefreshRate.getPeriodNsecs() in classifyJank()
943 deltaToVsync >= (mRefreshRate.getPeriodNsecs() - in classifyJank()
972 deltaToVsync >= (mRefreshRate.getPeriodNsecs() - in classifyJank()
985 mRefreshRate.getPeriodNsecs() + in classifyJank()
991 mRefreshRate.getPeriodNsecs()) { in classifyJank()
1017 surfaceFrame->onPresent(signalTime, mJankType, mRefreshRate, deadlineDelta, deltaToVsync); in onPresent()
1257 std::chrono::nanoseconds vsyncPeriod(mRefreshRate.getPeriodNsecs()); in dump()
1265 std::chrono::nanoseconds deltaToVsync(std::abs(presentDelta) % mRefreshRate.getPeriodNsecs()); in dump()
DFrameTimeline.h439 Fps mRefreshRate; variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59686 Landroid/view/Display$Mode;->mRefreshRate:F