Merge "Add documentation to QSTileRevealController" into tm-qpr-dev am: c5c52e0569

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19754102

Change-Id: I0e191a3cae1803716e60948944c2b01975896849
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Mike Schneider
2022-08-30 09:25:24 +00:00
committed by Automerger Merge Worker

View File

@@ -17,7 +17,14 @@ import java.util.Set;
import javax.inject.Inject; 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 { public class QSTileRevealController {
private static final long QS_REVEAL_TILES_DELAY = 500L; private static final long QS_REVEAL_TILES_DELAY = 500L;
@@ -39,6 +46,7 @@ public class QSTileRevealController {
}); });
} }
}; };
QSTileRevealController(Context context, QSPanelController qsPanelController, QSTileRevealController(Context context, QSPanelController qsPanelController,
PagedTileLayout pagedTileLayout, QSCustomizerController qsCustomizerController) { PagedTileLayout pagedTileLayout, QSCustomizerController qsCustomizerController) {
mContext = context; mContext = context;