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

The following examples show how to use android.view.View#performAccessibilityAction() . 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
Source File: OverviewScreenAccessibilityDelegate.java    From LaunchEnr with GNU General Public License v3.0 5 votes vote down vote up
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
Source File: OverviewScreenAccessibilityDelegate.java    From Trebuchet with GNU General Public License v3.0 5 votes vote down vote up
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 File: ViewCompatJB.java    From letv with 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 File: am.java    From MiBandDecompiled with 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
Source File: ViewCompatJB.java    From CodenameOne with GNU General Public License v2.0 4 votes vote down vote up
public static boolean performAccessibilityAction(View view, int action, Bundle arguments) {
    return view.performAccessibilityAction(action, arguments);
}
 
Example 6
Source File: ViewCompatJB.java    From adt-leanback-support with 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 7
Source File: ViewCompatJB.java    From V.FlyoutTest with 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 File: ViewCompatJB.java    From guideshow with MIT License 4 votes vote down vote up
public static boolean performAccessibilityAction(View view, int action, Bundle arguments) {
    return view.performAccessibilityAction(action, arguments);
}