Lines Matching refs:element
93 virtual float ElementLocation(int32 element) in ElementLocation() argument
95 if (element < 0 || element >= fElementCount) { in ElementLocation()
100 return fElements[element].location; in ElementLocation()
103 virtual float ElementSize(int32 element) in ElementSize() argument
105 if (element < 0 || element >= fElementCount) { in ElementSize()
110 return fElements[element].size - 1; in ElementSize()
138 SimpleLayouter::AddConstraints(int32 element, int32 length, in AddConstraints() argument
141 if (element < 0 || element >= fElementCount) { in AddConstraints()
154 ElementInfo& info = fElements[element]; in AddConstraints()
164 SimpleLayouter::SetWeight(int32 element, float weight) in SetWeight() argument
166 if (element < 0 || element >= fElementCount) { in SetWeight()
171 fElements[element].weight = weight; in SetWeight()