/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | FormatterTest.java | 19 import static android.text.format.Formatter.FLAG_IEC_UNITS; 20 import static android.text.format.Formatter.FLAG_SI_UNITS; 28 import android.text.format.Formatter.BytesResult; 100 BytesResult r = Formatter.formatBytes(mContext.getResources(), 1, 0); in testFormatBytes() 138 assertEquals("3 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY + 12 * HOUR)); in testFormatShortElapsedTime() 139 assertEquals("2 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY + 11 * HOUR)); in testFormatShortElapsedTime() 140 assertEquals("2 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY)); in testFormatShortElapsedTime() 142 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 23 * HOUR + 59 * MINUTE)); in testFormatShortElapsedTime() 144 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 59 * MINUTE)); in testFormatShortElapsedTime() 145 assertEquals("1 day", Formatter.formatShortElapsedTime(mContext, 1 * DAY)); in testFormatShortElapsedTime() [all …]
|
/frameworks/native/libs/renderengine/gl/ |
D | ProgramCache.cpp | 40 class Formatter; 41 static Formatter& indent(Formatter& f); 42 static Formatter& dedent(Formatter& f); 44 class Formatter { class 47 typedef Formatter& (*FormaterManipFunc)(Formatter&); 48 friend Formatter& indent(Formatter& f); 49 friend Formatter& dedent(Formatter& f); 52 Formatter() : mIndent(0) {} in Formatter() function in android::renderengine::gl::Formatter 56 friend Formatter& operator<<(Formatter& out, const char* in) { in operator <<() 64 friend inline Formatter& operator<<(Formatter& out, const String8& in) { in operator <<() [all …]
|
D | ProgramCache.h | 39 class Formatter; variable 201 static void generateEOTF(Formatter& fs, const Key& needs); 203 static void generateToneMappingProcess(Formatter& fs, const Key& needs); 205 static void generateOOTF(Formatter& fs, const Key& needs); 207 static void generateOETF(Formatter& fs, const Key& needs);
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 40 import java.util.Formatter; 462 Formatter f = new Formatter(sb, Locale.getDefault()); in formatElapsedTime() 550 Formatter f = new Formatter(new StringBuilder(50), Locale.getDefault()); in formatDateRange() 572 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() 740 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange()
|
D | TimeFormatter.java | 32 import java.util.Formatter; 68 private Formatter numberFormatter; 154 numberFormatter = new Formatter(stringBuilder, Locale.US); in format()
|
D | Formatter.java | 38 public final class Formatter { class
|
/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
D | BlobInfo.java | 19 import static android.text.format.Formatter.FLAG_IEC_UNITS; 25 import android.text.format.Formatter; 104 return Formatter.formatFileSize(AppGlobals.getInitialApplication(), in formatBlobSize()
|
/frameworks/base/core/java/com/android/internal/logging/ |
D | AndroidHandler.java | 26 import java.util.logging.Formatter; 89 private static final Formatter THE_FORMATTER = new Formatter() {
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutDirectionsTest.java | 32 import java.util.Formatter; 122 Formatter f = new Formatter(buf); in testDirections() 205 Directions[] expectedDirs, Formatter f) { in checkDirections()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LoggingPrintStream.java | 28 import java.util.Formatter; 185 private final Formatter formatter = new Formatter(builder, null);
|
/frameworks/base/core/java/android/widget/ |
D | Chronometer.java | 38 import java.util.Formatter; 82 private Formatter mFormatter; 308 mFormatter = new Formatter(mFormatBuilder, loc); in updateText()
|
D | MediaController.java | 40 import java.util.Formatter; 104 Formatter mFormatter; 324 mFormatter = new Formatter(mFormatBuilder, Locale.getDefault()); in initControllerView()
|
D | NumberPicker.java | 182 private static class TwoDigitFormatter implements NumberPicker.Formatter { 186 java.util.Formatter mFmt; 215 private java.util.Formatter createFormatter(Locale locale) { in createFormatter() 216 return new java.util.Formatter(mBuilder, locale); in createFormatter() 226 public static final Formatter getTwoDigitFormatter() { in getTwoDigitFormatter() 324 private Formatter mFormatter; 582 public interface Formatter { interface in NumberPicker 1249 public void setFormatter(Formatter formatter) { in setFormatter()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneInfo.java | 32 import java.util.Formatter; 54 private static Formatter mFormatter = new Formatter(mSB, Locale.getDefault());
|
/frameworks/base/config/ |
D | preloaded-classes-extra | 9 android.text.format.Formatter
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeUi.java | 26 import android.text.format.Formatter; 198 String delay = Formatter.formatShortElapsedTime(mContext, millisSinceLastTick); in verifyLastTimeTick()
|
D | DozeTriggers.java | 31 import android.text.format.Formatter; 490 pw.println(Formatter.formatShortElapsedTime(mContext, mNotificationPulseTime)); in dump()
|
/frameworks/rs/tests/lldb/tests/harness/ |
D | util_log.py | 92 logging.Formatter(
|
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 31 import java.util.logging.Formatter; 201 public static class LocalToolsFormatter extends Formatter {
|
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerIntegrationTests.java | 48 import java.util.Formatter; 406 Formatter formatter = new Formatter(); in toHexString()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 58 private static final java.util.Formatter PERIOD_FORMATTER = new java.util.Formatter(
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreConfig.java | 19 import static android.text.format.Formatter.FLAG_IEC_UNITS; 20 import static android.text.format.Formatter.formatFileSize;
|
D | BlobStoreSession.java | 30 import static android.text.format.Formatter.FLAG_IEC_UNITS; 31 import static android.text.format.Formatter.formatFileSize;
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/ |
D | UninstallAlertDialogFragment.java | 19 import static android.text.format.Formatter.formatFileSize;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutUser.java | 26 import android.text.format.Formatter; 700 pw.print(Formatter.formatFileSize(mService.mContext, size)); in dumpDirectorySize()
|