/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
D | NewsArticle.java | 42 StringBuilder sb = new StringBuilder(); in NewsArticle() local 43 sb.append("<html><body>"); in NewsArticle() 44 sb.append("<h1>" + mHeadline + "</h1>"); in NewsArticle() 47 sb.append("<p>").append(ngen.makeText(SENTENCES_PER_PARAGRAPH)).append("</p>"); in NewsArticle() 50 sb.append("</body></html>"); in NewsArticle() 51 mBody = sb.toString(); in NewsArticle()
|
D | NonsenseGenerator.java | 90 StringBuilder sb = new StringBuilder(); in makeText() local 92 sb.append(makeSentence(false) + "."); in makeText() 94 sb.append(" "); in makeText() 97 return sb.toString(); in makeText() 164 StringBuilder sb = new StringBuilder(); in joinWords() local 165 sb.append(words.get(0)); in joinWords() 168 sb.append(" "); in joinWords() 170 sb.append(words.get(i)); in joinWords() 172 return sb.toString(); in joinWords()
|
/development/samples/SpellChecker/HelloSpellChecker/src/com/example/android/hellospellchecker/ |
D | HelloSpellCheckerActivity.java | 90 final StringBuilder sb, final SuggestionsInfo si, final int length, final int offset) { in dumpSuggestionsInfoInternal() argument 93 sb.append('\n'); in dumpSuggestionsInfoInternal() 96 sb.append(", "); in dumpSuggestionsInfoInternal() 98 sb.append(si.getSuggestionAt(j)); in dumpSuggestionsInfoInternal() 100 sb.append(" (" + len + ")"); in dumpSuggestionsInfoInternal() 102 sb.append(" length = " + length + ", offset = " + offset); in dumpSuggestionsInfoInternal() 117 final StringBuilder sb = new StringBuilder(); in onGetSuggestions() local 119 dumpSuggestionsInfoInternal(sb, arg0[i], 0, NOT_A_LENGTH); in onGetSuggestions() 124 mMainView.append(sb.toString()); in onGetSuggestions() 143 final StringBuilder sb = new StringBuilder(); in onGetSentenceSuggestions() local [all …]
|
/development/ndk/platforms/android-3/include/linux/ |
D | ext2_fs.h | 40 #define EXT2_SB(sb) (sb) argument 216 #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & EXT2_MOUNT_##opt) argument 295 #define EXT2_HAS_COMPAT_FEATURE(sb,mask) ( EXT2_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask… argument 296 #define EXT2_HAS_RO_COMPAT_FEATURE(sb,mask) ( EXT2_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le3… argument 297 #define EXT2_HAS_INCOMPAT_FEATURE(sb,mask) ( EXT2_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(… argument 298 #define EXT2_SET_COMPAT_FEATURE(sb,mask) EXT2_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) argument 299 #define EXT2_SET_RO_COMPAT_FEATURE(sb,mask) EXT2_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32… argument 300 #define EXT2_SET_INCOMPAT_FEATURE(sb,mask) EXT2_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(m… argument 301 #define EXT2_CLEAR_COMPAT_FEATURE(sb,mask) EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(ma… argument 302 #define EXT2_CLEAR_RO_COMPAT_FEATURE(sb,mask) EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_l… argument [all …]
|
D | ext3_fs.h | 268 #define test_opt(sb, opt) (EXT3_SB(sb)->s_mount_opt & EXT3_MOUNT_##opt) argument 346 #define EXT3_SB(sb) (sb) argument 364 #define EXT3_HAS_COMPAT_FEATURE(sb,mask) ( EXT3_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask… argument 365 #define EXT3_HAS_RO_COMPAT_FEATURE(sb,mask) ( EXT3_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le3… argument 366 #define EXT3_HAS_INCOMPAT_FEATURE(sb,mask) ( EXT3_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(… argument 367 #define EXT3_SET_COMPAT_FEATURE(sb,mask) EXT3_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) argument 368 #define EXT3_SET_RO_COMPAT_FEATURE(sb,mask) EXT3_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32… argument 369 #define EXT3_SET_INCOMPAT_FEATURE(sb,mask) EXT3_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(m… argument 370 #define EXT3_CLEAR_COMPAT_FEATURE(sb,mask) EXT3_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(ma… argument 371 #define EXT3_CLEAR_RO_COMPAT_FEATURE(sb,mask) EXT3_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_l… argument [all …]
|
D | blockgroup_lock.h | 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS… argument
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | PurgeableBitmap.java | 92 StringBuilder sb = new StringBuilder(); in getDialogMessage() local 94 sb.append("Out of memery occurs when the "); in getDialogMessage() 95 sb.append(index); in getDialogMessage() 96 sb.append("th Bitmap is decoded."); in getDialogMessage() 98 sb.append("Complete decoding ") in getDialogMessage() 102 return sb.toString(); in getDialogMessage()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/ |
D | DialogHelperImpl.java | 111 StringBuilder sb = new StringBuilder().append(exception.getClass().getSimpleName()); in convertExceptionToErrorMessage() local 113 sb.append("\n"); in convertExceptionToErrorMessage() 114 sb.append(exception.getMessage()); in convertExceptionToErrorMessage() 116 return sb.toString(); in convertExceptionToErrorMessage()
|
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
D | Output.java | 73 public void write(StringBuilder sb) { in write() argument 74 write(sb.toString()); in write()
|
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/ |
D | InputMethodSettingsImpl.java | 103 final StringBuilder sb = new StringBuilder(); in getEnabledSubtypesLabel() local 107 if (sb.length() > 0) { in getEnabledSubtypesLabel() 108 sb.append(", "); in getEnabledSubtypesLabel() 110 sb.append(subtype.getDisplayName(context, imi.getPackageName(), in getEnabledSubtypesLabel() 113 return sb.toString(); in getEnabledSubtypesLabel()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetworkVars.java | 138 StringBuffer sb = new StringBuffer(); 140 sb.append(cat).append(" "); 142 return sb.toString(); 177 StringBuffer sb = new StringBuffer(); in translateCommand() local 179 sb.append(key).append(" "); in translateCommand() 181 return new MonkeyCommandReturn(true, sb.toString()); in translateCommand()
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
D | CustomLocaleActivity.java | 388 StringBuilder sb = new StringBuilder(); in removeCustomLocale() local 391 if (sb.length() > 0) { in removeCustomLocale() 392 sb.append(CUSTOM_LOCALES_SEP); in removeCustomLocale() 394 sb.append(locale); in removeCustomLocale() 398 String newLocales = sb.toString(); in removeCustomLocale() 444 StringBuilder sb = new StringBuilder(); in toString() local 445 sb.append(mLocale) in toString() 449 sb.append(" [Custom]"); in toString() 451 return sb.toString(); in toString()
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
D | KeyChainDemoActivity.java | 205 final StringBuffer sb = new StringBuffer(); in printInfo() local 207 sb.append(cert.getIssuerDN()); in printInfo() 208 sb.append("\n"); in printInfo() 215 certTv.setText(sb.toString()); in printInfo()
|
/development/apps/Development/src/com/android/development/ |
D | RunningProcesses.java | 139 CharSequence sb = ((ListItem) b).procInfo.processName; 140 return collator.compare(sa, sb);
|
D | AppHwConfigList.java | 148 CharSequence sb = ((PackageInfo) b).applicationInfo.loadLabel(mPm); 149 return collator.compare(sa, sb);
|
D | AccountsTester.java | 509 StringBuffer sb = new StringBuffer(); in getAndLogResult() local 510 sb.append(label).append(" result:"); in getAndLogResult() 516 sb.append("\n ").append(key).append(" -> ").append(value); in getAndLogResult() 518 showMessageDialog(sb.toString()); in getAndLogResult()
|
/development/ndk/platforms/android-9/arch-mips/src/ |
D | crtbegin_so.S | 78 sb $3,%lo(completed.1269)($2)
|
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/ |
D | ImageCache.java | 464 StringBuilder sb = new StringBuilder(); in bytesToHexString() local 468 sb.append('0'); in bytesToHexString() 470 sb.append(hex); in bytesToHexString() 472 return sb.toString(); in bytesToHexString()
|