• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 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 
16 #ifndef FOUNDATION_ACE_FRAMEWORKS_CORE_COMPONENTS_BASE_CONSTANTS_H
17 #define FOUNDATION_ACE_FRAMEWORKS_CORE_COMPONENTS_BASE_CONSTANTS_H
18 
19 #include <cstdint>
20 
21 #include "frameworks/base/utils/macros.h"
22 
23 namespace OHOS::Ace {
24 
25 // base constants
26 extern const char CLASS_NAME[];
27 extern const char NAME[];
28 extern const char CHILD[];
29 
30 // common constants
31 extern const char DISABLED[];
32 extern const char WIDTH[];
33 extern const char HEIGHT[];
34 extern const char ALIGN[];
35 
36 // image constants
37 extern const char IMAGE_NAME[];
38 extern const char IMAGE_SRC[];
39 extern const char IMAGE_ALT[];
40 extern const char IMAGE_WIDTH[];
41 extern const char IMAGE_HEIGHT[];
42 extern const char IMAGE_ALIGNMENT[];
43 extern const char IMAGE_POSITION[];
44 extern const char IMAGE_POSITION_SIZE_X[];
45 extern const char IMAGE_POSITION_SIZE_Y[];
46 extern const char IMAGE_POSITION_VALUE_X[];
47 extern const char IMAGE_POSITION_VALUE_Y[];
48 extern const char IMAGE_SIZE[];
49 extern const char IMAGE_SIZE_VALUE[];
50 extern const char IMAGE_SIZE_TYPE[];
51 extern const char IMAGE_REPEAT[];
52 extern const char IMAGE_FIT[];
53 extern const char IMAGE_COLOR[];
54 extern const char IMAGE_ON_LOAD_SUCCESS[];
55 extern const char IMAGE_ON_LOAD_FAIL[];
56 extern const char IMAGE_ALT_BLANK[];
57 extern const uint32_t ALT_COLOR_GREY;
58 
59 // text constants
60 extern const char TEXT_NAME[];
61 extern const char TEXT_DATA[];
62 extern const char TEXT_DIRECTION[];
63 extern const char TEXT_COLOR[];
64 extern const char TEXT_DECORATION[];
65 extern const char TEXT_FONT_WEIGHT[];
66 extern const char TEXT_FONT_SIZE[];
67 extern const char TEXT_FONT_STYLE[];
68 extern const char TEXT_BASE_LINE[];
69 extern const char TEXT_FONT_FAMILIES[];
70 extern const char TEXT_MAX_LINES[];
71 extern const char TEXT_ALIGN[];
72 extern const char TEXT_OVERFLOW[];
73 extern const char TEXT_WORD_SPACING[];
74 extern const char TEXT_LINE_HEIGHT[];
75 extern const char TEXT_LETTER_SPACING[];
76 extern const char TEXT_STYLE[];
77 extern const char TEXT_SPAN_NAME[];
78 extern const char TEXT_ADAPT[];
79 extern const char TEXT_ADAPT_MIN_FONTSIZE[];
80 
81 // text style constants
82 extern const char TEXT_STYLE_NAME[];
83 
84 // textField constants
85 extern const char TEXT_FIELD_NAME[];
86 extern const char TEXT_FIELD_TYPE[];
87 extern const char OBSCURE_TEXT[];
88 extern const char TEXT_FIELD_ENABLED[];
89 extern const char TEXT_FIELD_MAX_LENGTH[];
90 extern const char TEXT_FIELD_MAX_LINES[];
91 extern const char TEXT_FIELD_AUTO_FOCUS[];
92 extern const char TEXT_FIELD_ACTION_LABEL[];
93 extern const char TEXT_FIELD_ACTION[];
94 extern const char CURSOR_COLOR[];
95 extern const char TEXT_FIELD_PLACEHOLDER[];
96 extern const char TEXT_FIELD_PLACEHOLDER_COLOR[];
97 extern const char TEXT_FIELD_EXTEND[];
98 extern const char TEXT_FIELD_ICON_IMAGE[];
99 // events
100 extern const char TEXT_FIELD_ON_TEXT_CHANGE[];
101 extern const char TEXT_FIELD_ON_FINISH_INPUT[];
102 extern const char TEXT_FIELD_ON_TAP[];
103 
104 // color constants
105 extern const char COLOR[];
106 extern const char COLOR_NAME[];
107 extern const char COLOR_VALUE[];
108 extern const char COLOR_RED[];
109 extern const char COLOR_GREEN[];
110 extern const char COLOR_BLUE[];
111 extern const char COLOR_ALPHA[];
112 extern const char COLOR_OPACITY[];
113 
114 // shadow constants
115 extern const char SHADOW[];
116 extern const char OFFSET[];
117 extern const char HORIZONTAL_OFFSET[];
118 extern const char VERTICAL_OFFSET[];
119 extern const char RADIUS[];
120 extern const char SPREAD[];
121 extern const char ELEVATION[];
122 
123 // compose constants
124 extern const char COMPOSE_NAME[];
125 extern const char COMPOSE_ID[];
126 extern const char COMPOSE_DATA[];
127 
128 // box constants
129 extern const char BOX_NAME[];
130 extern const char BOX_BACK_DECORATION[];
131 extern const char BOX_FRONT_DECORATION[];
132 
133 // flex constants
134 extern const char COLUMN_NAME[];
135 extern const char ROW_NAME[];
136 extern const char MAIN_AXIS_ALIGN[];
137 extern const char CROSS_AXIS_ALIGN[];
138 extern const char MAIN_AXIS_SIZE[];
139 
140 // flex item constants
141 extern const char FLEX_ITEM_NAME[];
142 extern const char FLEX_GROW[];
143 extern const char FLEX_SHRINK[];
144 extern const char FLEX_BASIS[];
145 
146 // stack constants
147 extern const char STACK_NAME[];
148 extern const char STACK_ALIGNMENT[];
149 extern const char STACK_FIT[];
150 extern const char STACK_OVERFLOW[];
151 extern const char STACK_MAIN_STACK_SIZE[];
152 
153 // positioned constants
154 extern const char POSITIONED_NAME[];
155 extern const char POSITIONED_LEFT[];
156 extern const char POSITIONED_RIGHT[];
157 extern const char POSITIONED_HEIGHT[];
158 extern const char POSITIONED_WIDTH[];
159 extern const char POSITIONED_TOP[];
160 extern const char POSITIONED_BOTTOM[];
161 
162 // list constants
163 extern const char LIST_NAME[];
164 extern const char LIST_COUNT[];
165 extern const char LIST_EVENT_REQUEST_ITEM[];
166 extern const char LIST_DIRECTION[];
167 extern const char LIST_CACHED_COUNT[];
168 extern const char LIST_BEGIN_INDEX[];
169 extern const char LIST_END_INDEX[];
170 extern const char LIST_REPEATED_LENGTH[];
171 extern const char LIST_INDEX_OFFSET[];
172 extern const char LIST_SCROLL_PAGE[];
173 extern const char LIST_POSITION[];
174 // list item constants
175 extern const char LIST_ITEM_NAME[];
176 extern const char LIST_ITEM_TYPE[];
177 // edge effect
178 extern const char EDGE_EFFECT[];
179 extern const char FADE_COLOR[];
180 // grid constants
181 extern const char GRID_NAME[];
182 extern const char GRID_WIDTH[];
183 extern const char GRID_HEIGHT[];
184 extern const char GRID_ITEM_COUNT[];
185 extern const char GRID_INITIAL_ITEM[];
186 extern const char GRID_COLUMN_COUNT[];
187 extern const char GRID_COLUMN_EXTENT[];
188 extern const char GRID_EVENT_REQUEST_ITEM[];
189 extern const char GRID_SCROLL_PAGE[];
190 extern const char GRID_DIRECTION[];
191 extern const char GRID_ALIGN[];
192 extern const char GRID_CACHED_COUNT[];
193 extern const char GRID_ITEM_NAME[];
194 extern const char GRID_COLUMN_SPAN[];
195 extern const char GRID_ROW_SPAN[];
196 extern const char GRID_ROW_COUNT[];
197 extern const char GRID_ROW_INDEX[];
198 extern const char GRID_COLUMN_INDEX[];
199 extern const char GRID_LAYOUT_NAME[];
200 extern const char GRID_LAYOUT_ITEM_NAME[];
201 extern const int32_t DEFAULT_DIRECTION; // FlexDirection::COLUMN
202 extern const int32_t DEFAULT_ALIGN;     // FlexAlign::STRETCH
203 ACE_EXPORT extern const int32_t DEFAULT_COLUMN_COUNT;
204 ACE_EXPORT extern const int32_t DEFAULT_COLUMN_EXTENT;
205 extern const int32_t DEFAULT_COLUMN_SPAN;
206 extern const int32_t DEFAULT_ITEM_COUNT;
207 extern const int32_t DEFAULT_INITIAL_ITEM;
208 extern const int32_t DEFAULT_CACHED_COUNT;
209 ACE_EXPORT extern const double DEFAULT_GRID_WIDTH;
210 ACE_EXPORT extern const double DEFAULT_GRID_HEIGHT;
211 // scrollBar
212 extern const char SCROLL_BAR_DISPLAY_MODE[];
213 extern const char SCROLL_BAR_SHAPE_MODE[];
214 
215 // edge constants
216 extern const char PADDING_NAME[];
217 extern const char PADDING[];
218 extern const char MARGIN[];
219 extern const char EDGE_NAME[];
220 extern const char EDGE_VALUE[];
221 extern const char EDGE_LEFT[];
222 extern const char EDGE_TOP[];
223 extern const char EDGE_RIGHT[];
224 extern const char EDGE_BOTTOM[];
225 
226 // border constants
227 extern const char BORDER_NAME[];
228 extern const char BORDER_VALUE[];
229 extern const char BORDER_LEFT[];
230 extern const char BORDER_TOP[];
231 extern const char BORDER_RIGHT[];
232 extern const char BORDER_BOTTOM[];
233 extern const char BORDER_RADIUS_VALUE[];
234 extern const char BORDER_TOP_LEFT[];
235 extern const char BORDER_TOP_RIGHT[];
236 extern const char BORDER_BOTTOM_LEFT[];
237 extern const char BORDER_BOTTOM_RIGHT[];
238 
239 // borderEdge constants
240 extern const char BORDER_EDGE_NAME[];
241 extern const char BORDER_EDGE_WIDTH[];
242 extern const char BORDER_EDGE_COLOR[];
243 extern const char BORDER_EDGE_STYLE[];
244 
245 // radius constants
246 extern const char RADIUS_NAME[];
247 extern const char RADIUS_VALUE[];
248 extern const char RADIUS_X[];
249 extern const char RADIUS_Y[];
250 
251 // decoration constants
252 extern const char DECORATION_NAME[];
253 extern const char SHADOW_LIST[];
254 extern const char BACKGROUND_IMAGE[];
255 extern const char BACKGROUND_COLOR[];
256 extern const char DECORATION_BORDER[];
257 extern const char DECORATION_PADDING[];
258 
259 // backgroundImage constants
260 extern const char BACKGROUND_IMAGE_NAME[];
261 extern const char BACKGROUND_SRC[];
262 
263 // gradient constants
264 extern const char GRADIENT_NAME[];
265 extern const char GRADIENT_DIRECTION[];
266 extern const char GRADIENT_REPEAT[];
267 extern const char GRADIENT_ANGLE[];
268 extern const char GRADIENT_COLOR_LIST[];
269 extern const char GRADIENT_DIMENSION[];
270 extern const char GRADIENT_DIMENSION_VALUE[];
271 extern const char GRADIENT_DIMENSION_UNIT[];
272 extern const char GRADIENT_COLOR[];
273 extern const char GRADIENT_HAS_VALUE[];
274 
275 // align constants
276 extern const char ALIGN_NAME[];
277 extern const char HORIZONTAL[];
278 extern const char VERTICAL[];
279 extern const char HORIZONTAL_VALUE_LEFT[];
280 extern const char HORIZONTAL_VALUE_CENTER[];
281 extern const char HORIZONTAL_VALUE_RIGHT[];
282 extern const char VERTICAL_VALUE_TOP[];
283 extern const char VERTICAL_VALUE_CENTER[];
284 extern const char VERTICAL_VALUE_BOTTOM[];
285 
286 // tween constants
287 extern const char TWEEN_NAME[];
288 extern const char DURATION[];
289 extern const char DELAY[];
290 extern const char REVERSE[];
291 extern const char ITERATION[];
292 extern const char FILL_MODE[];
293 extern const char CURVE[];
294 extern const char TWEEN_OPTION[];
295 extern const char OPTION_SCALE[];
296 extern const char OPTION_SCALE_X[];
297 extern const char OPTION_SCALE_Y[];
298 extern const char OPTION_TRANSLATE[];
299 extern const char OPTION_TRANSLATE_X[];
300 extern const char OPTION_TRANSLATE_Y[];
301 extern const char OPTION_ROTATE_Z[];
302 extern const char OPTION_ROTATE_X[];
303 extern const char OPTION_ROTATE_Y[];
304 
305 // slider constants
306 extern const char SLIDER_NAME[];
307 extern const char VALUE[];
308 extern const char SLIDER_MIN[];
309 extern const char SLIDER_MAX[];
310 extern const char SLIDER_STEP[];
311 extern const char SLIDER_SELECTED_COLOR[];
312 extern const char SLIDER_BAR_BACKGROUND_COLOR[];
313 extern const char SLIDER_BLOCK_COLOR[];
314 
315 // swiper constants
316 extern const char SWIPER_NAME[];
317 extern const char SWIPER_ON_CHANGED[];
318 extern const char SWIPER_INDEX[];
319 extern const char SWIPER_SHOW_INDICATOR[];
320 extern const char SWIPER_DURATION[];
321 extern const char SWIPER_LOOP[];
322 extern const char SWIPER_AUTO_PLAY[];
323 extern const char SWIPER_AUTO_PLAY_INTERVAL[];
324 extern const char SWIPER_IS_VERTICAL[];
325 extern const char SWIPER_INDICATOR_COLOR[];
326 extern const char SWIPER_INDICATOR_SELECTED_COLOR[];
327 extern const char SWIPER_INDICATOR_SIZE[];
328 extern const char SWIPER_INDICATOR_SELECTED_SIZE[];
329 extern const char SWIPER_INDICATOR_TOP[];
330 extern const char SWIPER_INDICATOR_LEFT[];
331 extern const char SWIPER_INDICATOR_BOTTOM[];
332 extern const char SWIPER_INDICATOR_RIGHT[];
333 extern const char ON_MOVE_END_ID[];
334 
335 // button constants
336 extern const char BUTTON_NAME[];
337 extern const char BUTTON_WIDTH[];
338 extern const char BUTTON_HEIGHT[];
339 extern const char BUTTON_RECT_RADIUS[];
340 extern const char BUTTON_TYPE[];
341 extern const char BUTTON_DISABLED_STATE[];
342 extern const char BUTTON_AUTO_FOCUS[];
343 extern const char BUTTON_BACKGROUND_COLOR[];
344 extern const char BUTTON_CLICKED_COLOR[];
345 extern const char BUTTON_DISABLED_COLOR[];
346 extern const char BUTTON_FOCUS_COLOR[];
347 extern const char BUTTON_CLICKED_EVENT_ID[];
348 extern const char BUTTON_BORDER[];
349 extern const char BUTTON_SHADOW[];
350 
351 // raw event components.
352 extern const char TOUCH_LISTENER_NAME[];
353 extern const char ON_TOUCH_DOWN_EVENT[];
354 extern const char ON_TOUCH_MOVE_EVENT[];
355 extern const char ON_TOUCH_UP_EVENT[];
356 extern const char ON_TOUCH_CANCEL_EVENT[];
357 
358 // gesture event components.
359 extern const char GESTURE_LISTENER_NAME[];
360 extern const char ON_CLICK_EVENT[];
361 extern const char ON_LONG_PRESS_EVENT[];
362 extern const char ON_HORIZONTAL_DRAG_START_EVENT[];
363 extern const char ON_HORIZONTAL_DRAG_UPDATE_EVENT[];
364 extern const char ON_HORIZONTAL_DRAG_END_EVENT[];
365 extern const char ON_HORIZONTAL_DRAG_CANCEL_EVENT[];
366 extern const char ON_VERTICAL_DRAG_START_EVENT[];
367 extern const char ON_VERTICAL_DRAG_UPDATE_EVENT[];
368 extern const char ON_VERTICAL_DRAG_END_EVENT[];
369 extern const char ON_VERTICAL_DRAG_CANCEL_EVENT[];
370 extern const char ON_FREE_DRAG_START_EVENT[];
371 extern const char ON_FREE_DRAG_UPDATE_EVENT[];
372 extern const char ON_FREE_DRAG_END_EVENT[];
373 extern const char ON_FREE_DRAG_CANCEL_EVENT[];
374 
375 // focusable components
376 extern const char FOCUSABLE_NAME[];
377 extern const char ON_FOCUS_EVENT[];
378 extern const char ON_BLUR_EVENT[];
379 extern const char ON_KEY_EVENT[];
380 extern const char BOX_STYLE[];
381 extern const char FOCUSED_BOX_STYLE[];
382 extern const char AUTO_FOCUSED[];
383 
384 // texture constants
385 extern const char TEXTURE_NAME[];
386 extern const char TEXTURE_SRC_ID[];
387 extern const char TEXTURE_SRC_WIDTH[];
388 extern const char TEXTURE_SRC_HEIGHT[];
389 extern const char TEXTURE_FIT[];
390 
391 // display constants
392 extern const char DISPLAY_NAME[];
393 extern const char DISPLAY_VISIBLE[];
394 extern const char DISPLAY_OPACITY[];
395 
396 // tab constants
397 extern const char TAB_BAR_NAME[];
398 extern const char TAB_CONTENT_NAME[];
399 extern const char TAB_NAME[];
400 extern const char TAB_TABS[];
401 extern const char TAB_INDEX[];
402 extern const char TAB_IS_VERTICAL[];
403 extern const char TAB_CONTROLLER_ID[];
404 extern const char TAB_INDICATOR[];
405 extern const char TAB_INDICATOR_WIDTH[];
406 extern const char TAB_CONTENT_ON_CHANGE[];
407 extern const char TAB_CONTENT_SCROLLABEL[];
408 extern const char TAB_INDICATOR_COLOR[];
409 extern const char TAB_INDICATOR_PADDING[];
410 extern const char TAB_INDICATOR_SIZE[];
411 extern const char TAB_LABEL_PADDING[];
412 extern const char TAB_MODE[];
413 extern const char TAB_ITEM_TEXT[];
414 extern const char TAB_ITEM_ICON[];
415 
416 // dialog constants
417 extern const char DIALOG_NAME[];
418 extern const char DIALOG_TITLE[];
419 extern const char DIALOG_TITLE_PADDING[];
420 extern const char DIALOG_CONTENT[];
421 extern const char DIALOG_CONTENT_PADDING[];
422 extern const char DIALOG_BACKGROUND_COLOR[];
423 extern const char DIALOG_ACTIONS[];
424 extern const char DIALOG_AUTO_CANCEL[];
425 
426 // scroll constants
427 extern const char SCROLL_NAME[];
428 extern const char SCROLL_DIRECTION[];
429 extern const char SCROLL_POSITION[];
430 extern const char SCROLL_PADDING[];
431 extern const char SCROLL_PAGE[];
432 
433 // progress constants
434 extern const char PROGRESS_NAME[];
435 extern const char PROGRESS_SELECT_COLOR[];
436 extern const char PROGRESS_CACHED_COLOR[];
437 extern const char PROGRESS_BACKGROUND_COLOR[];
438 extern const char PROGRESS_VALUE[];
439 extern const char PROGRESS_CACHED_VALUE[];
440 extern const char PROGRESS_MAX[];
441 extern const char PROGRESS_MIN[];
442 extern const char PROGRESS_THICKNESS[];
443 extern const char PROGRESS_TYPE[];
444 
445 // transform constants
446 extern const char TRANSFORM_NAME[];
447 extern const char SCALE_VALUE[];
448 extern const char ANGLE_VALUE[];
449 extern const char ORIGIN[];
450 extern const char TRANSLATE[];
451 extern const char SCALE[];
452 extern const char ROTATE[];
453 extern const char PARAM[];
454 extern const char PARAM_X[];
455 extern const char PARAM_Y[];
456 extern const char PARAM_Z[];
457 extern const char TRANSFORM[];
458 extern const char CENTER[];
459 
460 // wrap constants
461 extern const char WRAP_NAME[];
462 extern const char DIRECTION[];
463 extern const char SPACING[];
464 extern const char CONTENT_SPACING[];
465 extern const char ALIGNMENT[];
466 extern const char MAIN_ALIGNMENT[];
467 extern const char CROSS_ALIGNMENT[];
468 
469 // checkable constants
470 extern const char CHECKBOX_NAME[];
471 extern const char SWITCH_NAME[];
472 extern const char RADIO_NAME[];
473 extern const char CHECKABLE_VALUE[];
474 extern const char RADIO_GROUP_VALUE[];
475 extern const char CHECKABLE_ON_CHANGED_EVENT[];
476 extern const char CHECKABLE_POINT_COLOR[];
477 extern const char CHECKABLE_ACTIVE_COLOR[];
478 extern const char CHECKABLE_INACTIVE_COLOR[];
479 extern const char CHECKABLE_FOCUS_COLOR[];
480 
481 // popup constants
482 extern const char POPUP_NAME[];
483 extern const char POPUP_COMPOSED_ID[];
484 extern const char POPUP_COMPOSED_NAME[];
485 extern const char POPUP_PLACEMENT[];
486 extern const char POPUP_MASK_COLOR[];
487 extern const char POPUP_ON_VISIBILITY_CHANGE[];
488 
489 // marquee constants
490 extern const char MARQUEE_NAME[];
491 extern const char MARQUEE_VALUE[];
492 extern const char MARQUEE_DIRECTION[];
493 extern const char MARQUEE_DIRECTION_LEFT[];
494 extern const char MARQUEE_DIRECTION_RIGHT[];
495 extern const char MARQUEE_SCROLL_AMOUNT[];
496 extern const char MARQUEE_LOOP[];
497 extern const char MARQUEE_BOUNCE[];
498 extern const char MARQUEE_FINISH[];
499 extern const char MARQUEE_START[];
500 
501 // rating constants
502 extern const char RATING_NAME[];
503 extern const char RATING_SCORE[];
504 extern const char RATING_FOREGROUND_SRC[];
505 extern const char RATING_SECONDARY_SRC[];
506 extern const char RATING_BACKGROUND_SRC[];
507 extern const char STEP_SIZE[];
508 extern const char STAR_NUM[];
509 extern const char RATING_WIDTH[];
510 extern const char RATING_HEIGHT[];
511 extern const char RATING_HORIZONTAL_PADDING[];
512 extern const char RATING_VERTICAL_PADDING[];
513 extern const char RATING_INDICATOR[];
514 extern const char RATING_ON_CHANGE[];
515 extern const int32_t DEFAULT_RATING_STAR_NUM;
516 extern const int32_t DEFAULT_INDICATOR_VALUE;
517 extern const int32_t DEFAULT_NO_INDICATOR_VALUE;
518 extern const uint32_t RATING_FOCUS_BOARD_COLOR;
519 extern const double DEFAULT_RATING_SCORE;
520 extern const double DEFAULT_RATING_WIDTH;
521 extern const double DEFAULT_RATING_HEIGHT;
522 extern const double DEFAULT_RATING_STEP_SIZE;
523 extern const double DEFAULT_RATING_HORIZONTAL_PADDING;
524 extern const double DEFAULT_RATING_VERTICAL_PADDING;
525 
526 // loading progress constants
527 extern const char LOADING_PROGRESS_NAME[];
528 extern const char DIAMETER[];
529 
530 // video constants
531 extern const char VIDEO_NAME[];
532 extern const char VIDEO_SRC[];
533 extern const char VIDEO_AUTOPLAY[];
534 extern const char VIDEO_POSTER[];
535 extern const char VIDEO_CONTROLS[];
536 extern const char VIDEO_MUTED[];
537 extern const char VIDEO_FIT[];
538 extern const char VIDEO_PREPARED_EVENT_ID[];
539 extern const char VIDEO_START_EVENT_ID[];
540 extern const char VIDEO_PAUSE_EVENT_ID[];
541 extern const char VIDEO_FINISH_EVENT_ID[];
542 extern const char VIDEO_ERROR_EVENT_ID[];
543 extern const char VIDEO_SEEKING_EVENT_ID[];
544 extern const char VIDEO_SEEKED_EVENT_ID[];
545 extern const char VIDEO_TIMEUPDATE_EVENT_ID[];
546 extern const char VIDEO_FULLSCREENCHANGE_EVENT_ID[];
547 
548 // select constants
549 extern const char SELECT_NAME[];
550 extern const char SELECT_DISABLED[];
551 extern const char SELECT_SELECTED_COLOR[];
552 extern const char SELECT_CLICKED_COLOR[];
553 extern const char SELECT_DISABLED_COLOR[];
554 extern const char SELECT_ON_CHANGED[];
555 extern const char SELECT_TIP_TEXT[];
556 extern const char SELECT_OPTION_SIZE[];
557 extern const char SELECT_OPTIONS[];
558 extern const char SELECT_OPTION_ICON[];
559 extern const char SELECT_OPTION_VALUE[];
560 extern const char SELECT_OPTION_TEXT[];
561 extern const char SELECT_OPTION_SELECTED[];
562 extern const uint32_t SELECT_DEFAULT_OPTION_SIZE;
563 ACE_EXPORT extern const uint32_t SELECT_INVALID_INDEX;
564 
565 // clip constants
566 extern const char CLIP_NAME[];
567 
568 // divider constants
569 extern const char DIVIDER_NAME[];
570 extern const char DIVIDER_STROKE_WIDTH[];
571 extern const char DIVIDER_COLOR[];
572 extern const char DIVIDER_VERTICAL[];
573 
574 // columnSplit constants
575 extern const double DEFAULT_SPLIT_HEIGHT;
576 
577 // animator constants
578 extern const char START[];
579 extern const char PAUSE[];
580 extern const char STOP[];
581 extern const char RESUME[];
582 extern const char CANCEL[];
583 
584 } // namespace OHOS::Ace
585 
586 #endif // FOUNDATION_ACE_FRAMEWORKS_CORE_COMPONENTS_BASE_CONSTANTS_H
587