Searched refs:Formatter (Results 1 - 20 of 20) sorted by relevance

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp35 class Formatter;
36 static Formatter& indent(Formatter& f);
37 static Formatter& dedent(Formatter& f);
39 class Formatter { class in namespace:android
42 typedef Formatter& (*FormaterManipFunc)(Formatter&);
43 friend Formatter& indent(Formatter
46 Formatter() : mIndent(0) {} function in class:android::Formatter
[all...]
/frameworks/base/core/java/com/android/internal/logging/
H A DAndroidHandler.java26 import java.util.logging.Formatter;
89 private static final Formatter THE_FORMATTER = new Formatter() {
/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorService.java46 import android.text.format.Formatter;
415 pw.print(" mFreeMem="); pw.print(Formatter.formatFileSize(context, mFreeMem));
417 pw.println(Formatter.formatFileSize(context, mTotalMemory));
420 pw.println(Formatter.formatFileSize(context, mFreeMemAfterLastCacheClear));
423 pw.print(Formatter.formatFileSize(context, mLastReportedFreeMem));
436 pw.print(Formatter.formatFileSize(context, mMemLowThreshold));
438 pw.println(Formatter.formatFileSize(context, mMemFullThreshold));
441 pw.print(Formatter.formatFileSize(context, mMemCacheStartTrimThreshold));
443 pw.println(Formatter.formatFileSize(context, mMemCacheTrimToThreshold));
/frameworks/base/core/java/android/widget/
H A DChronometer.java31 import java.util.Formatter;
68 private Formatter mFormatter;
237 mFormatter = new Formatter(mFormatBuilder, loc);
H A DMediaController.java41 import java.util.Formatter;
94 Formatter mFormatter;
304 mFormatter = new Formatter(mFormatBuilder, Locale.getDefault());
H A DSimpleMonthView.java46 import java.util.Formatter;
68 private final Formatter mFormatter;
165 mFormatter = new Formatter(mStringBuilder, Locale.getDefault());
H A DNumberPicker.java156 private static class TwoDigitFormatter implements NumberPicker.Formatter {
160 java.util.Formatter mFmt;
189 private java.util.Formatter createFormatter(Locale locale) {
190 return new java.util.Formatter(mBuilder, locale);
199 public static final Formatter getTwoDigitFormatter() {
289 * Formatter for for displaying the current value.
291 private Formatter mFormatter;
539 public interface Formatter { interface in class:NumberPicker
1184 public void setFormatter(Formatter formatter) {
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java23 import java.util.Formatter;
112 Formatter f = new Formatter(buf);
227 Directions[] expectedDirs, Formatter f) {
/frameworks/base/core/java/android/text/format/
H A DDateUtils.java28 import java.util.Formatter;
78 * {@link #formatDateRange(Context, Formatter, long, long, int, String) formatDateRange}
542 Formatter f = new Formatter(sb, Locale.getDefault());
609 * internal {@link java.util.Formatter} instance on-the-fly, which is
613 * {@link java.util.Formatter} instance and use the version of
615 * that takes a {@link java.util.Formatter}.
621 * {@link #formatDateRange(Context, Formatter, long, long, int, String) formatDateRange}
626 Formatter f = new Formatter(ne
[all...]
H A DTimeFormatter.java26 import java.util.Formatter;
64 private Formatter numberFormatter;
97 numberFormatter = new Formatter(stringBuilder, Locale.US);
H A DFormatter.java24 * by the {@link java.util.Formatter} class in {@link java.util}
26 public final class Formatter { class
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardIndicationController.java37 import android.text.format.Formatter;
149 String chargingTimeFormatted = Formatter.formatShortElapsedTimeRoundingUpToMinutes(
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java28 import java.util.Formatter;
182 private final Formatter formatter = new Formatter(builder, null);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneInfo.java32 import java.util.Formatter;
55 private static Formatter mFormatter = new Formatter(mSB, Locale.getDefault());
278 // Formatter f = new Formatter(sb);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DMobileDataControllerImpl.java52 private static final java.util.Formatter PERIOD_FORMATTER = new java.util.Formatter(
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthView.java46 import java.util.Formatter;
138 private final Formatter mFormatter;
211 mFormatter = new Formatter(mStringBuilder, Locale.getDefault());
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java34 import android.text.format.Formatter;
245 Formatter.formatFileSize(context, root.availableBytes));
H A DDirectoryFragment.java56 import android.text.format.Formatter;
932 size.setText(Formatter.formatFileSize(context, docSize));
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java126 import android.text.format.Formatter;
859 Formatter.formatFileSize(mContext, overBytes));
/frameworks/base/core/java/android/os/
H A DBatteryStats.java23 import java.util.Formatter;
207 private final Formatter mFormatter = new Formatter(mFormatBuilder);

Completed in 5838 milliseconds