/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaPlayerMetadataParserTest.java | 38 private Metadata mMetadata = null; 44 mMetadata = new Metadata(); 54 assertFalse(mMetadata.parse(mParcel)); 61 assertTrue(mMetadata.parse(mParcel)); 171 assertTrue(mMetadata.has(Metadata.TITLE)); 172 assertTrue(mMetadata.has(Metadata.GENRE)); 173 assertTrue(mMetadata.has(Metadata.firstCustomId())); 174 assertFalse(mMetadata.has(Metadata.DRM_CRIPPLED)); 175 assertEquals(3, mMetadata.keySet().size()); 208 assertEquals(1, mMetadata.keySet().size()) [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardTransportControlView.java | 70 private Metadata mMetadata = new Metadata(); 103 if (mMetadata.bitmap != null) { 104 mMetadata.bitmap.recycle(); 106 mMetadata.bitmap = (Bitmap) msg.obj; 107 mAlbumArt.setImageBitmap(mMetadata.bitmap); 262 mMetadata.artist = getMdString(data, MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST); 263 mMetadata.trackTitle = getMdString(data, MediaMetadataRetriever.METADATA_KEY_TITLE); 264 mMetadata.albumTitle = getMdString(data, MediaMetadataRetriever.METADATA_KEY_ALBUM); 277 if (!TextUtils.isEmpty(mMetadata.trackTitle)) { 278 sb.append(mMetadata.trackTitle) [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteProvider.java | 60 private final ProviderMetadata mMetadata; 87 mMetadata = new ProviderMetadata(context.getPackageName()); 89 mMetadata = metadata; 111 return mMetadata;
|
MediaRouter.java | [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
TransportControlView.java | 74 private Metadata mMetadata = new Metadata(); 108 if (mMetadata.bitmap != null) { 109 mMetadata.bitmap.recycle(); 111 mMetadata.bitmap = (Bitmap) msg.obj; 112 mAlbumArt.setImageBitmap(mMetadata.bitmap); 270 mMetadata.artist = getMdString(data, MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST); 271 mMetadata.trackTitle = getMdString(data, MediaMetadataRetriever.METADATA_KEY_TITLE); 272 mMetadata.albumTitle = getMdString(data, MediaMetadataRetriever.METADATA_KEY_ALBUM); 285 if (!TextUtils.isEmpty(mMetadata.trackTitle)) { 286 sb.append(mMetadata.trackTitle) [all...] |
/frameworks/av/media/libmedia/ |
IMediaMetadataRetriever.cpp | 168 if (mMetadata.indexOfKey(keyCode) < 0) { 169 mMetadata.add(keyCode, value); 171 mMetadata.replaceValueFor(keyCode, value); 173 return mMetadata.valueFor(keyCode).string(); 180 KeyedVector<int, String8> mMetadata;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
Avrcp.java | 63 private Metadata mMetadata; 92 mMetadata = new Metadata(); 343 String oldMetadata = mMetadata.toString(); 344 mMetadata.artist = getMdString(data, MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST); 345 mMetadata.trackTitle = getMdString(data, MediaMetadataRetriever.METADATA_KEY_TITLE); 346 mMetadata.albumTitle = getMdString(data, MediaMetadataRetriever.METADATA_KEY_ALBUM); 347 if (!oldMetadata.equals(mMetadata.toString())) { 368 if (DEBUG) Log.v(TAG, "mMetadata=" + mMetadata.toString()); 452 attrStr = mMetadata.trackTitle [all...] |
/device/lge/mako/camera/ |
QCameraHWI_Preview_7x27A.cpp | 191 memset(&mHalCamCtrl->mMetadata, 0, sizeof(mHalCamCtrl->mMetadata)); 241 mHalCamCtrl->mMetadata.faces = mHalCamCtrl->mFace; 242 mHalCamCtrl->mMetadata.number_of_faces = roi.d.hdr.num_face_detected; 243 if(mHalCamCtrl->mMetadata.number_of_faces > MAX_ROI) 244 mHalCamCtrl->mMetadata.number_of_faces = MAX_ROI; 247 if (mHalCamCtrl->mMetadata.number_of_faces == 0) { 255 pcb(CAMERA_MSG_PREVIEW_METADATA, NULL, 0, &mHalCamCtrl->mMetadata, mHalCamCtrl->mCallbackCookie); 264 if (idx >= mHalCamCtrl->mMetadata.number_of_faces) { 266 ALOGE("%s: idx %d out of boundary %d", __func__, idx, mHalCamCtrl->mMetadata.number_of_faces) [all...] |
QCameraHWI_Preview.cpp | 243 memset(&mHalCamCtrl->mMetadata, 0, sizeof(mHalCamCtrl->mMetadata)); 362 memset(&mHalCamCtrl->mMetadata, 0, sizeof(mHalCamCtrl->mMetadata)); 417 mHalCamCtrl->mMetadata.faces = mHalCamCtrl->mFace; 418 mHalCamCtrl->mMetadata.number_of_faces = roi.d.hdr.num_face_detected; 419 if(mHalCamCtrl->mMetadata.number_of_faces > MAX_ROI) 420 mHalCamCtrl->mMetadata.number_of_faces = MAX_ROI; 423 if (mHalCamCtrl->mMetadata.number_of_faces == 0) { 431 pcb(CAMERA_MSG_PREVIEW_METADATA, data, 0, &mHalCamCtrl->mMetadata, mHalCamCtrl->mCallbackCookie) [all...] |
QCameraHWI.h | 840 camera_frame_metadata_t mMetadata;
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI_Preview.cpp | 235 memset(&mHalCamCtrl->mMetadata, 0, sizeof(mHalCamCtrl->mMetadata)); 348 memset(&mHalCamCtrl->mMetadata, 0, sizeof(mHalCamCtrl->mMetadata)); 396 mHalCamCtrl->mMetadata.faces = mHalCamCtrl->mFace; 397 mHalCamCtrl->mMetadata.number_of_faces = roi.d.hdr.num_face_detected; 398 if(mHalCamCtrl->mMetadata.number_of_faces > MAX_ROI) 399 mHalCamCtrl->mMetadata.number_of_faces = MAX_ROI; 402 if (mHalCamCtrl->mMetadata.number_of_faces == 0) { 410 pcb(CAMERA_MSG_PREVIEW_METADATA, NULL, 0, &mHalCamCtrl->mMetadata, mHalCamCtrl->mCallbackCookie) [all...] |
/frameworks/base/media/java/android/media/ |
RemoteControlClient.java | 554 mMetadata = new Bundle(mEditorMetadata); 589 editor.mEditorMetadata = new Bundle(mMetadata); [all...] |
/device/lge/mako/camera/QCamera/HAL/core/inc/ |
QCameraHWI.h | 820 camera_frame_metadata_t mMetadata;
|