Searched refs:scaledBubbleSpacing (Results 1 – 2 of 2) sorted by relevance
366 double scaledBubbleSpacing = NormalizeToPx(BUBBLE_SPACING); in InitArrowTopAndBottomPosition() local380 targetOffset_.GetY() - scaledBubbleSpacing - NormalizePercentToPx(margin_.Bottom(), true)); in InitArrowTopAndBottomPosition()382 …targetOffset_.GetY() + targetSize_.Height() + scaledBubbleSpacing + NormalizePercentToPx(margin_.T… in InitArrowTopAndBottomPosition()388 double scaledBubbleSpacing = NormalizeToPx(BUBBLE_SPACING); in GetChildPosition() local390 …targetOffset_.GetY() + targetSize_.Height() + scaledBubbleSpacing + NormalizePercentToPx(margin_.T… in GetChildPosition()392 bottomPosition += Offset(0.0, scaledBubbleSpacing); in GetChildPosition()395 …targetOffset_.GetY() - childSize.Height() - scaledBubbleSpacing - NormalizePercentToPx(margin_.Bot… in GetChildPosition()397 topPosition += Offset(0.0, -scaledBubbleSpacing); in GetChildPosition()
299 auto scaledBubbleSpacing = scaledBubbleSpacing_ * 2; in Measure() local315 … if (childWidth + targetOffset.GetX() + targetSize.Width() + scaledBubbleSpacing <= rootW && in Measure()316 targetOffset.GetX() - childWidth - scaledBubbleSpacing >= 0) { in Measure()319 constrainWidth = rootW - scaledBubbleSpacing; in Measure()323 … if (childHeight + targetOffset.GetY() + targetSize.Height() + scaledBubbleSpacing <= rootH && in Measure()324 targetOffset.GetY() - childHeight - scaledBubbleSpacing >= 0) { in Measure()327 …constrainHeight = std::max(rootH - targetOffset.GetY() - targetSize.Height() - scaledBubbleSpacing, in Measure()328 targetOffset.GetY() - scaledBubbleSpacing); in Measure()