Home
last modified time | relevance | path

Searched refs:Formatter (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/services/surfaceflinger/RenderEngine/
DProgramCache.cpp35 class Formatter;
36 static Formatter& indent(Formatter& f);
37 static Formatter& dedent(Formatter& f);
39 class Formatter { class
42 typedef Formatter& (*FormaterManipFunc)(Formatter&);
43 friend Formatter& indent(Formatter& f);
44 friend Formatter& dedent(Formatter& f);
46 Formatter() : mIndent(0) {} in Formatter() function in android::Formatter
52 friend Formatter& operator << (Formatter& out, const char* in) { in operator <<()
60 friend inline Formatter& operator << (Formatter& out, const String8& in) { in operator <<()
[all …]
/frameworks/base/services/java/com/android/server/
DDeviceStorageMonitorService.java42 import android.text.format.Formatter;
468 pw.print(" mFreeMem="); pw.print(Formatter.formatFileSize(mContext, mFreeMem)); in dump()
470 pw.println(Formatter.formatFileSize(mContext, mTotalMemory)); in dump()
472 pw.println(Formatter.formatFileSize(mContext, mFreeMemAfterLastCacheClear)); in dump()
474 pw.print(Formatter.formatFileSize(mContext, mLastReportedFreeMem)); in dump()
483 pw.print(Formatter.formatFileSize(mContext, mMemLowThreshold)); in dump()
485 pw.println(Formatter.formatFileSize(mContext, mMemFullThreshold)); in dump()
487 pw.print(Formatter.formatFileSize(mContext, mMemCacheStartTrimThreshold)); in dump()
489 pw.println(Formatter.formatFileSize(mContext, mMemCacheTrimToThreshold)); in dump()
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java26 import java.util.logging.Formatter;
89 private static final Formatter THE_FORMATTER = new Formatter() {
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutDirectionsTest.java23 import java.util.Formatter;
112 Formatter f = new Formatter(buf); in testDirections()
227 Directions[] expectedDirs, Formatter f) { in checkDirections()
/frameworks/base/core/java/android/text/format/
DDateUtils.java28 import java.util.Formatter;
543 Formatter f = new Formatter(sb, Locale.getDefault()); in formatElapsedTime()
627 Formatter f = new Formatter(new StringBuilder(50), Locale.getDefault()); in formatDateRange()
649 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange()
817 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange()
DFormatter.java26 public final class Formatter { class
/frameworks/base/core/java/android/widget/
DChronometer.java33 import java.util.Formatter;
70 private Formatter mFormatter;
236 mFormatter = new Formatter(mFormatBuilder, loc); in updateText()
DNumberPicker.java153 private static class TwoDigitFormatter implements NumberPicker.Formatter {
157 java.util.Formatter mFmt;
186 private java.util.Formatter createFormatter(Locale locale) { in createFormatter()
187 return new java.util.Formatter(mBuilder, locale); in createFormatter()
196 public static final Formatter getTwoDigitFormatter() { in getTwoDigitFormatter()
288 private Formatter mFormatter;
527 public interface Formatter { interface in NumberPicker
1150 public void setFormatter(Formatter formatter) { in setFormatter()
DMediaController.java40 import java.util.Formatter;
93 Formatter mFormatter;
296 mFormatter = new Formatter(mFormatBuilder, Locale.getDefault()); in initControllerView()
/frameworks/base/core/java/com/android/internal/os/
DLoggingPrintStream.java28 import java.util.Formatter;
182 private final Formatter formatter = new Formatter(builder, null);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java32 import java.util.Formatter;
55 private static Formatter mFormatter = new Formatter(mSB, Locale.getDefault());
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DSimpleMonthView.java45 import java.util.Formatter;
135 private final Formatter mFormatter;
202 mFormatter = new Formatter(mStringBuilder, Locale.getDefault()); in SimpleMonthView()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsFragment.java34 import android.text.format.Formatter;
244 Formatter.formatFileSize(context, root.availableBytes)); in bindView()
DDirectoryFragment.java55 import android.text.format.Formatter;
922 size.setText(Formatter.formatFileSize(context, docSize)); in getDocumentView()
/frameworks/base/core/java/android/os/
DBatteryStats.java23 import java.util.Formatter;
172 private final Formatter mFormatter = new Formatter(mFormatBuilder);
/frameworks/base/services/java/com/android/server/net/
DNetworkPolicyManagerService.java120 import android.text.format.Formatter;
789 Formatter.formatFileSize(mContext, overBytes)); in enqueueNotification()
/frameworks/base/
Dpreloaded-classes2121 java.util.Formatter
2122 java.util.Formatter$1
2123 java.util.Formatter$CachedDecimalFormat
2124 java.util.Formatter$FormatSpecifierParser
2125 java.util.Formatter$FormatToken
2276 java.util.logging.Formatter
/frameworks/base/docs/html/sdk/api_diff/5/
DmissingSinces.txt119 …mat.DateUtils Method formatDateRange(android.content.Context, java.util.Formatter, long, long, int)
120 NO DOC BLOCK: android.text.format.Formatter Method formatShortFileSize(android.content.Context, lon…
/frameworks/base/docs/html/about/versions/
Dandroid-2.3-highlights.jd421 <li>Faster Formatter and number formatting. For example, float formatting is 2.5x faster.</li>
/frameworks/base/api/
Dcurrent.txt24763 …method public static java.util.Formatter formatDateRange(android.content.Context, java.util.Format…
24764 …method public static java.util.Formatter formatDateRange(android.content.Context, java.util.Format…
24825 public final class Formatter {
24826 ctor public Formatter();
31614 method public void setFormatter(android.widget.NumberPicker.Formatter);
31624 public static abstract interface NumberPicker.Formatter {
41744 …method public abstract void formatTo(java.util.Formatter, int, int, int) throws java.util.IllegalF…
41753 public final class Formatter implements java.io.Closeable java.io.Flushable {
41754 ctor public Formatter();
41755 ctor public Formatter(java.lang.Appendable);
[all …]
/frameworks/base/docs/html/
Dsitemap.txt1033 http://developer.android.com/reference/java/util/Formatter.html
1503 http://developer.android.com/reference/android/widget/NumberPicker.Formatter.html
2026 http://developer.android.com/reference/java/util/Formatter.BigDecimalLayoutForm.html
3479 http://developer.android.com/reference/java/util/logging/Formatter.html
3890 http://developer.android.com/reference/android/text/format/Formatter.html
5218 http://developer.android.com/sdk/api_diff/5/changes/android.text.format.Formatter.html
6338 http://developer.android.com/sdk/api_diff/12/changes/android.text.format.Formatter.html