Lines Matching refs:width

34 // resulting locations and sizes. The "height for width" feature makes the
35 // height depend on the width, which makes things a bit more complicated.
45 // which additionally takes care of the "height for width" feature. Per layout
161 void DoHorizontalLayout(float width);
163 void InternalGetHeightForWidth(float width,
222 BLayoutContext* context, float width);
388 BTwoDimensionalLayout::GetHeightForWidth(float width, float* min, float* max,
396 width, outerSpacing), min, max, preferred);
518 //printf(" min: (%.1f, %.1f), max: (%.1f, %.1f)\n", min.width, min.height,
519 // max.width, max.height);
540 size.width = BLayoutUtils::AddDistances(size.width,
565 size.width = BLayoutUtils::SubtractDistances(size.width,
905 // height for width layouter yet. We create it and init it now.
913 // add the children's height for width constraints
925 // There is a height for width layouter and it has been initialized
926 // in the current layout context. So we just add the height for width
933 // update cached height for width info, if something changed
935 // get the height for width info
1088 DoHorizontalLayout(size.width);
1100 float width = hLayoutInfo->ElementRangeSize(itemDimensions.x,
1101 itemDimensions.width);
1104 return BRect(x, y, x + width, y + height);
1126 BTwoDimensionalLayout::LocalLayouter::DoHorizontalLayout(float width)
1130 || width != fHorizontalLayoutWidth) {
1131 _SetHorizontalLayoutContext(context, width);
1132 fHLayouter->Layout(width, this, context);
1139 BTwoDimensionalLayout::LocalLayouter::InternalGetHeightForWidth(float width,
1142 DoHorizontalLayout(width);
1263 itemDimensions.width,
1264 min.width,
1265 max.width,
1266 preferred.width);
1325 // add the children's height for width constraints
1335 itemDimensions.width),
1399 BLayoutContext* context, float width)
1411 fHorizontalLayoutWidth = width;