Merge "Update string for dwell click timing" into pi-dev am: c10659cee7

am: 5f6dd9b4f2

Change-Id: Ied2a98e49ccb06b8196ded44b081f6768d09d743
This commit is contained in:
Phil Weaver
2018-03-20 05:22:49 +00:00
committed by android-build-merger
2 changed files with 5 additions and 1 deletions

View File

@@ -4404,7 +4404,9 @@
<!-- Subtitle for the accessibility preference to configure display color inversion. [CHAR LIMIT=NONE] -->
<string name="accessibility_display_inversion_preference_subtitle">May affect performance</string>
<!-- Title for accessibility preference for configuring feature that performs click action soon after mouse/trackpad pointer stops moving. [CHAR LIMIT=NONE] -->
<string name="accessibility_autoclick_preference_title">Click after pointer stops moving</string>
<string name="accessibility_autoclick_preference_title">Dwell timing</string>
<!-- Footer text to explain what autoclick does -->
<string name="accessibility_autoclick_description">If you are using a mouse, you can set the cursor to take action automatically when it stops moving for a certain amount of time.</string>
<!-- Title for accessibility preference for configuring amount of time that has to pass after pointer stops moving before click action can be performed (if automatic click after pointer stops moving feature is enabled). [CHAR LIMIT=NONE] -->
<string name="accessibility_autoclick_delay_preference_title">Delay before click</string>
<!-- Title for accessibility preference screen for configuring vibrations. -->

View File

@@ -126,6 +126,8 @@ public class ToggleAutoclickPreferenceFragment extends ToggleFeaturePreferenceFr
mDelay.setMax(delayToSeekBarProgress(MAX_AUTOCLICK_DELAY));
mDelay.setProgress(delayToSeekBarProgress(delay));
mDelay.setOnPreferenceChangeListener(this);
mFooterPreferenceMixin.createFooterPreference()
.setTitle(R.string.accessibility_autoclick_description);
}
@Override