Searched refs:mFormat (Results 1 - 25 of 70) sorted by relevance

123

/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLogAbortException.java21 private final String mFormat; field in class:LogAbortException
25 mFormat = format;
30 log.error(mFormat, mArgs);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DFrameFetch.java35 private FrameFormat mFormat; field in class:FrameFetch
49 addOutputPort("frame", mFormat == null ? FrameFormat.unspecified() : mFormat);
H A DFrameSource.java33 private FrameFormat mFormat; field in class:FrameSource
47 addOutputPort("frame", mFormat);
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java41 private int mFormat; field in class:YuvImage
103 mFormat = format;
141 return nativeCompressToJpeg(mData, mFormat, rectangle.width(),
158 return mFormat;
184 if (mFormat == ImageFormat.NV21) {
191 if (mFormat == ImageFormat.YUY2) {
217 if (mFormat == ImageFormat.NV21) {
227 if (mFormat == ImageFormat.YUY2) {
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp43 if (mFormat == Format_Invalid) {
50 mFormat = Format_from_SR_C(sampleRate, popcount(channelMask));
51 mBitShift = Format_frameBitShift(mFormat);
70 if (CC_UNLIKELY(mFormat == Format_Invalid)) {
H A DAudioStreamOutSink.cpp40 if (mFormat == Format_Invalid) {
47 mFormat = Format_from_SR_C(sampleRate, popcount(channelMask));
48 mBitShift = Format_frameBitShift(mFormat);
59 ALOG_ASSERT(mFormat != Format_Invalid);
H A DNBAIO.cpp101 size_t frameSize = Format_frameSize(mFormat);
138 size_t frameSize = Format_frameSize(mFormat);
167 // Default implementation that only accepts my mFormat
173 if (mFormat != Format_Invalid) {
175 if (offers[i] == mFormat) {
181 counterOffers[0] = mFormat;
H A DMonoPipe.cpp138 ns = written * ( 500000000 / Format_sampleRate(mFormat));
141 ns = written * ( 750000000 / Format_sampleRate(mFormat));
144 ns = written * (1000000000 / Format_sampleRate(mFormat));
147 ns = written * (1150000000 / Format_sampleRate(mFormat));
150 ns = written * (1350000000 / Format_sampleRate(mFormat));
153 ns = written * (1750000000 / Format_sampleRate(mFormat));
156 ns = count * (1350000000 / Format_sampleRate(mFormat));
H A DMonoPipeReader.cpp27 NBAIO_Source(pipe->mFormat),
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp413 mFormat(new MetaData) {
421 mFormat->setInt64(kKeyDuration, durationUs);
423 mFormat->setInt64(kKeyDuration, 60 * 60 * 1000000ll);
428 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC);
448 mFormat->setData(
456 mFormat->setInt32(kKeyWidth, width);
457 mFormat->setInt32(kKeyHeight, height);
460 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_H263);
468 mFormat->setInt32(kKeyWidth, width);
469 mFormat
[all...]
H A DAPacketSource.h42 sp<MetaData> mFormat; member in struct:android::APacketSource
/frameworks/base/media/java/android/mtp/
H A DMtpObjectInfo.java27 private int mFormat; field in class:MtpObjectInfo
74 return mFormat;
/frameworks/av/media/mtp/
H A DMtpObjectInfo.cpp30 mFormat(0),
63 mFormat = packet.getUInt16();
95 ALOGD(" mStorageID: %08X mFormat: %04X mProtectionStatus: %d\n",
96 mStorageID, mFormat, mProtectionStatus);
98 mCompressedSize, mFormat, mThumbCompressedSize);
H A DMtpObjectInfo.h30 MtpObjectFormat mFormat; member in class:android::MtpObjectInfo
H A DMtpServer.h78 MtpObjectFormat mFormat; member in class:android::MtpServer::ObjectEdit
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) {
/frameworks/base/core/java/android/widget/
H A DDigitalClock.java52 String mFormat; field in class:DigitalClock
89 setText(DateFormat.format(mFormat, mCalendar));
114 mFormat = m24;
116 mFormat = m12;
H A DChronometer.java69 private String mFormat; field in class:Chronometer
148 mFormat = format;
158 return mFormat;
232 if (mFormat != null) {
241 mFormatter.format(mFormat, mFormatterArgs);
245 Log.w(TAG, "Illegal format string: " + mFormat);
H A DTextClock.java112 private CharSequence mFormat; field in class:TextClock
399 mFormat = abc(mFormat24, mFormat12, DEFAULT_FORMAT_24_HOUR);
401 mFormat = abc(mFormat12, mFormat24, DEFAULT_FORMAT_12_HOUR);
405 mHasSeconds = DateFormat.hasSeconds(mFormat);
480 setText(DateFormat.format(mFormat, mTime));
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java52 private short mFormat; field in class:WaveHeader
74 mFormat = format;
87 return mFormat;
97 mFormat = format;
190 mFormat = readShort(in);
239 writeShort(out, mFormat);
273 mFormat, mNumChannels, mSampleRate, mBitsPerSample, mNumBytes);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrame.java37 private FrameFormat mFormat; field in class:Frame
47 mFormat = format.mutableCopy();
52 mFormat = format.mutableCopy();
59 return mFormat;
173 mFormat = format.mutableCopy();
196 mFormat = newFormat.mutableCopy();
H A DFilterSurfaceView.java37 private int mFormat; field in class:FilterSurfaceView
82 mListener.surfaceChanged(getHolder(), mFormat, mWidth, mHeight);
120 mFormat = format;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp44 return mFormat;
55 mFormat.clear();
318 if (mFormat == NULL) {
319 mFormat = MakeAVCCodecSpecificData(accessUnit);
358 if (mFormat == NULL) {
359 mFormat = new MetaData;
360 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW);
361 mFormat->setInt32(kKeyChannelCount, 2);
362 mFormat->setInt32(kKeySampleRate, 48000);
409 if (mFormat
[all...]
H A DAnotherPacketSource.cpp33 mFormat(meta),
46 CHECK(mFormat == NULL);
47 mFormat = meta;
62 return mFormat;
80 mFormat.clear();
108 mFormat.clear();
H A DAnotherPacketSource.h69 sp<MetaData> mFormat; member in struct:android::AnotherPacketSource
/frameworks/av/include/media/nbaio/
H A DNBAIO.h116 virtual NBAIO_Format format() const { return mNegotiated ? mFormat : Format_Invalid; }
119 NBAIO_Port(NBAIO_Format format) : mNegotiated(false), mFormat(format),
125 bool mNegotiated; // mNegotiated implies (mFormat != Format_Invalid)
126 NBAIO_Format mFormat; // (mFormat != Format_Invalid) does not imply mNegotiated member in class:android::NBAIO_Port
127 size_t mBitShift; // assign in parallel with any assignment to mFormat

Completed in 848 milliseconds

123