summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mike Schneider <michschn@google.com> 2022-08-29 13:44:59 +0200
committer Mike Schneider <michschn@google.com> 2022-08-30 06:44:19 +0000
commit9ff19fe0c6d752cd0c9c8a8cd39738ce269396b2 (patch)
treec9ef31303746231d08594bcb928bae07e6e554d1
parent8bfc996c7bad3fbe518a77e680e2fb4cb556a9b7 (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QSTileRevealController.java10
1 files changed, 9 insertions, 1 deletions
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
+ * <li> tiles added automatically (not through user customization)
+ * <li> 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;