void (SingleRowPassInfo data) { data.requiredLength += myTabs.isHorizontalTabs() ? data.insets.left + data.insets.right : data.insets.top + data.insets.bottom; for (TabInfo eachInfo : data.myVisibleInfos) { data.requiredLength += getRequiredLength(eachInfo); data.toLayout.add(eachInfo); } data.requiredLength += getStrategy().getAdditionalLength(); }