/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | LogAbortException.java | 21 private final String mFormat; field in class:LogAbortException 25 mFormat = format; 30 log.error(mFormat, mArgs);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | InputConfiguration.java | 32 private final int mFormat; field in class:InputConfiguration 52 mFormat = format; 79 return mFormat; 102 otherInputConfig.getFormat() == mFormat) { 113 return HashCodeHelpers.hashCode(mWidth, mHeight, mFormat); 126 return String.format("InputConfiguration(w:%d, h:%d, format:%d)", mWidth, mHeight, mFormat);
|
H A D | StreamConfiguration.java | 62 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 D | StreamConfigurationDuration.java | 57 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/media/java/android/media/ |
H A D | AudioPortConfig.java | 36 private final int mFormat; field in class:AudioPortConfig 53 mFormat = format; 83 return mFormat; 99 + ", mFormat:" + mFormat
|
/frameworks/base/libs/hwui/ |
H A D | RenderBuffer.h | 36 : mFormat(format), mWidth(width), mHeight(height), mAllocated(false) { 54 GLenum getFormat() const { return mFormat; } 73 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight); 85 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, width, height); 107 return (uint32_t)((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f); 168 GLenum mFormat; member in struct:android::uirenderer::RenderBuffer
|
H A D | PixelBuffer.h | 73 GLenum getFormat() const { return mFormat; } 126 uint32_t getSize() const { return mWidth * mHeight * formatSize(mFormat); } 132 return (y * mWidth + x) * formatSize(mFormat); 177 : mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {} 186 GLenum mFormat; member in class:android::uirenderer::PixelBuffer
|
H A D | RenderBufferCache.h | 80 : mBuffer(nullptr), mFormat(format), mWidth(width), mHeight(height) {} 84 , mFormat(buffer->getFormat()) 99 GLenum mFormat; member in struct:android::uirenderer::RenderBufferCache::RenderBufferEntry
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | FrameFetch.java | 33 private FrameFormat mFormat; field in class:FrameFetch 47 addOutputPort("frame", mFormat == null ? FrameFormat.unspecified() : mFormat);
|
H A D | FrameSource.java | 33 private FrameFormat mFormat; field in class:FrameSource 47 addOutputPort("frame", mFormat);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 41 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/ndk/ |
H A D | NdkMediaFormat.cpp | 36 sp<AMessage> mFormat; member in struct:AMediaFormat 47 mData->mFormat = *((sp<AMessage>*)data); 48 if (mData->mFormat == NULL) { 50 mData->mFormat = new AMessage; 56 *((sp<AMessage>*)dest) = mData->mFormat; 80 sp<AMessage> f = mData->mFormat; 161 return format->mFormat->findInt32(name, out); 166 return format->mFormat->findInt64(name, out); 171 return format->mFormat->findFloat(name, out); 176 return format->mFormat [all...] |
/frameworks/av/media/libnbaio/ |
H A D | NBAIO.cpp | 57 ret.mFormat = format; 70 size_t frameSize = Format_frameSize(mFormat); 106 size_t frameSize = Format_frameSize(mFormat); 135 // Default implementation that only accepts my mFormat 141 if (Format_isValid(mFormat)) { 143 if (Format_isEqual(offers[i], mFormat)) { 149 counterOffers[0] = mFormat; 161 format.mFormat != AUDIO_FORMAT_INVALID && format.mFrameSize != 0; 167 format1.mChannelCount == format2.mChannelCount && format1.mFormat == format2.mFormat [all...] |
H A D | AudioStreamInSource.cpp | 45 if (!Format_isValid(mFormat)) { 54 mFormat = Format_from_SR_C(sampleRate, 56 mFrameSize = Format_frameSize(mFormat); 77 if (CC_UNLIKELY(!Format_isValid(mFormat))) {
|
H A D | AudioStreamOutSink.cpp | 43 if (!Format_isValid(mFormat)) { 52 mFormat = Format_from_SR_C(sampleRate, 54 mFrameSize = Format_frameSize(mFormat); 64 ALOG_ASSERT(Format_isValid(mFormat));
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioPolicy.cpp | 66 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(); 89 parcel->writeInt32(mFormat.sample_rate); 90 parcel->writeInt32(mFormat.channel_mask); 91 parcel->writeInt32(mFormat.format);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | LogcatLog.java | 147 private final String mFormat; field in class:LogcatLog.RealLogMessage 158 mFormat = format; 176 if (mNextFormatCharPos < mFormat.length()) { 186 if (mNextFormatCharPos < mFormat.length()) { 196 if (mNextFormatCharPos < mFormat.length()) { 206 if (mNextFormatCharPos < mFormat.length()) { 215 if (mNextFormatCharPos < mFormat.length()) { 216 mStringBuilder.append(mFormat, mNextFormatCharPos, mFormat.length()); 227 if (mNextFormatCharPos >= mFormat [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 57 return mFormat; 73 mFormat.clear(); 306 if (mFormat == NULL && startOffset > 0) { 635 if (mFormat == NULL) { 636 mFormat = new MetaData; 637 if (!MakeAVCCodecSpecificData(*mFormat, accessUnit->data(), accessUnit->size())) { 638 mFormat.clear(); 700 if (mFormat == NULL) { 701 mFormat = format; 758 if (mFormat [all...] |
/frameworks/av/include/media/ |
H A D | AudioIoDescriptor.h | 39 mSamplingRate(0), mFormat(AUDIO_FORMAT_DEFAULT), mChannelMask(AUDIO_CHANNEL_NONE), 64 audio_format_t mFormat; member in class:android::AudioIoDescriptor
|
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioIoDescriptor.h | 39 mSamplingRate(0), mFormat(AUDIO_FORMAT_DEFAULT), mChannelMask(AUDIO_CHANNEL_NONE), 64 audio_format_t mFormat; member in class:android::AudioIoDescriptor
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | APacketSource.cpp | 410 mFormat(new MetaData) { 418 mFormat->setInt64(kKeyDuration, durationUs); 420 mFormat->setInt64(kKeyDuration, -1ll); 425 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); 445 mFormat->setData( 453 mFormat->setInt32(kKeyWidth, width); 454 mFormat->setInt32(kKeyHeight, height); 457 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_H263); 465 mFormat->setInt32(kKeyWidth, width); 466 mFormat [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpObjectInfo.cpp | 30 mFormat(0), 63 if (!packet.getUInt16(mFormat)) return false; 99 ALOGD(" mStorageID: %08X mFormat: %04X mProtectionStatus: %d\n", 100 mStorageID, mFormat, mProtectionStatus); 102 mCompressedSize, mFormat, mThumbCompressedSize);
|
/frameworks/av/media/libmedia/ |
H A D | MediaCodecBuffer.cpp | 29 mFormat(format), 64 return mFormat; 69 mFormat = format;
|
/frameworks/av/services/audioflinger/ |
H A D | FastMixer.cpp | 63 mFormat(Format_Invalid), 154 NBAIO_Format previousFormat = mFormat; 159 mFormat = Format_Invalid; 164 mFormat = mOutputSink->format(); 165 mSampleRate = Format_sampleRate(mFormat); 166 mSinkChannelCount = Format_channelCount(mFormat); 176 if ((!Format_isEqual(mFormat, previousFormat)) || (frameCount != previous->mFrameCount)) { 187 mMixerBufferFormat = mFormat.mFormat == AUDIO_FORMAT_PCM_16_BIT ? 199 * audio_bytes_per_sample(mFormat [all...] |
/frameworks/base/media/java/android/media/audiopolicy/ |
H A D | AudioMix.java | 37 private AudioFormat mFormat; field in class:AudioMix 55 mFormat = format; 143 return mFormat; 179 && (this.mFormat == that.mFormat); 185 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat); 201 private AudioFormat mFormat = null; field in class:AudioMix.Builder 285 mFormat = format; 356 if (mFormat == null) { 362 mFormat [all...] |