/external/webkit/WebKit/android/plugins/ |
ANPSurfaceInterface.cpp | 86 static inline ANPBitmapFormat convertPixelFormat(PixelFormat format) { 87 switch (format) { 131 ssize_t bpr = info.s * bytesPerPixel(info.format); 133 bitmap->format = convertPixelFormat(info.format);
|
/frameworks/base/core/java/android/speech/srec/ |
WaveHeader.java | 24 * This class represents the header of a WAVE format audio file, which usually 27 * <li> format - usually PCM, ALAW or ULAW. 39 // follows WAVE format in http://ccrma.stanford.edu/courses/422/projects/WaveFormat 45 /** Indicates PCM format. */ 47 /** Indicates ALAW format. */ 49 /** Indicates ULAW format. */ 66 * @param format format of audio data, 73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { 74 mFormat = format; [all...] |
/frameworks/base/include/media/ |
AudioRecord.h | 69 int format; member in class:android::AudioRecord::Buffer 117 * format: Audio format (e.g AudioSystem::PCM_16_BIT for signed 139 int format = 0, 158 * - BAD_VALUE: invalid parameter (channels, format, sampleRate...) 164 int format = 0, 189 int format() const; 325 int format,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferAdapter.java | 42 import android.text.format.DateUtils; 43 import android.text.format.DateFormat; 44 import android.text.format.Formatter; 123 CharSequence str = DateUtils.isToday(time) ? DateFormat.getTimeFormat(mContext).format( 124 d) : DateFormat.getDateFormat(mContext).format(d);
|
/packages/apps/Calendar/src/com/android/calendar/ |
AlertReceiver.java | 129 String format; local 131 format = res.getString(R.string.alert_missed_events_single); 133 format = res.getString(R.string.alert_missed_events_multiple); 135 helperString = String.format(format, numReminders - 1);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
DefaultSuggestionView.java | 75 String format = suggestion.getSuggestionFormat(); local 76 CharSequence text1 = formatText(suggestion.getSuggestionText1(), format); 81 text2 = formatText(suggestion.getSuggestionText2(), format); 116 private CharSequence formatText(String str, String format) { 117 boolean isHtml = "html".equals(format);
|
/sdk/ddms/libs/ddmlib/tests/src/com/android/ddmlib/testrunner/ |
RemoteAndroidTestRunnerTest.java | 57 assertStringsEquals(String.format("am instrument -w -r %s/%s", TEST_PACKAGE, TEST_RUNNER), 67 assertStringsEquals(String.format("am instrument -w -r -e log true %s/%s", TEST_PACKAGE, 79 assertStringsEquals(String.format("am instrument -w -r -e class %s#%s %s/%s", className, 90 assertStringsEquals(String.format("am instrument -w -r -e package %s %s/%s", packageName, 102 assertStringsEquals(String.format("am instrument -w -r -e %s %s %s/%s", extraArgName,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ExportHelper.java | 81 String.format("Failed to export %1$s: %2$s doesn't exist!", 121 String.format("Failed to export %1$s: %2$s doesn't exist!", 166 String.format("Failed to export %1$s: %2$s", 182 MessageDialog.openWarning(shell, "Android IDE Plug-in", String.format( 193 String.format("Failed to export %1$s: Could not get project output location",
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
ExtraPackage.java | 173 String s = String.format("%1$s package, revision %2$d%3$s",
191 s = String.format("Extra %1$s package", getPath());
195 s += String.format("\nRevision %1$d%2$s",
201 s += String.format("\nRequires tools revision %1$d", getMinToolsRevision());
205 s += String.format("\nRequires SDK Platform Android API %1$s", getMinApiLevel());
|
/system/core/libcutils/ |
tzstrftime.c | 95 strftime_tz(s, maxsize, format, t, Locale) 98 const char * const format; 106 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, Locale); 110 if (format == NULL) 111 (void) fprintf(stderr, "NULL strftime format "); 112 else (void) fprintf(stderr, "strftime format \"%s\" ", 113 format); 146 _fmt(format, t, pt, ptlim, warnp, Locale) 147 const char * format; [all...] |
/external/grub/docs/ |
kernel.c.texi | 48 void printf (const char *format, ...); 238 /* @r{Format a string and print it on the screen, just like the libc 241 printf (const char *format, ...) 243 char **arg = (char **) &format; 249 while ((c = *format++) != 0) 257 c = *format++;
|
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/ |
SDL_mintaudio_xbios.c | 339 DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ",spec->format & 0x00ff)); 340 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 341 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0))); 349 spec->format |= 0x8000; /* Audio is always signed */ 350 if ((spec->format & 0x00ff)==16) { 351 spec->format |= 0x1000; /* Audio is always big endian */ 381 DEBUG_PRINT((DEBUG_NAME "obtained: %d bits, ",spec->format & 0x00ff)); 382 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 383 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0))); 405 /* Select replay format */ [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/ |
SDL_ipodvideo.c | 49 static SDL_Rect **iPod_ListModes (_THIS, SDL_PixelFormat *format, Uint32 flags); 310 static SDL_Rect **iPod_ListModes (_THIS, SDL_PixelFormat *format, Uint32 flags) 356 SDL_SetError ("Couldn't allocate new pixel format"); 366 current->format->palette->colors[i+j].r = 85 * j; 367 current->format->palette->colors[i+j].g = 85 * j; 368 current->format->palette->colors[i+j].b = 85 * j; 384 if (SDL_VideoSurface && SDL_VideoSurface->format && SDL_VideoSurface->format->palette) { 388 SDL_VideoSurface->format->palette->colors[i+j].r = 85 * j; 389 SDL_VideoSurface->format->palette->colors[i+j].g = 85 * j [all...] |
/external/srec/portable/src/ |
plog.c | 82 * @param format the format string specifying the next arguments (a la 90 static ESR_ReturnCode FileLoggerPrintf(PLogger *self, const LCHAR *format, ...) 96 va_start(args, format); 97 rc = pvfprintf(p->fp, format, args); 262 static ESR_ReturnCode logIt(const LCHAR *format, va_list args, ESR_BOOL showStackTrace) 274 if (strstr(format, "ESR_BUFFER_OVERFLOW")==format) 375 pvsprintf(buffer + LSTRLEN(buffer), format, args); 377 pvsprintf(buffer + LSTRLEN(buffer), format, args) [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 17 package android.text.format; 156 // The following FORMAT_* symbols are used for specifying the format of 181 // Date and time format strings that are constant and don't need to be 184 * This is not actually the preferred 24-hour date format in all locales. 199 // This table is used to lookup the resource string id of a format string 225 // This table is used to lookup the resource string id of a format string 519 String format = r.getQuantityString(resId, (int) count); local 520 return String.format(format, count); 527 * Example output strings for the US date format 615 String format = r.getQuantityString(resId, days); local [all...] |
/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 86 fmtd = sdf->format(today, fmtd, pos); 91 todayS = sdf->format(today, todayS, pos); 103 rt = sdf->format(sdf->parse(todayS, status), rt, pos); 132 str = fmt->format(dt, str); 193 fmt->format(dt, buf, pos); 319 formatted = fmt->format( o, formatted, poss, status ); 320 failure(status, "fmt->format"); 354 myString = fmt->format( myDate, myString); 372 myString = fmt->format( myDate, myString ); 454 temp = shortdate->format(curDate, temp) 941 SimpleDateFormat *format = sdfs[i]; local 1030 SimpleDateFormat *format = new SimpleDateFormat(pattern, Locale::getUS(), status); local [all...] |
tmsgfmt.cpp | 21 #include "unicode/format.h" 123 errln("Err: Number Format "); 124 logln("Number format creation failed."); 130 form->format(myNumber, buffer, pos); 136 errln("Err: Number Format parse"); 137 logln("Number format parse failed."); 152 cf->format((int32_t)1, toAppendTo, status); 164 // {sfb} use double format in pattern, so result will match (not strictly necessary) 209 defDateFormat->format(obj.getDate(), buffer); 306 form->format(testArgs, count, result, fieldpos, success) [all...] |
/external/clearsilver/util/ |
snprintf.c | 25 * from the normal C string format, at least as far as I can tell from 102 static int dopr (char *buffer, size_t maxlen, const char *format, 116 /* format read states */ 126 /* format flags - Bits */ 144 static int dopr (char *buffer, size_t maxlen, const char *format, va_list args) 161 ch = *format++; 176 ch = *format++; 183 ch = *format++; 187 ch = *format++; 191 ch = *format++ [all...] |
/external/qemu/slirp/ |
misc.c | 554 void lprint(const char *format, ...) 558 va_start(args, format); 559 monitor_vprintf(cur_mon, format, args); 568 lprint(const char *format, ...) 576 va_start(args, format); 578 char *format; local 580 format = va_arg(args, char *); 587 (lprint_sb->sb_datalen - (strlen(format) + 100))) { 605 lprint_ptr += (*lprint_print)(*lprint_arg, format, args); 613 int len = strlen(format); 747 char *format; local [all...] |
/external/qemu/slirp-android/ |
misc.c | 515 void lprint(const char *format, ...) 519 va_start(args, format); 520 monitor_vprintf(cur_mon, format, args); 529 lprint(const char *format, ...) 537 va_start(args, format); 539 char *format; local 541 format = va_arg(args, char *); 548 (lprint_sb->sb_datalen - (strlen(format) + 100))) { 566 lprint_ptr += (*lprint_print)(*lprint_arg, format, args); 574 int len = strlen(format); 708 char *format; local [all...] |
/frameworks/base/media/libmedia/ |
AudioRecord.cpp | 55 int format, 64 mStatus = set(inputSource, sampleRate, format, channels, 87 int format, 110 if (format == 0) { 111 format = AudioSystem::PCM_16_BIT; 114 if (!AudioSystem::isValidFormat(format)) { 115 LOGE("Invalid format"); 125 sampleRate, format, channels, (AudioSystem::audio_in_acoustics)flags); 133 if (AudioSystem::getInputBufferSize(sampleRate, format, channelCount, &inputBuffSizeInBytes) 140 LOGE("Recording parameters are not supported: sampleRate %d, channelCount %d, format %d" 219 int AudioRecord::format() const function in class:android::AudioRecord [all...] |
/external/icu4c/i18n/ |
msgfmt.cpp | 195 * Each subformat has a Format object, an offset into the plain 205 Format* format; // formatter member in class:MessageFormat::Subformat 221 * Clone that.format and assign it to this.format 222 * Do NOT delete this.format 227 format = that.format ? that.format->clone() : NULL; 244 ((format == that.format) || // handles NUL 1089 MessageFormat::format(const Formattable* source, function in class:MessageFormat 1107 MessageFormat::format( const UnicodeString& pattern, function in class:MessageFormat 1125 MessageFormat::format(const Formattable& source, function in class:MessageFormat 1145 MessageFormat::format(const UnicodeString* argumentNames, function in class:MessageFormat 1155 MessageFormat::format(const Formattable* arguments, function in class:MessageFormat 1170 MessageFormat::format(const Formattable* arguments, function in class:MessageFormat [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/alsa/ |
SDL_alsa_audio.c | 293 * from Windows/Mac order to the format alsalib will want. 298 const Uint16 fmtsize = (this->spec.format & 0xFF); /* bits/channel. */ 375 snd_pcm_format_t format; local 405 /* Try for a closest match on audio format */ 407 for ( test_format = SDL_FirstAudioFormat(spec->format); 411 format = SND_PCM_FORMAT_U8; 414 format = SND_PCM_FORMAT_S8; 417 format = SND_PCM_FORMAT_S16_LE; 420 format = SND_PCM_FORMAT_S16_BE; 423 format = SND_PCM_FORMAT_U16_LE [all...] |
/frameworks/base/core/tests/hosttests/src/android/content/pm/ |
PackageManagerHostTestUtils.java | 189 String cmd = String.format(replace ? "pm install -r -l \"%1$s\"" : 204 String lsGrep = executeShellCommand(String.format("ls %s", destPath)); 218 String lsResult = executeShellCommand(String.format("ls %s", destPath)); 230 String pkgGrep = executeShellCommand(String.format("pm path %s", packageName)); 361 Log.i(LOG_TAG, String.format("adb shell %s", command)); 365 Log.i(LOG_TAG, String.format("Result: %s", output)); 401 Log.i(LOG_TAG, String.format("Result: %s", output)); 466 Log.w(LOG_TAG, String.format("%s#%s failed: %s", test.getClassName(), 476 Log.w(LOG_TAG, String.format("test run failed: %s", errorMessage)); 678 executeShellCommand(String.format("rm %s*", SDCARD_APP_PATH, "*")) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
AndroidLaunchController.java | 239 String msg = String.format( 290 String message = String.format("Performing %1$s", launchAction.getLaunchDescription()); 353 AdtPlugin.printErrorToConsole(project, String.format( 366 AdtPlugin.printToConsole(project, String.format( 379 AdtPlugin.printToConsole(project, String.format( 434 AdtPlugin.printToConsole(project, String.format( 441 AdtPlugin.printToConsole(project, String.format( 464 AdtPlugin.printErrorToConsole(project, String.format( 471 AdtPlugin.printToConsole(project, String.format( 487 message = String.format("Automatic Target Mode: using existing emulator '%1$s' running compatible AVD '%2$s'" [all...] |