Lines Matching full:total
53 void SkScrollBarView::setTotal(unsigned total) in setTotal() argument
55 if ((int)total < 0) in setTotal()
56 total = 0; in setTotal()
58 if (fTotalLength != total) in setTotal()
60 fTotalLength = total; in setTotal()
70 if (dom.findS32(node, "total", &value)) in onInflate()
122 int total = fTotalLength; in adjust() local
127 if (total <= 0 || shown <= 0 || shown >= total) // no bar to show in adjust()
129 total = 1; // avoid divide-by-zero. should be done by skin/script in adjust()
134 if (start + shown > total) in adjust()
135 start = total - shown; in adjust()
140 e.setScalar("_totalLength", SkIntToScalar(total)); in adjust()