Searched refs:middleChildHeight (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_column_pattern.cpp | 1275 int32_t index, int32_t midSize, float middleChildHeight, float otherChildHeight) in CalculateHotZone() argument 1280 hotZoneHeight = middleChildHeight; in CalculateHotZone() 1282 if (size_.Height() <= middleChildHeight) { in CalculateHotZone() 1284 … } else if (size_.Height() <= (middleChildHeight + HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight)) { in CalculateHotZone() 1286 hotZoneHeight = (size_.Height() - middleChildHeight) / MIDDLE_CHILD_INDEX; in CalculateHotZone() 1289 … } else if (size_.Height() <= (middleChildHeight + HOT_ZONE_HEIGHT_DISAPPEAR * otherChildHeight)) { in CalculateHotZone() 1293 …hotZoneHeight = (size_.Height() - middleChildHeight - HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight… in CalculateHotZone() 1322 auto middleChildHeight = optionProperties_[midSize].height; in AddHotZoneRectToText() local 1327 … DimensionRect hotZoneRegion = CalculateHotZone(i, midSize, middleChildHeight, otherChildHeight); in AddHotZoneRectToText()
|
H A D | datepicker_column_pattern.h | 329 …DimensionRect CalculateHotZone(int32_t index, int32_t midSize, float middleChildHeight, float othe…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_column_pattern.cpp | 1424 int32_t index, int32_t midSize, float middleChildHeight, float otherChildHeight) in CalculateHotZone() argument 1429 hotZoneHeight = middleChildHeight; in CalculateHotZone() 1431 if (size_.Height() <= middleChildHeight) { in CalculateHotZone() 1433 … } else if (size_.Height() <= (middleChildHeight + HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight)) { in CalculateHotZone() 1435 hotZoneHeight = (size_.Height() - middleChildHeight) / MIDDLE_CHILD_INDEX; in CalculateHotZone() 1438 … } else if (size_.Height() <= (middleChildHeight + HOT_ZONE_HEIGHT_DISAPPEAR * otherChildHeight)) { in CalculateHotZone() 1442 …hotZoneHeight = (size_.Height() - middleChildHeight - HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight… in CalculateHotZone() 1471 auto middleChildHeight = optionProperties_[midSize].height; in AddHotZoneRectToText() local 1476 … DimensionRect hotZoneRegion = CalculateHotZone(i, midSize, middleChildHeight, otherChildHeight); in AddHotZoneRectToText()
|
H A D | timepicker_column_pattern.h | 368 …DimensionRect CalculateHotZone(int32_t index, int32_t midSize, float middleChildHeight, float othe…
|