Java Code Examples for android.view.View.IMPORTANT_FOR_ACCESSIBILITY_AUTO

The following are Jave code examples for showing how to use IMPORTANT_FOR_ACCESSIBILITY_AUTO of the android.view.View class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: yjPlay   File: DefaultTimeBar.java   View Source Code Vote up 4 votes
@TargetApi(16)
private void maybeSetImportantForAccessibilityV16() {
  if (getImportantForAccessibility() == View.IMPORTANT_FOR_ACCESSIBILITY_AUTO) {
    setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_YES);
  }
}
 
Example 2
Project: PreviewSeekBar   File: CustomTimeBar.java   View Source Code Vote up 4 votes
@TargetApi(16)
private void maybeSetImportantForAccessibilityV16() {
    if (getImportantForAccessibility() == View.IMPORTANT_FOR_ACCESSIBILITY_AUTO) {
        setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_YES);
    }
}
 
Example 3
Project: PreviewSeekBar-master   File: CustomTimeBar.java   View Source Code Vote up 4 votes
@TargetApi(16)
private void maybeSetImportantForAccessibilityV16() {
    if (getImportantForAccessibility() == View.IMPORTANT_FOR_ACCESSIBILITY_AUTO) {
        setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_YES);
    }
}