Lines Matching defs:offset
3772 // padding, offset the scroll indicators to match our clip bounds.
5274 dirty.offset(location[CHILD_LEFT_INDEX] - mScrollX,
5399 dirty.offset(left - mScrollX, top - mScrollY);
5452 // search and offset up to the parent
5458 rect.offset(descendant.mLeft - descendant.mScrollX,
5477 rect.offset(descendant.mScrollX - descendant.mLeft,
5485 // now that we are up to this view, need to offset one more time
5489 rect.offset(descendant.mLeft - descendant.mScrollX,
5492 rect.offset(descendant.mScrollX - descendant.mLeft,
5503 * @param offset the number of pixels to offset
5507 public void offsetChildrenTopAndBottom(int offset) {
5514 v.mTop += offset;
5515 v.mBottom += offset;
5518 v.mRenderNode.offsetTopAndBottom(offset);
5529 public boolean getChildVisibleRect(View child, Rect r, android.graphics.Point offset) {
5530 return getChildVisibleRect(child, r, offset, false);
5540 View child, Rect r, android.graphics.Point offset, boolean forceParentCheck) {
5554 rect.offset(dx, dy);
5556 if (offset != null) {
5560 position[0] = offset.x;
5561 position[1] = offset.y;
5563 offset.x = Math.round(position[0]);
5564 offset.y = Math.round(position[1]);
5566 offset.x += dx;
5567 offset.y += dy;
5598 .getChildVisibleRect(this, r, offset, forceParentCheck);
5600 rectIsVisible = mParent.getChildVisibleRect(this, r, offset);