Lines Matching refs:count
96 int32 count;
98 _Compute(rect, center, count, maxCount, step);
100 for (int32 i = 0; i < count; i++) {
101 _SetColor(view, percent, 0, i, count);
102 _DrawBow(view, i, center, count, step);
154 int32 count;
156 _Compute(Bounds(), center, count, fMax, step);
158 for (int32 i = 0; i < count; i++) {
159 _SetColor(this, fPercent, fPhase, i, count);
160 if (step == kMinStep && _IsDisabled(fPercent, i, count))
163 _DrawBow(this, i, center, count, step);
183 int32 count;
185 _Compute(Bounds(), center, count, fMax, step);
194 RadioView::_Compute(const BRect& bounds, BPoint& center, int32& count,
201 count = (int32)(size / kMinStep);
204 count = max;
212 int32 count, float step)
228 int32 count)
230 if (_IsDisabled(percent, index, count)) {
233 } else if (phase == 0 || phase % count != index) {
244 RadioView::_IsDisabled(int32 percent, int32 index, int32 count)
246 return percent < 100 * index / count;