Java Code Examples for android.view.View.performAccessibilityAction()

The following are Jave code examples for showing how to use performAccessibilityAction() 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.
Example 1
Project: LaunchEnr   File: OverviewScreenAccessibilityDelegate.java   Source Code and License Vote up 5 votes
private void movePage(int finalIndex, View view) {
    mWorkspace.onStartReordering();
    mWorkspace.removeView(view);
    mWorkspace.addView(view, finalIndex);
    mWorkspace.onEndReordering();
    mWorkspace.announceForAccessibility(mWorkspace.getContext().getText(R.string.screen_moved));

    mWorkspace.updateAccessibilityFlags();
    view.performAccessibilityAction(AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null);
}
 
Example 2
Project: FlickLauncher   File: OverviewScreenAccessibilityDelegate.java   Source Code and License Vote up 5 votes
private void movePage(int finalIndex, View view) {
    mWorkspace.onStartReordering();
    mWorkspace.removeView(view);
    mWorkspace.addView(view, finalIndex);
    mWorkspace.onEndReordering();
    mWorkspace.announceForAccessibility(mWorkspace.getContext().getText(R.string.screen_moved));

    mWorkspace.updateAccessibilityFlags();
    view.performAccessibilityAction(AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null);
}
 
Example 3
Project: SimpleUILauncher   File: OverviewScreenAccessibilityDelegate.java   Source Code and License Vote up 5 votes
private void movePage(int finalIndex, View view) {
    mWorkspace.onStartReordering();
    mWorkspace.removeView(view);
    mWorkspace.addView(view, finalIndex);
    mWorkspace.onEndReordering();
    mWorkspace.announceForAccessibility(mWorkspace.getContext().getText(R.string.screen_moved));

    mWorkspace.updateAccessibilityFlags();
    view.performAccessibilityAction(AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null);
}
 
Example 4
Project: letv   File: ViewCompatJB.java   Source Code and License Vote up 4 votes
public static boolean performAccessibilityAction(View view, int action, Bundle arguments) {
    return view.performAccessibilityAction(action, arguments);
}
 
Example 5
Project: boohee_v5.6   File: ViewCompatJB.java   Source Code and License Vote up 4 votes
public static boolean performAccessibilityAction(View view, int action, Bundle arguments) {
    return view.performAccessibilityAction(action, arguments);
}