/packages/apps/Calendar/src/com/android/calendar/ |
CalendarUtils.java | 31 import java.util.Formatter; 57 private static Formatter mF = new Formatter(mSB, Locale.getDefault()); 166 * {@link DateUtils#formatDateRange(Context, Formatter, long, long, int, String) formatDateRange}
|
CalendarViewAdapter.java | 31 import java.util.Formatter; 73 private final Formatter mFormatter; 98 mFormatter = new Formatter(mStringBuilder, Locale.getDefault());
|
/external/smali/util/src/main/java/ds/tree/ |
RadixTreeImpl.java | 31 import java.util.Formatter; 380 formatNodeTo(new Formatter(System.out), 0, root); 385 formatNodeTo(new Formatter(System.out), level, node); 391 private void formatNodeTo(Formatter f, int level, RadixTreeNode<T> node) { 411 * Writes a textual representation of this tree to the given formatter. 417 public void formatTo(Formatter formatter, int flags, int width, int precision) { 418 formatNodeTo(formatter, 0, root);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/media/ |
MediaController.java | 36 import java.util.Formatter; 56 Formatter mFormatter; 164 mFormatter = new Formatter(mFormatBuilder, Locale.getDefault());
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneInfo.java | 32 import java.util.Formatter; 55 private static Formatter mFormatter = new Formatter(mSB, Locale.getDefault()); 278 // Formatter f = new Formatter(sb);
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaAdapter.java | 37 import java.util.Formatter; 48 // Note: Formatter is not thread safe. Fine for now as it is only used by the main thread. 49 private final Formatter mFormatter; 93 mFormatter = new Formatter(mStringBuilder, Locale.getDefault());
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
MemoryHandlerTest.java | 27 import java.util.logging.Formatter; 87 props.put("java.util.logging.MemoryHandler.formatter", baseClassName 103 Formatter formatter = handler.getFormatter(); local 108 assertEquals(handler.getFormatter(), formatter); local 118 Formatter formatter = handler.getFormatter(); local 123 assertEquals(handler.getFormatter(), formatter); local 188 // invalid formatter 190 props.put("java.util.logging.MemoryHandler.formatter", "badname") [all...] |
HandlerTest.java | 27 import java.util.logging.Formatter; 91 p.put("java.util.logging.Handler.formatter", className 224 Formatter f = new SimpleFormatter();
|
FileHandlerTest.java | 36 import java.util.logging.Formatter; 104 props.put("java.util.logging.FileHandler.formatter", className 238 Formatter formatter, String encoding) throws Exception { 239 assertFileContent(homepath, filename, new LogRecord[] { r }, formatter, encoding); 243 LogRecord[] lr, Formatter formatter, String encoding) throws Exception { 246 // if formatter is null, the file content should be empty 248 if (null != formatter) { 250 sb.append(formatter.getHead(handler)) [all...] |
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
logutils.py | 151 formatter = logging.Formatter("%(name)s: [%(levelname)s] %(message)s") 152 handler.setFormatter(formatter)
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 27 import java.util.Formatter; 77 * {@link #formatDateRange(Context, Formatter, long, long, int, String) formatDateRange} 588 Formatter f = new Formatter(sb, Locale.getDefault()); 655 * internal {@link java.util.Formatter} instance on-the-fly, which is 659 * {@link java.util.Formatter} instance and use the version of 661 * that takes a {@link java.util.Formatter}. 667 * {@link #formatDateRange(Context, Formatter, long, long, int, String) formatDateRange} 672 Formatter f = new Formatter(new StringBuilder(50), Locale.getDefault()) [all...] |
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldFileHandlerTest.java | 31 import java.util.logging.Formatter; 58 props.put("java.util.logging.FileHandler.formatter", className 98 assertNotNull("Formatter is null", handler.getFormatter()); 122 assertNotNull("Formatter is null", handler.getFormatter()); 204 assertNotNull("Formatter is null", handler.getFormatter()); 242 assertNotNull("Formatter is null", handler.getFormatter()); 290 assertNotNull("Formatter is null", handler.getFormatter()); 336 Formatter formatter) throws Exception { 337 assertFileContent(homepath, filename, new LogRecord[] { r }, formatter); [all...] |
/libcore/luni/src/main/java/java/io/ |
PrintStream.java | 23 import java.util.Formatter; 271 * @param format the format string (see {@link java.util.Formatter#format}) 273 * the list of arguments passed to the formatter. If there are 288 * Writes a string formatted by an intermediate {@link Formatter} to this 294 * @param format the format string (see {@link java.util.Formatter#format}) 296 * the list of arguments passed to the formatter. If there are 310 new Formatter(this, l).format(format, args); 321 * @param format the format string (see {@link java.util.Formatter#format}) 323 * the list of arguments passed to the formatter. If there are 344 * @param format the format string (see {@link java.util.Formatter#format} [all...] |
PrintWriter.java | 20 import java.util.Formatter; 269 * @param format the format string (see {@link java.util.Formatter#format}) 271 * the list of arguments passed to the formatter. If there are 286 * Writes a string formatted by an intermediate {@code Formatter} to the 293 * @param format the format string (see {@link java.util.Formatter#format}) 295 * the list of arguments passed to the formatter. If there are 309 new Formatter(this, l).format(format, args); 323 * @param format the format string (see {@link java.util.Formatter#format}) 325 * the list of arguments passed to the formatter. If there are 346 * @param format the format string (see {@link java.util.Formatter#format} [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppIncomingFileConfirmActivity.java | 52 import android.text.format.Formatter; 133 mTransInfo.mFileName, Formatter.formatFileSize(this, mTransInfo.mTotalBytes));
|
BluetoothOppTransferActivity.java | 54 import android.text.format.Formatter; 273 tmp = getString(R.string.download_line3, Formatter.formatFileSize(this, 292 tmp = getString(R.string.upload_line3, mTransInfo.mFileType, Formatter.formatFileSize( 311 tmp = getString(R.string.bt_sm_2_2, Formatter.formatFileSize(this,
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadAdapter.java | 28 import android.text.format.Formatter; 146 sizeText = Formatter.formatFileSize(mContext, totalBytes);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateUtilsTest.java | 25 import java.util.Formatter; 279 Formatter formatter = new Formatter(); local 284 DateUtils.formatDateRange(null, formatter, millis, millis, flags, "UTC"); 285 return formatter.toString();
|
/external/webkit/Tools/Scripts/webkitpy/style/ |
checker.py | 344 formatter = logging.Formatter("%(levelname)s: %(message)s") 345 error_handler.setFormatter(formatter) 355 formatter = logging.Formatter("%(message)s") 356 non_error_handler.setFormatter(formatter) 369 formatter = logging.Formatter("%(name)s: %(levelname)-8s %(message)s") 370 handler.setFormatter(formatter)
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
headerparserhandler.py | 91 self._formatter = logging.Formatter('%(name)s: %(message)s')
|
/external/guava/guava/src/com/google/common/base/ |
Strings.java | 26 import java.util.Formatter; 89 * <p>See {@link Formatter} for a richer set of formatting capabilities. 121 * <p>See {@link Formatter} for a richer set of formatting capabilities.
|
/external/webkit/Tools/Scripts/ |
test-webkitpy | 80 formatter = logging.Formatter("%(name)s: %(levelname)-8s %(message)s") 81 handler.setFormatter(formatter)
|
/libcore/luni/src/main/java/java/util/logging/ |
StreamHandler.java | 39 * <li>java.util.logging.StreamHandler.formatter specifies the name of the 40 * formatter class to be associated with this handler. Default is 98 * and formatter. 102 * @param formatter 103 * the formatter this handler uses to format the output. 105 * if {@code os} or {@code formatter} is {@code null}. 107 public StreamHandler(OutputStream os, Formatter formatter) { 112 if (formatter == null) { 113 throw new NullPointerException("formatter == null") [all...] |
XMLFormatter.java | 25 * Formatter to convert a {@link LogRecord} into an XML string. The DTD 31 public class XMLFormatter extends Formatter { 85 // get localized message if has, but don't call Formatter.formatMessage
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DialogDetailsView.java | 24 import android.text.format.Formatter; 143 value = Formatter.formatFileSize(
|