Code example for AccessibilityManager

Methods: isEnabled

    public boolean performClick() { 
        // When accessibility is on, simulate press and release to preserve the 
        // semantic meaning of performClick(). Required for Braille support. 
        if (mAccessibilityManager.isEnabled()) {
            // Checking the press state prevents double activation. 
            if (!isPressed()) {
            return true; 
        return super.performClick(); 
    public boolean onHoverEvent(MotionEvent event) {
Stop searching for code, let great code find you!  Add Codota to your java IDE