Lines Matching refs:sizes
53 void InitFromSizes(int32* sizes) in InitFromSizes() argument
57 fLocations[i + 1] = fLocations[i] + sizes[i] + fSpacing; in InitFromSizes()
352 int32 sizes[fElementCount]; in Layout() local
353 if (!_Layout(size, sums, sizes)) { in Layout()
356 layoutInfo->InitFromSizes(sizes); in Layout()
402 ComplexLayouter::_Layout(int32 size, SumItem* sums, int32* sizes) in _Layout() argument
405 SimpleLayouter::DistributeSize(size, fWeights, sizes, fElementCount); in _Layout()
406 if (_SatisfiesConstraints(sizes)) { in _Layout()
413 realSizes[i] = sizes[i]; in _Layout()
451 sizes[i] = int32(roundedRealSum - previousSum); in _Layout()
454 TRACE("x[%ld] = %8.4f %4ld\n", i, values[i], sizes[i]); in _Layout()
457 return _SatisfiesConstraints(sizes); in _Layout()
521 ComplexLayouter::_SatisfiesConstraints(int32* sizes) const in _SatisfiesConstraints()
526 sumValues[i + 1] = sumValues[i] + sizes[i]; in _SatisfiesConstraints()