Lines Matching defs:offset

379  * Padding can be used to offset the content of the view by a specific amount of
568 * offset as well as mechanisms for drawing scrollbars. See
3349 * The offset, in pixels, by which the content of this view is scrolled
3356 * The offset, in pixels, by which the content of this view is scrolled
5214 final int offset = computeVerticalScrollOffset();
5219 extent, range, offset);
5239 final int offset = computeHorizontalScrollOffset();
5244 extent, range, offset);
6016 position.offset(child.mLeft - child.getScrollX(), child.mTop -child.getScrollY());
6573 position.offset(mLeft, mTop);
6579 position.offset(-parentView.mScrollX, -parentView.mScrollY);
6592 position.offset(parentView.mLeft, parentView.mTop);
6599 position.offset(0, -viewRootImpl.mCurScrollY);
6602 position.offset(mAttachInfo.mWindowLeft, mAttachInfo.mWindowTop);
7056 Point offset = mAttachInfo.mPoint;
7057 if (!getGlobalVisibleRect(visibleRect, offset)) {
7062 visibleRect.offset(-offset.x, -offset.y);
10984 final int offset = computeVerticalScrollOffset();
10990 bounds.height(), thumbLength, extent, range, offset);
11013 final int offset = computeHorizontalScrollOffset();
11019 bounds.width(), thumbLength, extent, range, offset);
13070 * coordinates (without taking possible View rotations into account), offset
13071 * it by -globalOffset (e.g. r.offset(-globalOffset.x, -globalOffset.y)).
13099 final Point offset = mAttachInfo != null ? mAttachInfo.mPoint : new Point();
13100 if (getGlobalVisibleRect(r, offset)) {
13101 r.offset(-offset.x, -offset.y); // make r local
13110 * @param offset the number of pixels to offset the view by
13112 public void offsetTopAndBottom(int offset) {
13113 if (offset != 0) {
13125 if (offset < 0) {
13126 minTop = mTop + offset;
13128 yLoc = offset;
13131 maxBottom = mBottom + offset;
13142 mTop += offset;
13143 mBottom += offset;
13144 mRenderNode.offsetTopAndBottom(offset);
13161 * @param offset the number of pixels to offset the view by
13163 public void offsetLeftAndRight(int offset) {
13164 if (offset != 0) {
13175 if (offset < 0) {
13176 minLeft = mLeft + offset;
13180 maxRight = mRight + offset;
13190 mLeft += offset;
13191 mRight += offset;
13192 mRenderNode.offsetLeftAndRight(offset);
14495 * <p>Compute the horizontal offset of the horizontal scrollbar's thumb
14503 * <p>The default offset is the scroll offset of this view.</p>
14505 * @return the horizontal offset of the scrollbar's thumb
14556 * <p>Compute the vertical offset of the vertical scrollbar's thumb
14564 * <p>The default offset is the scroll offset of this view.</p>
14566 * @return the vertical offset of the scrollbar's thumb
14604 final int offset = computeHorizontalScrollOffset();
14608 return offset > 0;
14610 return offset < range - 1;
14621 final int offset = computeVerticalScrollOffset();
14625 return offset > 0;
14627 return offset < range - 1;
16475 * @return True if padding offset must be applied, false otherwise.
16492 * @return The left padding offset in pixels.
16506 * @return The right padding offset in pixels.
16520 * @return The top padding offset in pixels.
16534 * @return The bottom padding offset in pixels.
18648 final int offset = (viewFlags & SCROLLBARS_INSET_MASK) == 0
18653 left += offset;
18655 right += offset;
18659 right += offset;
18662 left += offset;
19599 * <p>Return the offset of the widget's text baseline from the widget's top
19603 * @return the offset of the baseline within the widget's bounds or -1
20678 * Starts a move from {startX, startY}, the amount of the movement will be the offset
21113 * @param offsetInWindow Optional. If not null, on return this will contain the offset
21162 * @param offsetInWindow Optional. If not null, on return this will contain the offset