Searched refs:x_max (Results 1 – 1 of 1) sorted by relevance
1225 …auto x_max = wrapperRect_.Right() - paddingEnd_ - menuSize.Width() - previewSize.Width() - targetS… in CheckHorizontalLayoutPreviewOffsetX() local1226 auto needAvoid = GreatNotEqual(offsetX, x_max) && LessNotEqual(offsetX, x_min); in CheckHorizontalLayoutPreviewOffsetX()1227 return needAvoid ? x_max : offsetX; in CheckHorizontalLayoutPreviewOffsetX()