Searched refs:mRefreshRate (Results 1 – 9 of 9) sorted by relevance
53 private final double mRefreshRate; field in BaseTest57 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()
1890 private final float mRefreshRate; field in Display.Mode1918 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 …]
98 private double mRefreshRate; field in SurfaceCompositionMeasuringActivity425 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()
652 private float mRefreshRate; field in PersistentDataStore.DisplayState707 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()
267 private final float mRefreshRate; field in OverlayDisplayAdapter.OverlayDisplayDevice287 mRefreshRate = refreshRate; in OverlayDisplayDevice()348 1000000000L / (int) mRefreshRate; // display's deadline + 1 frame in getDisplayDeviceInfoLocked()
591 private final float mRefreshRate; field in WifiDisplayAdapter.WifiDisplayDevice607 mRefreshRate = refreshRate; in WifiDisplayDevice()650 mInfo.presentationDeadlineNanos = 1000000000L / (int) mRefreshRate; // 1 frame in getDisplayDeviceInfoLocked()
858 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()
439 Fps mRefreshRate; variable
59686 Landroid/view/Display$Mode;->mRefreshRate:F