Tabnine Logo
InputMethodSubtype.containsExtraValueKey
Code IndexAdd Tabnine to your IDE (free)

How to use
containsExtraValueKey
method
in
android.view.inputmethod.InputMethodSubtype

Best Java code snippets using android.view.inputmethod.InputMethodSubtype.containsExtraValueKey (Showing top 3 results out of 315)

origin: crvv/android_wubi_input

public static boolean isAsciiCapable(final InputMethodSubtype subtype) {
  return isAsciiCapableWithAPI(subtype)
      || subtype.containsExtraValueKey(Constants.Subtype.ExtraValue.ASCII_CAPABLE);
}
origin: rkkr/simple-keyboard

@NonNull
private static String getReplacementString(@NonNull final InputMethodSubtype subtype,
    @NonNull final Locale displayLocale) {
  if (subtype.containsExtraValueKey(UNTRANSLATABLE_STRING_IN_SUBTYPE_NAME)) {
    return subtype.getExtraValueOf(UNTRANSLATABLE_STRING_IN_SUBTYPE_NAME);
  }
  return getSubtypeLocaleDisplayNameInternal(subtype.getLocale(), displayLocale);
}
origin: crvv/android_wubi_input

private static String getReplacementString(final InputMethodSubtype subtype,
    final Locale displayLocale) {
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN
      && subtype.containsExtraValueKey(UNTRANSLATABLE_STRING_IN_SUBTYPE_NAME)) {
    return subtype.getExtraValueOf(UNTRANSLATABLE_STRING_IN_SUBTYPE_NAME);
  } else {
    return getSubtypeLocaleDisplayNameInternal(subtype.getLocale(), displayLocale);
  }
}
android.view.inputmethodInputMethodSubtypecontainsExtraValueKey

Popular methods of InputMethodSubtype

  • getLocale
  • getMode
  • getDisplayName
  • equals
  • getExtraValue
  • getExtraValueOf
  • getNameResId
  • hashCode
  • isAuxiliary
  • <init>
  • getLanguageTag
  • isAsciiCapable
  • getLanguageTag,
  • isAsciiCapable

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • addToBackStack (FragmentTransaction)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now