Lines Matching defs:offset
88 public void setParameters(int range, int offset, int extent, boolean vertical) {
93 if (mRange != range || mOffset != offset || mExtent != extent) {
98 mOffset = offset;
128 int offset = Math.round((float) (size - length) * mOffset / (range - extent));
136 if (offset + length > size) {
137 offset = size - length;
140 drawThumb(canvas, r, offset, length, vertical);
165 protected void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) {
170 thumbRect.set(bounds.left, bounds.top + offset,
171 bounds.right, bounds.top + offset + length);
173 thumbRect.set(bounds.left + offset, bounds.top,
174 bounds.left + offset + length, bounds.bottom);
308 return "ScrollBarDrawable: range=" + mRange + " offset=" + mOffset +