Home
last modified time | relevance | path

Searched refs:HOT_ZONE_HEIGHT_CANDIDATE (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_pattern.cpp64 constexpr int32_t HOT_ZONE_HEIGHT_CANDIDATE = 2; variable
1284 … } else if (size_.Height() <= (middleChildHeight + HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight)) { in CalculateHotZone()
1292 …} else if ((index == midSize + HOT_ZONE_HEIGHT_CANDIDATE) || (index == midSize - HOT_ZONE_HEIGHT_C… in CalculateHotZone()
1293 …hotZoneHeight = (size_.Height() - middleChildHeight - HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight… in CalculateHotZone()
1295 …hotZoneOffsetY = (index == midSize - HOT_ZONE_HEIGHT_CANDIDATE) ? (otherChildHeight - hotZoneHeigh… in CalculateHotZone()
1300 …} else if ((index == midSize + HOT_ZONE_HEIGHT_CANDIDATE) || (index == midSize - HOT_ZONE_HEIGHT_C… in CalculateHotZone()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_pattern.cpp57 constexpr int32_t HOT_ZONE_HEIGHT_CANDIDATE = 2; variable
1433 … } else if (size_.Height() <= (middleChildHeight + HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight)) { in CalculateHotZone()
1441 …} else if ((index == midSize + HOT_ZONE_HEIGHT_CANDIDATE) || (index == midSize - HOT_ZONE_HEIGHT_C… in CalculateHotZone()
1442 …hotZoneHeight = (size_.Height() - middleChildHeight - HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight… in CalculateHotZone()
1444 …hotZoneOffsetY = (index == midSize - HOT_ZONE_HEIGHT_CANDIDATE) ? (otherChildHeight - hotZoneHeigh… in CalculateHotZone()
1449 …} else if ((index == midSize + HOT_ZONE_HEIGHT_CANDIDATE) || (index == midSize - HOT_ZONE_HEIGHT_C… in CalculateHotZone()