Reformat hwc3

find system/hwc3 -iname *.h -o -iname *.cpp | xargs clang-format -i --style=file

Bug: b/319506483
Test: build
(cherry picked from https://android-review.googlesource.com/q/commit:48f7b696a93e78b65ad9cc9deb067b061a98f797)
Merged-In: I793f39e2e6f7a641c856d2eac2b26f286e286719

Change-Id: I793f39e2e6f7a641c856d2eac2b26f286e286719
diff --git a/system/hwc3/DisplayConfig.h b/system/hwc3/DisplayConfig.h
index 7130fff..1abd992 100644
--- a/system/hwc3/DisplayConfig.h
+++ b/system/hwc3/DisplayConfig.h
@@ -26,63 +26,63 @@
 namespace aidl::android::hardware::graphics::composer3::impl {
 
 class DisplayConfig {
- public:
-  DisplayConfig(int32_t configId) : mId(configId) {}
+   public:
+    DisplayConfig(int32_t configId) : mId(configId) {}
 
-  DisplayConfig(int32_t configId, int32_t width, int32_t height, int32_t dpiX,
-                int32_t dpiY, int32_t vsyncPeriodNanos)
-      : mId(configId),
-        mWidth(width),
-        mHeight(height),
-        mDpiX(dpiX),
-        mDpiY(dpiY),
-        mVsyncPeriodNanos(vsyncPeriodNanos) {}
+    DisplayConfig(int32_t configId, int32_t width, int32_t height, int32_t dpiX, int32_t dpiY,
+                  int32_t vsyncPeriodNanos)
+        : mId(configId),
+          mWidth(width),
+          mHeight(height),
+          mDpiX(dpiX),
+          mDpiY(dpiY),
+          mVsyncPeriodNanos(vsyncPeriodNanos) {}
 
-  DisplayConfig(const DisplayConfig& other) = default;
-  DisplayConfig& operator=(DisplayConfig& other) = default;
+    DisplayConfig(const DisplayConfig& other) = default;
+    DisplayConfig& operator=(DisplayConfig& other) = default;
 
-  DisplayConfig(DisplayConfig&& other) = default;
-  DisplayConfig& operator=(DisplayConfig&& other) = default;
+    DisplayConfig(DisplayConfig&& other) = default;
+    DisplayConfig& operator=(DisplayConfig&& other) = default;
 
-  int32_t getId() const { return mId; }
-  void setId(int32_t id) { mId = id; }
+    int32_t getId() const { return mId; }
+    void setId(int32_t id) { mId = id; }
 
-  int32_t getAttribute(DisplayAttribute attribute) const;
-  void setAttribute(DisplayAttribute attribute, int32_t value);
+    int32_t getAttribute(DisplayAttribute attribute) const;
+    void setAttribute(DisplayAttribute attribute, int32_t value);
 
-  int32_t getWidth() const { return mWidth; }
-  void setWidth(int32_t width) { mWidth = width; }
+    int32_t getWidth() const { return mWidth; }
+    void setWidth(int32_t width) { mWidth = width; }
 
-  int32_t getHeight() const { return mHeight; }
-  void getHeight(int32_t height) { mHeight = height; }
+    int32_t getHeight() const { return mHeight; }
+    void getHeight(int32_t height) { mHeight = height; }
 
-  int32_t getDpiX() const { return mDpiX; }
-  void setDpiX(int32_t dpi) { mDpiX = dpi; }
+    int32_t getDpiX() const { return mDpiX; }
+    void setDpiX(int32_t dpi) { mDpiX = dpi; }
 
-  int32_t getDpiY() const { return mDpiY; }
-  void setDpiY(int32_t dpi) { mDpiY = dpi; }
+    int32_t getDpiY() const { return mDpiY; }
+    void setDpiY(int32_t dpi) { mDpiY = dpi; }
 
-  int32_t getDotsPerThousandInchesX() const { return mDpiX * 1000; }
-  int32_t getDotsPerThousandInchesY() const { return mDpiY * 1000; }
+    int32_t getDotsPerThousandInchesX() const { return mDpiX * 1000; }
+    int32_t getDotsPerThousandInchesY() const { return mDpiY * 1000; }
 
-  int32_t getVsyncPeriod() const { return mVsyncPeriodNanos; }
-  void setVsyncPeriod(int32_t vsync) { mVsyncPeriodNanos = vsync; }
+    int32_t getVsyncPeriod() const { return mVsyncPeriodNanos; }
+    void setVsyncPeriod(int32_t vsync) { mVsyncPeriodNanos = vsync; }
 
-  int32_t getConfigGroup() const { return mConfigGroup; }
-  void setConfigGroup(int32_t group) { mConfigGroup = group; }
+    int32_t getConfigGroup() const { return mConfigGroup; }
+    void setConfigGroup(int32_t group) { mConfigGroup = group; }
 
-  std::string toString() const;
+    std::string toString() const;
 
-  static void addConfigGroups(std::vector<DisplayConfig>* configs);
+    static void addConfigGroups(std::vector<DisplayConfig>* configs);
 
- private:
-  int32_t mId;
-  int32_t mWidth;
-  int32_t mHeight;
-  int32_t mDpiX;
-  int32_t mDpiY;
-  int32_t mVsyncPeriodNanos;
-  int32_t mConfigGroup;
+   private:
+    int32_t mId;
+    int32_t mWidth;
+    int32_t mHeight;
+    int32_t mDpiX;
+    int32_t mDpiY;
+    int32_t mVsyncPeriodNanos;
+    int32_t mConfigGroup;
 };
 
 }  // namespace aidl::android::hardware::graphics::composer3::impl