/packages/apps/Settings/src/com/android/settings/wifi/ |
Summary.java | 26 String[] formats = context.getResources().getStringArray((ssid == null) local 30 if (index >= formats.length || formats[index].length() == 0) { 33 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/llvm/utils/lit/lit/ |
LitConfig.py | 14 # Provide access to built-in formats. 15 import LitFormats as formats namespace
|
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/ |
X500PrincipalTest.java | 73 String[] formats = { local 78 for (String format : formats) {
|
/external/webkit/Source/WebCore/platform/qt/ |
ClipboardQt.cpp | 117 if (m_writableData->formats().isEmpty()) { 200 QStringList formats = m_readableData->formats(); local 201 for (int i = 0; i < formats.count(); ++i) 202 result.add(formats.at(i)); 360 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/wilhelm/tests/sandbox/ |
configbq.c | 33 PCM formats[] = { variable 94 // loop over all formats 98 for (format = formats; format->numChannels; ++format) {
|
/external/icu4c/test/intltest/ |
tufmtts.cpp | 43 TimeUnitFormat** formats = new TimeUnitFormat*[2]; local 44 formats[TimeUnitFormat::kFull] = new TimeUnitFormat(loc, status); 46 formats[TimeUnitFormat::kAbbreviate] = new TimeUnitFormat(loc, TimeUnitFormat::kAbbreviate, status); 70 formatted = ((Format*)formats[style])->format(formattable, formatted, status); 78 ((Format*)formats[style])->parseObject(formatted, result, status); 85 ((Format*)formats[1-style])->parseObject(formatted, result_1, status); 93 delete formats[TimeUnitFormat::kFull]; 94 delete formats[TimeUnitFormat::kAbbreviate]; 95 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...] |
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/ |
Xvlib.h | 92 SDL_NAME(XvFormat) *formats; member in struct:__anon9680 134 /* for RGB formats only */ 140 /* for YUV formats only */
|
/external/webkit/Source/WebCore/platform/ |
MIMETypeRegistry.cpp | 99 QList<QByteArray> formats = QImageReader::supportedImageFormats(); 100 for (size_t i = 0; i < static_cast<size_t>(formats.size()); ++i) { 105 if (formats.at(i).toLower().startsWith("svg")) 108 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData()); 178 QList<QByteArray> formats = QImageWriter::supportedImageFormats(); local 179 for (int i = 0; i < formats.size(); ++i) { 180 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData());
|
/frameworks/base/opengl/libagl/ |
state.cpp | 370 GGLFormat const * formats = gglGetPixelFormatTable(); local 371 params[0] = formats[index].ah - formats[index].al; 376 GGLFormat const * formats = gglGetPixelFormatTable(); local 377 params[0] = formats[index].rh - formats[index].rl; 382 GGLFormat const * formats = gglGetPixelFormatTable(); local 383 params[0] = formats[index].gh - formats[index].gl; 388 GGLFormat const * formats = gglGetPixelFormatTable() local [all...] |
/libcore/luni/src/main/java/java/text/ |
ChoiceFormat.java | 83 * value {@code d}, then the element {@code i} in {@code formats} is 86 * The length of the {@code limits} and {@code formats} arrays must be the 92 * @param formats 97 public ChoiceFormat(double[] limits, String[] formats) { 98 setChoices(limits, formats); 125 List<String> formats = new ArrayList<String>(); local 139 choiceFormats = new String[formats.size()]; 140 for (int i = 0; i < formats.size(); i++) { 141 choiceFormats[i] = formats.get(i); 181 formats.add(buffer.toString()) [all...] |
MessageFormat.java | 37 * {@code MessageFormat} takes a set of objects, formats them and then 326 * Message formats are not synchronized. It is recommended to create separate 342 private Format[] formats; field in class:MessageFormat 432 this.formats = localFormats.toArray(new Format[argCount]); 439 * formats as this {@code MessageFormat}. 447 Format[] array = new Format[formats.length]; 448 for (int i = formats.length; --i >= 0;) { 449 if (formats[i] != null) { 450 array[i] = (Format) formats[i].clone(); 453 clone.formats = array [all...] |
/dalvik/dexgen/src/com/android/dexgen/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...] |
/dalvik/libdex/ |
InstrUtils.h | 27 * Possible instruction formats associated with Dalvik opcodes. 30 * opcodes and instruction formats. 74 * formats include such an indexed reference (e.g., 21c and 35c). 121 u1* formats; /* InstructionFormat elements */ member in struct:InstructionInfoTables 184 return (InstructionFormat) gDexOpcodeInfo.formats[opcode];
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
ChoiceFormatTest.java | 32 String[] formats = new String[] { "Less than one", "one", field in class:ChoiceFormatTest 35 ChoiceFormat f1 = new ChoiceFormat(limits, formats); 145 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(), 157 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(), 181 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(), 235 assertTrue("Should be equals--same limits, same formats", 300 String[] orgFormats = (String[]) formats.clone(); 302 assertTrue("Wrong formats", f.equals(formats)); 304 assertTrue("Formats copied", !f.equals(orgFormats)) [all...] |
MessageFormatTest.java | 97 Format[] formats = format.getFormats(); local 98 assertNotNull("null formats", formats); 99 assertTrue("Wrong format count: " + formats.length, formats.length >= 5); 100 assertTrue("Wrong time format", formats[0].equals(DateFormat 102 assertTrue("Wrong date format", formats[1].equals(DateFormat 104 assertTrue("Wrong number format", formats[2].equals(NumberFormat 106 assertTrue("Wrong choice format", formats[3].equals(new ChoiceFormat( 108 assertNull("Wrong string format", formats[4]) 320 Format[] formats = clone.getFormats(); local 405 Format[] formats = format1.getFormats(); local 446 Format[] formats = format1.getFormatsByArgumentIndex(); local 491 Format[] formats = f1.getFormatsByArgumentIndex(); local 575 Format[] formats = f1.getFormatsByArgumentIndex(); local [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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
BaseLayoutRule.java | 541 Format[] formats = attrInfo.getFormats(); local 542 if (IAttributeInfo.Format.REFERENCE.in(formats)) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
AttrsXmlParser.java | 470 TreeSet<AttributeInfo.Format> formats = new TreeSet<AttributeInfo.Format>(); local 483 formats.add(format); 496 formats.add(AttributeInfo.Format.ENUM); 502 formats.add(AttributeInfo.Format.FLAG); 506 formats.toArray(new AttributeInfo.Format[formats.size()]));
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
ResourceBundleTest.java | 352 * The control with given formats. 355 List<String> formats; field in class:ResourceBundleTest.GivenFormatsControl 358 formats = theFormats; 368 return formats; 373 * The control with reverse formats with default Control and no fallback 510 // 2. Formats/Locale [all...] |
/external/qemu/android/camera/ |
camera-capture-linux.c | 109 /* Preferred pixel formats arranged from the most to the least desired. 112 * conversion between the camera supported formats, and formats that are 115 * contain only those formats, for which converters are implemented. Generally 117 * only as far as conversion speed is concerned. So, formats with the fastest 169 * is that when the camera service enumerates all pixel formats for all cameras 172 * formats, contained in _preferred_formats array against enumerated pixel 173 * formats to pick the first format that match. 176 * formats - Array containing list of pixel formats, supported by the camer 759 QemuPixelFormat* formats = NULL; local [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
DatePrototype.cpp | 202 static const nl_item formats[] = { D_T_FMT, D_FMT, T_FMT }; local 221 char* formatString = strdup(nl_langinfo(formats[format])); [all...] |