Home | History | Annotate | Download | only in views

Lines Matching refs:total

46 void SkScrollBarView::setTotal(unsigned total)
48 if ((int)total < 0)
49 total = 0;
51 if (fTotalLength != total)
53 fTotalLength = total;
63 if (dom.findS32(node, "total", &value))
115 int total = fTotalLength;
120 if (total <= 0 || shown <= 0 || shown >= total) // no bar to show
122 total = 1; // avoid divide-by-zero. should be done by skin/script
127 if (start + shown > total)
128 start = total - shown;
133 e.setScalar("_totalLength", SkIntToScalar(total));