• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16export enum MenuLevel {
17	MENU_FIRST_LEVEL_BY_TYPE = 1,
18	MENU_SECOND_LEVEL_BY_FOLD = 2,
19	MENU_THIRD_LEVEL_HAS_PIC = 3,
20	MENU_THIRD_LEVEL_HAS_DETAIL = 4,
21}
22
23export enum MediaType {
24	MEDIA_TYPE_FILE = 1,
25	MEDIA_TYPE_IMAGE = 3,
26	MEDIA_TYPE_VIDEO = 4,
27	MEDIA_TYPE_AUDIO = 5,
28	MEDIA_TYPE_ALBUM = 8
29}
30
31export enum MediaName {
32	FILE = 'file',
33	IMAGE = 'image',
34	VIDEO = 'video',
35	AUDIO = 'audio',
36	FILE_TYPE = "fileType"
37}
38
39export enum GridItemSize {
40	GRID_ITEM_HEIGHT = 126,
41	GRID_ITEM_WIDTH = 96,
42	GRID_ITEM_COLUMNS_GAP = 8,
43	GRID_ITEM_ROWS_GAP = 8,
44}
45
46export enum TerminateReason {
47	SUCCESS = 0,
48	NO_ACTION = -1,
49}
50