/frameworks/base/include/ui/ |
PixelFormat.h | 32 #include <pixelflinger/format.h> 40 // in graphics/PixelFormat.java & pixelflinger/format.h 47 // Custom pixel-format described by a PixelFormatInfo structure 50 // System chooses a format that supports translucency (many alpha bits) 53 // System chooses a format that supports transparency 57 // System chooses an opaque format (no alpha bits required) 74 // pixelflinger/format.h 108 PixelFormat format; member in struct:android::PixelFormatInfo 131 ssize_t bytesPerPixel(PixelFormat format); 132 ssize_t bitsPerPixel(PixelFormat format); [all...] |
/frameworks/base/native/graphics/jni/ |
bitmap.cpp | 39 info->format = ANDROID_BITMAP_FORMAT_RGBA_8888; 42 info->format = ANDROID_BITMAP_FORMAT_RGB_565; 45 info->format = ANDROID_BITMAP_FORMAT_RGBA_4444; 48 info->format = ANDROID_BITMAP_FORMAT_A_8; 51 info->format = ANDROID_BITMAP_FORMAT_NONE;
|
/external/opencore/codecs_v2/omx/omx_m4v/src/ |
mpeg4_dec.cpp | 84 OldWidth = aPortParam->format.video.nFrameWidth; 85 OldHeight = aPortParam->format.video.nFrameHeight; 113 aPortParam->format.video.nFrameWidth = iDisplay_Width; 114 aPortParam->format.video.nFrameHeight = iDisplay_Height; 116 OMX_U32 min_stride = ((aPortParam->format.video.nFrameWidth + 15) & (~15)); 117 OMX_U32 min_sliceheight = ((aPortParam->format.video.nFrameHeight + 15) & (~15)); 120 aPortParam->format.video.nStride = min_stride; 121 aPortParam->format.video.nSliceHeight = min_sliceheight; 126 // Decoder components always output YUV420 format 127 aPortParam->nBufferSize = (aPortParam->format.video.nSliceHeight * aPortParam->format.video.nStride * 3) >> 1 [all...] |
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DateFormatTest.java | 55 public StringBuffer format(Date date, StringBuffer toAppendTo, method in class:DateFormatTest.MockDateFormat 92 DateFormat format = DateFormat.getInstance(); local 93 DateFormat clone = (DateFormat) format.clone(); 94 assertTrue("Clone and parent are not equaled", format.equals(clone)); 97 format.setCalendar(Calendar.getInstance()); 98 assertTrue("Clone and parent are not equaled", format.equals(clone)); 105 * @tests java.text.DateFormat#format(java.util.Date) Test of method 106 * java.text.DateFormat#format(java.util.Date). 111 method = "format", 116 DateFormat format = DateFormat.getDateTimeInstance local 140 DateFormat format = DateFormat.getDateTimeInstance( local 168 DateFormat format = DateFormat.getInstance(); local 212 DateFormat format = DateFormat.getInstance(); local 510 DateFormat format = DateFormat.getInstance(); local 654 DateFormat format = DateFormat.getInstance(); local 752 DateFormat format = DateFormat.getInstance(); local 768 DateFormat format = DateFormat.getInstance(); local 784 DateFormat format = DateFormat.getInstance(); local 1072 DateFormat format = DateFormat.getInstance(); local 1092 DateFormat format = DateFormat.getInstance(); local [all...] |
/cts/tools/dasm/src/dasm/ |
DopInfo.java | 124 InsnFormat format = dop.getFormat(); local 126 if (format instanceof Form10x) return ""; 127 if (format instanceof Form12x) return ARG_REG_REG; 128 if (format instanceof Form11n) return ARG_REG_LITERAL; 129 if (format instanceof Form11x) return ARG_REGISTER; 130 if (format instanceof Form10t || format instanceof Form20t) 132 if (format instanceof Form22x) return ARG_REG_REG; 133 if (format instanceof Form21t) return ARG_REG_ADDRESS; 134 if (format instanceof Form21s) return ARG_REG_LITERAL [all...] |
/external/icu4c/test/intltest/ |
dtfmapts.cpp | 126 // ======= Test various format() methods 129 logln("Testing various format() methods"); 138 res1 = fr->format(d, res1, pos1, status); 140 errln("ERROR: format() failed (French)"); 144 res2 = it->format(d, res2, pos2); 147 res3 = de->format(d, res3); 243 * Test hiding of parse() and format() APIs in the Format hierarchy. 261 // DateFormat calling Format API 266 dateFmt->format(dateObj, str, status) [all...] |
/external/quake/quake/src/QW/client/ |
snd_win.c | 187 WAVEFORMATEX format, pformat;
local 199 memset (&format, 0, sizeof(format));
200 format.wFormatTag = WAVE_FORMAT_PCM;
201 format.nChannels = shm->channels;
202 format.wBitsPerSample = shm->samplebits;
203 format.nSamplesPerSec = shm->speed;
204 format.nBlockAlign = format.nChannels
205 *format.wBitsPerSample / 8; 422 WAVEFORMATEX format; local [all...] |
/external/quake/quake/src/WinQuake/ |
snd_win.cpp | 189 WAVEFORMATEX format, pformat;
local 201 memset (&format, 0, sizeof(format));
202 format.wFormatTag = WAVE_FORMAT_PCM;
203 format.nChannels = shm->channels;
204 format.wBitsPerSample = shm->samplebits;
205 format.nSamplesPerSec = shm->speed;
206 format.nBlockAlign = format.nChannels
207 *format.wBitsPerSample / 8; 424 WAVEFORMATEX format; local [all...] |
/external/icu4c/test/iotest/ |
iotest.cpp | 198 UChar format[512]; local 233 tempStr=testCase->getString("format", errorCode); 234 tempStr.extract(format, sizeof(format)/sizeof(format[0]), errorCode); 239 u_austrncpy(cBuffer, format, sizeof(cBuffer)); 246 log_verbose("Test %d: format=\"%s\"\n", i, cBuffer); 250 uBufferLenReturned = u_sprintf_u(uBuffer, format, dbl); 251 uFileBufferLenReturned = u_fprintf_u(testFile, format, dbl); 255 uBufferLenReturned = u_sprintf_u(uBuffer, format, i8) 365 UChar format[512]; local 568 UChar format[512]; local [all...] |
/external/webkit/WebCore/css/ |
CSSFontFaceSrcValue.h | 53 const String& format() const { return m_format; } function in class:WebCore::CSSFontFaceSrcValue 56 void setFormat(const String& format) { m_format = format; }
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
WayPointLabelProvider.java | 40 return String.format("%.6f", wayPoint.getLongitude()); 42 return String.format("%.6f", wayPoint.getLatitude()); 45 return String.format("%.1f", wayPoint.getElevation());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
AdtConsoleSdkLog.java | 33 AdtPlugin.printErrorToConsole(TAG, String.format(errorFormat, args)); 38 String msg = String.format(msgFormat, args); 47 AdtPlugin.printToConsole(TAG, String.format("Warning: " + warningFormat, args));
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/ |
DataLine.java | 27 public Info(Class <?> lineClass, AudioFormat format) { 30 this.formats = new AudioFormat[] { format }; 43 public Info(Class <?> lineClass, AudioFormat format, int bufferSize) { 46 this.formats = new AudioFormat[] { format }; 55 public boolean isFormatSupported(AudioFormat format) { 60 if (format.matches(supported)) { 103 String formatStr = (formats.length == 1? "format " + formats[0].toString() //$NON-NLS-1$
|
AudioInputStream.java | 27 protected AudioFormat format; field in class:AudioInputStream 43 public AudioInputStream(InputStream stream, AudioFormat format, long length) { 45 this.format = format; 47 this.frameSize = format.getFrameSize(); 52 this.format = line.getFormat(); 54 this.frameSize = this.format.getFrameSize(); 58 return format;
|
/external/freetype/src/base/ |
ftsynth.c | 54 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) 92 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE && 93 slot->format != FT_GLYPH_FORMAT_BITMAP ) 101 if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) 111 else if ( slot->format == FT_GLYPH_FORMAT_BITMAP ) 155 if ( slot->format == FT_GLYPH_FORMAT_BITMAP )
|
/external/v8/src/ |
checks.cc | 38 extern "C" void V8_Fatal(const char* file, int line, const char* format, ...) { 46 va_start(arguments, format); 47 i::OS::VPrintError(format, arguments); 92 void API_Fatal(const char* location, const char* format, ...) { 95 va_start(arguments, format); 96 i::OS::VPrintError(format, arguments);
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 20 import android.text.format.DateUtils; 36 String format = r.getString(R.string.weekly); local 49 return String.format(format, days.toString()); 61 return String.format(format, dayToString(day));
|
/sdk/files/ |
android.el | 73 (format "%s -attach localhost:%s -sourcepath%s" 76 (format "%s/src" root)))) 96 (compile (format "adb install -r %s" apk))) 104 (compile (format "adb install -r %s" package))) 116 (compile (format "adb shell am start -n %s/%s" package class))) 128 (compile (format "adb shell am start -D -n %s/%s" package class)))
|
/dalvik/libcore/security/src/main/java/java/security/ |
AlgorithmParametersSpi.java | 48 * {@code byte[]} using the default decoding format for parameters. The 49 * default encoding format is ASN.1. 61 * {@code byte[]} using the specified decoding format. 65 * @param format 66 * the name of the decoding format. 71 protected abstract void engineInit(byte[] params, String format) 92 * Returns the parameters in their default encoding format. The default 93 * encoding format is ASN.1. 103 * Returns the parameters in the specified encoding format. 105 * @param format [all...] |
/external/grub/stage2/ |
tparm.c | 88 * format. Often more complex operations are necessary. 235 parse_format(const char *s, char *format, int *len) 241 char *fmt = format; 247 *format++ = '%'; 256 *format++ = *s; 260 *format++ = *s++; 270 *format++ = *s++; 273 *format++ = *s++; 281 *format++ = *s++; 291 *format++ = *s++ 339 static char format[MAX_FORMAT_LEN]; local [all...] |
/hardware/ti/wlan/wl1271/platforms/os/common/inc/ |
tracebuf_api.h | 54 int tb_sprintf(const char *format ,...); 68 #define tb_sprintf(format ,...)
|
/ndk/build/platforms/android-3/arch-arm/usr/include/android/ |
log.h | 101 __attribute__ ((format(printf, 3, 4))) 120 __attribute__ ((format(printf, 3, 4)))
|
/ndk/build/platforms/android-4/arch-arm/usr/include/android/ |
log.h | 101 __attribute__ ((format(printf, 3, 4))) 120 __attribute__ ((format(printf, 3, 4)))
|
/ndk/build/platforms/android-5/arch-arm/usr/include/android/ |
log.h | 101 __attribute__ ((format(printf, 3, 4))) 120 __attribute__ ((format(printf, 3, 4)))
|
/ndk/build/platforms/android-5/arch-x86/usr/include/android/ |
log.h | 101 __attribute__ ((format(printf, 3, 4))) 120 __attribute__ ((format(printf, 3, 4)))
|