/packages/apps/Calendar/src/com/android/calendar/ |
CalendarUtils.java | 32 import java.util.Formatter; 58 private static Formatter mF = new Formatter(mSB, Locale.getDefault()); 167 * {@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());
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcessStatsMemDetail.java | 21 import android.text.format.Formatter; 120 Formatter.formatShortElapsedTime(getActivity(), mMemTimes[i])); 128 String value = Formatter.formatShortFileSize(getActivity(),
|
ProcessStatsUi.java | 32 import android.text.format.Formatter; 526 Log.i(TAG, "Used RAM: " + Formatter.formatShortFileSize(getActivity(), 528 Log.i(TAG, "Free RAM: " + Formatter.formatShortFileSize(getActivity(), 530 Log.i(TAG, "Total RAM: " + Formatter.formatShortFileSize(getActivity(), 532 Log.i(TAG, "Background+Cached RAM: " + Formatter.formatShortFileSize(getActivity(), 553 Log.i(TAG, "Scaled Used RAM: " + Formatter.formatShortFileSize(getActivity(), 555 Log.i(TAG, "Scaled Free RAM: " + Formatter.formatShortFileSize(getActivity(), 569 Log.i(TAG, "Adj Scaled Used RAM: " + Formatter.formatShortFileSize(getActivity(), 571 Log.i(TAG, "Adj Scaled Free RAM: " + Formatter.formatShortFileSize(getActivity(), 732 Log.i(TAG, "Bar max RAM: " + Formatter.formatShortFileSize(getActivity() [all...] |
ProcessStatsDetail.java | 33 import android.text.format.Formatter; 196 Formatter.formatShortFileSize(getActivity(), 199 Formatter.formatShortFileSize(getActivity(),
|
/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; 90 p.put("java.util.logging.Handler.formatter", className 223 Formatter f = new SimpleFormatter();
|
FileHandlerTest.java | 33 import java.util.logging.Formatter; 84 props.put("java.util.logging.FileHandler.formatter", className 213 Formatter formatter, String encoding) throws Exception { 214 assertFileContent(homepath, filename, new LogRecord[] { r }, formatter, encoding); 218 LogRecord[] lr, Formatter formatter, String encoding) throws Exception { 221 // if formatter is null, the file content should be empty 223 if (null != formatter) { 225 sb.append(formatter.getHead(handler)) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/ |
UISourceCodeFrame.js | 82 if (projectType === WebInspector.projectTypes.Debugger || projectType === WebInspector.projectTypes.Formatter)
|
/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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
MobileDataController.java | 53 private static final java.util.Formatter PERIOD_FORMATTER = new java.util.Formatter(
|
/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; 134 Formatter.formatFileSize(this, mTransInfo.mTotalBytes));
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
checker.py | 304 formatter = logging.Formatter("%(levelname)s: %(message)s") 305 error_handler.setFormatter(formatter) 315 formatter = logging.Formatter("%(message)s") 316 non_error_handler.setFormatter(formatter) 329 formatter = logging.Formatter("%(name)s: %(levelname)-8s %(message)s") 330 handler.setFormatter(formatter)
|
/frameworks/base/core/java/android/text/format/ |
TimeFormatter.java | 26 import java.util.Formatter; 64 private Formatter numberFormatter; 97 numberFormatter = new Formatter(stringBuilder, Locale.US);
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
headerparserhandler.py | 91 self._formatter = logging.Formatter('%(name)s: %(message)s')
|
/external/chromium_org/build/android/ |
adb_logcat_printer.py | 171 sh.setFormatter(logging.Formatter('%(asctime)-2s %(levelname)-8s'
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
headerparserhandler.py | 92 self._formatter = logging.Formatter('%(name)s: %(message)s')
|
/external/chromium_org/tools/ |
multi_process_rss.py | 121 logging_handler.setFormatter(logging.Formatter(
|
/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.
|