docstring_tokens
list
code_tokens
list
[ "return", "whether", "this", "text", "view", "is", "including", "its", "entire", "text", "contents", "in", "frozen", "icicles", "for", "{", "@", "link", "android", "widget", "edit", "text", "}", "it", "always", "returns", "true" ]
[ "return", "m", "freezes", "text", ";" ]
[ "sets", "the", "factory", "used", "to", "create", "new", "{", "@", "link", "editable", "editables", "}" ]
[ "m", "editable", "factory", "=", "factory", ";", "set", "text", "(", "m", "text", ")", ";" ]
[ "sets", "the", "factory", "used", "to", "create", "new", "{", "@", "link", "spannable", "spannables", "}" ]
[ "m", "spannable", "factory", "=", "factory", ";", "set", "text", "(", "m", "text", ")", ";" ]
[ "sets", "the", "text", "to", "be", "displayed", "text", "view", "<", "em", ">", "does", "not", "<", "/", "em", ">", "accept", "html", "-", "like", "formatting", "which", "you", "can", "do", "with", "text", "strings", "in", "xml", "resource", "files", ...
[ "set", "text", "(", "text", ",", "m", "buffer", "type", ")", ";" ]
[ "sets", "the", "text", "to", "be", "displayed", "but", "retains", "the", "cursor", "position", "same", "as", "{", "@", "link", "#", "set", "text", "(", "char", "sequence", ")", "}", "except", "that", "the", "cursor", "position", "(", "if", "any", ")", ...
[ "set", "text", "keep", "state", "(", "text", ",", "m", "buffer", "type", ")", ";" ]
[ "sets", "the", "text", "to", "be", "displayed", "and", "the", "{", "@", "link", "android", "widget", "text", "view", "buffer", "type", "}", "<", "p", "/", ">", "when", "required", "text", "view", "will", "use", "{", "@", "link", "android", "text", "s...
[ "set", "text", "(", "text", ",", "type", ",", "true", ",", "0", ")", ";", "if", "(", "m", "char", "wrapper", "!", "=", "null", ")", "{", "m", "char", "wrapper", "m", "chars", "=", "null", ";", "}" ]
[ "sets", "the", "text", "to", "be", "displayed", "and", "the", "{", "@", "link", "android", "widget", "text", "view", "buffer", "type", "}", "but", "retains", "the", "cursor", "position", "same", "as", "{", "@", "link", "#", "set", "text", "(", "char", ...
[ "int", "start", "=", "get", "selection", "start", "(", ")", ";", "int", "end", "=", "get", "selection", "end", "(", ")", ";", "int", "len", "=", "text", "length", "(", ")", ";", "set", "text", "(", "text", ",", "type", ")", ";", "if", "(", "sta...
[ "sets", "the", "text", "to", "be", "displayed", "using", "a", "string", "resource", "identifier" ]
[ "set", "text", "(", "get", "context", "(", ")", "get", "resources", "(", ")", "get", "text", "(", "resid", ")", ")", ";", "m", "text", "set", "from", "xml", "or", "resource", "id", "=", "true", ";", "m", "text", "id", "=", "resid", ";" ]
[ "sets", "the", "text", "to", "be", "displayed", "using", "a", "string", "resource", "identifier", "and", "the", "{", "@", "link", "android", "widget", "text", "view", "buffer", "type", "}", "<", "p", "/", ">", "when", "required", "text", "view", "will", ...
[ "set", "text", "(", "get", "context", "(", ")", "get", "resources", "(", ")", "get", "text", "(", "resid", ")", ",", "type", ")", ";", "m", "text", "set", "from", "xml", "or", "resource", "id", "=", "true", ";", "m", "text", "id", "=", "resid", ...
[ "sets", "the", "text", "to", "be", "displayed", "when", "the", "text", "of", "the", "text", "view", "is", "empty", "null", "means", "to", "use", "the", "normal", "empty", "text", "the", "hint", "does", "not", "currently", "participate", "in", "determining"...
[ "set", "hint", "internal", "(", "hint", ")", ";", "if", "(", "m", "editor", "!", "=", "null", "&", "&", "is", "input", "method", "target", "(", ")", ")", "{", "m", "editor", "report", "extracted", "text", "(", ")", ";", "}" ]
[ "sets", "the", "text", "to", "be", "displayed", "when", "the", "text", "of", "the", "text", "view", "is", "empty", "from", "a", "resource" ]
[ "set", "hint", "(", "get", "context", "(", ")", "get", "resources", "(", ")", "get", "text", "(", "resid", ")", ")", ";" ]
[ "returns", "the", "hint", "that", "is", "displayed", "when", "the", "text", "of", "the", "text", "view", "is", "empty" ]
[ "return", "m", "hint", ";" ]
[ "removes", "the", "suggestion", "spans" ]
[ "if", "(", "text", "instanceof", "spanned", ")", "{", "spannable", "spannable", ";", "if", "(", "text", "instanceof", "spannable", ")", "{", "spannable", "=", "(", "spannable", ")", "text", ";", "}", "else", "{", "spannable", "=", "m", "spannable", "fact...
[ "it", "would", "be", "better", "to", "rely", "on", "the", "input", "type", "for", "everything", "a", "password", "input", "type", "should", "have", "a", "password", "transformation", "we", "should", "hence", "use", "is", "password", "input", "type", "instead...
[ "return", "m", "transformation", "instanceof", "password", "transformation", "method", ";" ]
[ "get", "the", "type", "of", "the", "editable", "content" ]
[ "return", "m", "editor", "=", "=", "null", "?", "editor", "info", "type", "null", ":", "m", "editor", "m", "input", "type", ";" ]
[ "change", "the", "editor", "type", "integer", "associated", "with", "the", "text", "view", "which", "is", "reported", "to", "an", "input", "method", "editor", "(", "ime", ")", "with", "{" ]
[ "create", "editor", "if", "needed", "(", ")", ";", "m", "editor", "create", "input", "content", "type", "if", "needed", "(", ")", ";", "m", "editor", "m", "input", "content", "type", "ime", "options", "=", "ime", "options", ";" ]
[ "get", "the", "type", "of", "the", "input", "method", "editor", "(", "ime", ")" ]
[ "return", "m", "editor", "!", "=", "null", "&", "&", "m", "editor", "m", "input", "content", "type", "!", "=", "null", "?", "m", "editor", "m", "input", "content", "type", "ime", "options", ":", "editor", "info", "ime", "null", ";" ]
[ "change", "the", "custom", "ime", "action", "associated", "with", "the", "text", "view", "which", "will", "be", "reported", "to", "an", "ime", "with", "{" ]
[ "create", "editor", "if", "needed", "(", ")", ";", "m", "editor", "create", "input", "content", "type", "if", "needed", "(", ")", ";", "m", "editor", "m", "input", "content", "type", "ime", "action", "label", "=", "label", ";", "m", "editor", "m", "i...
[ "get", "the", "ime", "action", "label", "previous", "set", "with", "{", "@", "link", "#", "set", "ime", "action", "label", "}" ]
[ "return", "m", "editor", "!", "=", "null", "&", "&", "m", "editor", "m", "input", "content", "type", "!", "=", "null", "?", "m", "editor", "m", "input", "content", "type", "ime", "action", "label", ":", "null", ";" ]
[ "get", "the", "ime", "action", "id", "previous", "set", "with", "{", "@", "link", "#", "set", "ime", "action", "label", "}" ]
[ "return", "m", "editor", "!", "=", "null", "&", "&", "m", "editor", "m", "input", "content", "type", "!", "=", "null", "?", "m", "editor", "m", "input", "content", "type", "ime", "action", "id", ":", "0", ";" ]
[ "set", "a", "special", "listener", "to", "be", "called", "when", "an", "action", "is", "performed", "on", "the", "text", "view", "this", "will", "be", "called", "when", "the", "enter", "key", "is", "pressed", "or", "when", "an", "action", "supplied", "to...
[ "create", "editor", "if", "needed", "(", ")", ";", "m", "editor", "create", "input", "content", "type", "if", "needed", "(", ")", ";", "m", "editor", "m", "input", "content", "type", "on", "editor", "action", "listener", "=", "l", ";" ]
[ "set", "the", "private", "content", "type", "of", "the", "text", "which", "is", "the", "{", "@", "link", "editor", "info", "#", "private", "ime", "options", "editor", "info", "private", "ime", "options", "}", "field", "that", "will", "be", "filled", "in"...
[ "create", "editor", "if", "needed", "(", ")", ";", "m", "editor", "create", "input", "content", "type", "if", "needed", "(", ")", ";", "m", "editor", "m", "input", "content", "type", "private", "ime", "options", "=", "type", ";" ]
[ "get", "the", "private", "type", "of", "the", "content" ]
[ "return", "m", "editor", "!", "=", "null", "&", "&", "m", "editor", "m", "input", "content", "type", "!", "=", "null", "?", "m", "editor", "m", "input", "content", "type", "private", "ime", "options", ":", "null", ";" ]
[ "set", "the", "extra", "input", "data", "of", "the", "text", "which", "is", "the", "{", "@", "link", "editor", "info", "#", "extras", "text", "box", "attribute", "extras", "}", "bundle", "that", "will", "be", "filled", "in", "when", "creating", "an", "...
[ "create", "editor", "if", "needed", "(", ")", ";", "xml", "resource", "parser", "parser", "=", "get", "resources", "(", ")", "get", "xml", "(", "xml", "res", "id", ")", ";", "m", "editor", "create", "input", "content", "type", "if", "needed", "(", ")...
[ "retrieve", "the", "input", "extras", "currently", "associated", "with", "the", "text", "view", "which", "can", "be", "viewed", "as", "well", "as", "modified" ]
[ "if", "(", "m", "editor", "=", "=", "null", "&", "&", "!", "create", ")", "return", "null", ";", "create", "editor", "if", "needed", "(", ")", ";", "if", "(", "m", "editor", "m", "input", "content", "type", "=", "=", "null", ")", "{", "if", "("...
[ "change", "hint", "locales", "associated", "with", "the", "text", "view", "which", "will", "be", "reported", "to", "an", "ime", "with", "{", "@", "link", "editor", "info", "#", "hint", "locales", "}", "when", "it", "has", "focus" ]
[ "create", "editor", "if", "needed", "(", ")", ";", "m", "editor", "create", "input", "content", "type", "if", "needed", "(", ")", ";", "m", "editor", "m", "input", "content", "type", "ime", "hint", "locales", "=", "hint", "locales", ";", "if", "(", "...
[ "returns", "the", "error", "message", "that", "was", "set", "to", "be", "displayed", "with", "{" ]
[ "return", "m", "editor", "=", "=", "null", "?", "null", ":", "m", "editor", "m", "error", ";" ]
[ "sets", "the", "right", "-", "hand", "compound", "drawable", "of", "the", "text", "view", "to", "the", "error", "icon", "and", "sets", "an", "error", "message", "that", "will", "be", "displayed", "in", "a", "popup", "when", "the", "text", "view", "has", ...
[ "if", "(", "error", "=", "=", "null", ")", "{", "set", "error", "(", "null", ",", "null", ")", ";", "}", "else", "{", "drawable", "dr", "=", "get", "context", "(", ")", "get", "drawable", "(", "com", "android", "internal", "r", "drawable", "indicat...
[ "sets", "the", "right", "-", "hand", "compound", "drawable", "of", "the", "text", "view", "to", "the", "specified", "icon", "and", "sets", "an", "error", "message", "that", "will", "be", "displayed", "in", "a", "popup", "when", "the", "text", "view", "ha...
[ "create", "editor", "if", "needed", "(", ")", ";", "m", "editor", "set", "error", "(", "error", ",", "icon", ")", ";", "notify", "view", "accessibility", "state", "changed", "if", "needed", "(", "accessibility", "event", "content", "change", "type", "undef...
[ "sets", "the", "list", "of", "input", "filters", "that", "will", "be", "used", "if", "the", "buffer", "is", "editable", "has", "no", "effect", "otherwise" ]
[ "if", "(", "filters", "=", "=", "null", ")", "{", "throw", "new", "illegal", "argument", "exception", "(", ")", ";", "}", "m", "filters", "=", "filters", ";", "if", "(", "m", "text", "instanceof", "editable", ")", "{", "set", "filters", "(", "(", "...
[ "sets", "the", "list", "of", "input", "filters", "on", "the", "specified", "editable", "and", "includes", "m", "input", "in", "the", "list", "if", "it", "is", "an", "input", "filter" ]
[ "if", "(", "m", "editor", "!", "=", "null", ")", "{", "final", "boolean", "undo", "filter", "=", "m", "editor", "m", "undo", "input", "filter", "!", "=", "null", ";", "final", "boolean", "key", "filter", "=", "m", "editor", "m", "key", "listener", ...
[ "documentation", "from", "interface" ]
[ "return", "m", "filters", ";" ]
[ "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "...
[ "insets", "optical", "insets", "=", "is", "layout", "mode", "optical", "(", "m", "parent", ")", "?", "get", "optical", "insets", "(", ")", ":", "insets", "none", ";", "int", "padding", "=", "(", "l", "=", "=", "m", "hint", "layout", ")", "?", "get"...
[ "return", "the", "number", "of", "lines", "of", "text", "or", "0", "if", "the", "internal", "layout", "has", "not", "been", "built" ]
[ "return", "m", "layout", "!", "=", "null", "?", "m", "layout", "get", "line", "count", "(", ")", ":", "0", ";" ]
[ "return", "the", "baseline", "for", "the", "specified", "line", "(", "0", "get", "line", "count", "(", ")", "-", "1", ")", "if", "bounds", "is", "not", "null", "return", "the", "top", "left", "right", "bottom", "extents", "of", "the", "specified", "lin...
[ "if", "(", "m", "layout", "=", "=", "null", ")", "{", "if", "(", "bounds", "!", "=", "null", ")", "{", "bounds", "set", "(", "0", ",", "0", ",", "0", ",", "0", ")", ";", "}", "return", "0", ";", "}", "else", "{", "int", "baseline", "=", "...
[ "returns", "true", "if", "pressing", "enter", "in", "this", "field", "advances", "focus", "instead", "of", "inserting", "the", "character", "this", "is", "true", "mostly", "in", "single", "-", "line", "fields", "but", "also", "in", "mail", "addresses", "and"...
[ "if", "(", "get", "key", "listener", "(", ")", "=", "=", "null", ")", "{", "return", "false", ";", "}", "if", "(", "m", "single", "line", ")", "{", "return", "true", ";", "}", "if", "(", "m", "editor", "!", "=", "null", "&", "&", "(", "m", ...
[ "returns", "true", "if", "pressing", "tab", "in", "this", "field", "advances", "focus", "instead", "of", "inserting", "the", "character", "insert", "tabs", "only", "in", "multi", "-", "line", "editors" ]
[ "if", "(", "get", "key", "listener", "(", ")", "!", "=", "null", "&", "&", "!", "m", "single", "line", "&", "&", "m", "editor", "!", "=", "null", "&", "&", "(", "m", "editor", "m", "input", "type", "&", "editor", "info", "type", "mask", "class"...
[ "if", "this", "text", "view", "contains", "editable", "content", "extract", "a", "portion", "of", "it", "based", "on", "the", "information", "in", "<", "var", ">", "request", "<", "/", "var", ">", "in", "to", "<", "var", ">", "out", "text", "<", "/",...
[ "create", "editor", "if", "needed", "(", ")", ";", "return", "m", "editor", "extract", "text", "(", "request", ",", "out", "text", ")", ";" ]
[ "this", "is", "used", "to", "remove", "all", "style", "-", "impacting", "spans", "from", "text", "before", "new", "extracted", "text", "is", "being", "replaced", "into", "it", "so", "that", "we", "don", "t", "have", "any", "lingering", "spans", "applied", ...
[ "object", "[", "]", "spans", "=", "spannable", "get", "spans", "(", "start", ",", "end", ",", "parcelable", "span", "class", ")", ";", "int", "i", "=", "spans", "length", ";", "while", "(", "i", ">", "0", ")", "{", "i", "-", "-", ";", "spannable"...
[ "called", "by", "the", "framework", "in", "response", "to", "a", "text", "auto", "-", "correction", "(", "such", "as", "fixing", "a", "typo", "using", "a", "dictionary", ")", "from", "the", "current", "input", "method", "provided", "by", "it", "calling", ...
[ "if", "(", "m", "editor", "!", "=", "null", ")", "m", "editor", "on", "commit", "correction", "(", "info", ")", ";" ]
[ "called", "by", "the", "framework", "in", "response", "to", "a", "private", "command", "from", "the", "current", "method", "provided", "by", "it", "calling", "{", "@", "link", "input", "connection", "#", "perform", "private", "command", "input", "connection", ...
[ "return", "false", ";" ]
[ "make", "a", "new", "layout", "based", "on", "the", "already", "-", "measured", "size", "of", "the", "view", "on", "the", "assumption", "that", "it", "was", "measured", "correctly", "at", "some", "point" ]
[ "int", "width", "=", "m", "right", "-", "m", "left", "-", "get", "compound", "padding", "left", "(", ")", "-", "get", "compound", "padding", "right", "(", ")", ";", "if", "(", "width", "<", "1", ")", "{", "width", "=", "0", ";", "}", "int", "ph...
[ "returns", "true", "if", "dynamic", "layout", "is", "required" ]
[ "return", "is", "text", "selectable", "(", ")", "|", "|", "(", "m", "spannable", "!", "=", "null", "&", "&", "m", "precomputed", "=", "=", "null", ")", ";" ]
[ "set", "whether", "the", "text", "view", "includes", "extra", "top", "and", "bottom", "padding", "to", "make", "room", "for", "accents", "that", "go", "above", "the", "normal", "ascent", "and", "descent", "the", "default", "is", "true" ]
[ "if", "(", "m", "include", "pad", "!", "=", "includepad", ")", "{", "m", "include", "pad", "=", "includepad", ";", "if", "(", "m", "layout", "!", "=", "null", ")", "{", "null", "layouts", "(", ")", ";", "request", "layout", "(", ")", ";", "invali...
[ "gets", "whether", "the", "text", "view", "includes", "extra", "top", "and", "bottom", "padding", "to", "make", "room", "for", "accents", "that", "go", "above", "the", "normal", "ascent", "and", "descent" ]
[ "return", "m", "include", "pad", ";" ]
[ "return", "true", "iff", "there", "is", "a", "selection", "inside", "this", "text", "view" ]
[ "final", "int", "selection", "start", "=", "get", "selection", "start", "(", ")", ";", "final", "int", "selection", "end", "=", "get", "selection", "end", "(", ")", ";", "return", "selection", "start", ">", "=", "0", "&", "&", "selection", "end", ">", ...
[ "sets", "the", "properties", "of", "this", "field", "(", "lines", "horizontally", "scrolling", "transformation", "method", ")", "to", "be", "for", "a", "single", "-", "line", "input" ]
[ "set", "single", "line", "(", "true", ")", ";" ]
[ "changes", "text", "transformation", "method", "to", "caps" ]
[ "if", "(", "all", "caps", ")", "{", "set", "transformation", "method", "(", "new", "all", "caps", "transformation", "method", "(", "get", "context", "(", ")", ")", ")", ";", "}", "else", "{", "set", "transformation", "method", "(", "null", ")", ";", ...
[ "adds", "or", "remove", "the", "editor", "info", "type", "text", "flag", "multi", "line", "on", "the", "m", "input", "type" ]
[ "if", "(", "m", "editor", "!", "=", "null", "&", "&", "(", "m", "editor", "m", "input", "type", "&", "editor", "info", "type", "mask", "class", ")", "=", "=", "editor", "info", "type", "class", "text", ")", "{", "if", "(", "single", "line", ")", ...
[ "sets", "how", "many", "times", "to", "repeat", "the", "marquee", "animation", "only", "applied", "if", "the", "text", "view", "has", "marquee", "enabled", "set", "to", "-", "1", "to", "repeat", "indefinitely" ]
[ "m", "marquee", "repeat", "limit", "=", "marquee", "limit", ";" ]
[ "gets", "the", "number", "of", "times", "the", "marquee", "animation", "is", "repeated", "only", "meaningful", "if", "the", "text", "view", "has", "marquee", "enabled" ]
[ "return", "m", "marquee", "repeat", "limit", ";" ]
[ "returns", "where", "if", "anywhere", "words", "that", "are", "longer", "than", "the", "view", "is", "wide", "should", "be", "ellipsized" ]
[ "return", "m", "ellipsize", ";" ]
[ "set", "the", "text", "view", "so", "that", "when", "it", "takes", "focus", "all", "the", "text", "is", "selected" ]
[ "create", "editor", "if", "needed", "(", ")", ";", "m", "editor", "m", "select", "all", "on", "focus", "=", "select", "all", "on", "focus", ";", "if", "(", "select", "all", "on", "focus", "&", "&", "!", "(", "m", "text", "instanceof", "spannable", ...
[ "this", "method", "is", "called", "when", "the", "selection", "has", "changed", "in", "case", "any", "subclasses", "would", "like", "to", "know" ]
[ "send", "accessibility", "event", "(", "accessibility", "event", "type", "view", "text", "selection", "changed", ")", ";" ]
[ "adds", "a", "text", "watcher", "to", "the", "list", "of", "those", "whose", "methods", "are", "called", "whenever", "this", "text", "view", "s", "text", "changes", "<", "p", ">", "in", "1", "0", "the", "{" ]
[ "if", "(", "m", "listeners", "=", "=", "null", ")", "{", "m", "listeners", "=", "new", "array", "list", "<", "text", "watcher", ">", "(", ")", ";", "}", "m", "listeners", "add", "(", "watcher", ")", ";" ]
[ "removes", "the", "specified", "text", "watcher", "from", "the", "list", "of", "those", "whose", "methods", "are", "called", "whenever", "this", "text", "view", "s", "text", "changes" ]
[ "if", "(", "m", "listeners", "!", "=", "null", ")", "{", "int", "i", "=", "m", "listeners", "index", "of", "(", "watcher", ")", ";", "if", "(", "i", ">", "=", "0", ")", "{", "m", "listeners", "remove", "(", "i", ")", ";", "}", "}" ]
[ "removes", "all", "spans", "that", "are", "inside", "or", "actually", "overlap", "the", "start", "end", "range" ]
[ "if", "(", "!", "(", "m", "text", "instanceof", "editable", ")", ")", "return", ";", "editable", "text", "=", "(", "editable", ")", "m", "text", ";", "t", "[", "]", "spans", "=", "text", "get", "spans", "(", "start", ",", "end", ",", "type", ")",...
[ "not", "private", "so", "it", "can", "be", "called", "from", "an", "inner", "class", "without", "going", "through", "a", "thunk" ]
[ "if", "(", "m", "listeners", "!", "=", "null", ")", "{", "final", "array", "list", "<", "text", "watcher", ">", "list", "=", "m", "listeners", ";", "final", "int", "count", "=", "list", "size", "(", ")", ";", "for", "(", "int", "i", "=", "0", "...
[ "not", "private", "so", "it", "can", "be", "called", "from", "an", "inner", "class", "without", "going", "through", "a", "thunk" ]
[ "s", "last", "cut", "copy", "or", "text", "changed", "time", "=", "0", ";", "final", "editor", "input", "method", "state", "ims", "=", "m", "editor", "=", "=", "null", "?", "null", ":", "m", "editor", "m", "input", "method", "state", ";", "if", "("...
[ "use", "{" ]
[ "if", "(", "m", "text", "instanceof", "spannable", ")", "{", "base", "input", "connection", "remove", "composing", "spans", "(", "m", "spannable", ")", ";", "}" ]
[ "returns", "true", "only", "while", "processing", "a", "touch", "gesture", "if", "the", "initial", "touch", "down", "event", "caused", "focus", "to", "move", "to", "the", "text", "view", "and", "as", "a", "result", "its", "selection", "changed", "only", "v...
[ "return", "m", "editor", "!", "=", "null", "&", "&", "m", "editor", "m", "touch", "focus", "selected", ";" ]
[ "sets", "the", "scroller", "used", "for", "producing", "a", "scrolling", "animation" ]
[ "m", "scroller", "=", "s", ";" ]
[ "calculates", "the", "fading", "edge", "strength", "as", "the", "ratio", "of", "the", "distance", "between", "two", "horizontal", "positions", "to", "{", "@", "link", "view", "#", "get", "horizontal", "fading", "edge", "length", "(", ")", "}", "uses", "the...
[ "final", "int", "horizontal", "fading", "edge", "length", "=", "get", "horizontal", "fading", "edge", "length", "(", ")", ";", "if", "(", "horizontal", "fading", "edge", "length", "=", "=", "0", ")", "return", "0", "0f", ";", "final", "float", "diff", ...
[ "returns", "the", "default", "color", "from", "the", "text", "view", "text", "color", "attribute", "from", "the", "attribute", "set", "if", "set", "or", "the", "default", "color", "from", "the", "text", "appearance", "text", "color", "from", "the", "text", ...
[ "final", "color", "state", "list", "colors", "=", "get", "text", "colors", "(", "context", ",", "attrs", ")", ";", "if", "(", "colors", "=", "=", "null", ")", "{", "return", "def", ";", "}", "else", "{", "return", "colors", "get", "default", "color",...
[ "unlike", "{" ]
[ "return", "m", "text", "length", "(", ")", "!", "=", "0", "&", "&", "m", "editor", "!", "=", "null", "&", "&", "m", "editor", "has", "selection", "controller", "(", ")", ";" ]
[ "this", "method", "is", "used", "by", "the", "arrow", "key", "movement", "method", "to", "jump", "from", "one", "word", "to", "the", "other", "made", "available", "to", "achieve", "a", "consistent", "behavior" ]
[ "if", "(", "m", "editor", "!", "=", "null", ")", "{", "return", "m", "editor", "get", "word", "iterator", "(", ")", ";", "}", "else", "{", "return", "null", ";", "}" ]
[ "gets", "the", "{", "@", "link", "text", "view", "}", "s", "current", "text", "for", "auto", "fill", "the", "value", "is", "trimmed", "to", "100k", "{", "@", "code", "char", "}", "s", "if", "longer" ]
[ "if", "(", "is", "text", "editable", "(", ")", ")", "{", "final", "char", "sequence", "text", "=", "text", "utils", "trim", "to", "parcelable", "size", "(", "get", "text", "(", ")", ")", ";", "return", "autofill", "value", "for", "text", "(", "text",...
[ "returns", "whether", "this", "text", "view", "is", "a", "current", "input", "method", "target", "the", "default", "implementation", "just", "checks", "with", "{" ]
[ "input", "method", "manager", "imm", "=", "input", "method", "manager", "peek", "instance", "(", ")", ";", "return", "imm", "!", "=", "null", "&", "&", "imm", "is", "active", "(", "this", ")", ";" ]
[ "return", "whether", "or", "not", "suggestions", "are", "enabled", "on", "this", "text", "view", "the", "suggestions", "are", "generated", "by", "the", "ime", "or", "by", "the", "spell", "checker", "as", "the", "user", "types", "this", "is", "done", "by", ...
[ "if", "(", "m", "editor", "=", "=", "null", ")", "return", "false", ";", "if", "(", "(", "m", "editor", "m", "input", "type", "&", "input", "type", "type", "mask", "class", ")", "!", "=", "input", "type", "type", "class", "text", ")", "{", "retur...
[ "if", "provided", "this", "action", "mode", "callback", "will", "be", "used", "to", "create", "the", "action", "mode", "when", "text", "selection", "is", "initiated", "in", "this", "view" ]
[ "create", "editor", "if", "needed", "(", ")", ";", "m", "editor", "m", "custom", "selection", "action", "mode", "callback", "=", "action", "mode", "callback", ";" ]
[ "retrieves", "the", "value", "set", "in", "{", "@", "link", "#", "set", "custom", "selection", "action", "mode", "callback", "}", "default", "is", "null" ]
[ "return", "m", "editor", "=", "=", "null", "?", "null", ":", "m", "editor", "m", "custom", "selection", "action", "mode", "callback", ";" ]
[ "if", "provided", "this", "action", "mode", "callback", "will", "be", "used", "to", "create", "the", "action", "mode", "when", "text", "insertion", "is", "initiated", "in", "this", "view", "the", "standard", "implementation", "populates", "the", "menu", "with"...
[ "create", "editor", "if", "needed", "(", ")", ";", "m", "editor", "m", "custom", "insertion", "action", "mode", "callback", "=", "action", "mode", "callback", ";" ]
[ "retrieves", "the", "value", "set", "in", "{", "@", "link", "#", "set", "custom", "insertion", "action", "mode", "callback", "}", "default", "is", "null" ]
[ "return", "m", "editor", "=", "=", "null", "?", "null", ":", "m", "editor", "m", "custom", "insertion", "action", "mode", "callback", ";" ]
[ "sets", "the", "{" ]
[ "m", "text", "classifier", "=", "text", "classifier", ";" ]
[ "returns", "the", "{" ]
[ "if", "(", "m", "text", "classifier", "=", "=", "null", ")", "{", "final", "text", "classification", "manager", "tcm", "=", "m", "context", "get", "system", "service", "(", "text", "classification", "manager", "class", ")", ";", "if", "(", "tcm", "!", ...
[ "returns", "a", "session", "-", "aware", "text", "classifier", "this", "method", "creates", "one", "if", "none", "already", "exists", "or", "the", "current", "one", "is", "destroyed" ]
[ "if", "(", "m", "text", "classification", "session", "=", "=", "null", "|", "|", "m", "text", "classification", "session", "is", "destroyed", "(", ")", ")", "{", "final", "text", "classification", "manager", "tcm", "=", "m", "context", "get", "system", "...
[ "returns", "true", "if", "this", "text", "view", "uses", "a", "no", "-", "op", "text", "classifier" ]
[ "return", "get", "text", "classifier", "(", ")", "=", "=", "text", "classifier", "no", "op", ";" ]
[ "starts", "an", "action", "mode", "for", "the", "specified", "text", "link", "span" ]
[ "preconditions", "check", "not", "null", "(", "clicked", "span", ")", ";", "if", "(", "!", "(", "m", "text", "instanceof", "spanned", ")", ")", "{", "return", "false", ";", "}", "final", "int", "start", "=", "(", "(", "spanned", ")", "m", "text", "...
[ "get", "the", "character", "offset", "closest", "to", "the", "specified", "absolute", "position", "a", "typical", "use", "case", "is", "to", "pass", "the", "result", "of", "{", "@", "link", "motion", "event", "#", "get", "x", "(", ")", "}", "and", "{",...
[ "if", "(", "get", "layout", "(", ")", "=", "=", "null", ")", "return", "-", "1", ";", "final", "int", "line", "=", "get", "line", "at", "coordinate", "(", "y", ")", ";", "final", "int", "offset", "=", "get", "offset", "at", "coordinate", "(", "li...
[ "prepares", "a", "drawable", "for", "display", "by", "propagating", "layout", "direction", "and", "drawable", "state" ]
[ "if", "(", "dr", "=", "=", "null", ")", "{", "return", ";", "}", "dr", "set", "layout", "direction", "(", "get", "layout", "direction", "(", ")", ")", ";", "if", "(", "dr", "is", "stateful", "(", ")", ")", "{", "dr", "set", "state", "(", "get",...
[ "deletes", "the", "range", "of", "text", "[", "start", "end", "[" ]
[ "(", "(", "editable", ")", "m", "text", ")", "delete", "(", "start", ",", "end", ")", ";" ]
[ "replaces", "the", "range", "of", "text", "[", "start", "end", "[", "by", "replacement", "text" ]
[ "(", "(", "editable", ")", "m", "text", ")", "replace", "(", "start", ",", "end", ",", "text", ")", ";" ]
[ "sets", "a", "span", "on", "the", "specified", "range", "of", "text" ]
[ "(", "(", "editable", ")", "m", "text", ")", "set", "span", "(", "span", ",", "start", ",", "end", ",", "flags", ")", ";" ]
[ "moves", "the", "cursor", "to", "the", "specified", "offset", "position", "in", "text" ]
[ "selection", "set", "selection", "(", "(", "(", "editable", ")", "m", "text", ")", ",", "start", ",", "end", ")", ";" ]
[ "an", "editor", "should", "be", "created", "as", "soon", "as", "any", "of", "the", "editable", "-", "specific", "fields", "(", "grouped", "inside", "the", "editor", "object", ")", "is", "assigned", "to", "a", "non", "-", "default", "value", "this", "meth...
[ "if", "(", "m", "editor", "=", "=", "null", ")", "{", "m", "editor", "=", "new", "editor", "(", "this", ")", ";", "}" ]
[ "/", "*", "package" ]
[ "m", "chars", "=", "chars", ";", "m", "start", "=", "start", ";", "m", "length", "=", "len", ";" ]
[ "selects", "a", "specific", "program", "from", "within", "a", "multi", "-", "program", "transport", "stream", "if", "the", "program", "doesn", "t", "exist", "the", "first", "program", "within", "the", "transport", "stream", "will", "be", "selected", "by", "d...
[ "this", "program", "id", "=", "program", "id", ";" ]
[ "selects", "a", "specific", "program", "from", "within", "a", "multi", "-", "program", "transport", "stream", "if", "the", "program", "doesn", "t", "exist", "the", "first", "program", "within", "the", "transport", "stream", "will", "be", "selected", "by", "d...
[ "return", "this", "program", "id", ";" ]
[ "selects", "a", "specific", "program", "from", "within", "a", "multi", "-", "program", "transport", "stream", "if", "the", "program", "doesn", "t", "exist", "the", "first", "program", "within", "the", "transport", "stream", "will", "be", "selected", "by", "d...
[ "set", "program", "id", "(", "program", "id", ")", ";", "return", "this", ";" ]
[ "loss", "function", "coefficient", "for", "position", "and", "size", "/", "scale", "components", "of", "the", "loss", "function", "default", "(", "as", "per", "paper", ")", ":", "5" ]
[ "this", "lambda", "coord", "=", "lambda", "coord", ";", "return", "this", ";" ]
[ "loss", "function", "coefficient", "for", "the", "no", "object", "confidence", "components", "of", "the", "loss", "function", "default", "(", "as", "per", "paper", ")", ":", "0", "5" ]
[ "this", "lambda", "no", "obj", "=", "lambda", "no", "obj", ";", "return", "this", ";" ]
[ "loss", "function", "for", "position", "/", "scale", "component", "of", "the", "loss", "function" ]
[ "this", "loss", "position", "scale", "=", "loss", "position", "scale", ";", "return", "this", ";" ]
[ "loss", "function", "for", "the", "class", "predictions", "-", "defaults", "to", "l2", "loss", "(", "i", "e", "sum", "of", "squared", "errors", "as", "per", "the", "paper", ")", "however", "loss", "mcxent", "could", "also", "be", "used", "(", "which", ...
[ "this", "loss", "class", "predictions", "=", "loss", "class", "predictions", ";", "return", "this", ";" ]
[ "bounding", "box", "priors", "dimensions", "[", "width", "height", "]", "for", "n", "bounding", "boxes", "input", "has", "shape", "[", "rows", "columns", "]", "=", "[", "n", "2", "]", "note", "that", "dimensions", "should", "be", "specified", "as", "frac...
[ "this", "bounding", "boxes", "=", "bounding", "boxes", ";", "return", "this", ";" ]
[ "inserts", "a", "value", "to", "the", "set", "returns", "true", "if", "the", "set", "did", "not", "already", "contain", "the", "specified", "element" ]
[ "if", "(", "!", "map", "contains", "key", "(", "val", ")", ")", "{", "map", "put", "(", "val", ",", "val", ")", ";", "values", "add", "(", "val", ")", ";", "return", "true", ";", "}", "else", "{", "return", "false", ";", "}" ]
[ "removes", "a", "value", "from", "the", "set", "returns", "true", "if", "the", "set", "contained", "the", "specified", "element" ]
[ "if", "(", "map", "contains", "key", "(", "val", ")", ")", "{", "map", "remove", "(", "val", ")", ";", "values", "remove", "(", "values", "index", "of", "(", "val", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";" ]
[ "get", "a", "random", "element", "from", "the", "set" ]
[ "int", "random", "=", "(", "int", ")", "(", "math", "random", "(", ")", "*", "values", "size", "(", ")", ")", ";", "int", "value", "to", "return", "=", "values", "get", "(", "random", ")", ";", "return", "map", "get", "(", "value", "to", "return"...
[ "don", "t", "add", "ecdsa" ]
[ "set", "signature", "factories", "(", "new", "signature", "r", "s", "a", "factory", "(", ")", ",", "new", "signature", "d", "s", "a", "factory", "(", ")", ")", ";" ]
[ "{" ]
[ "return", "ignite", "repository", "factory", "bean", "class", "get", "name", "(", ")", ";" ]
[ "{" ]
[ "return", "collections", "<", "class", "<", "?", ">", ">", "singleton", "(", "ignite", "repository", "class", ")", ";" ]