Searched refs:midSize (Results 1 – 8 of 8) sorted by relevance
185 auto midSize = childSize / 2; in InitMouseAndPressEvent() local206 if (i != midSize) { in InitMouseAndPressEvent()1279 if (index == midSize) { in CalculateHotZone()1283 hotZoneHeight = index == midSize ? size_.Height() : 0; in CalculateHotZone()1285 if ((index == midSize + 1) || (index == midSize - 1)) { in CalculateHotZone()1290 if ((index == midSize + 1) || (index == midSize - 1)) { in CalculateHotZone()1292 …} else if ((index == midSize + HOT_ZONE_HEIGHT_CANDIDATE) || (index == midSize - HOT_ZONE_HEIGHT_C… in CalculateHotZone()1298 if ((index == midSize + 1) || (index == midSize - 1)) { in CalculateHotZone()1300 …} else if ((index == midSize + HOT_ZONE_HEIGHT_CANDIDATE) || (index == midSize - HOT_ZONE_HEIGHT_C… in CalculateHotZone()1321 auto midSize = childSize / MIDDLE_CHILD_INDEX; in AddHotZoneRectToText() local[all …]
329 …DimensionRect CalculateHotZone(int32_t index, int32_t midSize, float middleChildHeight, float othe…
255 auto midSize = childSize / 2; in InitMouseAndPressEvent() local277 if (i != midSize) { in InitMouseAndPressEvent()1428 if (index == midSize) { in CalculateHotZone()1432 hotZoneHeight = index == midSize ? size_.Height() : 0; in CalculateHotZone()1434 if ((index == midSize + 1) || (index == midSize - 1)) { in CalculateHotZone()1439 if ((index == midSize + 1) || (index == midSize - 1)) { in CalculateHotZone()1441 …} else if ((index == midSize + HOT_ZONE_HEIGHT_CANDIDATE) || (index == midSize - HOT_ZONE_HEIGHT_C… in CalculateHotZone()1447 if ((index == midSize + 1) || (index == midSize - 1)) { in CalculateHotZone()1449 …} else if ((index == midSize + HOT_ZONE_HEIGHT_CANDIDATE) || (index == midSize - HOT_ZONE_HEIGHT_C… in CalculateHotZone()1470 auto midSize = childSize / MIDDLE_CHILD_INDEX; in AddHotZoneRectToText() local[all …]
368 …DimensionRect CalculateHotZone(int32_t index, int32_t midSize, float middleChildHeight, float othe…
416 auto midSize = childSize / MIDDLE_OF_COUNTS; variable417 columnPattern_->optionProperties_[midSize].height = SECLECTED_TEXTNODE_HEIGHT;418 columnPattern_->optionProperties_[midSize - 1].height = OTHER_TEXTNODE_HEIGHT;428 auto childNode = AceType::DynamicCast<FrameNode>(columnNode_->GetChildAtIndex(midSize));
3459 auto midSize = childSize / MIDDLE_OF_COUNTS; variable3460 columnPattern_->optionProperties_[midSize].height = SECLECTED_TEXTNODE_HEIGHT;3461 columnPattern_->optionProperties_[midSize - 1].height = OTHER_TEXTNODE_HEIGHT;3471 auto childNode = AceType::DynamicCast<FrameNode>(columnNode_->GetChildAtIndex(midSize));3486 childNode = AceType::DynamicCast<FrameNode>(columnNode_->GetChildAtIndex(midSize - 1));3501 …childNode = AceType::DynamicCast<FrameNode>(columnNode_->GetChildAtIndex(midSize - MIDDLE_OF_COUNT…
274 auto midSize = childSize / 2; in InitMouseAndPressEvent() local275 middleChild = DynamicCast<FrameNode>(host->GetChildAtIndex(midSize)); in InitMouseAndPressEvent()296 if (i != midSize) { in InitMouseAndPressEvent()
2626 auto midSize = childSize / MIDDLE_OF_COUNTS; variable2627 columnPattern_->optionProperties_[midSize].height = SECLECTED_TEXTNODE_HEIGHT;2628 columnPattern_->optionProperties_[midSize - 1].height = OTHER_TEXTNODE_HEIGHT;2638 auto childNode = AceType::DynamicCast<FrameNode>(columnNode_->GetChildAtIndex(midSize));2653 childNode = AceType::DynamicCast<FrameNode>(columnNode_->GetChildAtIndex(midSize - 1));2668 …childNode = AceType::DynamicCast<FrameNode>(columnNode_->GetChildAtIndex(midSize - MIDDLE_OF_COUNT…