Lines Matching defs:offset

1972      * from showing, and the vertical offset for gravity, if any.
1981 * from showing, and the vertical offset for gravity, if any.
2964 * @return the horizontal offset of the shadow layer
2975 * @return the vertical offset of the shadow layer
5299 final int offset = getHorizontalOffsetForDrawables();
5300 final int leftOffset = isLayoutRtl ? 0 : offset;
5301 final int rightOffset = isLayoutRtl ? offset : 0 ;
5501 r.offset(paddingLeft, paddingTop);
5538 bounds.offset(getCompoundPaddingLeft(), voffset);
6961 * Move the point, specified by the offset, into the view if it is needed.
6964 public boolean bringPointIntoView(int offset) {
6966 mDeferScroll = offset;
6975 int line = layout.getLineForOffset(offset);
7010 final int x = (int)layout.getPrimaryHorizontal(offset, clamped);
7142 mTempRect.offset(mScrollX, mScrollY);
7153 * Move the cursor, if needed, so that it is at an offset that is visible
7251 int offset = getExtendedPaddingTop() - mScrollY;
7253 offset += getVerticalOffset(false);
7255 return offset;
7572 * @param start The offset of the start of the range of the text that was
8865 * Get the character offset closest to the specified absolute position. A typical use case is to
8870 * @return the character offset for the character whose position is closest to the specified
8876 final int offset = getOffsetAtCoordinate(line, x);
8877 return offset;
8914 final int offset = getOffsetForPosition(event.getX(), event.getY());
8915 Selection.setSelection((Spannable)mText, offset);
9034 * Moves the cursor to the specified offset position in text
9291 int offset, int cursorOpt, Paint p) {
9294 contextCount, dir, offset + mStart, cursorOpt);