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

The following examples show how to use android.view.View#performAccessibilityAction() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
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
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
Source Project: letv   File: ViewCompatJB.java    License: Apache License 2.0 4 votes vote down vote up
public static boolean performAccessibilityAction(View view, int action, Bundle arguments) {
    return view.performAccessibilityAction(action, arguments);
}
 
Example 4
Source Project: MiBandDecompiled   File: am.java    License: Apache License 2.0 4 votes vote down vote up
public static boolean a(View view, int i, Bundle bundle)
{
    return view.performAccessibilityAction(i, bundle);
}
 
Example 5
public static boolean performAccessibilityAction(View view, int action, Bundle arguments) {
    return view.performAccessibilityAction(action, arguments);
}
 
Example 6
public static boolean performAccessibilityAction(View view, int action, Bundle arguments) {
    return view.performAccessibilityAction(action, arguments);
}
 
Example 7
Source Project: V.FlyoutTest   File: ViewCompatJB.java    License: MIT License 4 votes vote down vote up
public static boolean performAccessibilityAction(View view, int action, Bundle arguments) {
    return view.performAccessibilityAction(action, arguments);
}
 
Example 8
Source Project: guideshow   File: ViewCompatJB.java    License: MIT License 4 votes vote down vote up
public static boolean performAccessibilityAction(View view, int action, Bundle arguments) {
    return view.performAccessibilityAction(action, arguments);
}