/sdk/apps/NotificationStudio/src/com/android/notificationstudio/generator/ |
CodeGenerator.java | 48 private static final String INDENT = "\n "; 49 private static final String STYLE_INDENT = INDENT + " "; 56 sb.append(INDENT + ".setSmallIcon(" + getResourceVar(context, SMALL_ICON) + ")"); 58 sb.append(INDENT + ".setContentTitle(" + quote(CONTENT_TITLE) + ")"); 60 sb.append(INDENT + ".setContentText(" + quote(CONTENT_TEXT) + ")"); 62 sb.append(INDENT + ".setSubText(" + quote(SUB_TEXT) + ")"); 64 sb.append(INDENT + ".setLargeIcon(largeIconBitmap)"); 66 sb.append(INDENT + ".setContentInfo(" + quote(CONTENT_INFO) + ")"); 68 sb.append(INDENT + ".setNumber(" + NUMBER.getValueInt() + ")"); 70 sb.append(INDENT + ".setWhen(" + WHEN.getValueLong() + ")") [all...] |
/libcore/luni/src/main/java/javax/xml/transform/ |
OutputKeys.java | 169 * indent = "yes" | "no". 171 * <p><code>indent</code> specifies whether the Transformer may 177 public static final String INDENT = "indent";
|
/external/lldb/test/python_api/module_section/ |
TestModuleAndSection.py | 54 INDENT = ' ' * 4 55 INDENT2 = INDENT * 2 58 print INDENT + "Number of subsections: %d" % sec.GetNumSubSections() 61 print INDENT + str(sym) 62 print INDENT + "symbol type: %s" % symbol_type_to_str(sym.GetType()) 65 print INDENT + str(subsec) 129 INDENT = ' ' * 4 130 INDENT2 = INDENT * 2
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
token.h | 17 #define INDENT 5
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
token.h | 17 #define INDENT 5
|
/external/lldb/test/macosx/debug-info/apple_types/ |
TestAppleTypesIsProduced.py | 63 INDENT = ' ' * 4 65 print INDENT + str(subsec)
|
/external/doclava/src/com/google/doclava/ |
Proofread.java | 29 static final String INDENT = " "; 30 static final String NEWLINE = "\n" + INDENT; 70 write(INDENT);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
token.py | 14 INDENT = 5
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
token.py | 14 INDENT = 5
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
MessageNanoPrinter.java | 48 private static final String INDENT = " "; 100 indentBuf.append(INDENT);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
phystokens.py | 77 ws_tokens = [token.INDENT, token.DEDENT, token.NEWLINE, tokenize.NL]
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_tokenize.py | 24 INDENT ' ' (3, 0) (3, 4) 94 ... " # A comment with weird indent\\n" 98 ... " return y*4 # 3-space indent\\n") 545 INDENT '\\t' (2, 0) (2, 1) 549 INDENT ' \\t' (3, 0) (3, 9)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_tokenize.py | 24 INDENT ' ' (3, 0) (3, 4) 94 ... " # A comment with weird indent\\n" 98 ... " return y*4 # 3-space indent\\n") 545 INDENT '\\t' (2, 0) (2, 1) 549 INDENT ' \\t' (3, 0) (3, 9)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
tabnanny.py | 62 Raised by tokeneater() if detecting an ambiguous indent. 274 INDENT = tokenize.INDENT 285 # (NL | COMMENT)* (INDENT | DEDENT+)? 286 # If an INDENT appears, setting check_equal is wrong, and will 287 # be undone when we see the INDENT. 290 elif type == INDENT: 295 msg = "indent not greater e.g. " + format_witnesses(witness) 308 # assert check_equal # else no earlier NEWLINE, or an earlier INDENT 324 msg = "indent not equal e.g. " + format_witnesses(witness [all...] |
token.py | 18 INDENT = 5
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
tabnanny.py | 62 Raised by tokeneater() if detecting an ambiguous indent. 274 INDENT = tokenize.INDENT 285 # (NL | COMMENT)* (INDENT | DEDENT+)? 286 # If an INDENT appears, setting check_equal is wrong, and will 287 # be undone when we see the INDENT. 290 elif type == INDENT: 295 msg = "indent not greater e.g. " + format_witnesses(witness) 308 # assert check_equal # else no earlier NEWLINE, or an earlier INDENT 324 msg = "indent not equal e.g. " + format_witnesses(witness [all...] |
token.py | 18 INDENT = 5
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
rhino-python.extensions | 44 ... 1 COLON NEWLINE INDENT PRINT a NEWLINE DEDENT b ASSIGN 3 ... 49 Upon NEWLINE token from the lexer, however, an INDENT or DEDENT token 53 then check against stack for indent vs dedent. If LEADING_WS, then 54 the column of the next non-whitespace token will dictate indent vs 61 in indent level from one token to the next. 72 /** The stack of indent levels (column numbers) */ 101 pushed on the stack, and one INDENT token is generated. If it 133 // if not a NEWLINE, doesn't signal indent/dedent work; just enqueue 163 var cpos = t.getCharPositionInLine(); // column dictates indent/dedent 171 // compare to last indent leve [all...] |
/external/fonttools/Lib/fontTools/misc/ |
xmlWriter.py | 8 INDENT = " " 13 def __init__(self, fileOrPath, indentwhite=INDENT, idlefunc=None): 35 def write(self, string, indent=True): 37 self._writeraw(escape(string), indent=indent) 55 self._writeraw(escape(string), indent=False) 57 def _writeraw(self, data, indent=True, strip=False): 59 if indent and self.needindent: 94 self.indent() 117 def indent(self) member in class:XMLWriter [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_metaclass.py | 8 For one-liner classes ('class X: pass') there is no indent/dedent so 124 """ If an INDENT is followed by a thing with a prefix then nuke the prefix 128 # find the first indent 131 if node.type == token.INDENT: 223 (suite.children[-2].type == token.INDENT and
|
fix_tuple_params.py | 55 if suite[0].children[1].type == token.INDENT: 57 indent = suite[0].children[1].value 61 indent = u"; " 62 end = pytree.Leaf(token.INDENT, u"") 100 new_lines[0].prefix = indent 107 suite[0].children[i].prefix = indent
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_metaclass.py | 8 For one-liner classes ('class X: pass') there is no indent/dedent so 124 """ If an INDENT is followed by a thing with a prefix then nuke the prefix 128 # find the first indent 131 if node.type == token.INDENT: 223 (suite.children[-2].type == token.INDENT and
|
fix_tuple_params.py | 55 if suite[0].children[1].type == token.INDENT: 57 indent = suite[0].children[1].value 61 indent = u"; " 62 end = pytree.Leaf(token.INDENT, u"") 100 new_lines[0].prefix = indent 107 suite[0].children[i].prefix = indent
|
/external/mksh/src/ |
tree.c | 28 #define INDENT 8 46 ptree(struct op *t, int indent, struct shf *shf) 73 fptreef(shf, indent, "%S", t->vars[0]); 80 fptreef(shf, indent, "%S ", *w++); 86 fptreef(shf, indent, "%S ", *w++); 94 fptreef(shf, indent + 2, "( %T) ", t->left); 97 fptreef(shf, indent, "%T| ", t->left); 101 fptreef(shf, indent, "%T%;", t->left); 106 fptreef(shf, indent, "%T%s %T", 118 fptreef(shf, indent, " %S", *w++) 478 ptree(va_arg(va, struct op *), indent, shf); local [all...] |
/frameworks/native/services/inputflinger/ |
InputDispatcher.cpp | 59 #define INDENT " " [all...] |