/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_library_comm_napi.cpp | 51 } else if (cameraShotType == static_cast<int32_t>(CameraShotType::MOVING_PHOTO)) { in CreatePhotoAssetNapi() 52 fileAsset->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); in CreatePhotoAssetNapi()
|
H A D | media_asset_change_request_napi.cpp | 270 (fileAsset_->GetPhotoSubType() == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO) || in IsMovingPhoto() 537 if (subtype == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO) && in CheckCreateOption() 545 subtype != static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in CheckCreateOption() 1183 if (fileAsset->GetPhotoSubType() != static_cast<int32_t>(PhotoSubType::MOVING_PHOTO) && in JSSetEffectMode() 1191 fileAsset->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); in JSSetEffectMode()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_photo_asset_proxy.cpp | 47 {CameraShotType::MOVING_PHOTO, PhotoSubType::MOVING_PHOTO}, 73 if (cameraShotType_ == CameraShotType::MOVING_PHOTO && !isMovingPhotoVideoSaved_) { in ~PhotoAssetProxy() 153 if (cameraShotType_ == CameraShotType::MOVING_PHOTO) { in CreatePhotoAsset() 154 values.Put(PhotoColumn::PHOTO_SUBTYPE, static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); in CreatePhotoAsset()
|
H A D | moving_photo_file_utils.cpp | 794 return subtype == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO) || in IsMovingPhoto() 802 originalSubtype == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO); in IsGraffiti()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/native/c_api/ |
H A D | media_asset_helper_impl.cpp | 55 } else if (cameraShotType == static_cast<int32_t>(CameraShotType::MOVING_PHOTO)) { in GetMediaAsset() 56 fileAsset->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); in GetMediaAsset()
|
H A D | media_asset_impl.cpp | 38 {PhotoSubType::MOVING_PHOTO, MediaLibrary_MediaSubType::MEDIA_LIBRARY_MOVING_PHOTO},
|
H A D | media_asset_change_request_impl.cpp | 145 if ((fileAsset->GetPhotoSubType() == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) && in AddResourceWithUri() 239 return fileAsset->GetPhotoSubType() == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO); in IsMovingPhoto()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_photo_operations.cpp | 379 return photoSubType == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO) || in CheckOpenMovingPhoto() 979 if (subType != static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in UpdateIsTempAndDirty() 1762 } else if (photoSubType == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO) && in RevertMetadata() 2066 if (currentPhotoSubType == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in UpdateMovingPhotoSubtype() 2096 int32_t movingPhotoSubtype = static_cast<int32_t>(PhotoSubType::MOVING_PHOTO); in DoRevertEdit() 2192 if (subtype != static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in RevertMovingPhotoVideo() 2204 if (fileAsset->GetPhotoSubType() != static_cast<int32_t>(PhotoSubType::MOVING_PHOTO) && in IsNeedRevertEffectMode() 2287 if (subtype != static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in MoveCacheFile() 2327 if (subtype == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO) && isCreation) { in CheckCacheCmd() 2746 if (subtype == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in SubmitEditCacheExecute() [all …]
|
H A D | moving_photo_processor.cpp | 169 ->EqualTo(PhotoColumn::PHOTO_SUBTYPE, static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) in QueryMovingPhoto() 497 data.subtype = static_cast<int32_t>(PhotoSubType::MOVING_PHOTO); in ProcessLocalLivePhoto()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_scanner_db_test/src/ |
H A D | medialibrary_metadata_extractor_test.cpp | 62 data->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); 173 data->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO));
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_library_asset_helper_capi_test/src/ |
H A D | media_library_asset_helper_capi_test.cpp | 159 fileAsset->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); 213 fileAsset->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); 692 fileAsset->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); 729 fileAsset->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); 766 fileAsset->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO));
|
/ohos5.0/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/ |
H A D | media_photo_asset_proxy.h | 34 MOVING_PHOTO, // 动态照片 enumerator
|
H A D | userfile_manager_types.h | 135 MOVING_PHOTO, enumerator
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/utils/ |
H A D | enhancement_database_operations.cpp | 153 if (info->subtype == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in InsertCloudEnhancementImageInDb() 154 … assetInfo.PutInt(PhotoColumn::PHOTO_SUBTYPE, static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); in InsertCloudEnhancementImageInDb()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/operation/ |
H A D | photo_file_operation.cpp | 180 if (photoInfo.subtype != static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in FindVideoFilePath() 387 if (sourcePhotoInfo.subtype != static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in CopyPhotoRelatedVideoFile()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | ptp_media_sync_observer.cpp | 199 if (subtype == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in AddPhotoHandle() 229 if (subType == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in GetAddEditPhotoHandles()
|
/ohos5.0/docs/en/application-dev/media/medialibrary/ |
H A D | photoAccessHelper-movingphoto.md | 26 …ateassetrequest11) to create an asset change request with **PhotoSubtype** set to **MOVING_PHOTO**. 65 subtype: photoAccessHelper.PhotoSubtype.MOVING_PHOTO
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/ |
H A D | photos_restore.cpp | 184 return static_cast<int32_t>(PhotoSubType::MOVING_PHOTO); in FindSubtype()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
H A D | metadata_extractor.cpp | 73 return data->GetPhotoSubType() == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO) || in IsMovingPhoto() 652 videoData->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); in CombineMovingPhotoMetadata()
|
H A D | media_scanner.cpp | 427 data->SetPhotoSubType(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); in ParseLivePhoto() 465 if (data->GetPhotoSubType() == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO) || in IsFileNotChanged()
|
/ohos5.0/docs/zh-cn/application-dev/media/medialibrary/ |
H A D | photoAccessHelper-movingphoto.md | 65 subtype: photoAccessHelper.PhotoSubtype.MOVING_PHOTO
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_multistages_capture_test/src/ |
H A D | medialibrary_multistages_photo_capture_test.cpp | 695 bucket.PutInt(PhotoColumn::PHOTO_SUBTYPE, static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)); 745 bucket.PutInt(PhotoColumn::PHOTO_SUBTYPE, static_cast<int32_t>(PhotoSubType::MOVING_PHOTO));
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/enhancement_service/ |
H A D | enhancement_service_callback.cpp | 131 if (info->subtype == static_cast<int32_t>(PhotoSubType::MOVING_PHOTO)) { in SaveCloudEnhancementPhoto()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/deferred_processing/ |
H A D | multistages_capture_deferred_photo_proc_session_callback.cpp | 86 to_string(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO))); in UpdatePhotoQuality()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/ |
H A D | multistages_photo_capture_manager.cpp | 365 to_string(static_cast<int32_t>(PhotoSubType::MOVING_PHOTO))); in UpdatePictureQuality()
|