OSDN Git Service

Introduce settings for Automatic click when mouse pointer stops
authorToni Barzic <tbarzic@google.com>
Wed, 9 Sep 2015 19:30:41 +0000 (12:30 -0700)
committerToni Barzic <tbarzic@google.com>
Mon, 14 Sep 2015 21:59:26 +0000 (14:59 -0700)
commit386f8349709380143f9bf38b41d8dffe736075bf
tree9c17609fe1ea178fa8d506d465155daed5712c30
parentb2b360b6ca4aaae363167f2ec76702f7fc199be5
Introduce settings for Automatic click when mouse pointer stops

Settings in question are:
- accessibility_autoclick_enabled -> Whether the feature is enabled
- accessibility_autoclick_delay -> Amount of time mouse pointer has to
    stay still before performing click

Enable/disabled AutoclickController event stream transformation (which
implements the feature) based on the accessibiilty_autoclick_enabled
value

BUG=23113412

Change-Id: I8178d10c09d86713bb4c725c95268a7c5f432eb4
core/java/android/provider/Settings.java
services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java