/frameworks/base/core/java/com/android/internal/util/ |
MemInfoReader.java | 30 private boolean matchText(byte[] buffer, int index, String text) { 75 if (matchText(mBuffer, i, "MemTotal")) { 79 } else if (matchText(mBuffer, i, "MemFree")) { 83 } else if (matchText(mBuffer, i, "Cached")) {
|
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_popup_view_mac.h | 94 static NSAttributedString* MatchText(const AutocompleteMatch& match, 98 // Helper for MatchText() to allow sharing code between the contents 100 // convenience for MatchText(). 106 // Helper for MatchText() to elide a marked-up string using
|
autocomplete_popup_view_mac_unittest.mm | 310 TEST_F(AutocompletePopupViewMacTest, MatchText) { 317 AutocompletePopupViewMac::MatchText(m, font_, kLargeWidth); 341 // Check that MatchText() styles content matches as expected. 362 AutocompletePopupViewMac::MatchText(m, font_, kLargeWidth); 388 // Check that MatchText() styles description matches as expected. 407 AutocompletePopupViewMac::MatchText(m, font_, kLargeWidth); 508 AutocompletePopupViewMac::MatchText(m, font_, cellWidth); 525 decorated = AutocompletePopupViewMac::MatchText(m, font_, cellWidth);
|
autocomplete_popup_view_mac.mm | 101 // Helper for MatchText() to allow sharing code between the contents 103 // convenience for MatchText(). 193 NSAttributedString* AutocompletePopupViewMac::MatchText( 474 [cell setAttributedTitle:MatchText(match, resultFont, matrixWidth)];
|
/external/icu4c/test/intltest/ |
srchtest.cpp | 260 UnicodeString matchtext; local 291 strsrch->getMatchedText(matchtext); 296 matchtext, 0, 297 matchtext.length())) { 333 strsrch->getMatchedText(matchtext); 338 matchtext, 0, 339 matchtext.length())) { 1439 UnicodeString matchtext; local [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
TextUtilities.java | 651 String matchText = text.substring(t.mMatchStart, t.mMatchStart + t.mLength); 654 matchText = text.substring(lastOut + 1, i + 1); 657 if (matchText.length() == 0) {} else 661 sb.append(matchText); 664 SpannableString highlightSpan = new SpannableString(matchText); [all...] |
/external/icu4c/test/cintltst/ |
usrchtst.c | 343 UChar matchtext[128]; local 375 if (usearch_getMatchedText(strsrch, matchtext, 128, &status) != 377 memcmp(matchtext, 416 if (usearch_getMatchedText(strsrch, matchtext, 128, &status) != 418 memcmp(matchtext, 1411 UChar matchtext[128]; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestInfo.java | 511 String matchText = document.get(match.getOffset(), 513 Matcher matcher = LAYOUT_FIELD_PATTERN.matcher(matchText);
|