Java Code Examples for android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT

The following examples show how to use android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT . 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: EditorInfoCompatUtils.java    From AOSP-Kayboard-7.1.2 with Apache License 2.0 6 votes vote down vote up
public static String imeOptionsName(final int imeOptions) {
    final String action = imeActionName(imeOptions);
    final StringBuilder flags = new StringBuilder();
    if ((imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) {
        flags.append("flagNoEnterAction|");
    }
    if ((imeOptions & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0) {
        flags.append("flagNavigateNext|");
    }
    if ((imeOptions & EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS) != 0) {
        flags.append("flagNavigatePrevious|");
    }
    if (hasFlagForceAscii(imeOptions)) {
        flags.append("flagForceAscii|");
    }
    return (action != null) ? flags + action : flags.toString();
}
 
Example 2
Source File: EditorInfoCompatUtils.java    From Indic-Keyboard with Apache License 2.0 6 votes vote down vote up
public static String imeOptionsName(final int imeOptions) {
    final String action = imeActionName(imeOptions);
    final StringBuilder flags = new StringBuilder();
    if ((imeOptions & EditorInfo.IME_FLAG_NO_ENTER_ACTION) != 0) {
        flags.append("flagNoEnterAction|");
    }
    if ((imeOptions & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0) {
        flags.append("flagNavigateNext|");
    }
    if ((imeOptions & EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS) != 0) {
        flags.append("flagNavigatePrevious|");
    }
    if (hasFlagForceAscii(imeOptions)) {
        flags.append("flagForceAscii|");
    }
    return (action != null) ? flags + action : flags.toString();
}
 
Example 3
Source File: KeyboardId.java    From openboard with GNU General Public License v3.0 4 votes vote down vote up
public boolean navigateNext() {
    return (mEditorInfo.imeOptions & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0
            || imeAction() == EditorInfo.IME_ACTION_NEXT;
}
 
Example 4
Source File: KeyboardId.java    From LokiBoard-Android-Keylogger with Apache License 2.0 4 votes vote down vote up
public boolean navigateNext() {
    return (mEditorInfo.imeOptions & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0
            || imeAction() == EditorInfo.IME_ACTION_NEXT;
}
 
Example 5
Source File: KeyboardId.java    From simple-keyboard with Apache License 2.0 4 votes vote down vote up
public boolean navigateNext() {
    return (mEditorInfo.imeOptions & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0
            || imeAction() == EditorInfo.IME_ACTION_NEXT;
}
 
Example 6
Source File: KeyboardId.java    From AOSP-Kayboard-7.1.2 with Apache License 2.0 4 votes vote down vote up
public boolean navigateNext() {
    return (mEditorInfo.imeOptions & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0
            || imeAction() == EditorInfo.IME_ACTION_NEXT;
}
 
Example 7
Source File: KeyboardId.java    From Indic-Keyboard with Apache License 2.0 4 votes vote down vote up
public boolean navigateNext() {
    return (mEditorInfo.imeOptions & EditorInfo.IME_FLAG_NAVIGATE_NEXT) != 0
            || imeAction() == EditorInfo.IME_ACTION_NEXT;
}