Home
last modified time | relevance | path

Searched refs:mMetaData (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTile.java71 private Bundle mMetaData; field in Tile
92 mMetaData = in.readBundle(); in Tile()
111 dest.writeBundle(mMetaData); in writeToParcel()
161 return mMetaData.getInt(META_DATA_KEY_ORDER); in getOrder()
171 return mMetaData.containsKey(META_DATA_KEY_ORDER) in hasOrder()
172 && mMetaData.get(META_DATA_KEY_ORDER) instanceof Integer; in hasOrder()
179 return mMetaData != null && mMetaData.containsKey(META_DATA_PREFERENCE_SWITCH_URI); in hasSwitch()
189 if (mMetaData.containsKey(META_DATA_PREFERENCE_TITLE)) { in getTitle()
190 if (mMetaData.containsKey(META_DATA_PREFERENCE_TITLE_URI)) { in getTitle()
195 if (mMetaData.get(META_DATA_PREFERENCE_TITLE) instanceof Integer) { in getTitle()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DProviderTileTest.java56 private Bundle mMetaData; field in ProviderTileTest
67 mMetaData = new Bundle(); in setUp()
68 mMetaData.putString(META_DATA_PREFERENCE_KEYHINT, "key"); in setUp()
69 mMetaData.putString(META_DATA_PREFERENCE_TITLE, "title"); in setUp()
70 mMetaData.putInt(META_DATA_PREFERENCE_ICON, com.android.internal.R.drawable.ic_plus); in setUp()
71 mTile = new ProviderTile(mProviderInfo, "category", mMetaData); in setUp()
76 mMetaData.putString(META_DATA_KEY_PROFILE, PROFILE_PRIMARY); in isPrimaryProfileOnly_profilePrimary_shouldReturnTrue()
82 mMetaData.putString(META_DATA_KEY_PROFILE, PROFILE_ALL); in isPrimaryProfileOnly_profileAll_shouldReturnFalse()
100 mMetaData.putInt(META_DATA_PREFERENCE_ICON, android.R.drawable.ic_info); in getIcon_hasIconMetadata_returnIcon()
108 final Tile tile = new ProviderTile(mProviderInfo, "category", mMetaData); in isIconTintable_hasMetadata_shouldReturnIconTintableMetadata()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrameFormat.java60 protected KeyValueMap mMetaData; field in FrameFormat
110 return mMetaData != null ? mMetaData.containsKey(key) : false; in hasMetaKey()
114 if (mMetaData != null && mMetaData.containsKey(key)) { in hasMetaKey()
115 if (!expectedClass.isAssignableFrom(mMetaData.get(key).getClass())) { in hasMetaKey()
118 mMetaData.get(key).getClass() + " but expected to be of type " + in hasMetaKey()
127 return mMetaData != null ? mMetaData.get(key) : null; in getMetaValue()
169 result.mMetaData = mMetaData == null ? null : (KeyValueMap)mMetaData.clone(); in mutableCopy()
188 format.mMetaData.equals(mMetaData); in equals()
238 if (specification.mMetaData != null) { in isCompatibleWith()
239 for (String specKey : specification.mMetaData.keySet()) { in isCompatibleWith()
[all …]
DMutableFrameFormat.java92 if (mMetaData == null) { in setMetaValue()
93 mMetaData = new KeyValueMap(); in setMetaValue()
95 mMetaData.put(key, value); in setMetaValue()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp404 ssize_t index = mMetaData.indexOfKey(keyCode); in extractMetadata()
410 return mMetaData.valueAt(index).string(); in extractMetadata()
426 mMetaData.add(METADATA_KEY_COLOR_STANDARD, String8::format("%d", standard)); in parseColorAspects()
427 mMetaData.add(METADATA_KEY_COLOR_TRANSFER, String8::format("%d", transfer)); in parseColorAspects()
428 mMetaData.add(METADATA_KEY_COLOR_RANGE, String8::format("%d", range)); in parseColorAspects()
475 mMetaData.add(kMap[i].to, String8(value)); in parseMetaData()
489 mMetaData.add(kMap[j].to, String8(value)); in parseMetaData()
509 mMetaData.add(METADATA_KEY_NUM_TRACKS, String8(tmp)); in parseMetaData()
514 mMetaData.add(METADATA_KEY_CAPTURE_FRAMERATE, String8(tmp)); in parseMetaData()
521 mMetaData.add(METADATA_KEY_EXIF_OFFSET, String8(tmp)); in parseMetaData()
[all …]
DStagefrightMetadataRetriever.h61 KeyedVector<int, String8> mMetaData; member
/frameworks/base/media/java/android/media/
DTimedMetaData.java36 private byte[] mMetaData; field in TimedMetaData
63 mMetaData = metaData; in TimedMetaData()
79 return mMetaData; in getMetaData()
89 mMetaData = new byte[parcel.readInt()]; in parseParcel()
90 parcel.readByteArray(mMetaData); in parseParcel()
/frameworks/av/media/libstagefright/foundation/
DMediaBuffer.cpp42 mMetaData(new MetaDataBase) { in MediaBuffer()
53 mMetaData(new MetaDataBase) { in MediaBuffer()
91 mMetaData(new MetaDataBase) { in MediaBuffer()
152 return *mMetaData; in meta_data()
156 mMetaData->clear(); in reset()
171 delete mMetaData; in ~MediaBuffer()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java574 private final RemoteViewsMetaData mMetaData = new RemoteViewsMetaData(); field in RemoteViewsAdapter.FixedSizeRemoteViewsCache
661 return mMetaData; in getMetaData()
675 synchronized (mMetaData) { in commitTemporaryMetaData()
676 mMetaData.set(mTemporaryMetaData); in commitTemporaryMetaData()
737 synchronized (mMetaData) { in queuePositionsToBePreloadedFromRequestedPosition()
738 count = mMetaData.count; in queuePositionsToBePreloadedFromRequestedPosition()
874 synchronized (mCache.mMetaData) { in RemoteViewsAdapter()
875 if (mCache.mMetaData.count > 0) { in RemoteViewsAdapter()
922 synchronized (mCache.mMetaData) { in saveRemoteViewsCache()
923 metaDataCount = mCache.mMetaData.count; in saveRemoteViewsCache()
[all …]
/frameworks/av/media/libmedia/
DIMediaSource.cpp111 mMetaData = MetaData::createFromParcel(reply); in getFormat()
112 return mMetaData; in getFormat()
225 sp<MetaData> mMetaData; member in android::BpMediaSource
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaBuffer.h185 MetaDataBase* mMetaData; variable