Tabnine Logo
AssistStructure$ViewNode.getWebDomain
Code IndexAdd Tabnine to your IDE (free)

How to use
getWebDomain
method
in
android.app.assist.AssistStructure$ViewNode

Best Java code snippets using android.app.assist.AssistStructure$ViewNode.getWebDomain (Showing top 5 results out of 315)

origin: commonsguy/cw-omnibus

 wrap(node.getTransformation()));
json.put("visibility", wrap(node.getVisibility()));
json.put("webDomain", wrap(node.getWebDomain()));
json.put("width", wrap(node.getWidth()));
origin: googlesamples/android-AutofillFramework

private void parseWebDomain(AssistStructure.ViewNode viewNode, StringBuilder validWebDomain) {
  String webDomain = viewNode.getWebDomain();
  if (webDomain != null) {
    logd("child web domain: %s", webDomain);
    if (validWebDomain.length() > 0) {
      if (!webDomain.equals(validWebDomain.toString())) {
        throw new SecurityException("Found multiple web domains: valid= "
            + validWebDomain + ", child=" + webDomain);
      }
    } else {
      validWebDomain.append(webDomain);
    }
  }
}
origin: googlesamples/android-AutofillFramework

.append("\tvisibility").append(node.getVisibility())
.append("\tchecked: ").append(node.isChecked())
.append("\twebDomain: ").append(node.getWebDomain())
.append("\thint: ").append(node.getHint())
.append('\n');
origin: googlesamples/android-AutofillFramework

.append("\tvisibility").append(node.getVisibility())
.append("\tchecked: ").append(node.isChecked())
.append("\twebDomain: ").append(node.getWebDomain())
.append("\thint: ").append(node.getHint())
.append('\n');
origin: sorz/TinyKeePass

Result parse() {
  result = new Result();
  usernameCandidate = null;
  for (int i=0; i<structure.getWindowNodeCount(); ++i) {
    AssistStructure.WindowNode windowNode = structure.getWindowNodeAt(i);
    result.title.add(windowNode.getTitle());
    result.webDomain.add(windowNode.getRootViewNode().getWebDomain());
    parseViewNode(windowNode.getRootViewNode());
  }
  // If not explicit username field found, add the field just before password field.
  if (result.username.isEmpty() && result.email.isEmpty()
      && !result.password.isEmpty() && usernameCandidate != null)
    result.username.add(usernameCandidate);
  return result;
}
android.app.assistAssistStructure$ViewNodegetWebDomain

Popular methods of AssistStructure$ViewNode

  • getChildAt
  • getChildCount
  • getAutofillHints
  • getAutofillId
  • getAutofillType
  • getClassName
  • getHint
  • getId
  • getIdEntry
  • getInputType
  • getText
  • getVisibility
  • getText,
  • getVisibility,
  • isChecked,
  • isFocused,
  • getAutofillOptions,
  • getAutofillValue,
  • getHtmlInfo,
  • isEnabled,
  • getAlpha

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 12 Jupyter Notebook extensions
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