Home
last modified time | relevance | path

Searched refs:snapJob (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/rotaryinput/
DRotary.kt875 private var snapJob: Job = CompletableDeferred<Unit>() variable in HighResSnapHandler
898 snapJob.cancel() in handleScrollEvent()
917 if (!snapJob.isActive) { in handleScrollEvent()
939 val sequentialSnap = snapJob.isActive in handleScrollEvent()
954 if (!snapJob.isActive) { in handleScrollEvent()
955 snapJob.cancel() in handleScrollEvent()
956 snapJob = in handleScrollEvent()
968 if (!snapJob.isActive) { in handleScrollEvent()
982 snapJob.cancel() in handleScrollEvent()
983 snapJob = coroutineScope.async { snapBehaviour.snapToClosestItem() } in handleScrollEvent()
[all …]