Home
last modified time | relevance | path

Searched refs:otherChildHeight (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_pattern.cpp1275 int32_t index, int32_t midSize, float middleChildHeight, float otherChildHeight) in CalculateHotZone() argument
1284 … } else if (size_.Height() <= (middleChildHeight + HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight)) { in CalculateHotZone()
1287 hotZoneOffsetY = (index == midSize - 1) ? (otherChildHeight - hotZoneHeight) : 0; in CalculateHotZone()
1289 … } else if (size_.Height() <= (middleChildHeight + HOT_ZONE_HEIGHT_DISAPPEAR * otherChildHeight)) { in CalculateHotZone()
1291 hotZoneHeight = otherChildHeight; in CalculateHotZone()
1293 …tZoneHeight = (size_.Height() - middleChildHeight - HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight) / in CalculateHotZone()
1295 …hotZoneOffsetY = (index == midSize - HOT_ZONE_HEIGHT_CANDIDATE) ? (otherChildHeight - hotZoneHeigh… in CalculateHotZone()
1299 hotZoneHeight = otherChildHeight; in CalculateHotZone()
1301 hotZoneHeight = otherChildHeight; in CalculateHotZone()
1323 auto otherChildHeight = optionProperties_[midSize - 1].height; in AddHotZoneRectToText() local
[all …]
H A Ddatepicker_column_pattern.h329 … CalculateHotZone(int32_t index, int32_t midSize, float middleChildHeight, float otherChildHeight);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_pattern.cpp1424 int32_t index, int32_t midSize, float middleChildHeight, float otherChildHeight) in CalculateHotZone() argument
1433 … } else if (size_.Height() <= (middleChildHeight + HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight)) { in CalculateHotZone()
1436 hotZoneOffsetY = (index == midSize - 1) ? (otherChildHeight - hotZoneHeight) : 0; in CalculateHotZone()
1438 … } else if (size_.Height() <= (middleChildHeight + HOT_ZONE_HEIGHT_DISAPPEAR * otherChildHeight)) { in CalculateHotZone()
1440 hotZoneHeight = otherChildHeight; in CalculateHotZone()
1442 …tZoneHeight = (size_.Height() - middleChildHeight - HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight) / in CalculateHotZone()
1444 …hotZoneOffsetY = (index == midSize - HOT_ZONE_HEIGHT_CANDIDATE) ? (otherChildHeight - hotZoneHeigh… in CalculateHotZone()
1448 hotZoneHeight = otherChildHeight; in CalculateHotZone()
1450 hotZoneHeight = otherChildHeight; in CalculateHotZone()
1472 auto otherChildHeight = optionProperties_[midSize - 1].height; in AddHotZoneRectToText() local
[all …]
H A Dtimepicker_column_pattern.h368 … CalculateHotZone(int32_t index, int32_t midSize, float middleChildHeight, float otherChildHeight);