/packages/apps/Settings/src/com/android/settings/wifi/ |
Summary.java | 34 return String.format(formats[index], ssid);
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/ |
TestIdentifier.java | 82 return String.format("%s#%s", getClassName(), getTestName());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
OverviewLinksPart.java | 49 buf.append(String.format("<form><li style=\"image\" value=\"app_img\"><a href=\"page:%1$s\">", // $NON-NLS-1$ 56 buf.append(String.format("<li style=\"image\" value=\"perm_img\"><a href=\"page:%1$s\">", // $NON-NLS-1$ 63 buf.append(String.format("<li style=\"image\" value=\"inst_img\"><a href=\"page:%1$s\">", // $NON-NLS-1$ 70 buf.append(String.format("<li style=\"image\" value=\"android_img\"><a href=\"page:%1$s\">", // $NON-NLS-1$
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/ |
TestCaseReference.java | 69 * Returns the identifier of this test, in a format expected by JDT JUnit 72 return MessageFormat.format(MessageIds.TEST_IDENTIFIER_MESSAGE_FORMAT,
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
ProfilesTableModel.java | 47 return formatter.format(profiles[row]) + "";
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
PlatformPackage.java | 118 s = String.format("SDK Platform Android %1$s Preview, revision %2$s%3$s",
123 s = String.format("SDK Platform Android %1$s, API %2$d, revision %3$s%4$s",
147 s += String.format("\nRevision %1$d%2$s",
183 String.format("android-%s", getVersion().getApiString())); //$NON-NLS-1$
|
/sdk/traceview/src/com/android/traceview/ |
ProfileData.java | 71 return String.format("%d/%d", mNumCalls, totalCalls);
|
/frameworks/base/libs/audioflinger/ |
AudioHardwareGeneric.cpp | 66 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 80 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); 100 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, 120 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics); 203 if (lFormat == 0) lFormat = format(); 208 if ((lFormat != format()) || 211 if (pFormat) *pFormat = format(); 256 snprintf(buffer, SIZE, "\tformat: %d\n", format()); 321 if ((*pFormat != format()) || 325 *pFormat = format(); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
BridgeTypedArray.java | 207 mContext.getLogger().warning(String.format( 237 mContext.getLogger().warning(String.format( 269 mContext.getLogger().warning(String.format( 330 mContext.getLogger().warning(String.format( 358 mContext.getLogger().warning(String.format( 407 mContext.getLogger().warning(String.format( 536 mContext.getLogger().warning(String.format( 643 mContext.getLogger().warning(String.format( 677 mContext.getLogger().warning(String.format( 706 mContext.getLogger().warning(String.format( [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettings.java | 37 import android.text.format.DateFormat; 101 format(mDummyDate.getTime()); 150 mTimePref.setSummary(DateFormat.getTimeFormat(this).format(now)); 152 mDatePref.setSummary(shortDateFormat.format(now)); 153 mDateFormat.setSummary(shortDateFormat.format(dummyDate)); 189 String format = preferences.getString(key, local 192 Settings.System.DATE_FORMAT, format); local 322 private void setDateFormat(String format) { 323 if (format.length() == 0) { 324 format = null 327 Settings.System.putString(getContentResolver(), Settings.System.DATE_FORMAT, format); local [all...] |
/system/core/liblog/ |
fake_log_device.c | 74 /* output format */ 273 LogFormat format; local 275 format = FORMAT_BRIEF; 278 format = FORMAT_BRIEF; 280 format = FORMAT_PROCESS; 282 format = FORMAT_PROCESS; 284 format = FORMAT_PROCESS; 286 format = FORMAT_PROCESS; 288 format = FORMAT_PROCESS; 290 format = FORMAT_PROCESS [all...] |
/bionic/libc/include/ |
time.h | 80 extern size_t strftime(char *s, size_t max, const char *format, const struct tm *tm); 97 extern size_t strftime_tz(char *s, size_t max, const char *format, const struct tm *tm, const struct strftime_locale* lc);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
FormatterTest.java | 17 package android.text.format.cts; 23 import android.text.format.Formatter;
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/spec/ |
SecretKeySpec.java | 46 private final String format = "RAW"; //$NON-NLS-1$ field in class:SecretKeySpec 129 * Returns the name of the format used to encode the key. 131 * @return the format name "RAW". 134 return format;
|
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
XMLFormatterTest.java | 99 method = "format", 110 String result = formatter.format(lr); 116 result = formatter.format(lr); 122 result = formatter.format(lr); 128 result = formatter.format(lr); 136 method = "format", 151 String output = formatter.format(lr); 174 method = "format", 178 String output = formatter.format(lr); 255 method = "format", [all...] |
/dalvik/libcore/text/src/main/java/java/text/ |
DateFormat.java | 48 * {@code DateFormat} helps you to format and parse dates for any locale. Your 50 * of the week, or even the calendar format: lunar vs. solar. 52 * To format a date for the current Locale, use one of the static factory 57 * myString = DateFormat.getDateInstance().format(myDate); 62 * If you are formatting multiple dates, it is more efficient to get the format 70 * output.println(df.format(myDate[i]) + "; "); 76 * To format a number for a different locale, specify it in the call to 95 * Use {@code getDateInstance} to get the normal date format for a country. 97 * get the time format for a country. Use {@code getDateTimeInstance} to get the 98 * date and time format. You can pass in different options to these factor 364 public final StringBuffer format(Object object, StringBuffer buffer, method in class:DateFormat 383 public final String format(Date date) { method in class:DateFormat 406 public abstract StringBuffer format(Date date, StringBuffer buffer, method in class:DateFormat [all...] |
/external/freetype/src/sfnt/ |
ttcmap.h | 38 FT_Int flags; /* for format 4 only */ 52 FT_UInt format; member in struct:TT_CMap_ClassRec_ 92 clazz->format = format_; \
|
/external/icu4c/common/unicode/ |
umachine.h | 171 # error int64_t is required for decimal format and rule-based number format.
|
/external/icu4c/i18n/ |
reldtfmt.h | 15 * \brief C++ API: Format and parse relative dates and times. 63 * Clone this Format object polymorphically. The caller owns the result and 68 virtual Format* clone(void) const; 71 * Return true if the given Format objects are semantically equal. Objects 74 * @return true if the given Format objects are semantically equal. 77 virtual UBool operator==(const Format& other) const; 80 * Format a date or time, which is the standard millis since 24:00 GMT, Jan 95 virtual UnicodeString& format( Calendar& cal, 100 * Format an object to produce a string. This method handles Formattable 104 * @param obj The object to format. Must be a Date [all...] |
/external/icu4c/i18n/unicode/ |
tmutfmt.h | 15 * \brief C++ API: Format and parse duration in single time unit 50 * Format or parse a TimeUnitAmount, using plural rules for the units where available. 58 * // create time unit format instance 59 * TimeUnitFormat* format = new TimeUnitFormat(Locale("en"), status); 60 * // format a time unit amount 65 * formatted = ((Format*)format)->format(formattable, formatted, status); 67 * ((Format*)format)->parseObject(formatted, result, status) [all...] |
/external/icu4c/samples/translit/answers/ |
main_3.cpp | 74 // Format the date in default locale 76 defFmt->format(cal->getTime(status), str, status); 77 check(status, "DateFormat::format"); 82 // Format the date for Greece 84 fmt->format(cal->getTime(status), str, status); 85 check(status, "DateFormat::format");
|
main_4.cpp | 78 // Format the date in default locale 80 defFmt->format(cal->getTime(status), str, status); 81 check(status, "DateFormat::format"); 86 // Format the date for Greece 88 fmt->format(cal->getTime(status), str, status); 89 check(status, "DateFormat::format");
|
/external/icu4c/samples/translit/ |
main.cpp | 80 // Format the date in default locale 82 defFmt->format(cal->getTime(status), str, status); 83 check(status, "DateFormat::format"); 88 // Format the date for Greece 90 fmt->format(cal->getTime(status), str, status); 91 check(status, "DateFormat::format");
|
/external/icu4c/test/intltest/ |
itrbnfp.cpp | 128 // format some values 148 formatter->format((const Formattable)val, us, status); 154 logln("error: could not format %g, returned status: %d", val, status); 161 formatter->format((const Formattable)(int32_t)val, us, status); 167 logln("error: could not format %d, returned status: %d", val, status);
|
/external/junit/src/junit/framework/ |
ComparisonCompactor.java | 23 return Assert.format(message, fExpected, fActual); 29 return Assert.format(message, expected, actual);
|