/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
InputConnectionTestUtils.java | 42 * @param formatString 45 public static CharSequence formatString(final String formatString) { 49 for (int i = 0; i < formatString.length(); ++i) { 50 final Character c = formatString.charAt(i);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
SplitClockView.java | 90 String formatString = DateFormat.getTimeFormatString(getContext(), 92 int index = getAmPmPartEndIndex(formatString); 96 timeString = formatString; 99 timeString = formatString.substring(0, index); 100 amPmString = formatString.substring(index); 104 mTimeView.setContentDescriptionFormat12Hour(formatString); 105 mTimeView.setContentDescriptionFormat24Hour(formatString); 111 * @return the index where the AM/PM part starts at the end in {@code formatString} including 112 * leading white spaces or {@code -1} if no AM/PM part is found or {@code formatString} 115 private static int getAmPmPartEndIndex(String formatString) { [all...] |
/external/clang/test/SemaCXX/ |
printf-cstr.cpp | 28 char formatString[] = "non-const %s %s"; 38 printf(formatString, hcs, hncs); // expected-warning{{cannot pass object of non-POD type 'HasCStr' through variadic function}} expected-warning{{cannot pass object of non-POD type 'HasNoCStr' through variadic function}}
|
/libcore/luni/src/main/java/libcore/net/http/ |
HttpDate.java | 76 for (String formatString : BROWSER_COMPATIBLE_DATE_FORMATS) { 78 return new SimpleDateFormat(formatString, Locale.US).parse(value);
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
TapAgainDialog.java | 86 String formatString = getString(com.android.nfc.R.string.tap_again_to_pay); 87 tv.setText(String.format(formatString, description)); 89 String formatString = getString(com.android.nfc.R.string.tap_again_to_complete); 90 tv.setText(String.format(formatString, description));
|
AppChooserActivity.java | 120 String formatString = getString(com.android.nfc.R.string.transaction_failure); 122 ap.mMessage = String.format(formatString, applicationLabel); 128 String formatString = getString(com.android.nfc.R.string.could_not_use_app); 129 ap.mTitle = String.format(formatString, applicationLabel);
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
PaymentDefaultDialog.java | 112 String formatString = getString(R.string.nfc_payment_set_default); 113 String msg = String.format(formatString, 117 String formatString = getString(R.string.nfc_payment_set_default_instead_of); 118 String msg = String.format(formatString,
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
HierarchicalFolderSelectorAdapter.java | 108 final int formatString; 110 formatString = R.string.hierarchical_folder_parent_top_ellip; 112 formatString = R.string.hierarchical_folder_parent_top; 114 display.append(mContext.getResources().getString(formatString, topParentName,
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 580 * Strips quotation marks from the {@code formatString} and appends the result back to the 581 * {@code formatString}. 583 * @param formatString the format string, as described in 589 public static int appendQuotedText(SpannableStringBuilder formatString, int index) { 590 int length = formatString.length(); 591 if (index + 1 < length && formatString.charAt(index + 1) == QUOTE) { 592 formatString.delete(index, index + 1); 599 formatString.delete(index, index + 1); 603 char c = formatString.charAt(index); 607 if (index + 1 < length && formatString.charAt(index + 1) == QUOTE) [all...] |
/system/core/liblog/ |
logprint.c | 306 android_log_formatFromString(const char* formatString) { 310 if (!strcmp(formatString, "brief")) format = FORMAT_BRIEF; 311 else if (!strcmp(formatString, "process")) format = FORMAT_PROCESS; 312 else if (!strcmp(formatString, "tag")) format = FORMAT_TAG; 313 else if (!strcmp(formatString, "thread")) format = FORMAT_THREAD; 314 else if (!strcmp(formatString, "raw")) format = FORMAT_RAW; 315 else if (!strcmp(formatString, "time")) format = FORMAT_TIME; 316 else if (!strcmp(formatString, "threadtime")) format = FORMAT_THREADTIME; 317 else if (!strcmp(formatString, "long")) format = FORMAT_LONG; 318 else if (!strcmp(formatString, "color")) format = FORMAT_MODIFIER_COLOR [all...] |
/cts/tools/cts-media-preparer-app/src/android/mediastress/cts/preconditions/app/ |
MediaPreparerAppTest.java | 126 for (String formatString : formatStrings) { 127 for (String trackFormatString : formatString.split(";")) {
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
BaseInputConnectionTest.java | 211 final CharSequence source = InputConnectionTestUtils.formatString(initialState); 215 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState); 289 final CharSequence source = InputConnectionTestUtils.formatString(initialState); 293 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState);
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
TimerStringFormatter.java | 118 public static String formatString(Context context, @StringRes int stringResId, long currentTime,
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
LongNameHandler.java | 52 String formatString = value.getString(); 53 output.put(plural, formatString);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
LongNameHandler.java | 48 String formatString = value.getString(); 49 output.put(plural, formatString);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
RespondViaSmsManager.java | 147 final String formatString = res.getString( 149 final String confirmationMsg = String.format(formatString, phoneNumber);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerItemFragment.java | 109 v.announceForAccessibility(TimerStringFormatter.formatString(
|
/external/google-breakpad/src/common/mac/testing/ |
GTMSenTestCase.h | [all...] |
/external/ImageMagick/coders/ |
meta.c | [all...] |
/prebuilts/go/darwin-x86/src/archive/tar/ |
strconv.go | 62 // formatString copies s into b, NUL-terminating if possible. 63 func (f *formatter) formatString(b []byte, s string) { 187 f.formatString(b, s)
|
writer.go | 110 blk := tw.templateV7Plus(hdr, f.formatString, f.formatOctal) 111 f.formatString(blk.USTAR().Prefix(), namePrefix) 200 fmtStr := func(b []byte, s string) { f.formatString(b, toASCII(s)) } 242 blk := tw.templateV7Plus(hdr, f.formatString, f.formatNumeric) 357 f.formatString(v7.Name(), name)
|
/prebuilts/go/linux-x86/src/archive/tar/ |
strconv.go | 62 // formatString copies s into b, NUL-terminating if possible. 63 func (f *formatter) formatString(b []byte, s string) { 187 f.formatString(b, s)
|
writer.go | 110 blk := tw.templateV7Plus(hdr, f.formatString, f.formatOctal) 111 f.formatString(blk.USTAR().Prefix(), namePrefix) 200 fmtStr := func(b []byte, s string) { f.formatString(b, toASCII(s)) } 242 blk := tw.templateV7Plus(hdr, f.formatString, f.formatNumeric) 357 f.formatString(v7.Name(), name)
|
/libcore/ojluni/src/main/java/sun/util/logging/ |
PlatformLogger.java | 517 private static final String formatString = 534 return String.format(formatString,
|
/external/brotli/research/ |
brotlidump.py | 484 formatString = '{0}{3}' 487 formatString = '{0}{2}: {3}' 491 formatString = '{0}{1} {2}: {3}-{4}; {3}+{5}={6}' 494 return formatString.format( [all...] |