HomeSort by relevance Sort by last modified time
    Searched refs:format (Results 476 - 500 of 3271) sorted by null

<<11121314151617181920>>

  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
UploadedTexture.java 131 throw new IllegalStateException(String.format(
185 int format = GLUtils.getInternalFormat(bitmap); local
189 bitmap, format, type);
244 int format = GLUtils.getInternalFormat(bitmap); local
248 gl.glTexImage2D(GL11.GL_TEXTURE_2D, 0, format,
249 texWidth, texHeight, 0, format, type, null);
251 mBorder, mBorder, bitmap, format, type);
257 0, 0, line, format, type);
262 0, 0, line, format, type);
269 mBorder + bWidth, 0, line, format, type)
    [all...]
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
CtsApiCoverage.java 59 System.out.println(" -f [txt|xml|html] format of output");
69 int format = FORMAT_TXT; local
80 format = FORMAT_XML;
82 format = FORMAT_TXT;
84 format = FORMAT_HTML;
115 outputCoverageReport(apiCoverage, testApks, outputFile, format);
169 Process process = new ProcessBuilder(dexdeps, "--format=xml", testApk.getPath()).start();
174 File outputFile, int format) throws IOException, TransformerException,
182 switch (format) {
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
Support_Format.java 22 import java.text.Format;
36 protected void t_FormatWithField(int count, Format format, Object object,
37 String text, Format.Field field, int begin, int end) {
40 format.format(object, buffer, pos);
59 protected void t_Format(int count, Object object, Format format,
61 // System.out.println(format.format(object))
    [all...]
SimpleDateFormatTest.java 35 static SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); field in class:SimpleDateFormatTest
50 format.applyPattern(pattern);
51 format.format(cal.getTime(), buffer, position);
55 assertTrue("Wrong format: \"" + pattern + "\" expected: "
69 .println("Wrong format: \"" + pattern
95 format.setTimeZone(SimpleTimeZone.getTimeZone(timeZoneId));
96 format.applyPattern("z, zzzz");
98 format.format(date))
292 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance(); local
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
DateUtils.java 55 * Date format pattern used to parse HTTP date headers in RFC 1123 format.
60 * Date format pattern used to parse HTTP date headers in RFC 1036 format.
65 * Date format pattern used to parse HTTP date headers in ANSI C
66 * <code>asctime()</code> format.
163 // ignore this exception, we will try the next format
174 * @param date The date to format.
186 * format} class.
188 * @param date The date to format
249 SimpleDateFormat format = formats.get(pattern); local
    [all...]
  /external/chromium/third_party/libevent/
evutil.c 224 evutil_snprintf(char *buf, size_t buflen, const char *format, ...)
228 va_start(ap, format);
229 r = evutil_vsnprintf(buf, buflen, format, ap);
235 evutil_vsnprintf(char *buf, size_t buflen, const char *format, va_list ap)
238 int r = _vsnprintf(buf, buflen, format, ap);
243 return _vscprintf(format, ap);
245 int r = vsnprintf(buf, buflen, format, ap);
  /external/opencv/otherlibs/highgui/
grfmt_base.cpp 141 bool GrFmtFilterFactory::CheckExtension( const char* format )
146 if( !format || !m_description )
149 // find the right-most extension of the passed format string
152 const char* ext = strchr( format + 1, '.' );
154 format = ext;
157 len = GetExtensionLength( format );
159 if( format[0] != '.' || len == 0 )
176 int c1 = tolower(format[i+1]);
  /external/qemu/audio/
winaudio.c 74 case WAVERR_BADFORMAT: reason="unsupported waveform-audio format"; break;
163 WAVEFORMATEX format; local
173 /* compute desired wave output format */
174 format.wFormatTag = WAVE_FORMAT_PCM;
175 format.nChannels = as->nchannels;
176 format.nSamplesPerSec = as->freq;
177 format.nAvgBytesPerSec = as->freq*as->nchannels;
187 fprintf(stderr, "qemu: winaudio: Bad output audio format: %d\n",
192 format.nAvgBytesPerSec = (format.nSamplesPerSec & format.nChannels) << shift;
409 WAVEFORMATEX format; local
    [all...]
  /external/v8/src/
string-stream.h 128 void Add(Vector<const char> format, Vector<FmtElm> elms);
129 void Add(const char* format);
130 void Add(Vector<const char> format);
131 void Add(const char* format, FmtElm arg0);
132 void Add(const char* format, FmtElm arg0, FmtElm arg1);
133 void Add(const char* format, FmtElm arg0, FmtElm arg1, FmtElm arg2);
134 void Add(const char* format,
  /external/webkit/Source/gyp/
configure 68 format = format_for_port(port)
72 }[format]
82 def _extra_args_for_format(self, format):
83 if format == "xcode":
93 format = format_for_port(port)
94 args.append('--format=%s' % format)
95 args += self._extra_args_for_format(format)
  /frameworks/base/core/tests/hosttests/src/android/net/
DownloadManagerHostTests.java 85 mPMUtils.installAppAndVerifyExistsOnDevice(String.format("%s%s%s", getTestAppPath(),
102 mPMUtils.installAppAndVerifyExistsOnDevice(String.format("%s%s%s", getTestAppPath(),
124 mPMUtils.installAppAndVerifyExistsOnDevice(String.format("%s%s%s", getTestAppPath(),
157 mPMUtils.installAppAndVerifyExistsOnDevice(String.format("%s%s%s", getTestAppPath(),
172 mPMUtils.installAppAndVerifyExistsOnDevice(String.format("%s%s%s", getTestAppPath(),
187 mPMUtils.installAppAndVerifyExistsOnDevice(String.format("%s%s%s", getTestAppPath(),
202 mPMUtils.installAppAndVerifyExistsOnDevice(String.format("%s%s%s", getTestAppPath(),
  /hardware/libhardware_legacy/audio/
AudioDumpInterface.h 40 int format,
49 virtual int format() const;
82 int format,
90 virtual int format() const;
123 int *format=0,
149 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
151 virtual AudioStreamIn* openInputStream(uint32_t devices, int *format, uint32_t *channels,
  /libcore/support/src/test/java/tests/support/
Support_Format.java 22 import java.text.Format;
36 protected void t_FormatWithField(int count, Format format, Object object,
37 String text, Format.Field field, int begin, int end) {
40 format.format(object, buffer, pos);
59 protected void t_Format(int count, Object object, Format format,
61 // System.out.println(format.format(object))
    [all...]
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/handler/
BaseFileHandler.java 90 String.format("Pulling %1$s from the device", remoteFilePath), mParentShell);
129 * @param format the string to display
132 protected void displayErrorInUiThread(final String format, final Object... args) {
136 String.format(format, args));
144 * @param format the string to display
147 protected void displayErrorFromUiThread(final String format, final Object... args) {
149 String.format(format, args));
  /external/chromium/chrome/browser/resources/
keyboard_overlay_data.js 16 "format": "smaller",
105 "format": "right",
112 "format": "left",
201 "format": "right",
208 "format": "left",
298 "format": "left",
378 "format": "right",
388 "format": "left",
448 "format": "smaller",
452 "format": "smaller"
    [all...]
  /frameworks/base/core/java/android/text/format/
DateFormat.java 17 package android.text.format;
38 This class takes as inputs a format string and a representation of a date/time.
39 The format string controls how the output is generated.
43 of that field. For instance, the format character &apos;M&apos; is used to
79 Text in the format string that should be copied verbatim rather that
125 This designator indicates the hour of the day in 12 hour format.
134 This designator indicates the hour of the day in 24 hour format.
199 * Returns true if user preference is set to 24-hour format.
201 * @return true if 24 hour time format is selected, false otherwise.
244 * Returns a {@link java.text.DateFormat} object that can format the time accordin
287 String format = getDateFormatStringForSetting(context, value); local
406 public static final CharSequence format(CharSequence inFormat, long inTimeInMillis) { method in class:DateFormat
417 public static final CharSequence format(CharSequence inFormat, Date inDate) { method in class:DateFormat
432 public static final CharSequence format(CharSequence inFormat, Calendar inDate) { method in class:DateFormat
    [all...]
  /frameworks/base/opengl/tests/hwc/
hwcColorEquiv.cpp 28 * -r fmt - reference graphic format
51 * RGBA8888 graphic format. The -r option can be used to specify a
52 * non-default reference frame graphic format. The graphic format of
54 * parameter. Intentionally there is no default for the graphic format
239 case 'r': // Reference graphic format
243 "format of: %s", optarg);
262 // equivalence graphic format.
271 "format of: %s", argv[optind]);
276 testPrintI("refFormat: %u %s", refFormat->format, refFormat->desc)
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/lib/
stdio.in.h 57 /* The __-protected variants of `format' and `printf' attributes
60 # define __format__ format
77 extern int fprintf (FILE *fp, const char *format, ...)
82 extern int fprintf (FILE *fp, const char *format, ...)
96 extern int vfprintf (FILE *fp, const char *format, va_list args)
101 extern int vfprintf (FILE *fp, const char *format, va_list args)
114 /* Don't break __attribute__((format(printf,M,N))). */
116 extern int printf (const char *format, ...)
120 /* Don't break __attribute__((format(printf,M,N))). */
122 extern int printf (const char *format, ...
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/directfb/
SDL_DirectFB_video.c 55 static SDL_Rect **DirectFB_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags);
228 static DFBSurfacePixelFormat SDLToDFBPixelFormat (SDL_PixelFormat *format)
230 if (format->Rmask && format->Gmask && format->Bmask)
232 switch (format->BitsPerPixel)
238 if (format->Rmask == 0xF800 &&
239 format->Gmask == 0x07E0 &&
240 format->Bmask == 0x001F)
245 if (format->Rmask == 0x7C00 &
    [all...]
  /hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
JPEGTest.c 330 imageinfo->format = GetYUVformat(Data);
331 switch (imageinfo->format) {
333 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV420PackedPlanar\n");
336 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV411Planar\n");
339 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV422Interleaved\n");
342 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV444Interleaved\n");
345 printf("APP:: Image chroma format is OMX_COLOR_FormatL8 \n");
348 printf("APP:: Cannot find Image chroma format \n");
349 imageinfo->format = OMX_COLOR_FormatUnused;
358 imageinfo->format= 1
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_bmp.c 25 Code to load and save surfaces in Windows BMP format.
27 Why support BMP format? Well, it's a native format for Windows, and
29 to be able to have at least one image format that we can natively load
158 /* Default values for the BMP format */
213 palette = (surface->format)->palette;
361 if ( saveme->format->palette ) {
362 if ( saveme->format->BitsPerPixel == 8 ) {
366 saveme->format->BitsPerPixel);
369 else if ( (saveme->format->BitsPerPixel == 24) &
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/arts/
SDL_artsaudio.c 266 Uint16 test_format, format; local
274 /* Try for a closest match on audio format */
275 format = 0;
277 for ( test_format = SDL_FirstAudioFormat(spec->format);
278 ! format && test_format; ) {
280 fprintf(stderr, "Trying format 0x%4.4x\n", test_format);
285 format = 1;
289 format = 1;
292 format = 0;
295 if ( ! format ) {
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/bsd/
SDL_bsdaudio.c 305 Uint16 format; local
333 for (format = SDL_FirstAudioFormat(spec->format);
334 format; format = SDL_NextAudioFormat())
336 switch(format) {
368 if(!format) {
369 SDL_SetError("No supported encoding for 0x%x", spec->format);
373 spec->format = format;
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/windx5/
SDL_dx5yuv.c 50 int width, int height, Uint32 format)
70 ddsd.ddpfPixelFormat.dwFourCC = format;
86 /* Make sure the surface format was set properly */
99 (ddsd.ddpfPixelFormat.dwFourCC != format) ) {
100 SDL_SetError("DDraw didn't use requested FourCC format");
122 SDL_Overlay *DX5_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display)
131 printf("FOURCC format requested: 0x%x\n", PrintFOURCC(format));
157 overlay->format = format;
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/
TextureManager.cpp 117 m_memoryUseBytes += memoryUseBytes(info.size, info.format);
126 m_memoryUseBytes -= memoryUseBytes(info.size, info.format);
133 unsigned TextureManager::requestTexture(TextureToken token, IntSize size, unsigned format, bool* newTexture)
140 ASSERT(it->second.size != size || it->second.format != format);
144 size_t memoryRequiredBytes = memoryUseBytes(size, format);
157 GLC(m_context.get(), m_context->texImage2DResourceSafe(GraphicsContext3D::TEXTURE_2D, 0, format, size.width(), size.height(), 0, format, GraphicsContext3D::UNSIGNED_BYTE));
160 info.format = format;
    [all...]

Completed in 3894 milliseconds

<<11121314151617181920>>