Searched defs:format (Results 76 - 100 of 246) sorted by relevance

12345678910

/frameworks/native/services/surfaceflinger/
H A DClient.cpp114 uint32_t w, uint32_t h, PixelFormat format,
129 PixelFormat format; member in class:android::MessageCreateLayer
135 uint32_t w, uint32_t h, PixelFormat format,
138 w(w), h(h), format(format), flags(flags)
144 w, h, format, flags);
150 params, name, this, w, h, format, flags);
111 createSurface( ISurfaceComposerClient::surface_data_t* params, const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
132 MessageCreateLayer(SurfaceFlinger* flinger, ISurfaceComposerClient::surface_data_t* params, const String8& name, Client* client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResponseData.java36 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
114 // ETSI TS 102 223 8.15, should use the same format as in SMS messages
171 public void format(ByteArrayOutputStream buf) { method in class:LanguageResponseData
209 public void format(ByteArrayOutputStream buf) { method in class:DTTZResponseData
/frameworks/support/volley/src/com/android/volley/
H A DVolleyLog.java32 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 Dconfigbq.c95 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/media/java/android/mtp/
H A DMtpPropertyGroup.java284 MtpPropertyList getPropertyList(int handle, int format, int depth) { argument
285 //Log.d(TAG, "getPropertyList handle: " + handle + " format: " + format + " depth: " + depth);
294 if (format == 0) {
309 // select all objects with given format
311 whereArgs = new String[] { Integer.toString(format) };
313 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) };
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterSurfaceView.java116 int format,
120 mFormat = format;
127 mListener.surfaceChanged(holder, format, width, height);
115 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
H A DSimpleFrame.java24 import android.filterfw.format.ObjectFormat;
37 SimpleFrame(FrameFormat format, FrameManager frameManager) { argument
38 super(format, frameManager);
39 initWithFormat(format);
44 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE);
45 SimpleFrame result = new SimpleFrame(format, frameManager);
50 private void initWithFormat(FrameFormat format) { argument
51 final int count = format.getLength();
52 final int baseType = format.getBaseType();
134 MutableFrameFormat format
[all...]
H A DVertexFrame.java34 VertexFrame(FrameFormat format, FrameManager frameManager) { argument
35 super(format, frameManager);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceRenderFilter.java35 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 DMediaFrameworkTest.java113 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
/frameworks/base/core/java/android/text/format/
H A DTime.java17 package android.text.format;
314 * Print the current value given the format string provided. See man
317 * @param format a string containing the desired format.
320 public String format(String format) { argument
345 String result = format1(format);
353 native private String format1(String format); argument
372 * Return the current time in YYYYMMDDTHHMMSS<tz> format
378 * Parses a date-time string in either the RFC 2445 format o
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp293 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 Dcodec.cpp87 sp<AMessage> format; local
88 status_t err = extractor->getTrackFormat(i, &format);
92 CHECK(format->findString("mime", &mime));
123 format, isVideo ? surface : NULL,
275 sp<AMessage> format; local
276 CHECK_EQ((status_t)OK, state->mCodec->getOutputFormat(&format));
278 ALOGV("INFO_FORMAT_CHANGED: %s", format->debugString().c_str());
/frameworks/av/include/media/
H A DAudioRecord.h65 audio_format_t format; member in class:android::AudioRecord::Buffer
103 audio_format_t format,
120 * format: Audio format (e.g AUDIO_FORMAT_PCM_16_BIT for signed
135 audio_format_t format = AUDIO_FORMAT_DEFAULT,
154 * - BAD_VALUE: invalid parameter (channels, format, sampleRate...)
160 audio_format_t format = AUDIO_FORMAT_DEFAULT,
185 audio_format_t format() const;
345 audio_format_t format,
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp184 audio_format_t format; local
185 sp<IMemory> player = decode(url, &sampleRate, &numChannels, &format);
188 reply->writeInt32((int32_t) format);
199 audio_format_t format; local
200 sp<IMemory> player = decode(fd, offset, length, &sampleRate, &numChannels, &format);
203 reply->writeInt32((int32_t) format);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp420 sp<MetaData> format = mHandler->getTrackFormat(i, &timeScale); local
423 CHECK(format->findCString(kKeyMIMEType, &mime));
444 sp<AnotherPacketSource> source = new AnotherPacketSource(format);
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp33 MonoPipe::MonoPipe(size_t reqFrames, NBAIO_Format format, bool writeCanBlock) : argument
34 NBAIO_Sink(format),
38 mBuffer(malloc(mMaxFrames * Format_frameSize(format))),
58 D = Format_sampleRate(format);
/frameworks/av/media/libstagefright/
H A DUtils.cpp67 const sp<MetaData> &meta, sp<AMessage> *format) {
68 format->clear();
239 *format = msg;
66 convertMetaDataToMessage( const sp<MetaData> &meta, sp<AMessage> *format) argument
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp323 AString StringPrintf(const char *format, ...) { argument
325 va_start(ap, format);
328 vasprintf(&buffer, format, ap);
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp201 AString format; local
202 getFormat(index, &format);
204 const char *lastSpacePos = strrchr(format.c_str(), ' ');
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp43 const sp<AMessage> &format,
48 mInputFormat(format),
163 ALOGV("output format is '%s'", mOutputFormat->debugString(0).c_str());
40 Converter( const sp<AMessage> &notify, const sp<ALooper> &codecLooper, const sp<AMessage> &format, bool usePCMAudio) argument
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp63 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 DProgressDialog.java140 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 DWaveHeader.java24 * 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 DChronometer.java25 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...]

Completed in 338 milliseconds

12345678910