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

12345

/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/java/android/media/
H A DAudioPortConfig.java36 private final int mFormat; field in class:AudioPortConfig
53 mFormat = format;
83 return mFormat;
99 + ", mFormat:" + mFormat
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfiguration.java62 mFormat = checkArgumentFormatInternal(format);
77 return mFormat;
151 return mFormat == other.mFormat &&
164 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, mInput ? 1 : 0);
167 private final int mFormat; field in class:StreamConfiguration
H A DStreamConfigurationDuration.java57 mFormat = checkArgumentFormatInternal(format);
72 return mFormat;
130 return mFormat == other.mFormat &&
143 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight,
147 private final int mFormat; field in class:StreamConfigurationDuration
/frameworks/base/libs/hwui/
H A DRenderBuffer.h36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) {
58 return mFormat;
82 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight);
94 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, width, height);
120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f);
181 GLenum mFormat; member in struct:android::uirenderer::RenderBuffer
H A DPixelBuffer.h76 return mFormat;
151 return mWidth * mHeight * formatSize(mFormat);
158 return (y * mWidth + x) * formatSize(mFormat);
203 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
206 GLenum mFormat; member in class:android::uirenderer::PixelBuffer
H A DRenderBufferCache.h85 mBuffer(NULL), mFormat(format), mWidth(width), mHeight(height) {
89 mBuffer(buffer), mFormat(buffer->getFormat()),
114 GLenum mFormat; member in struct:android::uirenderer::RenderBufferCache::RenderBufferEntry
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioMix.java35 private AudioFormat mFormat; field in class:AudioMix
45 mFormat = format;
86 return mFormat;
110 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat);
126 private AudioFormat mFormat = null; field in class:AudioMix.Builder
177 mFormat = format;
216 if (mFormat == null) {
221 mFormat = new AudioFormat.Builder().setSampleRate(rate).build();
223 return new AudioMix(mRule, mFormat, mRouteFlags);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DFrameFetch.java33 private FrameFormat mFormat; field in class:FrameFetch
47 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 (!Format_isValid(mFormat)) {
49 mFormat = Format_from_SR_C(sampleRate,
51 mFrameSize = Format_frameSize(mFormat);
69 if (CC_UNLIKELY(!Format_isValid(mFormat))) {
H A DNBAIO.cpp57 ret.mFormat = format;
70 size_t frameSize = Format_frameSize(mFormat);
107 size_t frameSize = Format_frameSize(mFormat);
136 // Default implementation that only accepts my mFormat
142 if (Format_isValid(mFormat)) {
144 if (Format_isEqual(offers[i], mFormat)) {
150 counterOffers[0] = mFormat;
162 format.mFormat != AUDIO_FORMAT_INVALID && format.mFrameSize != 0;
168 format1.mChannelCount == format2.mChannelCount && format1.mFormat == format2.mFormat
[all...]
H A DAudioStreamOutSink.cpp40 if (!Format_isValid(mFormat)) {
46 mFormat = Format_from_SR_C(sampleRate,
48 mFrameSize = Format_frameSize(mFormat);
58 ALOG_ASSERT(Format_isValid(mFormat));
/frameworks/av/services/audioflinger/
H A DFastMixerState.cpp23 mChannelMask(AUDIO_CHANNEL_OUT_STEREO), mFormat(AUDIO_FORMAT_INVALID), mGeneration(0)
/frameworks/av/media/ndk/
H A DNdkMediaFormat.cpp37 sp<AMessage> mFormat; member in struct:AMediaFormat
48 mData->mFormat = *((sp<AMessage>*)data);
53 *((sp<AMessage>*)dest) = mData->mFormat;
77 sp<AMessage> f = mData->mFormat;
150 return format->mFormat->findInt32(name, out);
155 return format->mFormat->findInt64(name, out);
160 return format->mFormat->findFloat(name, out);
165 return format->mFormat->findSize(name, out);
171 if (format->mFormat->findBuffer(name, &buf)) {
190 if (mData->mFormat
[all...]
/frameworks/av/media/libmedia/
H A DAudioPolicy.cpp66 mFormat.sample_rate = (uint32_t)parcel->readInt32();
67 mFormat.channel_mask = (audio_channel_mask_t)parcel->readInt32();
68 mFormat.format = (audio_format_t)parcel->readInt32();
87 parcel->writeInt32(mFormat.sample_rate);
88 parcel->writeInt32(mFormat.channel_mask);
89 parcel->writeInt32(mFormat.format);
/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...]
/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 if (!packet.getUInt16(mFormat)) return false;
97 ALOGD(" mStorageID: %08X mFormat: %04X mProtectionStatus: %d\n",
98 mStorageID, mFormat, mProtectionStatus);
100 mCompressedSize, mFormat, mThumbCompressedSize);
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapRequestPullVcardEntry.java38 private final byte mFormat; field in class:BluetoothPbapRequestPullVcardEntry
60 mFormat = format;
67 mResponse = new BluetoothPbapVcardList(stream, mFormat);
/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/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp45 return mFormat;
56 mFormat.clear();
479 if (mFormat == NULL) {
480 mFormat = MakeAVCCodecSpecificData(accessUnit);
529 if (mFormat == NULL) {
530 mFormat = format;
566 if (mFormat == NULL) {
567 mFormat = new MetaData;
568 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW);
569 mFormat
[all...]
/frameworks/base/core/java/android/widget/
H A DChronometer.java67 private String mFormat; field in class:Chronometer
149 mFormat = format;
159 return mFormat;
233 if (mFormat != null) {
242 mFormatter.format(mFormat, mFormatterArgs);
246 Log.w(TAG, "Illegal format string: " + mFormat);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrame.java36 private FrameFormat mFormat; field in class:Frame
46 mFormat = format.mutableCopy();
51 mFormat = format.mutableCopy();
58 return mFormat;
172 mFormat = format.mutableCopy();
195 mFormat = newFormat.mutableCopy();

Completed in 447 milliseconds

12345