/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | RequestedRefreshRateVote.java | 24 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/ |
D | BaseTest.java | 53 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/ |
D | RefreshRatePolicy.java | 193 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()
|
D | WindowState.java | 5236 .setFrameRate(mSurfaceControl, mFrameRateVote.mRefreshRate, in updateFrameRateSelectionPriorityIfNeeded()
|
/frameworks/native/services/surfaceflinger/ |
D | RefreshRateOverlay.cpp | 276 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()
|
D | RefreshRateOverlay.h | 93 std::optional<Fps> mRefreshRate; variable
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 98 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/ |
D | PersistentDataStore.java | 658 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()
|
D | OverlayDisplayAdapter.java | 271 private final float mRefreshRate; field in OverlayDisplayAdapter.OverlayDisplayDevice 291 mRefreshRate = refreshRate; in OverlayDisplayDevice() 353 1000000000L / (int) mRefreshRate; // display's deadline + 1 frame in getDisplayDeviceInfoLocked()
|
D | WifiDisplayAdapter.java | 601 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/ |
D | FrameTimeline.cpp | 947 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()
|
D | FrameTimeline.h | 464 Fps mRefreshRate; variable
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 2540 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/ |
D | hiddenapi-max-target-o.txt | 59043 Landroid/view/Display$Mode;->mRefreshRate:F
|