Home
last modified time | relevance | path

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

/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dsystem_dialog_scheduler.cpp82 const int32_t UI_HALF = 2; member
255 position.offsetX = static_cast<int32_t>((width - position.width) / UI_HALF); in GetSelectorDialogLandscapePosition()
551 position.offsetX = (display->GetWidth() - position.width) / UI_HALF; in GetDialogPositionAndSize()
552 position.offsetY = (display->GetHeight() - position.height) / UI_HALF; in GetDialogPositionAndSize()
554 position.window_width = position.window_width / UI_HALF; in GetDialogPositionAndSize()
555 position.window_height = position.window_height / UI_HALF; in GetDialogPositionAndSize()
567 position.offsetX = (display->GetWidth() - position.width) / UI_HALF; in GetDialogPositionAndSize()
568 position.offsetY = (display->GetHeight() - position.height - UI_DEFAULT_BUTTOM_CLIP) / UI_HALF; in GetDialogPositionAndSize()
576 position.offsetX = (UI_DEFAULT_WIDTH - position.width) / UI_HALF; in GetDialogPositionAndSize()

Completed in 2 milliseconds