Home
last modified time | relevance | path

Searched refs:hotZoneHeight (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.cpp1277 float hotZoneHeight = 0.0f; in CalculateHotZone() local
1280 hotZoneHeight = middleChildHeight; in CalculateHotZone()
1283 hotZoneHeight = index == midSize ? size_.Height() : 0; in CalculateHotZone()
1286 hotZoneHeight = (size_.Height() - middleChildHeight) / MIDDLE_CHILD_INDEX; in CalculateHotZone()
1287 hotZoneOffsetY = (index == midSize - 1) ? (otherChildHeight - hotZoneHeight) : 0; in CalculateHotZone()
1291 hotZoneHeight = otherChildHeight; in CalculateHotZone()
1293hotZoneHeight = (size_.Height() - middleChildHeight - HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight… in CalculateHotZone()
1295 …eOffsetY = (index == midSize - HOT_ZONE_HEIGHT_CANDIDATE) ? (otherChildHeight - hotZoneHeight) : 0; in CalculateHotZone()
1299 hotZoneHeight = otherChildHeight; in CalculateHotZone()
1301 hotZoneHeight = otherChildHeight; in CalculateHotZone()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_pattern.cpp1426 float hotZoneHeight = 0.0f; in CalculateHotZone() local
1429 hotZoneHeight = middleChildHeight; in CalculateHotZone()
1432 hotZoneHeight = index == midSize ? size_.Height() : 0; in CalculateHotZone()
1435 hotZoneHeight = (size_.Height() - middleChildHeight) / MIDDLE_CHILD_INDEX; in CalculateHotZone()
1436 hotZoneOffsetY = (index == midSize - 1) ? (otherChildHeight - hotZoneHeight) : 0; in CalculateHotZone()
1440 hotZoneHeight = otherChildHeight; in CalculateHotZone()
1442hotZoneHeight = (size_.Height() - middleChildHeight - HOT_ZONE_HEIGHT_CANDIDATE * otherChildHeight… in CalculateHotZone()
1444 …eOffsetY = (index == midSize - HOT_ZONE_HEIGHT_CANDIDATE) ? (otherChildHeight - hotZoneHeight) : 0; in CalculateHotZone()
1448 hotZoneHeight = otherChildHeight; in CalculateHotZone()
1450 hotZoneHeight = otherChildHeight; in CalculateHotZone()
[all …]