docstring_tokens
list
code_tokens
list
[ "get", "the", "name", "of", "this", "fault" ]
[ "return", "name", ";" ]
[ "get", "the", "mode", "of", "this", "parameter" ]
[ "return", "mode", ";" ]
[ "is", "this", "paramter", "s", "name", "element", "form", "qualified", "?" ]
[ "return", "element", "form", "qualified", ";" ]
[ "is", "this", "parameter", "a", "soap", "header", "parameter", "?" ]
[ "return", "is", "header", ";" ]
[ "mark", "this", "parameter", "as", "a", "soap", "header", "parameter" ]
[ "is", "header", "=", "true", ";" ]
[ "set", "the", "mode", "of", "this", "parameter", "(", "in", "/", "out", "/", "inout", ")" ]
[ "mode", "=", "mode", ";" ]
[ "set", "the", "name", "of", "this", "parameter" ]
[ "name", "=", "wsdl", "types", "get", "type", "q", "name", "(", "name", ")", ";", "element", "form", "qualified", "=", "wsdl", "types", "is", "element", "form", "qualified", "(", "name", "get", "namespace", "u", "r", "i", "(", ")", ")", ";" ]
[ "override", "the", "equals", "method" ]
[ "if", "(", "o", "instanceof", "wsdl", "op", "parameter", ")", "{", "return", "name", "equals", "(", "(", "(", "wsdl", "op", "parameter", ")", "o", ")", "get", "name", "(", ")", ")", ";", "}", "return", "false", ";" ]
[ "programmatically", "build", "up", "the", "view", "hierarchy", "to", "avoid", "the", "need", "for", "resources" ]
[ "resources", "resources", "=", "get", "resources", "(", ")", ";", "layout", "params", "params", ";", "int", "five", "px", "=", "dp", "to", "px", "(", "5", ",", "resources", ")", ";", "int", "ten", "px", "=", "dp", "to", "px", "(", "10", ",", "resources", ")", ";", "int", "twenty", "px", "=", "dp", "to", "px", "(", "20", ",", "resources", ")", ";", "table", "layout", "layout", "params", "table", "layout", "params", "=", "new", "table", "layout", "layout", "params", "(", "0", ",", "view", "group", "layout", "params", "wrap", "content", ",", "1f", ")", ";", "table", "layout", "params", "set", "margins", "(", "0", ",", "0", ",", "five", "px", ",", "0", ")", ";", "linear", "layout", "seek", "wrapper", ";", "frame", "layout", "root", "=", "new", "frame", "layout", "(", "context", ")", ";", "params", "=", "create", "layout", "params", "(", "view", "group", "layout", "params", "match", "parent", ",", "dp", "to", "px", "(", "300", ",", "resources", ")", ")", ";", "root", "set", "layout", "params", "(", "params", ")", ";", "frame", "layout", "container", "=", "new", "frame", "layout", "(", "context", ")", ";", "params", "=", "create", "match", "params", "(", ")", ";", "params", "set", "margins", "(", "0", ",", "twenty", "px", ",", "0", ",", "0", ")", ";", "container", "set", "layout", "params", "(", "params", ")", ";", "container", "set", "background", "color", "(", "color", "argb", "(", "100", ",", "0", ",", "0", ",", "0", ")", ")", ";", "root", "add", "view", "(", "container", ")", ";", "m", "spring", "selector", "spinner", "=", "new", "spinner", "(", "context", ",", "spinner", "mode", "dialog", ")", ";", "params", "=", "create", "match", "wrap", "params", "(", ")", ";", "params", "gravity", "=", "gravity", "top", ";", "params", "set", "margins", "(", "ten", "px", ",", "ten", "px", ",", "ten", "px", ",", "0", ")", ";", "m", "spring", "selector", "spinner", "set", "layout", "params", "(", "params", ")", ";", "container", "add", "view", "(", "m", "spring", "selector", "spinner", ")", ";", "linear", "layout", "linear", "layout", "=", "new", "linear", "layout", "(", "context", ")", ";", "params", "=", "create", "match", "wrap", "params", "(", ")", ";", "params", "set", "margins", "(", "0", ",", "0", ",", "0", ",", "dp", "to", "px", "(", "80", ",", "resources", ")", ")", ";", "params", "gravity", "=", "gravity", "bottom", ";", "linear", "layout", "set", "layout", "params", "(", "params", ")", ";", "linear", "layout", "set", "orientation", "(", "linear", "layout", "vertical", ")", ";", "container", "add", "view", "(", "linear", "layout", ")", ";", "seek", "wrapper", "=", "new", "linear", "layout", "(", "context", ")", ";", "params", "=", "create", "match", "wrap", "params", "(", ")", ";", "params", "set", "margins", "(", "ten", "px", ",", "ten", "px", ",", "ten", "px", ",", "twenty", "px", ")", ";", "seek", "wrapper", "set", "padding", "(", "ten", "px", ",", "ten", "px", ",", "ten", "px", ",", "ten", "px", ")", ";", "seek", "wrapper", "set", "layout", "params", "(", "params", ")", ";", "seek", "wrapper", "set", "orientation", "(", "linear", "layout", "horizontal", ")", ";", "linear", "layout", "add", "view", "(", "seek", "wrapper", ")", ";", "m", "tension", "seek", "bar", "=", "new", "seek", "bar", "(", "context", ")", ";", "m", "tension", "seek", "bar", "set", "layout", "params", "(", "table", "layout", "params", ")", ";", "seek", "wrapper", "add", "view", "(", "m", "tension", "seek", "bar", ")", ";", "m", "tension", "label", "=", "new", "text", "view", "(", "get", "context", "(", ")", ")", ";", "m", "tension", "label", "set", "text", "color", "(", "m", "text", "color", ")", ";", "params", "=", "create", "layout", "params", "(", "dp", "to", "px", "(", "50", ",", "resources", ")", ",", "view", "group", "layout", "params", "match", "parent", ")", ";", "m", "tension", "label", "set", "gravity", "(", "gravity", "center", "vertical", "|", "gravity", "left", ")", ";", "m", "tension", "label", "set", "layout", "params", "(", "params", ")", ";", "m", "tension", "label", "set", "max", "lines", "(", "1", ")", ";", "seek", "wrapper", "add", "view", "(", "m", "tension", "label", ")", ";", "seek", "wrapper", "=", "new", "linear", "layout", "(", "context", ")", ";", "params", "=", "create", "match", "wrap", "params", "(", ")", ";", "params", "set", "margins", "(", "ten", "px", ",", "ten", "px", ",", "ten", "px", ",", "twenty", "px", ")", ";", "seek", "wrapper", "set", "padding", "(", "ten", "px", ",", "ten", "px", ",", "ten", "px", ",", "ten", "px", ")", ";", "seek", "wrapper", "set", "layout", "params", "(", "params", ")", ";", "seek", "wrapper", "set", "orientation", "(", "linear", "layout", "horizontal", ")", ";", "linear", "layout", "add", "view", "(", "seek", "wrapper", ")", ";", "m", "friction", "seek", "bar", "=", "new", "seek", "bar", "(", "context", ")", ";", "m", "friction", "seek", "bar", "set", "layout", "params", "(", "table", "layout", "params", ")", ";", "seek", "wrapper", "add", "view", "(", "m", "friction", "seek", "bar", ")", ";", "m", "friction", "label", "=", "new", "text", "view", "(", "get", "context", "(", ")", ")", ";", "m", "friction", "label", "set", "text", "color", "(", "m", "text", "color", ")", ";", "params", "=", "create", "layout", "params", "(", "dp", "to", "px", "(", "50", ",", "resources", ")", ",", "view", "group", "layout", "params", "match", "parent", ")", ";", "m", "friction", "label", "set", "gravity", "(", "gravity", "center", "vertical", "|", "gravity", "left", ")", ";", "m", "friction", "label", "set", "layout", "params", "(", "params", ")", ";", "m", "friction", "label", "set", "max", "lines", "(", "1", ")", ";", "seek", "wrapper", "add", "view", "(", "m", "friction", "label", ")", ";", "view", "nub", "=", "new", "view", "(", "context", ")", ";", "params", "=", "create", "layout", "params", "(", "dp", "to", "px", "(", "60", ",", "resources", ")", ",", "dp", "to", "px", "(", "40", ",", "resources", ")", ")", ";", "params", "gravity", "=", "gravity", "top", "|", "gravity", "center", ";", "nub", "set", "layout", "params", "(", "params", ")", ";", "nub", "set", "on", "touch", "listener", "(", "new", "on", "nub", "touch", "listener", "(", ")", ")", ";", "nub", "set", "background", "color", "(", "color", "argb", "(", "255", ",", "0", ",", "164", ",", "209", ")", ")", ";", "root", "add", "view", "(", "nub", ")", ";", "return", "root", ";" ]
[ "remove", "the", "configurator", "from", "its", "parent", "and", "clean", "up", "springs", "and", "listeners" ]
[ "view", "group", "parent", "=", "(", "view", "group", ")", "get", "parent", "(", ")", ";", "if", "(", "parent", "!", "=", "null", ")", "{", "parent", "remove", "view", "(", "this", ")", ";", "}", "m", "revealer", "spring", "destroy", "(", ")", ";" ]
[ "update", "the", "position", "of", "the", "seekbars", "based", "on", "the", "spring", "value", ";" ]
[ "float", "tension", "=", "(", "float", ")", "origami", "value", "converter", "origami", "value", "from", "tension", "(", "spring", "config", "tension", ")", ";", "float", "tension", "range", "=", "max", "tension", "-", "min", "tension", ";", "int", "scaled", "tension", "=", "math", "round", "(", "(", "(", "tension", "-", "min", "tension", ")", "*", "max", "seekbar", "val", ")", "/", "tension", "range", ")", ";", "float", "friction", "=", "(", "float", ")", "origami", "value", "converter", "origami", "value", "from", "friction", "(", "spring", "config", "friction", ")", ";", "float", "friction", "range", "=", "max", "friction", "-", "min", "friction", ";", "int", "scaled", "friction", "=", "math", "round", "(", "(", "(", "friction", "-", "min", "friction", ")", "*", "max", "seekbar", "val", ")", "/", "friction", "range", ")", ";", "m", "tension", "seek", "bar", "set", "progress", "(", "scaled", "tension", ")", ";", "m", "friction", "seek", "bar", "set", "progress", "(", "scaled", "friction", ")", ";" ]
[ "remove", "all", "elements", "from", "the", "list" ]
[ "m", "strings", "clear", "(", ")", ";", "notify", "data", "set", "changed", "(", ")", ";" ]
[ "maps", "the", "generic", "key", "to", "the", "specific", "key", "and", "return", "the", "list", "of", "values", "for", "this", "field", "as", "strings" ]
[ "if", "(", "generic", "key", "=", "=", "field", "key", "cover", "art", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", "error", "message", "artwork", "cannot", "be", "created", "with", "this", "method", "get", "msg", "(", ")", ")", ";", "}", "else", "{", "return", "tag", "get", "all", "(", "generic", "key", ")", ";", "}" ]
[ "determines", "whether", "the", "tag", "has", "no", "fields", "specified", "<", "br", ">" ]
[ "return", "(", "tag", "=", "=", "null", "|", "|", "tag", "is", "empty", "(", ")", ")", "&", "&", "images", "size", "(", ")", "=", "=", "0", ";" ]
[ "create", "tag", "field", "using", "ogg", "key" ]
[ "if", "(", "vorbis", "comment", "field", "key", "equals", "(", "vorbis", "comment", "field", "key", "coverart", ")", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", "error", "message", "artwork", "cannot", "be", "created", "with", "this", "method", "get", "msg", "(", ")", ")", ";", "}", "return", "tag", "create", "field", "(", "vorbis", "comment", "field", "key", ",", "value", ")", ";" ]
[ "create", "tag", "field", "using", "ogg", "key" ]
[ "if", "(", "vorbis", "comment", "field", "key", "equals", "(", "vorbis", "comment", "field", "key", "coverart", "get", "field", "name", "(", ")", ")", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", "error", "message", "artwork", "cannot", "be", "created", "with", "this", "method", "get", "msg", "(", ")", ")", ";", "}", "return", "tag", "create", "field", "(", "vorbis", "comment", "field", "key", ",", "value", ")", ";" ]
[ "delete", "any", "instance", "of", "tag", "fields", "with", "this", "key" ]
[ "if", "(", "field", "key", "equals", "(", "field", "key", "cover", "art", ")", ")", "{", "images", "clear", "(", ")", ";", "}", "else", "{", "tag", "delete", "field", "(", "field", "key", ")", ";", "}" ]
[ "todo", "add", "field", "images", "to", "iterator" ]
[ "return", "tag", "get", "fields", "(", ")", ";" ]
[ "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "artifact", "list", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "artifact", "list", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "artifact", "list", "=", "=", "null", ")", "{", "set", "artifact", "list", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "artifact", ">", "(", "artifact", "list", "length", ")", ")", ";", "}", "for", "(", "artifact", "ele", ":", "artifact", "list", ")", "{", "this", "artifact", "list", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "/", "*", "root", "has", "to", "use", "the", "local", "context", "root", "s", "env", "for", "all", "operations", "so", "if", "create", "subcontext", "in", "the", "root", "use", "the", "env", "of", "the", "local", "context", "root", "if", "lookup", "binding", "in", "the", "root", "use", "the", "env", "of", "the", "local", "context", "root" ]
[ "return", "root", ";" ]
[ "parses", "the", "search", "options", "<", "p", ">", "the", "following", "search", "options", "are", "parsed", ":", "<", "ul", ">", "<", "li", ">", "maximum", "search", "results", "in", "gui", "-", "allows", "to", "set", "the", "maximum", "number", "of", "results", "that", "should", "be", "shown", "in", "gui", "results", "panel", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "/", "p", ">" ]
[ "maximum", "search", "results", "g", "u", "i", "=", "get", "int", "(", "param", "maximum", "results", "gui", ",", "default", "maximum", "results", "gui", ")", ";" ]
[ "sets", "whether", "the", "number", "of", "maximum", "results", "that", "should", "be", "shown", "in", "the", "results", "panel" ]
[ "if", "(", "this", "maximum", "search", "results", "g", "u", "i", "!", "=", "maximum", "search", "results", "g", "u", "i", ")", "{", "this", "maximum", "search", "results", "g", "u", "i", "=", "maximum", "search", "results", "g", "u", "i", ";", "get", "config", "(", ")", "set", "property", "(", "param", "maximum", "results", "gui", ",", "integer", "value", "of", "(", "maximum", "search", "results", "g", "u", "i", ")", ")", ";", "}" ]
[ "returns", "the", "number", "of", "maximum", "results", "that", "should", "be", "shown", "in", "the", "results", "panel" ]
[ "return", "maximum", "search", "results", "g", "u", "i", ";" ]
[ "converts", "a", "remote", "procedure", "exception", "to", "an", "array", "of", "bytes" ]
[ "return", "to", "proto", "(", "source", ",", "t", ")", "to", "byte", "array", "(", ")", ";" ]
[ "takes", "a", "series", "of", "bytes", "and", "tries", "to", "generate", "an", "remote", "procedure", "exception", "instance", "for", "it" ]
[ "return", "from", "proto", "(", "foreign", "exception", "message", "parse", "from", "(", "bytes", ")", ")", ";" ]
[ "{" ]
[ "int", "src", "off", "=", "src", "io", "offset", "(", "src", "idx", ")", ";", "byte", "[", "]", "payload", "=", "page", "utils", "get", "bytes", "(", "src", "page", "addr", ",", "src", "off", ",", "payload", "size", ")", ";", "long", "link", "=", "page", "utils", "get", "long", "(", "src", "page", "addr", ",", "src", "off", "+", "payload", "size", ")", ";", "assert", "link", "!", "=", "0", ";", "int", "dst", "off", "=", "offset", "(", "dst", "idx", ")", ";", "page", "utils", "put", "bytes", "(", "dst", "page", "addr", ",", "dst", "off", ",", "payload", ")", ";", "h", "2", "i", "o", "utils", "store", "(", "dst", "page", "addr", ",", "dst", "off", "+", "payload", "size", ",", "src", "io", ",", "src", "page", "addr", ",", "src", "idx", ",", "store", "mvcc", "info", "(", ")", ")", ";" ]
[ "{" ]
[ "return", "page", "utils", "get", "long", "(", "page", "addr", ",", "offset", "(", "idx", ")", "+", "payload", "size", ")", ";" ]
[ "compares", "two", "{", "@", "link", "row", "}", "loads", "according", "to", "a", "policy" ]
[ "return", "policy", "cluster", "preferences", "get", "(", "0", ")", "compare", "(", "r", "1", ",", "r", "2", ",", "true", ")", ";" ]
[ "apply", "the", "preferences", "and", "conditions" ]
[ "set", "approx", "values", "and", "sort", "nodes", "(", "cluster", "preferences", ",", "matrix", ")", ";", "for", "(", "clause", "clause", ":", "expanded", "clauses", ")", "{", "list", "<", "violation", ">", "errs", "=", "clause", "test", "(", "this", ",", "null", ")", ";", "violations", "add", "all", "(", "errs", ")", ";", "}" ]
[ "write", "an", "index", "file", "to", "v", "3", "format", "single", "index", "file", "and", "remove", "the", "old", "one" ]
[ "int", "file", "length", "=", "(", "int", ")", "index", "file", "length", "(", ")", ";", "try", "(", "pinot", "data", "buffer", "buffer", "=", "segment", "writer", "new", "index", "for", "(", "column", ",", "index", "type", ",", "file", "length", ")", ")", "{", "buffer", "read", "from", "(", "0", ",", "index", "file", ",", "0", ",", "file", "length", ")", ";", "file", "utils", "force", "delete", "(", "index", "file", ")", ";", "}" ]
[ "get", "string", "list", "from", "segment", "properties", "<", "p", ">", "note", ":", "when", "the", "property", "associated", "with", "the", "key", "is", "empty", "{", "@", "link", "properties", "configuration", "#", "get", "list", "(", "string", ")", "}", "will", "return", "an", "empty", "string", "singleton", "list", "using", "this", "method", "will", "return", "an", "empty", "list", "instead" ]
[ "list", "<", "string", ">", "string", "list", "=", "new", "array", "list", "<", ">", "(", ")", ";", "list", "property", "list", "=", "segment", "properties", "get", "list", "(", "key", ")", ";", "if", "(", "property", "list", "!", "=", "null", ")", "{", "for", "(", "object", "value", ":", "property", "list", ")", "{", "string", "string", "value", "=", "value", "to", "string", "(", ")", ";", "if", "(", "!", "string", "value", "is", "empty", "(", ")", ")", "{", "string", "list", "add", "(", "string", "value", ")", ";", "}", "}", "}", "return", "string", "list", ";" ]
[ "annotations", "on", "types", "are", "for", "jsr", "308", "not", "applicable", "to", "smali" ]
[ "return", "new", "psi", "annotation", "[", "0", "]", ";" ]
[ "release", "resources", "used", "by", "wrapped", "sasl", "server" ]
[ "sasl", "util", "safe", "dispose", "(", "sasl", "server", ")", ";" ]
[ "/", "*", "filters", "the", "list", "of", "followed", "sites", "-", "pass", "null", "to", "show", "all" ]
[ "if", "(", "!", "string", "utils", "equals", "(", "constraint", ",", "m", "search", "filter", ")", ")", "{", "m", "search", "filter", "=", "constraint", ";", "refresh", "(", ")", ";", "}" ]
[ "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/" ]
[ "log", "trace", "call", "(", ")", ";", "close", "all", "handlers", "(", ")", ";", "stop", "periodic", "timer", "(", ")", ";", "stop", "retry", "timer", "(", ")", ";", "stopped", "=", "true", ";", "restart", "(", ")", ";" ]
[ "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/" ]
[ "stopped", "=", "false", ";", "if", "(", "periodic", "timer", "=", "=", "null", ")", "periodic", "timer", "=", "user", "thread", "run", "periodically", "(", "this", ":", ":", "request", "with", "available", "peers", ",", "request", "periodically", "interval", "min", ",", "time", "unit", "minutes", ")", ";" ]
[ "returns", "a", "function", "that", "always", "returns", "its", "input", "argument" ]
[ "return", "value", "-", ">", "value", ";" ]
[ "saves", "the", "pixels", "from", "the", "buffer", "as", "a", "png", "file", "on", "the", "sd", "card" ]
[ "save", "as", "image", "(", "0", ",", "0", ",", "width", ",", "height", ",", "path", ",", "compress", "format", "png", ",", "100", ")", ";" ]
[ "saves", "the", "pixels", "from", "the", "buffer", "on", "the", "sd", "card" ]
[ "bitmap", "bmp", "=", "get", "pixels", "from", "buffer", "(", "x", ",", "y", ",", "width", ",", "height", ")", ";", "try", "{", "file", "file", "=", "new", "file", "(", "path", ")", ";", "try", "{", "file", "create", "new", "file", "(", ")", ";", "}", "catch", "(", "i", "o", "exception", "e", "1", ")", "{", "e", "1", "print", "stack", "trace", "(", ")", ";", "}", "file", "output", "stream", "fos", "=", "new", "file", "output", "stream", "(", "file", ")", ";", "bmp", "compress", "(", "compress", "format", ",", "quality", ",", "fos", ")", ";", "try", "{", "fos", "flush", "(", ")", ";", "}", "catch", "(", "i", "o", "exception", "e", ")", "{", "e", "print", "stack", "trace", "(", ")", ";", "}", "try", "{", "fos", "close", "(", ")", ";", "}", "catch", "(", "i", "o", "exception", "e", ")", "{", "e", "print", "stack", "trace", "(", ")", ";", "}", "}", "catch", "(", "file", "not", "found", "exception", "e", ")", "{", "throw", "(", "e", ")", ";", "}" ]
[ "grabs", "the", "pixels", "from", "the", "buffer" ]
[ "int", "b", "[", "]", "=", "new", "int", "[", "width", "*", "(", "y", "+", "height", ")", "]", ";", "int", "bt", "[", "]", "=", "new", "int", "[", "width", "*", "height", "]", ";", "int", "buffer", "ib", "=", "int", "buffer", "wrap", "(", "b", ")", ";", "ib", "position", "(", "0", ")", ";", "gles20", "gl", "read", "pixels", "(", "x", ",", "y", ",", "width", ",", "height", ",", "gles20", "gl", "rgba", ",", "gles20", "gl", "unsigned", "byte", ",", "ib", ")", ";", "for", "(", "int", "i", "=", "0", ",", "k", "=", "0", ";", "i", "<", "height", ";", "i", "+", "+", ",", "k", "+", "+", ")", "{", "for", "(", "int", "j", "=", "0", ";", "j", "<", "width", ";", "j", "+", "+", ")", "{", "int", "pix", "=", "b", "[", "i", "*", "width", "+", "j", "]", ";", "int", "pb", "=", "(", "pix", ">", ">", "16", ")", "&", "0xff", ";", "int", "pr", "=", "(", "pix", "<", "<", "16", ")", "&", "0x", "0", "0ff", "0", "0", "0", "0", ";", "int", "pix", "1", "=", "(", "pix", "&", "0xff", "0", "0ff", "0", "0", ")", "|", "pr", "|", "pb", ";", "bt", "[", "(", "height", "-", "k", "-", "1", ")", "*", "width", "+", "j", "]", "=", "pix", "1", ";", "}", "}", "return", "bitmap", "create", "bitmap", "(", "bt", ",", "width", ",", "height", ",", "bitmap", "config", "argb", "8888", ")", ";" ]
[ "creates", "a", "new", "leader", "{", "@", "link", "file", "system", "master", "}", "from", "journal", "along", "with", "its", "dependencies", "and", "returns", "the", "master", "registry", "containing", "that", "master" ]
[ "return", "create", "file", "system", "master", "from", "journal", "(", "true", ")", ";" ]
[ "creates", "a", "new", "standby", "{", "@", "link", "file", "system", "master", "}", "from", "journal", "along", "with", "its", "dependencies", "and", "returns", "the", "master", "registry", "containing", "that", "master" ]
[ "return", "create", "file", "system", "master", "from", "journal", "(", "false", ")", ";" ]
[ "creates", "a", "new", "{", "@", "link", "file", "system", "master", "}", "from", "journal", "along", "with", "its", "dependencies", "and", "returns", "the", "master", "registry", "containing", "that", "master" ]
[ "string", "master", "journal", "=", "configuration", "get", "(", "property", "key", "master", "journal", "folder", ")", ";", "master", "registry", "registry", "=", "new", "master", "registry", "(", ")", ";", "safe", "mode", "manager", "safe", "mode", "manager", "=", "new", "test", "safe", "mode", "manager", "(", ")", ";", "long", "start", "time", "ms", "=", "system", "current", "time", "millis", "(", ")", ";", "int", "port", "=", "configuration", "get", "int", "(", "property", "key", "master", "rpc", "port", ")", ";", "journal", "system", "journal", "system", "=", "journal", "test", "utils", "create", "journal", "system", "(", "master", "journal", ")", ";", "master", "context", "master", "context", "=", "new", "master", "context", "(", "journal", "system", ",", "safe", "mode", "manager", ",", "mock", "(", "backup", "manager", "class", ")", ",", "start", "time", "ms", ",", "port", ")", ";", "new", "metrics", "master", "factory", "(", ")", "create", "(", "registry", ",", "master", "context", ")", ";", "new", "block", "master", "factory", "(", ")", "create", "(", "registry", ",", "master", "context", ")", ";", "new", "file", "system", "master", "factory", "(", ")", "create", "(", "registry", ",", "master", "context", ")", ";", "journal", "system", "start", "(", ")", ";", "if", "(", "is", "leader", ")", "{", "journal", "system", "gain", "primacy", "(", ")", ";", "}", "registry", "start", "(", "is", "leader", ")", ";", "return", "registry", ";" ]
[ "tries", "to", "claim", "the", "user", "s", "drag", "motion", "and", "requests", "disallowing", "any", "ancestors", "from", "stealing", "events", "in", "the", "drag" ]
[ "if", "(", "get", "parent", "(", ")", "!", "=", "null", ")", "{", "get", "parent", "(", ")", "request", "disallow", "intercept", "touch", "event", "(", "true", ")", ";", "}" ]
[ "specifies", "the", "computation", "of", "a", "median", "(", "i", "e", "the", "1st", "2", "-", "quantile", ")" ]
[ "return", "scale", "(", "2", ")", "index", "(", "1", ")", ";" ]
[ "specifies", "the", "computation", "of", "quartiles", "(", "i", "e", "4", "-", "quantiles", ")" ]
[ "return", "scale", "(", "4", ")", ";" ]
[ "specifies", "the", "computation", "of", "percentiles", "(", "i", "e", "100", "-", "quantiles", ")" ]
[ "return", "scale", "(", "100", ")", ";" ]
[ "specifies", "the", "computation", "of", "q", "-", "quantiles" ]
[ "return", "new", "scale", "(", "scale", ")", ";" ]
[ "specifies", "a", "single", "quantile", "index", "to", "be", "calculated", "i", "e", "the", "k", "in", "the", "kth", "q", "-", "quantile" ]
[ "return", "new", "scale", "and", "index", "(", "scale", ",", "index", ")", ";" ]
[ "specifies", "multiple", "quantile", "indexes", "to", "be", "calculated", "each", "index", "being", "the", "k", "in", "the", "kth", "q", "-", "quantile" ]
[ "return", "new", "scale", "and", "indexes", "(", "scale", ",", "indexes", "clone", "(", ")", ")", ";" ]
[ "specifies", "multiple", "quantile", "indexes", "to", "be", "calculated", "each", "index", "being", "the", "k", "in", "the", "kth", "q", "-", "quantile" ]
[ "return", "new", "scale", "and", "indexes", "(", "scale", ",", "ints", "to", "array", "(", "indexes", ")", ")", ";" ]
[ "computes", "the", "quantile", "value", "of", "the", "given", "dataset" ]
[ "return", "compute", "in", "place", "(", "doubles", "to", "array", "(", "dataset", ")", ")", ";" ]
[ "computes", "the", "quantile", "value", "of", "the", "given", "dataset" ]
[ "return", "compute", "in", "place", "(", "dataset", "clone", "(", ")", ")", ";" ]
[ "computes", "the", "quantile", "value", "of", "the", "given", "dataset" ]
[ "return", "compute", "in", "place", "(", "longs", "to", "doubles", "(", "dataset", ")", ")", ";" ]
[ "computes", "the", "quantile", "value", "of", "the", "given", "dataset" ]
[ "return", "compute", "in", "place", "(", "ints", "to", "doubles", "(", "dataset", ")", ")", ";" ]
[ "computes", "the", "quantile", "values", "of", "the", "given", "dataset" ]
[ "return", "compute", "in", "place", "(", "doubles", "to", "array", "(", "dataset", ")", ")", ";" ]
[ "computes", "the", "quantile", "values", "of", "the", "given", "dataset" ]
[ "return", "compute", "in", "place", "(", "dataset", "clone", "(", ")", ")", ";" ]
[ "computes", "the", "quantile", "values", "of", "the", "given", "dataset" ]
[ "return", "compute", "in", "place", "(", "longs", "to", "doubles", "(", "dataset", ")", ")", ";" ]
[ "computes", "the", "quantile", "values", "of", "the", "given", "dataset" ]
[ "return", "compute", "in", "place", "(", "ints", "to", "doubles", "(", "dataset", ")", ")", ";" ]
[ "returns", "whether", "any", "of", "the", "values", "in", "{" ]
[ "for", "(", "double", "value", ":", "dataset", ")", "{", "if", "(", "double", "is", "na", "n", "(", "value", ")", ")", "{", "return", "true", ";", "}", "}", "return", "false", ";" ]
[ "swaps", "the", "values", "at", "{" ]
[ "double", "temp", "=", "array", "[", "i", "]", ";", "array", "[", "i", "]", "=", "array", "[", "j", "]", ";", "array", "[", "j", "]", "=", "temp", ";" ]
[ "<", "p", ">", "a", "<", "code", ">", "cron", "<", "/", "code", ">", "expression", "used", "to", "specify", "the", "schedule", "(", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "glue", "/", "latest", "/", "dg", "/", "monitor", "-", "data", "-", "warehouse", "-", "schedule", "html", ">", "time", "-", "based", "schedules", "for", "jobs", "and", "crawlers", "<", "/", "a", ">", "for", "example", "to", "run", "something", "every", "day", "at", "12", ":", "15", "utc", "you", "would", "specify", ":", "<", "code", ">", "cron", "(", "15", "12", "*", "*", "?", "*", ")", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "schedule", "expression", "(", "schedule", "expression", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "state", "of", "the", "schedule", "<", "/", "p", ">" ]
[ "set", "state", "(", "state", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "state", "of", "the", "schedule", "<", "/", "p", ">" ]
[ "this", "state", "=", "state", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "run", "the", "given", "{" ]
[ "try", "(", "rule", "key", "cache", "scope", "<", "v", ">", "scope", "=", "with", "recycled", "cache", "(", "buck", "event", "bus", ",", "current", "settings", ")", ")", "{", "func", "accept", "(", "scope", "get", "cache", "(", ")", ")", ";", "}" ]
[ "<", "p", ">", "the", "name", "of", "the", "intent", "<", "/", "p", ">" ]
[ "set", "name", "(", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "description", "of", "the", "intent", "<", "/", "p", ">" ]
[ "set", "description", "(", "description", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "array", "of", "intent", "slots", "configured", "for", "the", "intent", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "slots", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "slots", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "slots", "=", "=", "null", ")", "{", "set", "slots", "(", "new", "java", "util", "array", "list", "<", "slot", ">", "(", "slots", "length", ")", ")", ";", "}", "for", "(", "slot", "ele", ":", "slots", ")", "{", "this", "slots", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "an", "array", "of", "intent", "slots", "configured", "for", "the", "intent", "<", "/", "p", ">" ]
[ "set", "slots", "(", "slots", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "array", "of", "sample", "utterances", "configured", "for", "the", "intent", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "sample", "utterances", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "sample", "utterances", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "sample", "utterances", "=", "=", "null", ")", "{", "set", "sample", "utterances", "(", "new", "java", "util", "array", "list", "<", "string", ">", "(", "sample", "utterances", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "sample", "utterances", ")", "{", "this", "sample", "utterances", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "an", "array", "of", "sample", "utterances", "configured", "for", "the", "intent", "<", "/", "p", ">" ]
[ "set", "sample", "utterances", "(", "sample", "utterances", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "defined", "in", "the", "bot", "amazon", "lex", "uses", "prompt", "to", "confirm", "the", "intent", "before", "fulfilling", "the", "user", "s", "request", "for", "more", "information", "see", "<", "a", ">", "put", "intent", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "confirmation", "prompt", "(", "confirmation", "prompt", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "the", "user", "answers", "no", "to", "the", "question", "defined", "in", "<", "code", ">", "confirmation", "prompt", "<", "/", "code", ">", "amazon", "lex", "responds", "with", "this", "statement", "to", "acknowledge", "that", "the", "intent", "was", "canceled", "<", "/", "p", ">" ]
[ "set", "rejection", "statement", "(", "rejection", "statement", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "defined", "in", "the", "bot", "amazon", "lex", "uses", "this", "prompt", "to", "solicit", "additional", "user", "activity", "after", "the", "intent", "is", "fulfilled", "for", "more", "information", "see", "<", "a", ">", "put", "intent", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "follow", "up", "prompt", "(", "follow", "up", "prompt", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "after", "the", "lambda", "function", "specified", "in", "the", "<", "code", ">", "fulfillment", "activity", "<", "/", "code", ">", "element", "fulfills", "the", "intent", "amazon", "lex", "conveys", "this", "statement", "to", "the", "user", "<", "/", "p", ">" ]
[ "set", "conclusion", "statement", "(", "conclusion", "statement", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "defined", "in", "the", "bot", "amazon", "amazon", "lex", "invokes", "this", "lambda", "function", "for", "each", "user", "input", "for", "more", "information", "see", "<", "a", ">", "put", "intent", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "dialog", "code", "hook", "(", "dialog", "code", "hook", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "describes", "how", "the", "intent", "is", "fulfilled", "for", "more", "information", "see", "<", "a", ">", "put", "intent", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "fulfillment", "activity", "(", "fulfillment", "activity", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "unique", "identifier", "for", "a", "built", "-", "in", "intent", "<", "/", "p", ">" ]
[ "set", "parent", "intent", "signature", "(", "parent", "intent", "signature", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "date", "that", "the", "intent", "was", "updated", "when", "you", "create", "a", "resource", "the", "creation", "date", "and", "the", "last", "updated", "date", "are", "the", "same", "<", "/", "p", ">" ]
[ "set", "last", "updated", "date", "(", "last", "updated", "date", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "date", "that", "the", "intent", "was", "created", "<", "/", "p", ">" ]
[ "set", "created", "date", "(", "created", "date", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "version", "of", "the", "intent", "<", "/", "p", ">" ]
[ "set", "version", "(", "version", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "checksum", "of", "the", "intent", "<", "/", "p", ">" ]
[ "set", "checksum", "(", "checksum", ")", ";", "return", "this", ";" ]
[ "define", "the", "layer" ]
[ "public", "abstract", "s", "d", "variable", "define", "layer", "(", "same", "diff", "same", "diff", ",", "s", "d", "variable", "layer", "input", ",", "map", "<", "string", ",", "s", "d", "variable", ">", "param", "table", ")", ";" ]
[ "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=" ]
[ "org", "deeplearning", "4j", "nn", "layers", "samediff", "same", "diff", "layer", "ret", "=", "new", "org", "deeplearning", "4j", "nn", "layers", "samediff", "same", "diff", "layer", "(", "conf", ")", ";", "ret", "set", "index", "(", "layer", "index", ")", ";", "ret", "set", "params", "view", "array", "(", "layer", "params", "view", ")", ";", "map", "<", "string", ",", "i", "n", "d", "array", ">", "param", "table", "=", "initializer", "(", ")", "init", "(", "conf", ",", "layer", "params", "view", ",", "initialize", "params", ")", ";", "ret", "set", "param", "table", "(", "param", "table", ")", ";", "ret", "set", "conf", "(", "conf", ")", ";", "return", "ret", ";" ]
[ "weight", "initialization", "scheme", "to", "use", "for", "initial", "weight", "values" ]
[ "this", "weight", "init", "=", "weight", "init", ";", "return", "(", "t", ")", "this", ";" ]
[ "return", "a", "tint", "drawable" ]
[ "if", "(", "force", "tint", ")", "{", "drawable", "clear", "color", "filter", "(", ")", ";", "drawable", "set", "color", "filter", "(", "color", ",", "porter", "duff", "mode", "src", "in", ")", ";", "drawable", "invalidate", "self", "(", ")", ";", "return", "drawable", ";", "}", "drawable", "wrap", "drawable", "=", "drawable", "compat", "wrap", "(", "drawable", ")", "mutate", "(", ")", ";", "drawable", "compat", "set", "tint", "(", "wrap", "drawable", ",", "color", ")", ";", "return", "wrap", "drawable", ";" ]
[ "update", "top", "margin", "with", "animation" ]
[ "value", "animator", "animator", "=", "value", "animator", "of", "float", "(", "from", "margin", ",", "to", "margin", ")", ";", "animator", "set", "duration", "(", "150", ")", ";", "animator", "add", "update", "listener", "(", "new", "value", "animator", "animator", "update", "listener", "(", ")", "{", "@", "override", "public", "void", "on", "animation", "update", "(", "value", "animator", "value", "animator", ")", "{", "float", "animated", "value", "=", "(", "float", ")", "value", "animator", "get", "animated", "value", "(", ")", ";", "if", "(", "view", "get", "layout", "params", "(", ")", "instanceof", "view", "group", "margin", "layout", "params", ")", "{", "view", "group", "margin", "layout", "params", "p", "=", "(", "view", "group", "margin", "layout", "params", ")", "view", "get", "layout", "params", "(", ")", ";", "p", "set", "margins", "(", "p", "left", "margin", ",", "(", "int", ")", "animated", "value", ",", "p", "right", "margin", ",", "p", "bottom", "margin", ")", ";", "view", "request", "layout", "(", ")", ";", "}", "}", "}", ")", ";", "animator", "start", "(", ")", ";" ]
[ "update", "bottom", "margin", "with", "animation" ]
[ "value", "animator", "animator", "=", "value", "animator", "of", "float", "(", "from", "margin", ",", "to", "margin", ")", ";", "animator", "set", "duration", "(", "duration", ")", ";", "animator", "add", "update", "listener", "(", "new", "value", "animator", "animator", "update", "listener", "(", ")", "{", "@", "override", "public", "void", "on", "animation", "update", "(", "value", "animator", "value", "animator", ")", "{", "float", "animated", "value", "=", "(", "float", ")", "value", "animator", "get", "animated", "value", "(", ")", ";", "if", "(", "view", "get", "layout", "params", "(", ")", "instanceof", "view", "group", "margin", "layout", "params", ")", "{", "view", "group", "margin", "layout", "params", "p", "=", "(", "view", "group", "margin", "layout", "params", ")", "view", "get", "layout", "params", "(", ")", ";", "p", "set", "margins", "(", "p", "left", "margin", ",", "p", "top", "margin", ",", "p", "right", "margin", ",", "(", "int", ")", "animated", "value", ")", ";", "view", "request", "layout", "(", ")", ";", "}", "}", "}", ")", ";", "animator", "start", "(", ")", ";" ]
[ "update", "left", "margin", "with", "animation" ]
[ "value", "animator", "animator", "=", "value", "animator", "of", "float", "(", "from", "margin", ",", "to", "margin", ")", ";", "animator", "set", "duration", "(", "150", ")", ";", "animator", "add", "update", "listener", "(", "new", "value", "animator", "animator", "update", "listener", "(", ")", "{", "@", "override", "public", "void", "on", "animation", "update", "(", "value", "animator", "value", "animator", ")", "{", "float", "animated", "value", "=", "(", "float", ")", "value", "animator", "get", "animated", "value", "(", ")", ";", "if", "(", "view", "get", "layout", "params", "(", ")", "instanceof", "view", "group", "margin", "layout", "params", ")", "{", "view", "group", "margin", "layout", "params", "p", "=", "(", "view", "group", "margin", "layout", "params", ")", "view", "get", "layout", "params", "(", ")", ";", "p", "set", "margins", "(", "(", "int", ")", "animated", "value", ",", "p", "top", "margin", ",", "p", "right", "margin", ",", "p", "bottom", "margin", ")", ";", "view", "request", "layout", "(", ")", ";", "}", "}", "}", ")", ";", "animator", "start", "(", ")", ";" ]
[ "update", "text", "size", "with", "animation" ]
[ "value", "animator", "animator", "=", "value", "animator", "of", "float", "(", "from", "size", ",", "to", "size", ")", ";", "animator", "set", "duration", "(", "150", ")", ";", "animator", "add", "update", "listener", "(", "new", "value", "animator", "animator", "update", "listener", "(", ")", "{", "@", "override", "public", "void", "on", "animation", "update", "(", "value", "animator", "value", "animator", ")", "{", "float", "animated", "value", "=", "(", "float", ")", "value", "animator", "get", "animated", "value", "(", ")", ";", "text", "view", "set", "text", "size", "(", "typed", "value", "complex", "unit", "px", ",", "animated", "value", ")", ";", "}", "}", ")", ";", "animator", "start", "(", ")", ";" ]
[ "update", "alpha" ]
[ "value", "animator", "animator", "=", "value", "animator", "of", "float", "(", "from", "value", ",", "to", "value", ")", ";", "animator", "set", "duration", "(", "150", ")", ";", "animator", "add", "update", "listener", "(", "new", "value", "animator", "animator", "update", "listener", "(", ")", "{", "@", "override", "public", "void", "on", "animation", "update", "(", "value", "animator", "value", "animator", ")", "{", "float", "animated", "value", "=", "(", "float", ")", "value", "animator", "get", "animated", "value", "(", ")", ";", "view", "set", "alpha", "(", "animated", "value", ")", ";", "}", "}", ")", ";", "animator", "start", "(", ")", ";" ]
[ "update", "text", "color", "with", "animation" ]
[ "value", "animator", "color", "animation", "=", "value", "animator", "of", "object", "(", "new", "argb", "evaluator", "(", ")", ",", "from", "color", ",", "to", "color", ")", ";", "color", "animation", "set", "duration", "(", "150", ")", ";", "color", "animation", "add", "update", "listener", "(", "new", "value", "animator", "animator", "update", "listener", "(", ")", "{", "@", "override", "public", "void", "on", "animation", "update", "(", "value", "animator", "animator", ")", "{", "text", "view", "set", "text", "color", "(", "(", "integer", ")", "animator", "get", "animated", "value", "(", ")", ")", ";", "}", "}", ")", ";", "color", "animation", "start", "(", ")", ";" ]
[ "update", "text", "color", "with", "animation" ]
[ "value", "animator", "color", "animation", "=", "value", "animator", "of", "object", "(", "new", "argb", "evaluator", "(", ")", ",", "from", "color", ",", "to", "color", ")", ";", "color", "animation", "set", "duration", "(", "150", ")", ";", "color", "animation", "add", "update", "listener", "(", "new", "value", "animator", "animator", "update", "listener", "(", ")", "{", "@", "override", "public", "void", "on", "animation", "update", "(", "value", "animator", "animator", ")", "{", "view", "set", "background", "color", "(", "(", "integer", ")", "animator", "get", "animated", "value", "(", ")", ")", ";", "}", "}", ")", ";", "color", "animation", "start", "(", ")", ";" ]
[ "update", "image", "view", "color", "with", "animation" ]
[ "value", "animator", "color", "animation", "=", "value", "animator", "of", "object", "(", "new", "argb", "evaluator", "(", ")", ",", "from", "color", ",", "to", "color", ")", ";", "color", "animation", "set", "duration", "(", "150", ")", ";", "color", "animation", "add", "update", "listener", "(", "new", "value", "animator", "animator", "update", "listener", "(", ")", "{", "@", "override", "public", "void", "on", "animation", "update", "(", "value", "animator", "animator", ")", "{", "image", "view", "set", "image", "drawable", "(", "a", "h", "helper", "get", "tint", "drawable", "(", "drawable", ",", "(", "integer", ")", "animator", "get", "animated", "value", "(", ")", ",", "force", "tint", ")", ")", ";", "image", "view", "request", "layout", "(", ")", ";", "}", "}", ")", ";", "color", "animation", "start", "(", ")", ";" ]
[ "update", "width" ]
[ "value", "animator", "animator", "=", "value", "animator", "of", "float", "(", "from", "width", ",", "to", "width", ")", ";", "animator", "set", "duration", "(", "150", ")", ";", "animator", "add", "update", "listener", "(", "new", "value", "animator", "animator", "update", "listener", "(", ")", "{", "@", "override", "public", "void", "on", "animation", "update", "(", "value", "animator", "animator", ")", "{", "view", "group", "layout", "params", "params", "=", "view", "get", "layout", "params", "(", ")", ";", "params", "width", "=", "math", "round", "(", "(", "float", ")", "animator", "get", "animated", "value", "(", ")", ")", ";", "view", "set", "layout", "params", "(", "params", ")", ";", "}", "}", ")", ";", "animator", "start", "(", ")", ";" ]
[ "check", "if", "the", "status", "bar", "is", "translucent" ]
[ "window", "w", "=", "unwrap", "(", "context", ")", "get", "window", "(", ")", ";", "window", "manager", "layout", "params", "lp", "=", "w", "get", "attributes", "(", ")", ";", "int", "flags", "=", "lp", "flags", ";", "if", "(", "(", "flags", "&", "window", "manager", "layout", "params", "flag", "translucent", "navigation", ")", "=", "=", "window", "manager", "layout", "params", "flag", "translucent", "navigation", ")", "{", "return", "true", ";", "}", "return", "false", ";" ]
[ "get", "the", "height", "of", "the", "buttons", "bar" ]
[ "if", "(", "build", "version", "sdk", "int", ">", "=", "build", "version", "codes", "jelly", "bean", "mr1", ")", "{", "display", "metrics", "metrics", "=", "new", "display", "metrics", "(", ")", ";", "window", "window", "=", "unwrap", "(", "context", ")", "get", "window", "(", ")", ";", "window", "get", "window", "manager", "(", ")", "get", "default", "display", "(", ")", "get", "metrics", "(", "metrics", ")", ";", "int", "usable", "height", "=", "metrics", "height", "pixels", ";", "window", "get", "window", "manager", "(", ")", "get", "default", "display", "(", ")", "get", "real", "metrics", "(", "metrics", ")", ";", "int", "real", "height", "=", "metrics", "height", "pixels", ";", "if", "(", "real", "height", ">", "usable", "height", ")", "return", "real", "height", "-", "usable", "height", ";", "else", "return", "0", ";", "}", "return", "0", ";" ]
[ "unwrap", "wactivity" ]
[ "while", "(", "!", "(", "context", "instanceof", "activity", ")", ")", "{", "context", "wrapper", "wrapper", "=", "(", "context", "wrapper", ")", "context", ";", "context", "=", "wrapper", "get", "base", "context", "(", ")", ";", "}", "return", "(", "activity", ")", "context", ";" ]
[ "create", "a", "list", "of", "orders", "from", "a", "list", "of", "asks", "or", "bids" ]
[ "list", "<", "limit", "order", ">", "limit", "orders", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "bitcoinde", "order", "order", ":", "orders", ")", "{", "limit", "orders", "add", "(", "create", "order", "(", "currency", "pair", ",", "order", ",", "order", "type", ",", "null", ",", "null", ")", ")", ";", "}", "return", "limit", "orders", ";" ]
[ "create", "an", "individual", "order" ]
[ "return", "new", "limit", "order", "(", "order", "type", ",", "bitcoinde", "order", "get", "amount", "(", ")", ",", "currency", "pair", ",", "order", "id", ",", "time", "stamp", ",", "bitcoinde", "order", "get", "price", "(", ")", ")", ";" ]