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
1048 * Use with {@link #focusSearch(int)}. Move focus to the left.
1845 * right-to-left direction.
2204 * Flag indicating that start/end padding has been resolved into left/right padding
2213 * Flag indicating that the start/end drawables has been resolved into left/right ones.
2233 // There are a couple of flags left in mPrivateFlags2
2879 * The amount of translation of the object away from its left property (post-layout).
2947 * The distance in pixels from the left edge of this view's parent
2948 * to the left edge of this view.
2954 * The distance in pixels from the left edge of this view's parent
2991 * The left padding in pixels, that is the distance in pixels between the
2992 * left edge of this view and the left edge of its content.
3086 * Cache initial left padding.
3105 * Cache if a left padding has been defined
3310 * Position the scroll bar along the left edge.
3893 // left / right padding are used if defined (meaning here nothing to do). If they are not
3895 // start / end and resolve them as left / right (layout direction is not taken into account).
3908 // Jelly Bean MR1 and after case: if start/end defined, they will override any left/right
3909 // values defined. Otherwise, left /right values are used.
4665 rectangle.set((int) position.left, (int) position.top,
4754 * after calling this method. Otherwise, the view hierarchy may be left in
5230 outRect.set((int) (position.left + 0.5f), (int) (position.top + 0.5f),
5917 mUserPaddingLeftInitial = localInsets.left;
5919 internalSetPadding(localInsets.left, localInsets.top,
5943 inoutInsets.left -= overscan.left;
6257 * Indicates whether or not this view's layout is right-to-left. This is resolved from
6260 * @return true if the layout is right-to-left.
8060 outRect.left += insets.left;
9066 * @param left The new value of the view's left property.
9070 * @param oldLeft The previous value of the view's left property.
9075 void onLayoutChange(View v, int left, int top, int right, int bottom,
9133 * Return the scrolled left position of this view. This is the left edge of
9135 * farther left, since those are outside of the frame of your view on
9138 * @return The left edge of the displayed part of your view, in pixels.
9185 outRect.left = mScrollX;
10089 * @return The left edge of this view, in pixels.
10097 * Sets the left position of this view relative to its parent. This method is meant to be called
10101 * @param left The bottom of this view, in pixels.
10103 public final void setLeft(int left) {
10104 if (left != mLeft) {
10112 if (left < mLeft) {
10113 minLeft = left;
10114 xLoc = left - mLeft;
10129 mLeft = left;
10131 mDisplayList.setLeft(left);
10220 * {@link #getLeft() left} property.
10232 * the x value passed in and the current {@link #getLeft() left} property.
10265 * The horizontal location of this view relative to its {@link #getLeft() left} position.
10269 * @return The horizontal position of this view relative to its left position, in pixels.
10277 * Sets the horizontal location of this view relative to its {@link #getLeft() left} position.
10281 * @param translationX The horizontal position of this view relative to its left position,
10360 outRect.set((int) tmpRect.left + mLeft, (int) tmpRect.top + mTop,
10834 r.set(dirty.left - scrollX, dirty.top - scrollY,
10847 * @param l the left position of the dirty region
10988 rect.set((int) Math.floor(boundingRect.left),
11244 * @param left The left coordinate of the rectangle to invalidate.
11253 public void postInvalidate(int left, int top, int right, int bottom) {
11254 postInvalidateDelayed(0, left, top, right, bottom);
11288 * @param left The left coordinate of the rectangle to invalidate.
11297 public void postInvalidateDelayed(long delayMilliseconds, int left, int top,
11306 info.left = left;
11340 * @param left The left coordinate of the rectangle to invalidate.
11348 public void postInvalidateOnAnimation(int left, int top, int right, int bottom) {
11355 info.left = left;
11493 * Returns the strength, or intensity, of the left faded edge. The strength is
11500 * @return the intensity of the left fade as a float between 0.0f and 1.0f
11864 * @param direction Negative to check scrolling left, positive to check scrolling right.
11961 int left;
11978 left = scrollX + (mPaddingLeft & inside);
11981 onDrawHorizontalScrollBar(canvas, scrollBar, left, top, right, bottom);
11983 invalidate(left, top, right, bottom);
12004 left = scrollX + width - size - (mUserPaddingRight & inside);
12007 left = scrollX + (mUserPaddingLeft & inside);
12011 right = left + size;
12013 onDrawVerticalScrollBar(canvas, scrollBar, left, top, right, bottom);
12015 invalidate(left, top, right, bottom);
12360 // left / right or right / left depending on the resolved layout direction.
12361 // If start / end padding are not defined, use the left / right ones.
12370 mUserPaddingLeftInitial = padding.left;
13810 * Amount by which to extend the left fading region. Called only when
13813 * @return The left padding offset in pixels.
13921 invalidate(Math.min(mClipBounds.left, clipBounds.left),
13996 final int left = mLeft + (int) region.left;
13998 parent.invalidate(left, top, left + (int) (region.width() + .5f),
14506 int left = mScrollX + paddingLeft;
14507 int right = left + mRight - mLeft - mPaddingRight - paddingLeft;
14527 if (horizontalEdges && (left + length > right - length)) {
14528 length = (right - left) / 2;
14552 canvas.saveLayer(left, top, right, top + length, null, flags);
14556 canvas.saveLayer(left, bottom - length, right, bottom, null, flags);
14560 canvas.saveLayer(left, top, left + length, bottom, null, flags);
14583 matrix.postTranslate(left, top);
14585 canvas.drawRect(left, top, right, top + length, p);
14591 matrix.postTranslate(left, bottom);
14593 canvas.drawRect(left, bottom - length, right, bottom, p);
14599 matrix.postTranslate(left, top);
14601 canvas.drawRect(left, top, left + length, bottom, p);
14770 private boolean setOpticalFrame(int left, int top, int right, int bottom) {
14775 left + parentInsets.left - childInsets.left,
14777 right + parentInsets.left + childInsets.right,
14843 * @param left Left position, relative to parent
14848 protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
14856 * @param left Left position, relative to parent
14864 protected boolean setFrame(int left, int top, int right, int bottom) {
14868 Log.d("View", this + " View.setFrame(" + left + "," + top + ","
14872 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) {
14880 int newWidth = right - left;
14887 mLeft = left;
14969 invalidate(dirty.left + scrollX, dirty.top + scrollY,
15362 mUserPaddingRightInitial = padding.left;
15363 internalSetPadding(padding.right, padding.top, padding.left, padding.bottom);
15367 mUserPaddingLeftInitial = padding.left;
15369 internalSetPadding(padding.left, padding.top, padding.right, padding.bottom);
15455 * @param left the left padding in pixels
15460 public void setPadding(int left, int top, int right, int bottom) {
15466 mUserPaddingLeftInitial = left;
15472 internalSetPadding(left, top, right, bottom);
15478 protected void internalSetPadding(int left, int top, int right, int bottom) {
15479 mUserPaddingLeft = left;
15494 left += offset;
15503 left += offset;
15513 if (mPaddingLeft != left) {
15515 mPaddingLeft = left;
15595 * Returns the left padding of this view. If there are inset and enabled
15599 * @return the left padding in pixels
16474 int oWidth = insets.left + insets.right;
16591 int opticalWidth = insets.left + insets.right;
17415 if (db.left > 0) {
17416 //Log.i("VIEW", "Drawable left " + db.left + " > view 0");
17417 r.op(0, 0, db.left, h, Region.Op.UNION);
17517 final int left = -maxOverScrollX;
17526 } else if (newScrollX < left) {
17527 newScrollX = left;
18712 int left;