/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | VertexFrame.java | 34 VertexFrame(FrameFormat format, FrameManager frameManager) { argument 35 super(format, frameManager);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
H A D | SurfaceRenderFilter.java | 35 import android.filterfw.format.ImageFormat; 175 if (mLogVerbose) Log.v("SurfaceRenderFilter", "Got input format: " + input.getFormat()); 223 int format, 222 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaFrameworkTest.java | 111 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
H A D | ResponseData.java | 36 public abstract void format(ByteArrayOutputStream buf); method in class:ResponseData 59 public void format(ByteArrayOutputStream buf) { method in class:SelectItemResponseData 98 public void format(ByteArrayOutputStream buf) { method in class:GetInkeyInputResponseData 168 public void format(ByteArrayOutputStream buf) { method in class:LanguageResponseData 206 public void format(ByteArrayOutputStream buf) { method in class:DTTZResponseData
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | LoadTestsAutoTest.java | 81 return String.format("http://127.0.0.1:%d/%s/%s/start.html?auto=1&iterations=%s", 156 private void printRow(PrintStream ps, String format, Object...objs) { argument 157 ps.println(String.format(format, objs));
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelView.java | 88 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 89 super.surfaceChanged(holder, format, w, h);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.h | 40 uint32_t format; member in struct:hwcTestGraphicFormat 113 const char *hwcTestGraphicFormat2str(uint32_t format); 122 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha);
|
/frameworks/support/volley/src/com/android/volley/ |
H A D | VolleyLog.java | 32 public static void v(String format, Object... args) { argument 34 Log.v(TAG, buildMessage(format, args)); 38 public static void d(String format, Object... args) { argument 39 Log.d(TAG, buildMessage(format, args)); 42 public static void e(String format, Object... args) { argument 43 Log.e(TAG, buildMessage(format, args)); 46 public static void wtf(String format, Object... args) { argument 47 Log.wtf(TAG, buildMessage(format, args)); 50 public static void wtf(Throwable tr, String format, Object... args) { argument 51 Log.wtf(TAG, buildMessage(format, arg 58 buildMessage(String format, Object... args) argument [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 95 PCM *format; local 98 for (format = formats; format->numChannels; ++format) { 100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels, 101 format->milliHz / 1000, format->bitsPerSample); 109 format_pcm.numChannels = format->numChannels; 110 format_pcm.samplesPerSec = format->milliHz; 111 format_pcm.bitsPerSample = format [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 17 package android.text.format; 309 * Print the current value given the format string provided. See man 312 * @param format a string containing the desired format. 315 public String format(String format) { argument 391 return format1(format); 395 native private String format1(String format); argument 398 * Return the current time in YYYYMMDDTHHMMSS<tz> format 404 * Parses a date-time string in either the RFC 2445 format o [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 293 sp<AMessage> format; local 294 status_t err = mExtractor->getTrackFormat(i, &format); 298 CHECK(format->findString("mime", &mime)); 322 format, 331 while (format->findBuffer(StringPrintf("csd-%d", j).c_str(), &buffer)) { 569 sp<AMessage> format; local 570 status_t err = state->mCodec->getOutputFormat(&format); 577 CHECK(format->findString("mime", &mime)); 582 CHECK(format->findInt32("channel-count", &channelCount)); 583 CHECK(format [all...] |
H A D | codec.cpp | 85 sp<AMessage> format; local 86 status_t err = extractor->getTrackFormat(i, &format); 90 CHECK(format->findString("mime", &mime)); 121 format, isVideo ? surface : NULL, 273 sp<AMessage> format; local 274 CHECK_EQ((status_t)OK, state->mCodec->getOutputFormat(&format)); 276 ALOGV("INFO_FORMAT_CHANGED: %s", format->debugString().c_str());
|
/frameworks/av/include/media/ |
H A D | AudioRecord.h | 73 audio_format_t format; member in class:android::AudioRecord::Buffer 117 audio_format_t format, 134 * format: Audio format (e.g AUDIO_FORMAT_PCM_16_BIT for signed 158 audio_format_t format = AUDIO_FORMAT_DEFAULT, 178 * - BAD_VALUE: invalid parameter (channels, format, sampleRate...) 184 audio_format_t format = AUDIO_FORMAT_DEFAULT, 210 audio_format_t format() const; 359 audio_format_t format,
|
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayerService.cpp | 160 audio_format_t format; local 161 sp<IMemory> player = decode(url, &sampleRate, &numChannels, &format); 164 reply->writeInt32((int32_t) format); 175 audio_format_t format; local 176 sp<IMemory> player = decode(fd, offset, length, &sampleRate, &numChannels, &format); 179 reply->writeInt32((int32_t) format);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | RTSPSource.cpp | 362 sp<MetaData> format = mHandler->getTrackFormat(i, &timeScale); local 365 CHECK(format->findCString(kKeyMIMEType, &mime)); 378 sp<AnotherPacketSource> source = new AnotherPacketSource(format);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 323 AString StringPrintf(const char *format, ...) { argument 325 va_start(ap, format); 328 vasprintf(&buffer, format, ap);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 201 AString format; local 202 getFormat(index, &format); 204 const char *lastSpacePos = strrchr(format.c_str(), ' ');
|
/frameworks/av/services/audioflinger/ |
H A D | FastMixer.cpp | 63 NBAIO_Format format = Format_Invalid; local 196 NBAIO_Format previousFormat = format; 201 format = Format_Invalid; 204 format = outputSink->format(); 205 sampleRate = Format_sampleRate(format); 206 ALOG_ASSERT(Format_channelCount(format) == 2); 211 if ((format != previousFormat) || (frameCount != previous->mFrameCount)) {
|
/frameworks/base/core/java/android/app/ |
H A D | ProgressDialog.java | 140 String format = mProgressNumberFormat; 141 mProgressNumber.setText(String.format(format, progress, max)); 147 SpannableString tmp = new SpannableString(mProgressPercentFormat.format(percent)); 328 * Change the format of the small text showing current and maximum units 331 * @param format A string passed to {@link String#format String.format()}; 335 public void setProgressNumberFormat(String format) { argument 336 mProgressNumberFormat = format; 348 setProgressPercentFormat(NumberFormat format) argument [all...] |
/frameworks/base/core/java/android/speech/srec/ |
H A D | WaveHeader.java | 24 * This class represents the header of a WAVE format audio file, which usually 27 * <li> format - usually PCM, ALAW or ULAW. 39 // follows WAVE format in http://ccrma.stanford.edu/courses/422/projects/WaveFormat 45 /** Indicates PCM format. */ 47 /** Indicates ALAW format. */ 49 /** Indicates ULAW format. */ 66 * @param format format of audio data, 73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { argument 74 mFormat = format; 96 setFormat(short format) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Chronometer.java | 25 import android.text.format.DateUtils; 44 * to format the timer value into an arbitrary string. 136 * Sets the format string used for display. The Chronometer will display 140 * If the format string is null, or if you never call setFormat(), the 144 * @param format the format string. 147 public void setFormat(String format) { argument 148 mFormat = format; 149 if (format != null && mFormatBuilder == null) { 150 mFormatBuilder = new StringBuilder(format [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | LoggingPrintStream.java | 168 public PrintStream format(String format, Object... args) { argument 169 return format(Locale.getDefault(), format, args); 173 public PrintStream printf(String format, Object... args) { argument 174 return format(format, args); 178 public PrintStream printf(Locale l, String format, Object... args) { argument 179 return format(l, format, arg 185 format( Locale l, String format, Object... args) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 130 public void setFormat(int format) { argument 131 if (mRequestedFormat != format) { 132 mRequestedFormat = format;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.cpp | 9 YuvToJpegEncoder* YuvToJpegEncoder::create(int format, int* strides) { argument 12 if (format == HAL_PIXEL_FORMAT_YCrCb_420_SP) { 14 } else if (format == HAL_PIXEL_FORMAT_YCbCr_422_I) { 214 int format, int width, int height, jintArray offsets, 222 YuvToJpegEncoder* encoder = YuvToJpegEncoder::create(format, imgStrides); 213 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, int format, int width, int height, jintArray offsets, jintArray strides, int jpegQuality, jobject jstream, jbyteArray jstorage) argument
|
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 74 static inline SkBitmap::Config convertPixelFormat(int32_t format) { argument 75 switch (format) { 145 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); 148 bitmap.setConfig(convertPixelFormat(buffer.format), buffer.width, buffer.height, bytesCount); 150 if (buffer.format == WINDOW_FORMAT_RGBX_8888) { 160 SET_INT(canvas, gCanvasClassInfo.surfaceFormat, buffer.format);
|