List of usage examples for android.view.accessibility AccessibilityManager AUTOCLICK_DELAY_DEFAULT
int AUTOCLICK_DELAY_DEFAULT
To view the source code for android.view.accessibility AccessibilityManager AUTOCLICK_DELAY_DEFAULT.
Click Source Link
From source file:com.android.settings.accessibility.AccessibilitySettings.java
private void updateAutoclickSummary(Preference pref) { final boolean enabled = Settings.Secure.getInt(getContentResolver(), Settings.Secure.ACCESSIBILITY_AUTOCLICK_ENABLED, 0) == 1; if (!enabled) { pref.setSummary(R.string.accessibility_feature_state_off); return;/*w w w . j av a 2 s. c o m*/ } int delay = Settings.Secure.getInt(getContentResolver(), Settings.Secure.ACCESSIBILITY_AUTOCLICK_DELAY, AccessibilityManager.AUTOCLICK_DELAY_DEFAULT); pref.setSummary(ToggleAutoclickPreferenceFragment.getAutoclickPreferenceSummary(getResources(), delay)); }