Home
last modified time | relevance | path

Searched refs:mAttributes (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/av/drm/common/
DDrmInfo.cpp41 return mAttributes.size(); in getCount()
45 mAttributes.add(key, value); in put()
50 if (NAME_NOT_FOUND != mAttributes.indexOfKey(key)) { in get()
51 return mAttributes.valueFor(key); in get()
57 return mAttributes.indexOfKey(key); in indexOfKey()
75 return (mIndex < mDrmInfo->mAttributes.size()); in hasNext()
79 const String8& key = mDrmInfo->mAttributes.keyAt(mIndex); in next()
103 return mIndex < mDrmInfo->mAttributes.size(); in hasNext()
107 String8& value = mDrmInfo->mAttributes.editValueAt(mIndex); in next()
/frameworks/base/media/java/android/media/
DExifInterface.java107 private HashMap<String, String> mAttributes; field in ExifInterface
134 return mAttributes.get(tag); in getAttribute()
146 String value = mAttributes.get(tag); in getAttributeInt()
164 String value = mAttributes.get(tag); in getAttributeDouble()
185 mAttributes.put(tag, value); in setAttribute()
203 mAttributes = new HashMap<String, String>(); in loadAttributes()
234 mAttributes.put(attrName, attrValue); in loadAttributes()
252 int size = mAttributes.size(); in saveAttributes()
253 if (mAttributes.containsKey("hasThumbnail")) { in saveAttributes()
257 for (Map.Entry<String, String> iter : mAttributes.entrySet()) { in saveAttributes()
[all …]
DSoundPool.java523 private final AudioAttributes mAttributes; field in SoundPool.SoundPoolImpl
539 mAttributes = attr; in SoundPoolImpl()
615 mAttributes.getUsage(), in isRestricted()
DAudioTrack.java242 private final AudioAttributes mAttributes; field in AudioTrack
437 mAttributes = (new AudioAttributes.Builder(attributes).build()); in AudioTrack()
446 int initResult = native_setup(new WeakReference<AudioTrack>(this), mAttributes, in AudioTrack()
DTtmlRenderer.java272 out.append(node.mAttributes); in extractTtmlFragment()
307 public final String mAttributes; field in TtmlNode
318 this.mAttributes = attributes; in TtmlNode()
/frameworks/base/core/java/android/hardware/usb/
DUsbEndpoint.java35 private final int mAttributes; field in UsbEndpoint
45 mAttributes = attributes; in UsbEndpoint()
93 return mAttributes; in getAttributes()
109 return mAttributes & UsbConstants.USB_ENDPOINT_XFERTYPE_MASK; in getType()
132 return "UsbEndpoint[mAddress=" + mAddress + ",mAttributes=" + mAttributes + in toString()
157 parcel.writeInt(mAttributes); in writeToParcel()
DUsbConfiguration.java39 private final int mAttributes; field in UsbConfiguration
62 mAttributes = attributes; in UsbConfiguration()
92 return (mAttributes & ATTR_SELF_POWERED) != 0; in isSelfPowered()
102 return (mAttributes & ATTR_REMOTE_WAKEUP) != 0; in isRemoteWakeup()
143 ",mName=" + mName + ",mAttributes=" + mAttributes + in toString()
178 parcel.writeInt(mAttributes); in writeToParcel()
/frameworks/base/drm/java/android/drm/
DDrmInfo.java39 private final HashMap<String, Object> mAttributes = new HashMap<String, Object>(); field in DrmInfo
97 mAttributes.put(key, value); in put()
108 return mAttributes.get(key); in get()
118 return mAttributes.keySet().iterator(); in keyIterator()
128 return mAttributes.values().iterator(); in iterator()
DDrmEvent.java52 private HashMap<String, Object> mAttributes = new HashMap<String, Object>(); field in DrmEvent
72 mAttributes = attributes; in DrmEvent()
126 return mAttributes.get(key); in getAttribute()
/frameworks/base/core/java/android/print/
DPrintJobInfo.java159 private PrintAttributes mAttributes; field in PrintJobInfo
188 mAttributes = other.mAttributes; in PrintJobInfo()
212 mAttributes = (PrintAttributes) parcel.readParcelable(null); in PrintJobInfo()
468 return mAttributes; in getAttributes()
479 mAttributes = attributes; in setAttributes()
609 parcel.writeParcelable(mAttributes, flags); in writeToParcel()
626 builder.append(", attributes: " + (mAttributes != null in toString()
627 ? mAttributes.toString() : null)); in toString()
701 mPrototype.mAttributes = attributes; in setAttributes()
DPrintAttributes.java1288 private final PrintAttributes mAttributes = new PrintAttributes(); field in PrintAttributes.Builder
1297 mAttributes.setMediaSize(mediaSize); in setMediaSize()
1308 mAttributes.setResolution(resolution); in setResolution()
1320 mAttributes.setMinMargins(margins); in setMinMargins()
1337 mAttributes.setColorMode(colorMode); in setColorMode()
1347 return mAttributes; in build()
/frameworks/av/media/libmedia/
DAudioTrack.cpp121 mAttributes.content_type = AUDIO_CONTENT_TYPE_UNKNOWN; in AudioTrack()
122 mAttributes.usage = AUDIO_USAGE_UNKNOWN; in AudioTrack()
123 mAttributes.flags = 0x0; in AudioTrack()
124 strcpy(mAttributes.tags, ""); in AudioTrack()
299 memcpy(&mAttributes, pAttributes, sizeof(audio_attributes_t)); in set()
300 setStreamTypeFromAttributes(mAttributes); in set()
302 mAttributes.usage, mAttributes.content_type, mAttributes.flags, mAttributes.tags); in set()
307 status = AudioSystem::getOutputSamplingRateForAttr(&sampleRate, &mAttributes); in set()
682 if (AudioSystem::getOutputSamplingRateForAttr(&afSamplingRate, &mAttributes) != NO_ERROR) { in setSampleRate()
930 audio_io_handle_t output = AudioSystem::getOutputForAttr(&mAttributes, mSampleRate, mFormat, in createTrack_l()
[all …]
DSoundPool.cpp60 memcpy(&mAttributes, pAttributes, sizeof(audio_attributes_t)); in SoundPool()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeLayoutParamsMapAttributes.java34 private final Map<String, String> mAttributes; field in BridgeLayoutParamsMapAttributes
37 mAttributes = attributes; in BridgeLayoutParamsMapAttributes()
43 return mAttributes.get(name); in getAttributeValue()
/frameworks/base/libs/hwui/
DProgram.cpp102 mAttributes.add(name, slot); in addAttrib()
108 mAttributes.add(name, bindingSlot); in bindAttrib()
113 ssize_t index = mAttributes.indexOfKey(name); in getAttrib()
115 return mAttributes.valueAt(index); in getAttrib()
DProgram.h426 KeyedVector<const char*, int> mAttributes; variable
/frameworks/base/tools/aapt/
DXMLNode.cpp696 return mAttributes; in getAttributes()
702 for (size_t i=0; i<mAttributes.size(); i++) { in getAttribute()
703 const attribute_entry& ae(mAttributes.itemAt(i)); in getAttribute()
715 for (size_t i=0; i<mAttributes.size(); i++) { in editAttribute()
716 attribute_entry * ae = &mAttributes.editItemAt(i); in editAttribute()
813 mAttributes.add(e); in addAttribute()
814 mAttributeOrder.add(e.index, mAttributes.size()-1); in addAttribute()
825 if (index >= mAttributes.size()) { in removeAttribute()
829 const attribute_entry& e = mAttributes[index]; in removeAttribute()
832 mAttributes.removeAt(index); in removeAttribute()
[all …]
DXMLNode.h195 Vector<attribute_entry> mAttributes; variable
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java186 private PrintAttributes mAttributes; in printBitmap()
195 mAttributes = newPrintAttributes; in printBitmap()
210 mAttributes); in printBitmap()
304 private PrintAttributes mAttributes; in printBitmap()
316 mAttributes = newPrintAttributes; in printBitmap()
381 mAttributes = newPrintAttributes; in printBitmap()
408 mAttributes); in printBitmap()
/frameworks/av/include/drm/
DDrmInfo.h170 KeyedVector<String8, String8> mAttributes; variable
/frameworks/av/include/media/
DSoundPool.h186 const audio_attributes_t* attributes() { return &mAttributes; } in attributes()
227 audio_attributes_t mAttributes; variable
DAudioTrack.h698 audio_attributes_t mAttributes; variable
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java56 private HashMap<String, VertexAttribute> mAttributes = new HashMap<String, VertexAttribute>(); field in ImageShader
632 for (VertexAttribute attr : mAttributes.values()) { in pushAttributes()
760 VertexAttribute result = mAttributes.get(name); in getProgramAttribute()
765 mAttributes.put(name, result); in getProgramAttribute()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1429 mAttributes = attr; in AudioOutput()
1526 mAttributes = attributes; in setAudioAttributes()
1679 mAttributes); in open()
1696 mAttributes); in open()
DMediaPlayerService.h139 const audio_attributes_t *mAttributes; variable

12