Loading services/accessibility/java/com/android/server/accessibility/autoclick/AutoclickController.java +27 −19 Original line number Diff line number Diff line Loading @@ -99,12 +99,18 @@ public class AutoclickController extends BaseEventStreamTransformation { float mScrollCursorY; // Lazily created on the first mouse motion event. @VisibleForTesting ClickScheduler mClickScheduler; @VisibleForTesting AutoclickSettingsObserver mAutoclickSettingsObserver; @VisibleForTesting AutoclickIndicatorScheduler mAutoclickIndicatorScheduler; @VisibleForTesting AutoclickIndicatorView mAutoclickIndicatorView; @VisibleForTesting AutoclickTypePanel mAutoclickTypePanel; @VisibleForTesting AutoclickScrollPanel mAutoclickScrollPanel; @VisibleForTesting ClickScheduler mClickScheduler; @VisibleForTesting AutoclickSettingsObserver mAutoclickSettingsObserver; @VisibleForTesting AutoclickIndicatorScheduler mAutoclickIndicatorScheduler; @VisibleForTesting AutoclickIndicatorView mAutoclickIndicatorView; @VisibleForTesting AutoclickTypePanel mAutoclickTypePanel; @VisibleForTesting AutoclickScrollPanel mAutoclickScrollPanel; private WindowManager mWindowManager; // Default click type is left-click. Loading Loading @@ -311,7 +317,8 @@ public class AutoclickController extends BaseEventStreamTransformation { } else { cancelPendingClick(); } } break; } break; // Ignore hover enter and exit. case MotionEvent.ACTION_HOVER_ENTER: case MotionEvent.ACTION_HOVER_EXIT: Loading Loading @@ -803,6 +810,7 @@ public class AutoclickController extends BaseEventStreamTransformation { /** * Updates delay that should be used when scheduling clicks. The delay will be used only for * clicks scheduled after this point (pending click tasks are not affected). * * @param delay New delay value. */ public void updateDelay(int delay) { Loading Loading
services/accessibility/java/com/android/server/accessibility/autoclick/AutoclickController.java +27 −19 Original line number Diff line number Diff line Loading @@ -99,12 +99,18 @@ public class AutoclickController extends BaseEventStreamTransformation { float mScrollCursorY; // Lazily created on the first mouse motion event. @VisibleForTesting ClickScheduler mClickScheduler; @VisibleForTesting AutoclickSettingsObserver mAutoclickSettingsObserver; @VisibleForTesting AutoclickIndicatorScheduler mAutoclickIndicatorScheduler; @VisibleForTesting AutoclickIndicatorView mAutoclickIndicatorView; @VisibleForTesting AutoclickTypePanel mAutoclickTypePanel; @VisibleForTesting AutoclickScrollPanel mAutoclickScrollPanel; @VisibleForTesting ClickScheduler mClickScheduler; @VisibleForTesting AutoclickSettingsObserver mAutoclickSettingsObserver; @VisibleForTesting AutoclickIndicatorScheduler mAutoclickIndicatorScheduler; @VisibleForTesting AutoclickIndicatorView mAutoclickIndicatorView; @VisibleForTesting AutoclickTypePanel mAutoclickTypePanel; @VisibleForTesting AutoclickScrollPanel mAutoclickScrollPanel; private WindowManager mWindowManager; // Default click type is left-click. Loading Loading @@ -311,7 +317,8 @@ public class AutoclickController extends BaseEventStreamTransformation { } else { cancelPendingClick(); } } break; } break; // Ignore hover enter and exit. case MotionEvent.ACTION_HOVER_ENTER: case MotionEvent.ACTION_HOVER_EXIT: Loading Loading @@ -803,6 +810,7 @@ public class AutoclickController extends BaseEventStreamTransformation { /** * Updates delay that should be used when scheduling clicks. The delay will be used only for * clicks scheduled after this point (pending click tasks are not affected). * * @param delay New delay value. */ public void updateDelay(int delay) { Loading