Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DDisplay.java993 private final float mRefreshRate; field in Display.Mode
1002 mRefreshRate = refreshRate; in Mode()
1048 return mRefreshRate; in getRefreshRate()
1059 Float.floatToIntBits(mRefreshRate) == Float.floatToIntBits(refreshRate); in matches()
1071 return mModeId == that.mModeId && matches(that.mWidth, that.mHeight, that.mRefreshRate); in equals()
1080 hash = hash * 17 + Float.floatToIntBits(mRefreshRate); in hashCode()
1090 .append(", fps=").append(mRefreshRate) in toString()
1109 out.writeFloat(mRefreshRate); in writeToParcel()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java99 private double mRefreshRate; field in SurfaceCompositionMeasuringActivity
426 double fps = mViews.get(0).measureFPS(mRefreshRate * 0.8, mRefreshRate * 0.999); in measureFPS()
529 ". Refresh rate: " + DOUBLE_FORMAT.format(mRefreshRate) + "."; in updateSystemInfo()
535 mRefreshRate = wm.getDefaultDisplay().getRefreshRate(); in detectRefreshRate()
536 if (mRefreshRate < MIN_REFRESH_RATE_SUPPORTED) in detectRefreshRate()
537 throw new RuntimeException("Unsupported display refresh rate: " + mRefreshRate); in detectRefreshRate()
538 mTargetFPS = mRefreshRate - 2.0f; in detectRefreshRate()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java224 private final float mRefreshRate; field in OverlayDisplayAdapter.OverlayDisplayDevice
244 mRefreshRate = refreshRate; in OverlayDisplayDevice()
300 1000000000L / (int) mRefreshRate; // display's deadline + 1 frame in getDisplayDeviceInfoLocked()
DWifiDisplayAdapter.java583 private final float mRefreshRate; field in WifiDisplayAdapter.WifiDisplayDevice
598 mRefreshRate = refreshRate; in WifiDisplayDevice()
636 mInfo.presentationDeadlineNanos = 1000000000L / (int) mRefreshRate; // 1 frame in getDisplayDeviceInfoLocked()