Lines Matching refs:availableSpace
2430 const int availableSpace = containerLogicalWidth - (logicalLeftValue + logicalWidthValue + logicalRight.calcValue(containerLogicalWidth) + bordersPlusPadding);
2435 if (availableSpace >= 0) {
2436 marginLogicalLeftValue = availableSpace / 2; // split the difference
2437 marginLogicalRightValue = availableSpace - marginLogicalLeftValue; // account for odd valued differences
2442 marginLogicalRightValue = availableSpace; // will be negative
2444 marginLogicalLeftValue = availableSpace; // will be negative
2451 marginLogicalLeftValue = availableSpace - marginLogicalRightValue;
2455 marginLogicalRightValue = availableSpace - marginLogicalLeftValue;
2463 logicalLeftValue = (availableSpace + logicalLeftValue) - marginLogicalLeftValue - marginLogicalRightValue;
2511 const int availableSpace = containerLogicalWidth - (marginLogicalLeftValue + marginLogicalRightValue + bordersPlusPadding);
2522 int availableWidth = availableSpace - logicalRightValue;
2524 logicalLeftValue = availableSpace - (logicalWidthValue + logicalRightValue);
2532 int availableWidth = availableSpace - logicalLeftValue;
2537 logicalLeftValue = availableSpace - (logicalWidthValue + logicalRight.calcValue(containerLogicalWidth));
2541 logicalWidthValue = availableSpace - (logicalLeftValue + logicalRight.calcValue(containerLogicalWidth));
2748 const int availableSpace = containerLogicalHeight - (logicalTopValue + logicalHeightValue + logicalBottom.calcValue(containerLogicalHeight) + bordersPlusPadding);
2754 marginBeforeValue = availableSpace / 2; // split the difference
2755 marginAfterValue = availableSpace - marginBeforeValue; // account for odd valued differences
2759 marginBeforeValue = availableSpace - marginAfterValue;
2763 marginAfterValue = availableSpace - marginBeforeValue;
2799 const int availableSpace = containerLogicalHeight - (marginBeforeValue + marginAfterValue + bordersPlusPadding);
2805 logicalTopValue = availableSpace - (logicalHeightValue + logicalBottom.calcValue(containerLogicalHeight));
2813 logicalTopValue = availableSpace - (logicalHeightValue + logicalBottom.calcValue(containerLogicalHeight));
2817 logicalHeightValue = max(0, availableSpace - (logicalTopValue + logicalBottom.calcValue(containerLogicalHeight)));
2865 const int availableSpace = containerLogicalWidth - logicalWidth();
2904 int difference = availableSpace - (logicalLeftValue + logicalRightValue);
2929 logicalLeftValue = availableSpace - (logicalRightValue + marginLogicalLeftAlias + marginLogicalRightAlias);
2936 logicalRightValue = availableSpace - (logicalLeftValue + marginLogicalLeftAlias + marginLogicalRightAlias);
2943 marginLogicalLeftAlias = availableSpace - (logicalLeftValue + logicalRightValue + marginLogicalRightAlias);
2950 marginLogicalRightAlias = availableSpace - (logicalLeftValue + logicalRightValue + marginLogicalLeftAlias);
3027 const int availableSpace = containerLogicalHeight - logicalHeight();
3064 int difference = availableSpace - (logicalTopValue + logicalBottomValue);
3079 logicalTopValue = availableSpace - (logicalBottomValue + marginBeforeAlias + marginAfterAlias);
3094 marginBeforeAlias = availableSpace - (logicalTopValue + logicalBottomValue + marginAfterAlias);
3101 marginAfterAlias = availableSpace - (logicalTopValue + logicalBottomValue + marginBeforeAlias);