Lines Matching defs:offset

2139      * from showing, and the vertical offset for gravity, if any.
2148 * from showing, and the vertical offset for gravity, if any.
3379 * @return the horizontal offset of the shadow layer
3390 * @return the vertical offset of the shadow layer
5720 final int offset = getHorizontalOffsetForDrawables();
5721 final int leftOffset = isLayoutRtl ? 0 : offset;
5722 final int rightOffset = isLayoutRtl ? offset : 0 ;
5921 r.offset(paddingLeft, paddingTop);
5958 bounds.offset(getCompoundPaddingLeft(), voffset);
6016 final int offset = getOffsetForPosition(x, y);
6017 final ClickableSpan[] clickables = ((Spannable) mText).getSpans(offset, offset,
7453 * Move the point, specified by the offset, into the view if it is needed.
7456 public boolean bringPointIntoView(int offset) {
7458 mDeferScroll = offset;
7467 int line = layout.getLineForOffset(offset);
7502 final int x = (int)layout.getPrimaryHorizontal(offset, clamped);
7634 mTempRect.offset(mScrollX, mScrollY);
7645 * Move the cursor, if needed, so that it is at an offset that is visible
7743 int offset = getExtendedPaddingTop() - mScrollY;
7745 offset += getVerticalOffset(false);
7747 return offset;
8075 * @param start The offset of the start of the range of the text that was
9692 * Get the character offset closest to the specified absolute position. A typical use case is to
9697 * @return the character offset for the character whose position is closest to the specified
9703 final int offset = getOffsetAtCoordinate(line, x);
9704 return offset;
9747 final int offset = getOffsetForPosition(event.getX(), event.getY());
9748 Selection.setSelection((Spannable)mText, offset);
9899 * Moves the cursor to the specified offset position in text
10186 int offset, int cursorOpt, Paint p) {
10189 contextCount, dir, offset + mStart, cursorOpt);