Lines Matching refs:left

300  * expressed as a pair of <em>left</em> and <em>top</em> coordinates, and
307 * {@link #getLeft()} and {@link #getTop()}. The former returns the left, or X,
312 * right of the left edge of its direct parent.
350 * is expressed in pixels for the left, top, right and bottom parts of the view.
352 * pixels. For instance, a left padding of 2 will push the view's content by
353 * 2 pixels to the right of the left edge. Padding can be set using the
1030 * Use with {@link #focusSearch(int)}. Move focus to the left.
1835 * right-to-left direction.
2135 * Flag indicating that start/end padding has been resolved into left/right padding
2144 * Flag indicating that the start/end drawables has been resolved into left/right ones.
2157 // There are a couple of flags left in mPrivateFlags2
2695 * The amount of translation of the object away from its left property (post-layout).
2751 * The distance in pixels from the left edge of this view's parent
2752 * to the left edge of this view.
2758 * The distance in pixels from the left edge of this view's parent
2795 * The left padding in pixels, that is the distance in pixels between the
2796 * left edge of this view and the left edge of its content.
2890 * Cache initial left padding.
3114 * Position the scroll bar along the left edge.
3659 // left / right padding are used if defined (meaning here nothing to do). If they are not
3661 // start / end and resolve them as left / right (layout direction is not taken into account).
3674 // Jelly Bean MR1 and after case: if start/end defined, they will override any left/right
3675 // values defined. Otherwise, left /right values are used.
4427 rectangle.set((int) position.left, (int) position.top,
4955 outRect.set((int) (position.left + 0.5f), (int) (position.top + 0.5f),
5619 internalSetPadding(insets.left, insets.top, insets.right, insets.bottom);
5928 * Indicates whether or not this view's layout is right-to-left. This is resolved from
5931 * @return true if the layout is right-to-left.
7593 outRect.left += insets.left;
8574 * @param left The new value of the view's left property.
8578 * @param oldLeft The previous value of the view's left property.
8583 void onLayoutChange(View v, int left, int top, int right, int bottom,
8641 * Return the scrolled left position of this view. This is the left edge of
8643 * farther left, since those are outside of the frame of your view on
8646 * @return The left edge of the displayed part of your view, in pixels.
8693 outRect.left = mScrollX;
9534 * @return The left edge of this view, in pixels.
9542 * Sets the left position of this view relative to its parent. This method is meant to be called
9546 * @param left The bottom of this view, in pixels.
9548 public final void setLeft(int left) {
9549 if (left != mLeft) {
9557 if (left < mLeft) {
9558 minLeft = left;
9559 xLoc = left - mLeft;
9574 mLeft = left;
9576 mDisplayList.setLeft(left);
9665 * {@link #getLeft() left} property.
9677 * the x value passed in and the current {@link #getLeft() left} property.
9710 * The horizontal location of this view relative to its {@link #getLeft() left} position.
9714 * @return The horizontal position of this view relative to its left position, in pixels.
9722 * Sets the horizontal location of this view relative to its {@link #getLeft() left} position.
9726 * @param translationX The horizontal position of this view relative to its left position,
9806 outRect.set((int) tmpRect.left + mLeft, (int) tmpRect.top + mTop,
10278 r.set(dirty.left - scrollX, dirty.top - scrollY,
10291 * @param l the left position of the dirty region
10432 rect.set((int) (boundingRect.left - 0.5f),
10686 * @param left The left coordinate of the rectangle to invalidate.
10695 public void postInvalidate(int left, int top, int right, int bottom) {
10696 postInvalidateDelayed(0, left, top, right, bottom);
10730 * @param left The left coordinate of the rectangle to invalidate.
10739 public void postInvalidateDelayed(long delayMilliseconds, int left, int top,
10748 info.left = left;
10782 * @param left The left coordinate of the rectangle to invalidate.
10790 public void postInvalidateOnAnimation(int left, int top, int right, int bottom) {
10797 info.left = left;
10935 * Returns the strength, or intensity, of the left faded edge. The strength is
10942 * @return the intensity of the left fade as a float between 0.0f and 1.0f
11306 * @param direction Negative to check scrolling left, positive to check scrolling right.
11403 int left, top, right, bottom;
11417 left = scrollX + (mPaddingLeft & inside);
11420 onDrawHorizontalScrollBar(canvas, scrollBar, left, top, right, bottom);
11422 invalidate(left, top, right, bottom);
11443 left = scrollX + width - size - (mUserPaddingRight & inside);
11446 left = scrollX + (mUserPaddingLeft & inside);
11450 right = left + size;
11452 onDrawVerticalScrollBar(canvas, scrollBar, left, top, right, bottom);
11454 invalidate(left, top, right, bottom);
11777 // left / right or right / left depending on the resolved layout direction.
11778 // If start / end padding are not defined, use the left / right ones.
13090 * Amount by which to extend the left fading region. Called only when
13093 * @return The left padding offset in pixels.
13234 final int left = mLeft + (int) region.left;
13236 parent.invalidate(left, top, left + (int) (region.width() + .5f),
13744 int left = mScrollX + paddingLeft;
13745 int right = left + mRight - mLeft - mPaddingRight - paddingLeft;
13765 if (horizontalEdges && (left + length > right - length)) {
13766 length = (right - left) / 2;
13790 canvas.saveLayer(left, top, right, top + length, null, flags);
13794 canvas.saveLayer(left, bottom - length, right, bottom, null, flags);
13798 canvas.saveLayer(left, top, left + length, bottom, null, flags);
13821 matrix.postTranslate(left, top);
13823 canvas.drawRect(left, top, right, top + length, p);
13829 matrix.postTranslate(left, bottom);
13831 canvas.drawRect(left, bottom - length, right, bottom, p);
13837 matrix.postTranslate(left, top);
13839 canvas.drawRect(left, top, left + length, bottom, p);
14027 * @param left Left position, relative to parent
14032 protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
14040 * @param left Left position, relative to parent
14048 protected boolean setFrame(int left, int top, int right, int bottom) {
14052 Log.d("View", this + " View.setFrame(" + left + "," + top + ","
14056 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) {
14064 int newWidth = right - left;
14071 mLeft = left;
14143 invalidate(dirty.left + scrollX, dirty.top + scrollY,
14522 mUserPaddingRightInitial = padding.left;
14523 internalSetPadding(padding.right, padding.top, padding.left, padding.bottom);
14527 mUserPaddingLeftInitial = padding.left;
14529 internalSetPadding(padding.left, padding.top, padding.right, padding.bottom);
14613 * @param left the left padding in pixels
14618 public void setPadding(int left, int top, int right, int bottom) {
14624 mUserPaddingLeftInitial = left;
14627 internalSetPadding(left, top, right, bottom);
14633 protected void internalSetPadding(int left, int top, int right, int bottom) {
14634 mUserPaddingLeft = left;
14649 left += offset;
14658 left += offset;
14668 if (mPaddingLeft != left) {
14670 mPaddingLeft = left;
14748 * Returns the left padding of this view. If there are inset and enabled
14752 * @return the left padding in pixels
16410 if (db.left > 0) {
16411 //Log.i("VIEW", "Drawable left " + db.left + " > view 0");
16412 r.op(0, 0, db.left, h, Region.Op.UNION);
16512 final int left = -maxOverScrollX;
16521 } else if (newScrollX < left) {
16522 newScrollX = left;
17644 int left;