1 
2 /*
3  * Copyright (C) 2024-2024 Huawei Device Co., Ltd.
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef FRAMEWORKS_SERVICES_MEDIA_MULTI_STAGES_CAPTURE_INCLUDE_STORY_COVER_INFO_COLUMN_H
18 #define FRAMEWORKS_SERVICES_MEDIA_MULTI_STAGES_CAPTURE_INCLUDE_STORY_COVER_INFO_COLUMN_H
19 
20 #include <string>
21 
22 namespace OHOS {
23 namespace Media {
24 // highlight cover info table name
25 const std::string HIGHLIGHT_COVER_INFO_TABLE = "tab_highlight_cover_info";
26 
27 // create highlight cover info table
28 const std::string RATIO = "ratio";
29 const std::string BACKGROUND = "background";
30 const std::string FOREGROUND = "foreground";
31 const std::string WORDART = "wordart";
32 const std::string IS_COVERED = "is_covered";
33 const std::string COLOR = "color";
34 const std::string RADIUS = "radius";
35 const std::string SATURATION = "saturation";
36 const std::string BRIGHTNESS = "brightness";
37 const std::string BACKGROUND_COLOR_TYPE = "background_color_type";
38 const std::string SHADOW_LEVEL = "shadow_level";
39 const std::string TITLE_SCALE_X = "title_scale_x";
40 const std::string TITLE_SCALE_Y = "title_scale_y";
41 const std::string TITLE_RECT_WIDTH = "title_rect_width";
42 const std::string TITLE_RECT_HEIGHT = "title_rect_height";
43 const std::string BACKGROUND_SCALE_X = "background_scale_x";
44 const std::string BACKGROUND_SCALE_Y = "background_scale_y";
45 const std::string BACKGROUND_RECT_WIDTH = "background_rect_width";
46 const std::string BACKGROUND_RECT_HEIGHT  = "background_rect_height";
47 const std::string LAYOUT_INDEX = "layout_index";
48 const std::string COVER_ALGO_VERSION = "cover_algo_version";
49 const std::string COVER_KEY = "cover_key";
50 const std::string COVER_SERVICE_VERSION = "cover_service_version";
51 
52 const std::string URI_HIGHLIGHT_COVER_INFO = MEDIALIBRARY_DATA_URI + "/" + HIGHLIGHT_COVER_INFO_TABLE;
53 } // namespace Media
54 } // namespace OHOS
55 #endif // FRAMEWORKS_SERVICES_MEDIA_MULTI_STAGES_CAPTURE_INCLUDE_STORY_COVER_INFO_COLUMN_H