/external/webkit/Source/WebCore/platform/graphics/gpu/ |
Texture.cpp | 50 Texture::Texture(GraphicsContext3D* context, PassOwnPtr<Vector<unsigned int> > tileTextureIds, Format format, int width, int height, int maxTextureSize) 52 , m_format(format) 64 static void convertFormat(GraphicsContext3D* context, Texture::Format format, unsigned int* glFormat, unsigned int* glType, bool* swizzle) 67 switch (format) { 88 PassRefPtr<Texture> Texture::create(GraphicsContext3D* context, Format format, int width, int height) 112 convertFormat(context, format, &glFormat, &glType, &swizzle); 119 return adoptRef(new Texture(context, textureIds.leakPtr(), format, width, height, maxTextureSize)) [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpDatabase.java | 60 // cached property groups for all properties for a given format 82 Files.FileColumns.FORMAT, // 3 87 Files.FileColumns.FORMAT, // 2 98 private static final String PARENT_WHERE = Files.FileColumns.FORMAT + "=?"; 100 + Files.FileColumns.FORMAT + "=?"; 178 private int beginSendObject(String path, int format, int parent, 202 values.put(Files.FileColumns.FORMAT, format); 221 private void endSendObject(String path, int handle, int format, boolean succeeded) { 225 if (format == MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST) 763 int format = 0; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
ValueParser.java | 230 int format = rawValue[valueIndex + 2] & 0xff; local 233 int alignValue = format & 0x03; 236 int sizeValue = (format >> 2) & 0x03; 243 boolean bold = (format & 0x10) != 0; 244 boolean italic = (format & 0x20) != 0; 245 boolean underlined = (format & 0x40) != 0; 246 boolean strikeThrough = (format & 0x80) != 0;
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareStub.cpp | 46 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 49 status_t lStatus = out->set(format, channels, sampleRate); 65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, 74 status_t lStatus = in->set(format, channels, sampleRate, acoustics); 121 if (pFormat) *pFormat = format(); 149 snprintf(buffer, SIZE, "\tformat: %d\n", format()); 195 snprintf(buffer, SIZE, "\tformat: %d\n", format());
|
/hardware/msm7k/libaudio-qdsp5v2/ |
AudioHardware.cpp | 63 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 78 status_t rc = out->set(this, devices, format, channels, sampleRate); 103 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, 143 size_t AudioHardware::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) 185 if (lFormat == 0) lFormat = format(); 190 if ((lFormat != format()) || 193 if (pFormat) *pFormat = format();
|
/libcore/luni/src/main/java/javax/security/auth/x500/ |
X500Principal.java | 42 * Defines a constant for the canonical string format of distinguished 48 * Defines a constant for the RFC 1779 string format of distinguished 54 * Defines a constant for the RFC 2253 string format of distinguished 197 * this X.500 principal. The format of the representation can be chosen. 205 * @param format 206 * the name of the format to use for the representation 211 * if the {@code format} argument is not one of the three 214 public String getName(String format) { 215 if (CANONICAL.equals(format)) { 219 return dn.getName(format); [all...] |
/sdk/chimpchat/src/com/android/chimpchat/core/ |
ChimpImageBase.java | 71 public byte[] convertToBytes(String format) { 76 ImageIO.write(argb, format, os); 84 public boolean writeToFile(String path, String format) { 85 if (format != null) { 86 return writeToFileHelper(path, format); 136 private boolean writeToFileHelper(String path, String format) { 140 ImageIO.write(argb, format, new File(path));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
SampleProjectTest.java | 97 sLogger.log(Level.INFO, String.format("Testing sample %s for target %s", name, 125 String.format("Unexpected exception when creating sample project %s " + 142 assertNotNull(String.format("could not read manifest %s", manifestPath), 150 assertTrue(String.format("%s project not created", name), iproject.exists()); 151 assertTrue(String.format("%s project not opened", name), iproject.isOpen()); 165 StringBuilder failureBuilder = new StringBuilder(String.format("%s project has errors:", 227 fail(String.format("Expected build event never happened for %s", iproject.getName()));
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/ |
DeviceBridge.java | 152 Log.e("hierarchy", String.format( 156 Log.e("hierarchy", String.format( 174 Log.e("hierarchy", String.format( 178 Log.e("hierarchy", String.format( 200 return String.format("service call window %d i32 %d", 205 return String.format("service call window %d", Configuration.SERVICE_CODE_STOP_SERVER); 209 return String.format("service call window %d",
|
/system/media/mca/filterfw/java/android/filterfw/core/ |
GLFrame.java | 70 GLFrame(FrameFormat format, FrameManager frameManager) { 71 super(format, frameManager); 74 GLFrame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { 75 super(format, frameManager, bindingType, bindingId); 79 FrameFormat format = getFormat(); local 82 // Check that we have a valid format 83 if (format.getBytesPerSample() != 4) { 85 } else if (format.getDimensionCount() != 2) {
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
PhoneNumberUtilTest.java | 344 assertEquals("650 253 0000", phoneUtil.format(US_NUMBER, PhoneNumberFormat.NATIONAL)); 345 assertEquals("+1 650 253 0000", phoneUtil.format(US_NUMBER, PhoneNumberFormat.INTERNATIONAL)); 347 assertEquals("800 253 0000", phoneUtil.format(US_TOLLFREE, PhoneNumberFormat.NATIONAL)); 348 assertEquals("+1 800 253 0000", phoneUtil.format(US_TOLLFREE, PhoneNumberFormat.INTERNATIONAL)); 350 assertEquals("900 253 0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.NATIONAL)); 351 assertEquals("+1 900 253 0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.INTERNATIONAL)); 352 assertEquals("+1-900-253-0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.RFC3966)); 354 // if that is available no matter which format is specified. 356 phoneUtil.format(US_SPOOF_WITH_RAW_INPUT, PhoneNumberFormat.NATIONAL)); 357 assertEquals("0", phoneUtil.format(US_SPOOF, PhoneNumberFormat.NATIONAL)) [all...] |
/external/chromium/chrome/common/ |
time_format.cc | 105 // Different format types. 224 icu::PluralFormat* format = new icu::PluralFormat(*rules, pattern, err); local 226 time_formats->push_back(format); 228 delete format; 236 // Create a hard-coded fallback plural format. This will never be called 253 icu::PluralFormat* format = new icu::PluralFormat(rules, pattern, err); local 255 return format; 275 time_string = formatters[0]->format(number, error); 281 time_string = formatters[1]->format(number, error); 287 time_string = formatters[2]->format(number, error) [all...] |
/external/icu4c/test/intltest/ |
miscdtfm.cpp | 12 #include "unicode/format.h" 121 logln("Format\tSource\tResult"); 131 logln(resultFormatter->format(formatter->parse(dstring[i], status), str, pos)); 132 failure(status, "resultFormatter->format"); 166 format0 = df->format(d, format0); 172 format1 = df->format(d, format1); 199 format0 = df->format(d, format0); 205 format1 = df->format(d, format1); 229 format0 = df->format(d, format0); 235 format1 = df->format(d, format1) [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
smc_properties_parser.c | 81 static void TRACE_ERROR(const char* format, ...) 84 va_start(ap, format); 86 vfprintf(stderr, format, ap); 91 static void TRACE_WARNING(const char* format, ...) 94 va_start(ap, format); 96 vfprintf(stderr, format, ap); 101 static void TRACE_INFO(const char* format, ...) 104 va_start(ap, format); 106 vfprintf(stderr, format, ap);
|
/libcore/luni/src/main/java/java/text/ |
NumberFormat.java | 38 * {@code NumberFormat} helps you to format and parse numbers for any locale. 41 * whether the number format is even decimal. 43 * To format a number for the current locale, use one of the factory class 48 * myString = NumberFormat.getInstance().format(myNumber); 54 * format and use it multiple times so that the system doesn't have to fetch the 61 * output.println(nf.format(myNumber[i]) + "; "); 67 * To format a number for a different locale, specify it in the call to 87 * format. Use {@link #getIntegerInstance} to get an integer number format, 88 * {@link #getCurrencyInstance} to get the currency number format, an 214 public final String format(double value) { method in class:NumberFormat 238 public abstract StringBuffer format(double value, StringBuffer buffer, FieldPosition field); method in class:NumberFormat 247 public final String format(long value) { method in class:NumberFormat 271 public abstract StringBuffer format(long value, StringBuffer buffer, FieldPosition field); method in class:NumberFormat 298 public StringBuffer format(Object object, StringBuffer buffer, FieldPosition field) { method in class:NumberFormat [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldStringTest.java | 408 assertEquals("3 2 1 4 3 2 1", String.format( 411 assertEquals("empty format", "", String.format("", 123, this)); 413 String.format(null); 414 fail("NPE is expected on null format"); 418 String.format("%d%% of %s is 0x%x", "123"); 425 String.format("%tu", "123"); 437 String.format(l, "%d%% of %s is 0x%x", 13, "sum", 17)); 438 assertEquals("empty format", "", String.format("", 123, this)) [all...] |
/external/libxml2/ |
xmlwriter.c | 108 static xmlChar *xmlTextWriterVSprintf(const char *format, va_list argptr); 855 * @format: format string (see printf) 856 * @...: extra parameters for the format 864 const char *format, ...) 869 va_start(ap, format); 871 rc = xmlTextWriterWriteVFormatComment(writer, format, ap); 880 * @format: format string (see printf) 889 const char *format, va_list argptr [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/ |
OverflowExperiment.java | 74 setReport(String.format(getString(R.string.aq_overflow_report_short), 78 setReport(String.format(getString(R.string.aq_overflow_report_fail), 82 setReport(String.format(getString(R.string.aq_overflow_report_pass),
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
XmlReport.java | 40 SimpleDateFormat format = new SimpleDateFormat("EEE, MMM d, yyyy h:mm a z"); local 41 String date = format.format(new Date(System.currentTimeMillis()));
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
TestPackageRepo.java | 79 Log.w(LOG_TAG, String.format("Could not find test package info in xml file %s", 83 Log.e(LOG_TAG, String.format("Could not find test case xml file %s", 87 Log.e(LOG_TAG, String.format("Failed to parse test case xml file %s",
|
VMHostTest.java | 44 throw new RuntimeException(String.format( 106 device.executeShellCommand(String.format("rm -r %s", VM_TEST_TEMP_DIR)); 127 device.executeShellCommand(String.format("mkdir %s", remoteFilePath));
|
/dalvik/vm/ |
Misc.h | 129 void dvmPrintDebugMessage(const DebugOutputTarget* target, const char* format, 132 __attribute__ ((format(printf, 2, 3))) 343 void StringAppendV(std::string* dst, const char* format, va_list ap);
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
FilterClassAdapter.java | 77 String filterName = String.format("%s#%s", mClassName, name); 109 String filterName = String.format("%s#%s%s", mClassName, name, desc); 118 filterName = String.format("%s#%s%s", mClassName, name, signature);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
Messages.java | 224 java.text.MessageFormat.format( 244 // Do this to keep format from crying. 255 fmsg = java.text.MessageFormat.format(msg, args); 263 // Get the message that the format failed. 265 java.text.MessageFormat.format( 272 // We couldn't even get the message that the format of 275 "The format of message '"
|
/external/bluetooth/bluez/tracer/ |
main.c | 62 static void debug(const char *format, ...) 69 va_start(ap, format); 71 vsyslog(LOG_DEBUG, format, ap);
|