Home
last modified time | relevance | path

Searched refs:hiddenState (Results 1 - 6 of 6) sorted by relevance

/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dphoto_album_column.cpp200 void PhotoAlbumColumns::GetUserAlbumPredicates(const int32_t albumId, RdbPredicates &predicates, const bool hiddenState) in GetUserAlbumPredicates() argument
204 SetDefaultPredicatesCondition(predicates, 0, hiddenState, 0, false); in GetUserAlbumPredicates()
209 const bool hiddenState) in GetPortraitAlbumPredicates()
228 RdbPredicates &predicates, const bool hiddenState) in GetAnalysisAlbumPredicates()
233 SetDefaultPredicatesCondition(predicates, 0, hiddenState, 0, false); in GetAnalysisAlbumPredicates()
237 static void GetFavoritePredicates(RdbPredicates &predicates, const bool hiddenState) in GetFavoritePredicates() argument
243 SetDefaultPredicatesCondition(predicates, 0, hiddenState, 0, false); in GetFavoritePredicates()
248 static void GetVideoPredicates(RdbPredicates &predicates, const bool hiddenState) in GetVideoPredicates() argument
253 SetDefaultPredicatesCondition(predicates, 0, hiddenState, 0, false); in GetVideoPredicates()
279 static void GetScreenshotPredicates(RdbPredicates &predicates, const bool hiddenState) in GetScreenshotPredicates() argument
208 GetPortraitAlbumPredicates(const int32_t albumId, RdbPredicates &predicates, const bool hiddenState) GetPortraitAlbumPredicates() argument
227 GetAnalysisAlbumPredicates(const int32_t albumId, RdbPredicates &predicates, const bool hiddenState) GetAnalysisAlbumPredicates() argument
289 GetCameraPredicates(RdbPredicates &predicates, const bool hiddenState) GetCameraPredicates() argument
299 GetAllImagesPredicates(RdbPredicates &predicates, const bool hiddenState) GetAllImagesPredicates() argument
309 GetCloudEnhancementPredicates(RdbPredicates &predicates, const bool hiddenState) GetCloudEnhancementPredicates() argument
321 GetSourceAlbumPredicates(const int32_t albumId, RdbPredicates &predicates, const bool hiddenState) GetSourceAlbumPredicates() argument
330 GetSystemAlbumPredicates(const PhotoAlbumSubType subtype, RdbPredicates &predicates, const bool hiddenState) GetSystemAlbumPredicates() argument
[all...]
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/
H A Dphoto_album_column.h93 const bool hiddenState);
95 const bool hiddenState);
97 const bool hiddenState);
99 const bool hiddenState);
101 const bool hiddenState);
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/album_count_cover_test/src/
H A Dalbum_count_cover_test.cpp332 for (const auto hiddenState : HIDDEN_STATE) { in CheckUserAlbum()
333 auto album = QueryUserAlbumInfo(albumId, hiddenState); in CheckUserAlbum()
336 CheckAlbum(album, hiddenState); in CheckUserAlbum()
342 for (const auto hiddenState : HIDDEN_STATE) { in CheckSystemAlbum()
343 auto album = QuerySystemAlbumInfo(subtype, hiddenState); in CheckSystemAlbum()
346 CheckAlbum(album, hiddenState); in CheckSystemAlbum()
406 int32_t HideFileAsset(const unique_ptr<FileAsset> &fileAsset, bool hiddenState) in HideFileAsset() argument
412 values.Put(MediaColumn::MEDIA_HIDDEN, hiddenState ? 1 : 0); in HideFileAsset()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_rdb_utils.cpp288 const bool hiddenState, const function<int32_t(const shared_ptr<RdbStore> &rdbStore, in ForEachRow()
289 const shared_ptr<ResultSet> &albumResult, const bool hiddenState)> &func) in ForEachRow()
299 func(rdbStore, resultSet, hiddenState); in ForEachRow()
413 ValuesBucket &values, const bool hiddenState, PhotoAlbumSubType subtype) in SetCount()
415 const string &targetColumn = hiddenState ? PhotoAlbumColumns::HIDDEN_COUNT : PhotoAlbumColumns::ALBUM_COUNT; in SetCount()
428 if (hiddenState) { in SetCount()
456 ValuesBucket &values, const bool hiddenState, PhotoAlbumSubType subtype) in SetCover()
463 const string &targetColumn = hiddenState ? PhotoAlbumColumns::HIDDEN_COVER : PhotoAlbumColumns::ALBUM_COVER_URI; in SetCover()
475 NativeRdb::RdbPredicates &predicates, const bool hiddenState, const bool isUpdateAlbum = false) in GetAlbumPredicates()
491 predicates.SetWhereArgs({ to_string(GetAlbumId(albumResult)), to_string(hiddenState) }); in GetAlbumPredicates()
287 ForEachRow(const shared_ptr<RdbStore> &rdbStore, const shared_ptr<ResultSet> &resultSet, const bool hiddenState, const function<int32_t(const shared_ptr<RdbStore> &rdbStore, const shared_ptr<ResultSet> &albumResult, const bool hiddenState)> &func) ForEachRow() argument
412 SetCount(const shared_ptr<ResultSet> &fileResult, const shared_ptr<ResultSet> &albumResult, ValuesBucket &values, const bool hiddenState, PhotoAlbumSubType subtype) SetCount() argument
455 SetCover(const shared_ptr<ResultSet> &fileResult, const shared_ptr<ResultSet> &albumResult, ValuesBucket &values, const bool hiddenState, PhotoAlbumSubType subtype) SetCover() argument
474 GetAlbumPredicates(PhotoAlbumSubType subtype, const shared_ptr<ResultSet> &albumResult, NativeRdb::RdbPredicates &predicates, const bool hiddenState, const bool isUpdateAlbum = false) GetAlbumPredicates() argument
496 PhotoAlbumColumns::GetUserAlbumPredicates(GetAlbumId(albumResult), predicates, hiddenState); GetAlbumPredicates() local
498 PhotoAlbumColumns::GetPortraitAlbumPredicates(GetAlbumId(albumResult), predicates, hiddenState); GetAlbumPredicates() local
500 PhotoAlbumColumns::GetAnalysisAlbumPredicates(GetAlbumId(albumResult), predicates, hiddenState); GetAlbumPredicates() local
502 PhotoAlbumColumns::GetSourceAlbumPredicates(GetAlbumId(albumResult), predicates, hiddenState); GetAlbumPredicates() local
1044 SetUpdateValues(const shared_ptr<NativeRdb::RdbStore> &rdbStore, const shared_ptr<ResultSet> &albumResult, ValuesBucket &values, PhotoAlbumSubType subtype, const bool hiddenState) SetUpdateValues() argument
1114 UpdateUserAlbumIfNeeded(const shared_ptr<RdbStore> &rdbStore, const shared_ptr<ResultSet> &albumResult, const bool hiddenState) UpdateUserAlbumIfNeeded() argument
1178 UpdateAnalysisAlbumIfNeeded(const shared_ptr<RdbStore> &rdbStore, const shared_ptr<ResultSet> &albumResult, const bool hiddenState) UpdateAnalysisAlbumIfNeeded() argument
1208 UpdateSourceAlbumIfNeeded(const shared_ptr<RdbStore> &rdbStore, const shared_ptr<ResultSet> &albumResult, const bool hiddenState) UpdateSourceAlbumIfNeeded() argument
1239 UpdateSysAlbumIfNeeded(const shared_ptr<RdbStore> &rdbStore, const shared_ptr<ResultSet> &albumResult, const bool hiddenState) UpdateSysAlbumIfNeeded() argument
[all...]
H A Dmedialibrary_photo_operations.cpp936 int32_t hiddenState = 0; in GetHiddenState() local
937 ret = obj.GetInt(hiddenState); in GetHiddenState()
941 return hiddenState == 0 ? 0 : 1; in GetHiddenState()
944 static void SendHideNotify(vector<string> &notifyUris, const int32_t hiddenState) in SendHideNotify() argument
958 if (hiddenState > 0) { in SendHideNotify()
981 int32_t hiddenState = GetHiddenState(cmd.GetValueBucket()); in HidePhotos() local
982 if (hiddenState < 0) { in HidePhotos()
983 return hiddenState; in HidePhotos()
989 if (hiddenState != 0) { in HidePhotos()
995 values.Put(MediaColumn::MEDIA_HIDDEN, hiddenState); in HidePhotos()
[all...]
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_library_napi.cpp7766 bool hiddenState = false; in ParseArgsSetHidden() local
7767 CHECK_ARGS(env, MediaLibraryNapiUtils::GetParamBool(env, context->argv[PARAM1], hiddenState), in ParseArgsSetHidden()
7770 context->valuesBucket.Put(MediaColumn::MEDIA_HIDDEN, static_cast<int32_t>(hiddenState)); in ParseArgsSetHidden()

Completed in 36 milliseconds