surfaceflinger: put RefreshRateOverlay in the center for circular displays

- Use debug.sf.show_refresh_rate_overlay_in_middle sysprop to turn on.

Test: Visual
Before: screenshot/3nJHsbGsXAjLWNr
After: screenshot/3RtYGnCAe5M2Pf9

Bug: 265356373
Change-Id: Ib598e6f5c7a1c4b13fa4d6e4dbc2e29b2e25bfc8
diff --git a/services/surfaceflinger/DisplayDevice.h b/services/surfaceflinger/DisplayDevice.h
index d757673..08d64f1 100644
--- a/services/surfaceflinger/DisplayDevice.h
+++ b/services/surfaceflinger/DisplayDevice.h
@@ -237,8 +237,8 @@
     }
 
     // Enables an overlay to be displayed with the current refresh rate
-    void enableRefreshRateOverlay(bool enable, bool showSpinner, bool showRenderRate)
-            REQUIRES(kMainThreadContext);
+    void enableRefreshRateOverlay(bool enable, bool showSpinner, bool showRenderRate,
+                                  bool showInMiddle) REQUIRES(kMainThreadContext);
     bool isRefreshRateOverlayEnabled() const { return mRefreshRateOverlay != nullptr; }
     bool onKernelTimerChanged(std::optional<DisplayModeId>, bool timerExpired);
     void animateRefreshRateOverlay();