/packages/apps/Settings/src/com/android/settings/wifi/ |
Summary.java | 27 String[] formats = context.getResources().getStringArray((ssid == null) local 31 if (index >= formats.length || formats[index].length() == 0) { 34 return String.format(formats[index], ssid);
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
DateUtils.java | 47 * 3.3.1 as well as some other common non-standard formats. 89 * Parses a date value. The formats used for parsing the date value are retrieved from 97 * supported date formats 104 * Parses the date value using the given date formats. 107 * @param dateFormats the date formats to use 119 * Parses the date value using the given date formats. 122 * @param dateFormats the date formats to use 172 * Formats the given date according to the RFC 1123 pattern. 184 * Formats the given date according to the specified pattern. The pattern 242 Map<String, SimpleDateFormat> formats = ref.get() local [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
tufmtts.cpp | 42 TimeUnitFormat** formats = new TimeUnitFormat*[2]; local 43 formats[TimeUnitFormat::kFull] = new TimeUnitFormat(loc, status); 45 formats[TimeUnitFormat::kAbbreviate] = new TimeUnitFormat(loc, TimeUnitFormat::kAbbreviate, status); 69 formatted = ((Format*)formats[style])->format(formattable, formatted, status); 77 ((Format*)formats[style])->parseObject(formatted, result, status); 84 ((Format*)formats[1-style])->parseObject(formatted, result_1, status); 92 delete formats[TimeUnitFormat::kFull]; 93 delete formats[TimeUnitFormat::kAbbreviate]; 94 delete[] formats;
|
msfmrgts.cpp | 170 * More robust message formats. 330 UnicodeString formats [] = { local 334 int32_t formats_length = (int32_t)(sizeof(formats)/sizeof(formats[0])); 336 ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length); 361 UnicodeString formats [] = { 366 // cf = new ChoiceFormat(limits, formats, 3); 386 UnicodeString formats [] = { local 391 ChoiceFormat *cf = new ChoiceFormat(limits, formats, 3); [all...] |
tmsgfmt.cpp | 146 const UnicodeString formats[] = {"0.0<=Arg<1.0", local 149 ChoiceFormat *cf = new ChoiceFormat(limit, formats, 3); 591 // nested formats 963 const Format** formats = msg.getFormats(count); local 1264 UnicodeString formats[] = { local [all...] |
/external/icu4c/test/intltest/ |
tufmtts.cpp | 42 TimeUnitFormat** formats = new TimeUnitFormat*[2]; local 43 formats[TimeUnitFormat::kFull] = new TimeUnitFormat(loc, status); 45 formats[TimeUnitFormat::kAbbreviate] = new TimeUnitFormat(loc, TimeUnitFormat::kAbbreviate, status); 69 formatted = ((Format*)formats[style])->format(formattable, formatted, status); 77 ((Format*)formats[style])->parseObject(formatted, result, status); 84 ((Format*)formats[1-style])->parseObject(formatted, result_1, status); 92 delete formats[TimeUnitFormat::kFull]; 93 delete formats[TimeUnitFormat::kAbbreviate]; 94 delete[] formats;
|
msfmrgts.cpp | 171 * More robust message formats. 331 UnicodeString formats [] = { local 335 int32_t formats_length = (int32_t)(sizeof(formats)/sizeof(formats[0])); 337 ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length); 362 UnicodeString formats [] = { 367 // cf = new ChoiceFormat(limits, formats, 3); 387 UnicodeString formats [] = { local 392 ChoiceFormat *cf = new ChoiceFormat(limits, formats, 3); [all...] |
tmsgfmt.cpp | 154 const UnicodeString formats[] = {"0.0<=Arg<1.0", local 157 ChoiceFormat *cf = new ChoiceFormat(limit, formats, 3); 599 // nested formats 775 //Select, plural, and number formats heavily nested 777 //Create the MessageFormat with Select, plural, and number formats heavily nested 1172 const Format** formats = msg.getFormats(count); local 1473 UnicodeString formats[] = { local 1572 const UnicodeString formats[] = {"0.0<=Arg<1.0", local [all...] |
/external/webkit/WebCore/platform/qt/ |
ClipboardQt.cpp | 99 if (m_writableData->formats().isEmpty()) { 164 QStringList formats = m_readableData->formats(); local 165 for (int i = 0; i < formats.count(); ++i) 166 result.add(formats.at(i)); 311 return data->formats().count() > 0;
|
/frameworks/base/media/java/android/media/ |
EncoderCapabilities.java | 109 * Returns the array of supported output file formats. 116 int[] formats = new int[nFormats]; local 118 formats[i] = native_get_file_format(i); 120 return formats;
|
/system/media/opensles/tests/sandbox/ |
configbq.c | 33 PCM formats[] = { variable 94 // loop over all formats 98 for (format = formats; format->numChannels; ++format) {
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/ |
Xvlib.h | 92 SDL_NAME(XvFormat) *formats; member in struct:__anon5925 134 /* for RGB formats only */ 140 /* for YUV formats only */
|
/external/webkit/WebCore/platform/ |
MIMETypeRegistry.cpp | 96 QList<QByteArray> formats = QImageReader::supportedImageFormats(); 97 for (size_t i = 0; i < static_cast<size_t>(formats.size()); ++i) { 102 if (formats.at(i).toLower().startsWith("svg")) 105 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData()); 175 QList<QByteArray> formats = QImageWriter::supportedImageFormats(); local 176 for (int i = 0; i < formats.size(); ++i) { 177 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData());
|
/frameworks/base/opengl/libagl/ |
state.cpp | 367 GGLFormat const * formats = gglGetPixelFormatTable(); local 368 params[0] = formats[index].ah - formats[index].al; 373 GGLFormat const * formats = gglGetPixelFormatTable(); local 374 params[0] = formats[index].rh - formats[index].rl; 379 GGLFormat const * formats = gglGetPixelFormatTable(); local 380 params[0] = formats[index].gh - formats[index].gl; 385 GGLFormat const * formats = gglGetPixelFormatTable() local [all...] |
/libcore/luni/src/main/java/java/text/ |
ChoiceFormat.java | 82 * value {@code d}, then the element {@code i} in {@code formats} is 85 * The length of the {@code limits} and {@code formats} arrays must be the 91 * @param formats 96 public ChoiceFormat(double[] limits, String[] formats) { 97 setChoices(limits, formats); 124 List<String> formats = new ArrayList<String>(); local 138 choiceFormats = new String[formats.size()]; 139 for (int i = 0; i < formats.size(); i++) { 140 choiceFormats[i] = formats.get(i); 180 formats.add(buffer.toString()) [all...] |
MessageFormat.java | 36 * {@code MessageFormat} takes a set of objects, formats them and then 325 * Message formats are not synchronized. It is recommended to create separate 341 private Format[] formats; field in class:MessageFormat 434 this.formats = new Format[argCount]; 436 this.formats[i] = localFormats.elementAt(i); 444 * formats as this {@code MessageFormat}. 452 Format[] array = new Format[formats.length]; 453 for (int i = formats.length; --i >= 0;) { 454 if (formats[i] != null) { 455 array[i] = (Format) formats[i].clone() [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
OutputFinisher.java | 348 InsnFormat[] formats = makeFormatsArray(); local 349 reserveRegisters(formats); 350 massageInstructions(formats); 362 * @return {@code non-null;} the array of formats 378 * them. It also updates the given {@code formats} array so 382 * @param formats {@code non-null;} array of per-instruction format selections 384 private void reserveRegisters(InsnFormat[] formats) { 392 int newReservedCount = calculateReservedCount(formats); 428 * {@code formats} list to help avoid extra work in future 431 * @param formats {@code non-null;} array of per-instruction format selection [all...] |
/frameworks/base/media/jni/ |
android_media_MediaProfiles.cpp | 58 Vector<output_format> formats = sProfiles->getOutputFileFormats(); local 59 int nSize = formats.size(); 64 return static_cast<jint>(formats[index]);
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatTest.java | 42 // test with repeating formats and max argument index < max offset 130 Format[] formats = f1.getFormats(); local 131 formats = f1.getFormats(); 139 assertEquals("Test1A:Returned wrong number of formats:", 140 correctFormats.length, formats.length); 144 correctFormats[i], formats[i]); 302 // case 1: Test with repeating formats and max argument index < max 313 Format[] formats = f1.getFormats(); local 315 assertTrue("Test1A:Returned wrong number of formats:", 316 correctFormats.length <= formats.length) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
SetAlarm.java | 357 String[] formats = context.getResources().getStringArray(R.array.alarm_set); local 358 return String.format(formats[index], daySeq, hourSeq, minSeq);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
AttrsXmlParser.java | 328 TreeSet<AttributeInfo.Format> formats = new TreeSet<AttributeInfo.Format>(); local 341 formats.add(format); 353 formats.add(AttributeInfo.Format.ENUM); 359 formats.add(AttributeInfo.Format.FLAG); 363 formats.toArray(new AttributeInfo.Format[formats.size()]));
|
/external/webkit/JavaScriptCore/runtime/ |
DatePrototype.cpp | 200 static const nl_item formats[] = { D_T_FMT, D_FMT, T_FMT }; local 219 char* formatString = strdup(nl_langinfo(formats[format])); [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
cnumtst.c | 1277 UNumberFormat *formats[5]; local [all...] |
/external/icu4c/test/cintltst/ |
cnumtst.c | 1298 UNumberFormat *formats[5]; local [all...] |
/external/chromium/third_party/icu/source/i18n/ |
ucurr.cpp | 861 const UnicodeString* formats = fmt.getFormats(fmt_count); local 863 // put iso, formats[i]; into array 864 int32_t length = formats[i].length(); 866 formats[i].extract(0, length, name); [all...] |