From 9ff19fe0c6d752cd0c9c8a8cd39738ce269396b2 Mon Sep 17 00:00:00 2001 From: Mike Schneider Date: Mon, 29 Aug 2022 13:44:59 +0200 Subject: Add documentation to QSTileRevealController Ensure folks new to the code (like me) understand what this is all about Test: Documentation change only Bug: 203537805 Change-Id: Ib5f0edfb255dd65340c581ab21b9c9f2f9a8cfe6 --- .../src/com/android/systemui/qs/QSTileRevealController.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSTileRevealController.java b/packages/SystemUI/src/com/android/systemui/qs/QSTileRevealController.java index 3f931088ec83..5da480968b89 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSTileRevealController.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSTileRevealController.java @@ -17,7 +17,14 @@ import java.util.Set; import javax.inject.Inject; -/** */ +/** + * Plays a animation to reveal newly added QS tiles. + * + * The aniumation is played when the user fully opens Quick Settings, and is only shown for + *
  • tiles added automatically (not through user customization) + *
  • tiles not have been revealed before (memoized via {@code QS_TILE_SPECS_REVEALED} + * preference) + */ public class QSTileRevealController { private static final long QS_REVEAL_TILES_DELAY = 500L; @@ -39,6 +46,7 @@ public class QSTileRevealController { }); } }; + QSTileRevealController(Context context, QSPanelController qsPanelController, PagedTileLayout pagedTileLayout, QSCustomizerController qsCustomizerController) { mContext = context; -- cgit v1.2.3-59-g8ed1b