/hardware/qcom/audio/legacy/alsa_sound/ |
AudioUtil.cpp | 24 int AudioUtil::printFormatFromEDID(unsigned char format) { 25 switch (format) { 27 ALOGV("Format:LPCM"); 30 ALOGV("Format:AC-3"); 33 ALOGV("Format:MPEG1 (Layers 1 & 2)"); 36 ALOGV("Format:MP3 (MPEG1 Layer 3)"); 39 ALOGV("Format:MPEG2 (multichannel)"); 42 ALOGV("Format:AAC"); 45 ALOGV("Format:DTS"); 48 ALOGV("Format:ATRAC") [all...] |
/libcore/luni/src/main/java/java/text/ |
ChoiceFormat.java | 29 * messages. {@code ChoiceFormat} enables users to attach a format to a range of 36 * The length of the format array must be the same as the length of the limits 82 * {@link #format(double, StringBuffer, FieldPosition) format} with a double 128 NumberFormat format = NumberFormat.getInstance(Locale.US); local 147 Number value = format.parse(template, position); 230 * the double to format. 238 public StringBuffer format(double value, StringBuffer buffer, method in class:ChoiceFormat 254 * the long to format. 262 public StringBuffer format(long value, StringBuffer buffer method in class:ChoiceFormat [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
OtherPreferences.java | 33 import android.text.format.DateFormat; 34 import android.text.format.Time; 222 String format = mIs24HourMode? format24Hour : format12Hour; local 223 return time.format(format);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
DateUtils.java | 20 import android.text.format.DateFormat; 44 // Variations of ISO 8601 date format. Do not change the order - it does affect the 57 for (SimpleDateFormat format : DATE_FORMATS) { 58 format.setLenient(true); 59 format.setTimeZone(UTC_TIMEZONE); 136 * @return Returns the same date in a cleaned up format. If the supplied string does not look 151 * @return Returns the same date in a cleaned up format. If the supplied string does not look 181 return outFormat.format(cal.getTime()); 213 // Eliminate the substring in pattern that matches the format for that of year
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
PreCompilerDeltaVisitor.java | 179 // count is 2 (format will be /$Project/folder) and make sure we are 300 String msg = String.format(Messages.s_Removed_Recreating_s, fileName); 304 String msg = String.format(Messages.s_Modified_Manually_Recreating_s, 339 message = String.format(Messages.s_Modified_Recreating_s, p); 343 message = String.format(Messages.Added_s_s_Needs_Updating, p, 348 message = String.format(Messages.s_Removed_s_Needs_Updating, p,
|
/system/core/include/system/ |
window.h | 106 int format; member in struct:ANativeWindowBuffer 676 * native_window_set_buffers_geometry(..., int w, int h, int format) 677 * All buffers dequeued after this call will have the dimensions and format 686 int w, int h, int format) 689 w, h, format); 739 * native_window_set_buffers_format(..., int format) 740 * All buffers dequeued after this call will have the format specified. 742 * If the specified format is 0, the default buffer format will be used. 746 int format) [all...] |
/system/core/libpixelflinger/ |
clear.cpp | 53 const uint32_t size = c->formats[s.format].size; 108 if (c->state.buffers.color.format == 0) 111 if (c->state.buffers.depth.format == 0) 114 if (c->state.buffers.stencil.format == 0) 122 c->state.buffers.color.format,
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_yuv_sw.c | 926 SDL_Overlay *SDL_CreateYUV_SW(_THIS, int width, int height, Uint32 format, SDL_Surface *display) 942 if ( (display->format->BytesPerPixel != 2) && 943 (display->format->BytesPerPixel != 3) && 944 (display->format->BytesPerPixel != 4) ) { 949 /* Verify that we support the format */ 950 switch (format) { 958 SDL_SetError("Unsupported YUV format"); 971 overlay->format = format; [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
pcm.h | 107 /** PCM sample format */ 163 /** Signed 24bit Little Endian in 3bytes format */ 165 /** Signed 24bit Big Endian in 3bytes format */ 167 /** Unsigned 24bit Little Endian in 3bytes format */ 169 /** Unsigned 24bit Big Endian in 3bytes format */ 171 /** Signed 20bit Little Endian in 3bytes format */ 173 /** Signed 20bit Big Endian in 3bytes format */ 175 /** Unsigned 20bit Little Endian in 3bytes format */ 177 /** Unsigned 20bit Big Endian in 3bytes format */ 179 /** Signed 18bit Little Endian in 3bytes format */ [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
pcm.h | 107 /** PCM sample format */ 163 /** Signed 24bit Little Endian in 3bytes format */ 165 /** Signed 24bit Big Endian in 3bytes format */ 167 /** Unsigned 24bit Little Endian in 3bytes format */ 169 /** Unsigned 24bit Big Endian in 3bytes format */ 171 /** Signed 20bit Little Endian in 3bytes format */ 173 /** Signed 20bit Big Endian in 3bytes format */ 175 /** Unsigned 20bit Little Endian in 3bytes format */ 177 /** Unsigned 20bit Big Endian in 3bytes format */ 179 /** Signed 18bit Little Endian in 3bytes format */ [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
pcm.h | 107 /** PCM sample format */ 163 /** Signed 24bit Little Endian in 3bytes format */ 165 /** Signed 24bit Big Endian in 3bytes format */ 167 /** Unsigned 24bit Little Endian in 3bytes format */ 169 /** Unsigned 24bit Big Endian in 3bytes format */ 171 /** Signed 20bit Little Endian in 3bytes format */ 173 /** Signed 20bit Big Endian in 3bytes format */ 175 /** Unsigned 20bit Little Endian in 3bytes format */ 177 /** Unsigned 20bit Big Endian in 3bytes format */ 179 /** Signed 18bit Little Endian in 3bytes format */ [all...] |
/system/core/libpixelflinger/codeflinger/ |
texturing.cpp | 138 comment("load initial iterated color (dest format packed)"); 149 const int h = parts.iterated.format.c[i].h; 150 const int l = parts.iterated.format.c[i].l; 281 tmu.format = c->formats[tmu.format_idx]; 282 tmu.bits = tmu.format.size*8; 288 && tmu.format.size!=3; // XXX: only 8, 16 and 32 modes for now 299 if (tmu.format.c[0].h) tmu.mask |= 0x1; 300 if (tmu.format.c[1].h) tmu.mask |= 0x2; 301 if (tmu.format.c[2].h) tmu.mask |= 0x4; 302 if (tmu.format.c[3].h) tmu.mask |= 0x8 [all...] |
/external/icu4c/test/intltest/ |
numfmtst.cpp | 139 dataerrln("unable to create format object - %s", u_errorName(status)); 151 test->format(bla, result, pos, status); 160 test->format(ll, result); 162 errln("format int64_t error"); 179 virtual UnicodeString& format(double ,UnicodeString& appendTo,FieldPosition& ) const { function in class:StubNumberForamt 182 virtual UnicodeString& format(int32_t ,UnicodeString& appendTo,FieldPosition& ) const { function in class:StubNumberForamt 185 virtual UnicodeString& format(int64_t number,UnicodeString& appendTo,FieldPosition& pos) const { function in class:StubNumberForamt 186 return NumberFormat::format(number, appendTo, pos); 188 virtual UnicodeString& format(const Formattable& , UnicodeString& appendTo, FieldPosition& , UErrorCode& ) const { function in class:StubNumberForamt 201 virtual Format* clone() const {return NULL; 845 DecimalFormat* format = new DecimalFormat("00", status); local 933 DecimalFormat *format = new DecimalFormat("(#,##0)", status); local [all...] |
/external/icu4c/i18n/ |
udat.cpp | 184 udat_close(UDateFormat* format) 186 delete (DateFormat*)format; 195 Format *res = ((DateFormat*)fmt)->clone(); 206 udat_format( const UDateFormat* format, 227 ((DateFormat*)format)->format(dateToFormat, res, fp); 238 udat_parse( const UDateFormat* format, 257 res = ((DateFormat*)format)->parse(src, pp); 270 udat_parseCalendar(const UDateFormat* format, 285 ((DateFormat*)format)->parse(src, *(Calendar*)calendar, pp) [all...] |
/external/icu4c/test/iotest/ |
strtst.c | 313 #define Test_u_snprintf(limit, format, value, expectedSize, expectedStr) \ 315 size = u_snprintf(testStr, limit, format, value);\ 494 /* Test reordering format */ 604 static void TestSScanSetFormat(const char *format, const UChar *uValue, const char *cValue, UBool expectedToPass) { 618 uNumScanned = u_sscanf(uValue, format, uBuffer); 621 cNumScanned = sscanf(cValue, format, buffer); 623 log_err("%s Got: \"%s\", Expected: \"%s\"\n", format, compBuffer, buffer); 626 log_err("%s number scanned Got: %d, Expected: %d\n", format, uNumScanned, cNumScanned); 629 log_err("%s too much stored\n", format); 634 log_err("%s too much stored on a failure\n", format); [all...] |
/hardware/libhardware/tests/camera2/ |
camera2.cpp | 222 int width, int height, int format, int *id) { 227 ALOGV("Creating stream, format 0x%x, %d x %d", format, width, height); 228 res = stream->connectToDevice(mDevice, width, height, format); 250 void getResolutionList(int32_t format, 253 ALOGV("Getting resolutions for format %x", format); 255 if (format != HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { 264 if (availableFormats.data.i32[formatIdx] == format) break; 267 << "No support found for format 0x" << std::hex << format local 396 int format = HAL_PIXEL_FORMAT_RAW_SENSOR; local 530 int format = HAL_PIXEL_FORMAT_RAW_SENSOR; local 711 int format = HAL_PIXEL_FORMAT_BLOB; local [all...] |
/bionic/libc/bionic/ |
time64.c | 178 # define TRACE(format) (fprintf(stderr, format)) 179 # define TRACE1(format, var1) (fprintf(stderr, format, var1)) 180 # define TRACE2(format, var1, var2) (fprintf(stderr, format, var1, var2)) 181 # define TRACE3(format, var1, var2, var3) (fprintf(stderr, format, var1, var2, var3)) 183 # define TRACE(format) ((void)0) 184 # define TRACE1(format, var1) ((void)0 [all...] |
/bootable/recovery/ |
verifier_test.cpp | 130 ui_print(const char* format, ...) { 132 va_start(ap, format); 133 vfprintf(stdout, format, ap);
|
/cts/tests/src/android/view/cts/ |
SurfaceViewStubActivity.java | 168 public void setFormat(int format) { 169 getHolder().setFormat(format); 192 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) {
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
PlanCreator.java | 97 Log.logAndDisplay(LogLevel.ERROR, "", String.format("Failed to create plan file %s", 149 throw new ConfigurationException(String.format("Could not find session with id %d", 166 throw new ConfigurationException(String.format("Test plan %s already exists",
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyGetAppFrameRateEvent.java | 95 writer.write(String.format("%s:%.2f\n", sTestCaseName, avgFrameRate)); 126 String cmd = String.format(GET_APP_FRAMERATE_TMPL, sActivityName); 131 System.err.println(String.format("// Shell command %s status was %s",
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
ErrorManager.java | 286 /** The group of templates that represent the current message format. */ 287 private static STGroup format; field in class:ErrorManager 391 // try to load the message format group 434 /** The format gets reset either from the Tool if the user supplied a command line option to that effect 440 format = new STGroupFile(fileName); 441 format.setListener(initSTListener); 442 if ( !format.isDefined("message") ) { // pick random msg to load 444 rawError("no such message format file "+fileName+" retrying with default ANTLR format"); 445 setFormat("antlr"); // recurse on this rule, trying the default message format [all...] |
/external/chromium/base/ |
stringprintf_unittest.cc | 16 static void StringAppendVTestHelper(std::string* out, const char* format, ...) { 18 va_start(ap, format); 19 StringAppendV(out, format, ap);
|
/external/chromium/chrome/browser/sync/notifier/ |
chrome_system_resources.cc | 97 const char* format, ...) { 116 va_start(ap, format); 118 base::StringAppendV(&result, format, ap);
|
/external/chromium/third_party/libevent/ |
evutil.h | 175 int evutil_snprintf(char *buf, size_t buflen, const char *format, ...) 177 __attribute__((format(printf, 3, 4))) 180 int evutil_vsnprintf(char *buf, size_t buflen, const char *format, va_list ap);
|