docstring_tokens
list
code_tokens
list
[ "get", "the", "list", "of", "magic", "strings", "recognized", "by", "this", "analyzer", "if", "a", "file", "starts", "with", "one", "of", "these", "strings", "an", "analyzer", "created", "by", "this", "factory", "should", "be", "used", "to", "analyze", "it...
[ "return", "magics", ";" ]
[ "get", "matchers", "that", "map", "file", "contents", "to", "analyzer", "factories", "programmatically" ]
[ "return", "matchers", ";" ]
[ "get", "the", "content", "type", "(", "mime", "type", ")", "for", "analyzers", "returned", "by", "this", "factory" ]
[ "return", "content", "type", ";" ]
[ "the", "genre", "this", "analyzer", "factory", "belongs", "to" ]
[ "return", "genre", ";" ]
[ "get", "an", "analyzer", "if", "the", "same", "thread", "calls", "this", "method", "multiple", "times", "on", "the", "same", "factory", "object", "the", "exact", "same", "analyzer", "object", "will", "be", "returned", "each", "time", "subclasses", "should", ...
[ "file", "analyzer", "fa", "=", "cached", "analyzer", "get", "(", ")", ";", "if", "(", "fa", "=", "=", "null", ")", "{", "fa", "=", "new", "analyzer", "(", ")", ";", "cached", "analyzer", "set", "(", "fa", ")", ";", "}", "return", "fa", ";" ]
[ "create", "a", "new", "analyzer" ]
[ "return", "new", "file", "analyzer", "(", "this", ")", ";" ]
[ "<", "p", ">", "a", "list", "of", "the", "individual", "attribute", "names", "such", "as", "<", "code", ">", "monthly", "spend", "limit", "<", "/", "code", ">", "for", "which", "you", "want", "values", "<", "/", "p", ">", "<", "p", ">", "for", "a...
[ "if", "(", "attributes", "=", "=", "null", ")", "{", "attributes", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", ")", ";", "}", "return", "attributes", ";" ]
[ "<", "p", ">", "a", "list", "of", "the", "individual", "attribute", "names", "such", "as", "<", "code", ">", "monthly", "spend", "limit", "<", "/", "code", ">", "for", "which", "you", "want", "values", "<", "/", "p", ">", "<", "p", ">", "for", "a...
[ "if", "(", "attributes", "=", "=", "null", ")", "{", "this", "attributes", "=", "null", ";", "return", ";", "}", "this", "attributes", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "attributes", ")", ";...
[ "<", "p", ">", "a", "list", "of", "the", "individual", "attribute", "names", "such", "as", "<", "code", ">", "monthly", "spend", "limit", "<", "/", "code", ">", "for", "which", "you", "want", "values", "<", "/", "p", ">", "<", "p", ">", "for", "a...
[ "if", "(", "this", "attributes", "=", "=", "null", ")", "{", "set", "attributes", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "attributes", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ...
[ "<", "p", ">", "a", "list", "of", "the", "individual", "attribute", "names", "such", "as", "<", "code", ">", "monthly", "spend", "limit", "<", "/", "code", ">", "for", "which", "you", "want", "values", "<", "/", "p", ">", "<", "p", ">", "for", "a...
[ "set", "attributes", "(", "attributes", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "language", "code", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "en", "<", "/", "code", ">", "-", "english", "(", "default", ")", "<", "/", "p", ">", "<", "/", "li", ">", "<...
[ "set", "accept", "language", "(", "accept", "language", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "portfolio", "identifier", "<", "/", "p", ">" ]
[ "set", "portfolio", "id", "(", "portfolio", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "product", "identifier", "<", "/", "p", ">" ]
[ "set", "product", "id", "(", "product", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "constraint", "parameters", "in", "json", "format", "the", "syntax", "depends", "on", "the", "constraint", "type", "as", "follows", ":", "<", "/", "p", ">", "<", "dl", ">", "<", "dt", ">", "launch", "<", "/", "dt", ">", "<", ...
[ "set", "parameters", "(", "parameters", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "constraint", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "launch", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ...
[ "set", "type", "(", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "description", "of", "the", "constraint", "<", "/", "p", ">" ]
[ "set", "description", "(", "description", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "unique", "identifier", "that", "you", "provide", "to", "ensure", "idempotency", "if", "multiple", "requests", "differ", "only", "by", "the", "idempotency", "token", "the", "same", "response", "is", "returned", "for", "each", "repeated", ...
[ "set", "idempotency", "token", "(", "idempotency", "token", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "u", "write", "grid", "uuid", "(", "out", ",", "id", ")", ";", "out", "write", "int", "(", "cap", ")", ";", "out", "write", "boolean", "(", "collocated", ")", ";", "out", "write", "long", "(", "head", ")", ";", "out", "write", "long", "(", "tail"...
[ "{" ]
[ "id", "=", "u", "read", "grid", "uuid", "(", "in", ")", ";", "cap", "=", "in", "read", "int", "(", ")", ";", "collocated", "=", "in", "read", "boolean", "(", ")", ";", "head", "=", "in", "read", "long", "(", ")", ";", "tail", "=", "in", "read...
[ "{" ]
[ "return", "s", "to", "string", "(", "grid", "cache", "queue", "header", "class", ",", "this", ")", ";" ]
[ "<", "p", ">", "name", "of", "the", "stream", "processor", "<", "/", "p", ">" ]
[ "set", "name", "(", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "arn", "for", "the", "newly", "create", "stream", "processor", "<", "/", "p", ">" ]
[ "this", "stream", "processor", "arn", "=", "stream", "processor", "arn", ";" ]
[ "<", "p", ">", "arn", "for", "the", "newly", "create", "stream", "processor", "<", "/", "p", ">" ]
[ "return", "this", "stream", "processor", "arn", ";" ]
[ "<", "p", ">", "arn", "of", "the", "stream", "processor", "<", "/", "p", ">" ]
[ "set", "stream", "processor", "arn", "(", "stream", "processor", "arn", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "current", "status", "of", "the", "stream", "processor", "<", "/", "p", ">" ]
[ "set", "status", "(", "status", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "current", "status", "of", "the", "stream", "processor", "<", "/", "p", ">" ]
[ "this", "status", "=", "status", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "detailed", "status", "message", "about", "the", "stream", "processor", "<", "/", "p", ">" ]
[ "set", "status", "message", "(", "status", "message", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "date", "and", "time", "the", "stream", "processor", "was", "created", "<", "/", "p", ">" ]
[ "set", "creation", "timestamp", "(", "creation", "timestamp", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "time", "in", "unix", "format", "the", "stream", "processor", "was", "last", "updated", "for", "example", "when", "the", "stream", "processor", "moves", "from", "a", "running", "state", "to", "a", "failed", "state", "or", "when", "t...
[ "set", "last", "update", "timestamp", "(", "last", "update", "timestamp", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "kinesis", "video", "stream", "that", "provides", "the", "source", "streaming", "video", "<", "/", "p", ">" ]
[ "set", "input", "(", "input", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "kinesis", "data", "stream", "to", "which", "amazon", "rekognition", "video", "puts", "the", "analysis", "results", "<", "/", "p", ">" ]
[ "set", "output", "(", "output", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "arn", "of", "the", "iam", "role", "that", "allows", "access", "to", "the", "stream", "processor", "<", "/", "p", ">" ]
[ "set", "role", "arn", "(", "role", "arn", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "face", "recognition", "input", "parameters", "that", "are", "being", "used", "by", "the", "stream", "processor", "includes", "the", "collection", "to", "use", "for", "face", "recognition", "and", "the", "face", "attributes", "to", "detect", "...
[ "set", "settings", "(", "settings", ")", ";", "return", "this", ";" ]
[ "sets", "this", "manifold", "point", "form", "the", "given", "one" ]
[ "local", "point", "set", "(", "cp", "local", "point", ")", ";", "normal", "impulse", "=", "cp", "normal", "impulse", ";", "tangent", "impulse", "=", "cp", "tangent", "impulse", ";", "id", "set", "(", "cp", "id", ")", ";" ]
[ "synchronizes", "the", "execution", "of", "two", "concurrent", "state", "modifications", "as", "much", "as", "possible", "to", "test", "race", "conditions", "the", "method", "blocks", "until", "the", "given", "{", "@", "link", "predicate", "}", "matches", "it"...
[ "scheduler", "worker", "w", "1", "=", "schedulers", "elastic", "(", ")", "create", "worker", "(", ")", ";", "scheduler", "worker", "w", "2", "=", "schedulers", "elastic", "(", ")", "create", "worker", "(", ")", ";", "try", "{", "atomic", "reference", "...
[ "synchronizes", "the", "execution", "of", "two", "{" ]
[ "race", "(", "r", "1", ",", "r", "2", ",", "schedulers", "single", "(", ")", ")", ";" ]
[ "marshals", "the", "given", "body" ]
[ "try", "{", "list", "<", "?", ">", "list", "=", "convert", "to", "type", "(", "exchange", ",", "list", "class", ",", "body", ")", ";", "if", "(", "list", "!", "=", "null", ")", "{", "for", "(", "object", "row", ":", "list", ")", "{", "write", ...
[ "writes", "the", "given", "row" ]
[ "map", "<", "?", ",", "?", ">", "map", "=", "convert", "to", "mandatory", "type", "(", "exchange", ",", "map", "class", ",", "row", ")", ";", "if", "(", "adapt", "headers", ")", "{", "synchronized", "(", "headers", ")", "{", "for", "(", "object", ...
[ "writes", "the", "given", "map", "as", "row" ]
[ "object", "[", "]", "values", "=", "new", "object", "[", "headers", "size", "(", ")", "]", ";", "int", "index", "=", "0", ";", "for", "(", "string", "header", ":", "headers", ")", "{", "values", "[", "index", "+", "+", "]", "=", "map", "get", "...
[ "convert", "a", "rocket", "m", "q", "send", "ok", "send", "result", "instance", "to", "a", "oms", "send", "result" ]
[ "assert", "rmq", "result", "get", "send", "status", "(", ")", "equals", "(", "send", "status", "send", "ok", ")", ";", "return", "new", "send", "result", "impl", "(", "rmq", "result", "get", "msg", "id", "(", ")", ",", "oms", "new", "key", "value", ...
[ "creates", "new", "instance", "of", "given", "class" ]
[ "constructor", "<", "?", ">", "constructor", "=", "clazz", "get", "declared", "constructor", "(", "int", "class", ")", ";", "constructor", "set", "accessible", "(", "true", ")", ";", "return", "(", "x", "a", "exception", ")", "constructor", "new", "instanc...
[ "test", "to", "convert", "between", "a", "block", "info", "type", "and", "a", "json", "type" ]
[ "block", "info", "block", "info", "=", "create", "random", "(", ")", ";", "object", "mapper", "mapper", "=", "new", "object", "mapper", "(", ")", ";", "block", "info", "other", "=", "mapper", "read", "value", "(", "mapper", "write", "value", "as", "byt...
[ "test", "to", "convert", "between", "a", "thrift", "type", "and", "a", "wire", "type" ]
[ "block", "info", "block", "info", "=", "create", "random", "(", ")", ";", "block", "info", "other", "=", "block", "info", "from", "thrift", "(", "block", "info", "to", "thrift", "(", ")", ")", ";", "check", "equality", "(", "block", "info", ",", "oth...
[ "check", "if", "the", "two", "block", "info", "object", "are", "equal" ]
[ "assert", "assert", "equals", "(", "a", "get", "block", "id", "(", ")", ",", "b", "get", "block", "id", "(", ")", ")", ";", "assert", "assert", "equals", "(", "a", "get", "length", "(", ")", ",", "b", "get", "length", "(", ")", ")", ";", "asser...
[ "randomly", "create", "a", "block", "info", "object" ]
[ "block", "info", "result", "=", "new", "block", "info", "(", ")", ";", "random", "random", "=", "new", "random", "(", ")", ";", "long", "block", "id", "=", "random", "next", "long", "(", ")", ";", "long", "length", "=", "random", "next", "long", "(...
[ "appends", "a", "new", "node", "to", "a", "parent", "node" ]
[ "parent", "get", "children", "(", ")", "add", "(", "child", ")", ";" ]
[ "remove", "all", "access", "permission", "for", "a", "device" ]
[ "synchronized", "(", "m", "lock", ")", "{", "m", "device", "permission", "map", "remove", "(", "device", "get", "device", "name", "(", ")", ")", ";", "}" ]
[ "remove", "all", "access", "permission", "for", "a", "accessory" ]
[ "synchronized", "(", "m", "lock", ")", "{", "m", "accessory", "permission", "map", "remove", "(", "accessory", ")", ";", "}" ]
[ "check", "whether", "a", "particular", "device", "or", "any", "of", "its", "interfaces", "is", "of", "class", "video" ]
[ "if", "(", "device", "get", "device", "class", "(", ")", "=", "=", "usb", "constants", "usb", "class", "video", ")", "{", "return", "true", ";", "}", "for", "(", "int", "i", "=", "0", ";", "i", "<", "device", "get", "interface", "count", "(", ")"...
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "that", "is", "associated", "with", "the", "development", "schema", "for", "more", "information", "see", "<", "a", ">", "arns", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "this", "development", "schema", "arn", "=", "development", "schema", "arn", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "that", "is", "associated", "with", "the", "development", "schema", "for", "more", "information", "see", "<", "a", ">", "arns", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "return", "this", "development", "schema", "arn", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "development", "schema", "with", "the", "changes", "used", "for", "the", "upgrade", "<", "/", "p", ">" ]
[ "set", "development", "schema", "arn", "(", "development", "schema", "arn", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "published", "schema", "to", "be", "upgraded", "<", "/", "p", ">" ]
[ "set", "published", "schema", "arn", "(", "published", "schema", "arn", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "minor", "version", "under", "which", "the", "schema", "will", "be", "published", "this", "parameter", "is", "recommended", "schemas", "have", "both", "a", "major", "and", "minor", "version", "associated", "with", "them", "<", "/", "p...
[ "this", "minor", "version", "=", "minor", "version", ";" ]
[ "<", "p", ">", "the", "minor", "version", "under", "which", "the", "schema", "will", "be", "published", "this", "parameter", "is", "recommended", "schemas", "have", "both", "a", "major", "and", "minor", "version", "associated", "with", "them", "<", "/", "p...
[ "return", "this", "minor", "version", ";" ]
[ "<", "p", ">", "identifies", "the", "minor", "version", "of", "the", "published", "schema", "that", "will", "be", "created", "this", "parameter", "is", "not", "optional", "<", "/", "p", ">" ]
[ "set", "minor", "version", "(", "minor", "version", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "used", "for", "testing", "whether", "the", "development", "schema", "provided", "is", "backwards", "compatible", "or", "not", "with", "the", "publish", "schema", "provided", "by", "the", "user", "to", "be", "upgraded", "if", "schema", "compat...
[ "set", "dry", "run", "(", "dry", "run", ")", ";", "return", "this", ";" ]
[ "a", "subclass", "returns", "the", "directory", "to", "be", "tested", ";", "if", "it", "s", "an", "fs", "-", "based", "directory", "it", "should", "point", "to", "the", "specified", "path", "else", "it", "can", "ignore", "it" ]
[ "protected", "abstract", "directory", "get", "directory", "(", "path", "path", ")", "throws", "i", "o", "exception", ";" ]
[ "<", "editor", "-", "fold", "desc", "=", "refresh", "header", ">" ]
[ "m", "percent", "=", "percent", ";", "m", "header", "height", "=", "height", ";", "if", "(", "is", "dragging", ")", "{", "m", "finish", "transformation", "=", "0", ";", "}" ]
[ "}" ]
[ "is", "refreshing", "=", "true", ";", "m", "finish", "transformation", "=", "0", ";", "final", "view", "this", "view", "=", "this", ";", "this", "view", "start", "animation", "(", "m", "animation", ")", ";" ]
[ "we", "need", "a", "special", "value", "for", "different", "part", "of", "animation" ]
[ "switch", "(", "part", ")", "{", "case", "first", ":", "{", "return", "m", "loading", "animation", "time", ";", "}", "case", "second", ":", "{", "return", "get", "animation", "time", "part", "(", "animation", "part", "fourth", ")", "-", "(", "m", "lo...
[ "on", "drawing", "we", "should", "check", "current", "part", "of", "animation" ]
[ "switch", "(", "part", ")", "{", "case", "first", ":", "{", "return", "m", "loading", "animation", "time", "<", "get", "animation", "time", "part", "(", "animation", "part", "fourth", ")", ";", "}", "case", "second", ":", "case", "third", ":", "{", "...
[ "get", "part", "of", "animation", "duration" ]
[ "switch", "(", "part", ")", "{", "case", "second", ":", "{", "return", "loading", "animation", "coefficient", "/", "2", ";", "}", "case", "third", ":", "{", "return", "get", "animation", "time", "part", "(", "animation", "part", "fourth", ")", "*", "3"...
[ "generates", "a", "lock", "name", "for", "the", "given", "index", "name" ]
[ "return", "index", "name", "+", "index", "file", "extension", ";" ]
[ "returns", "a", "random", "access", "data", "that", "is", "the", "smallest", "value", "of", "same", "length", "which", "is", "strictly", "greater", "than", "this", "note", "that", "if", "this", "is", "empty", "or", "is", "all", "0x", "f", "f", "then", ...
[ "random", "access", "data", "copy", "=", "copy", "(", ")", ";", "for", "(", "int", "i", "=", "copy", "size", "-", "1", ";", "i", ">", "=", "0", ";", "-", "-", "i", ")", "{", "if", "(", "copy", "buffer", "[", "i", "]", "!", "=", "unsigned", ...
[ "returns", "the", "backing", "array" ]
[ "return", "buffer", ";" ]
[ "resets", "the", "end", "of", "the", "stream", "to", "the", "specified", "position" ]
[ "ensure", "capacity", "(", "position", ")", ";", "size", "=", "position", ";" ]
[ "returns", "an", "output", "stream", "which", "writes", "to", "the", "backing", "buffer", "from", "the", "current", "position", "note", "that", "the", "internal", "buffer", "will", "grow", "as", "required", "to", "accomodate", "all", "data", "written" ]
[ "return", "output", "stream", ";" ]
[ "returns", "an", "{" ]
[ "return", "new", "byte", "array", "input", "stream", "(", "buffer", ",", "offset", ",", "length", ")", ";" ]
[ "writes", "{" ]
[ "out", "write", "(", "buffer", ",", "offset", ",", "length", ")", ";" ]
[ "reads", "{", "@", "code", "length", "}", "bytes", "from", "the", "specified", "input", "stream", "writing", "them", "into", "the", "backing", "data", "store", "starting", "at", "{", "@", "code", "offset", "}" ]
[ "ensure", "capacity", "(", "offset", "+", "length", ")", ";", "byte", "streams", "read", "fully", "(", "in", "stream", ",", "buffer", ",", "offset", ",", "length", ")", ";", "size", "=", "offset", "+", "length", ";" ]
[ "returns", "a", "copy", "of", "this", "random", "access", "data" ]
[ "random", "access", "data", "copy", "=", "new", "random", "access", "data", "(", "size", ")", ";", "write", "to", "(", "copy", "as", "output", "stream", "(", ")", ",", "0", ",", "size", ")", ";", "return", "copy", ";" ]
[ "returns", "if", "an", "ast", "is", "a", "return", "statement", "with", "a", "boolean", "literal", "or", "a", "compound", "statement", "that", "contains", "only", "such", "a", "return", "statement" ]
[ "boolean", "result", "=", "true", ";", "if", "(", "!", "is", "boolean", "literal", "return", "statement", "(", "ast", ")", ")", "{", "final", "ast", "first", "statement", "=", "ast", "get", "first", "child", "(", ")", ";", "result", "=", "is", "boole...
[ "returns", "if", "an", "ast", "is", "a", "return", "statement", "with", "a", "boolean", "literal" ]
[ "boolean", "boolean", "return", "statement", "=", "false", ";", "if", "(", "ast", "!", "=", "null", "&", "&", "ast", "get", "type", "(", ")", "=", "=", "token", "types", "literal", "return", ")", "{", "final", "ast", "expr", "=", "ast", "get", "fir...
[ "checks", "if", "a", "token", "type", "is", "a", "literal", "true", "or", "false" ]
[ "final", "boolean", "is", "true", "=", "token", "type", "=", "=", "token", "types", "literal", "true", ";", "final", "boolean", "is", "false", "=", "token", "type", "=", "=", "token", "types", "literal", "false", ";", "return", "is", "true", "|", "|", ...
[ "<", "p", ">", "the", "run", "-", "time", "configuration", "currently", "in", "force", "if", "the", "update", "was", "successful", "this", "object", "matches", "the", "one", "in", "the", "request", "<", "/", "p", ">" ]
[ "set", "runtime", "configuration", "(", "runtime", "configuration", ")", ";", "return", "this", ";" ]
[ "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "...
[ "set", "<", "config", "attribute", ">", "all", "attributes", "=", "new", "hash", "set", "<", ">", "(", ")", ";", "for", "(", "map", "entry", "<", "request", "matcher", ",", "collection", "<", "config", "attribute", ">", ">", "entry", ":", "request", ...
[ "this", "is", "a", "mandatory", "parameter" ]
[ "this", "portfolio", "=", "portfolio", ";", "return", "this", ";" ]
[ "this", "is", "a", "mandatory", "parameter" ]
[ "this", "tags", "=", "tags", ";", "return", "this", ";" ]
[ "apply", "theme", "from", "intent", "only", "system", "use", "don", "t", "call", "it", "!" ]
[ "theme", "manager", "apply", "theme", "(", "activity", ",", "false", ")", ";" ]
[ "apply", "theme", "from", "intent", "only", "system", "use", "don", "t", "call", "it", "!" ]
[ "if", "(", "force", "|", "|", "theme", "manager", "has", "specified", "theme", "(", "activity", ")", ")", "{", "activity", "set", "theme", "(", "theme", "manager", "get", "theme", "(", "activity", ")", ")", ";", "}" ]
[ "synonym", "for", "{", "@", "link", "#", "clone", "theme", "(", "intent", "intent", "boolean", ")", "}", "with", "third", "arg", "-", "false" ]
[ "theme", "manager", "clone", "theme", "(", "source", "intent", ",", "intent", ",", "false", ")", ";" ]
[ "clone", "theme", "from", "source", "intent", "to", "intent", "if", "it", "specified", "for", "source", "intent", "or", "set", "flag", "force" ]
[ "final", "boolean", "has", "source", "theme", "=", "has", "specified", "theme", "(", "source", "intent", ")", ";", "if", "(", "force", "|", "|", "has", "source", "theme", ")", "{", "intent", "put", "extra", "(", "theme", "tag", ",", "has", "source", ...
[ "set", "default", "theme", "may", "be", "theme", "resource", "instead", "flags", "but", "it", "not", "recommend" ]
[ "theme", "manager", "default", "theme", "=", "theme", ";", "if", "(", "theme", "<", "start", "resources", "id", ")", "{", "theme", "manager", "default", "theme", "&", "=", "theme", "manager", "theme", "mask", ";", "}" ]
[ "set", "theme", "modifiers", "see", "{", "@", "link", "#", "modify", "(", "int", ")", "}" ]
[ "theme", "manager", "theme", "modifier", "=", "mod", "&", "theme", "manager", "theme", "mask", ";" ]
[ "extract", "theme", "flags", "from", "activity", "intent" ]
[ "return", "get", "theme", "(", "activity", "get", "intent", "(", ")", ")", ";" ]
[ "extract", "theme", "flags", "from", "intent" ]
[ "return", "get", "theme", "(", "intent", ",", "true", ")", ";" ]
[ "extract", "theme", "flags", "from", "intent" ]
[ "return", "prepare", "flags", "(", "intent", "get", "int", "extra", "(", "theme", "manager", "theme", "tag", ",", "theme", "manager", "default", "theme", ")", ",", "apply", "modifier", ")", ";" ]
[ "resolve", "theme", "resource", "id", "by", "flags", "from", "activity", "intent" ]
[ "return", "get", "theme", "resource", "(", "get", "theme", "(", "activity", ")", ")", ";" ]
[ "resolve", "theme", "resource", "id", "by", "flags" ]
[ "return", "get", "theme", "resource", "(", "theme", "tag", ",", "true", ")", ";" ]
[ "resolve", "theme", "resource", "id", "by", "flags" ]
[ "if", "(", "theme", "tag", ">", "=", "start", "resources", "id", ")", "{", "return", "theme", "tag", ";", "}", "theme", "tag", "=", "prepare", "flags", "(", "theme", "tag", ",", "apply", "modifier", ")", ";", "if", "(", "theme", "manager", "s", "th...
[ "resolve", "theme", "resource", "id", "by", "flags", "from", "intent" ]
[ "return", "get", "theme", "resource", "(", "get", "theme", "(", "intent", ")", ")", ";" ]
[ "generate", "flag", "for", "using", "it", "in", "theme", "manager", "not", "more", "than", "24", "flags", "can", "be", "created" ]
[ "if", "(", "next", "offset", ">", "=", "24", ")", "{", "throw", "new", "illegal", "state", "exception", "(", ")", ";", "}", "final", "int", "flag", "=", "1", "<", "<", "next", "offset", "+", "+", ";", "theme", "mask", "|", "=", "flag", ";", "re...
[ "remap", "default", "theme" ]
[ "map", "(", "default", "theme", ",", "theme", ")", ";" ]
[ "remap", "themes", "<", "br", "/", ">", "<", "br", "/", ">", "example", "you", "can", "remap", "{" ]
[ "if", "(", "theme", ">", "0", ")", "{", "themes", "map", "put", "(", "flags", "&", "theme", "mask", ",", "theme", ")", ";", "}", "else", "{", "final", "int", "i", "=", "themes", "map", "index", "of", "key", "(", "flags", "&", "theme", "mask", "...
[ "add", "modifier", "to", "all", "themes", "using", "in", "{", "@", "link", "theme", "manager", "}", "if", "you", "call", "modify", "(", "{", "@", "link", "#", "no", "action", "bar", "}", ")", "then", "all", "themes", "will", "be", "without", "action"...
[ "theme", "manager", "theme", "modifier", "|", "=", "mod", "&", "theme", "manager", "theme", "mask", ";" ]
[ "clear", "all", "modifiers" ]
[ "theme", "manager", "theme", "modifier", "=", "0", ";" ]
[ "clear", "modifier" ]
[ "mod", "&", "=", "theme", "manager", "theme", "mask", ";", "theme", "manager", "theme", "modifier", "|", "=", "mod", ";", "theme", "manager", "theme", "modifier", "^", "=", "mod", ";" ]
[ "like", "{", "@", "link", "#", "modify", "(", "int", ")", "}", "but", "applying", "only", "on", "default", "theme" ]
[ "theme", "manager", "default", "theme", "|", "=", "mod", "&", "theme", "manager", "theme", "mask", ";" ]
[ "clear", "modifier", "from", "default", "theme" ]
[ "mod", "&", "=", "theme", "manager", "theme", "mask", ";", "theme", "manager", "default", "theme", "|", "=", "mod", ";", "theme", "manager", "default", "theme", "^", "=", "mod", ";" ]