Searched refs:right (Results 126 - 150 of 664) sorted by path

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DAbsSpinner.java175 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight
213 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right;
223 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
H A DActionMenuView.java433 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
435 super.onLayout(changed, left, top, right, bottom);
445 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft();
493 final int midHorizontal = (right - left) / 2;
H A DActivityChooserView.java54 * The right button is an overflow action and provides an optimized menu
476 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
477 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
H A DAdapterView.java549 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1106 * and then alternates between moving up and moving down until 1) we find the right position, or
H A DAdapterViewAnimator.java760 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DCalendarViewLegacyDelegate.java1195 // The right edge of the selected day
1377 mTempRect.right = mSelectedLeft - 2;
1380 mTempRect.right = mSelectedLeft - 2;
1386 mTempRect.right = mShowWeekNumber ? mWidth - mWidth / mNumCells : mWidth;
1389 mTempRect.right = mWidth;
H A DCheckedTextView.java336 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
337 super.internalSetPadding(left, top, right, bottom);
403 final int right;
406 right = left + mCheckMarkWidth;
408 right = width - mBasePadding;
409 left = right - mCheckMarkWidth;
411 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
416 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
H A DCompoundButton.java422 final int right = isLayoutRtl() ? getWidth() : drawableWidth;
424 buttonDrawable.setBounds(left, top, right, bottom);
428 background.setHotspotBounds(left, top, right, bottom);
H A DDayPickerView.java213 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
224 final int width = right - left;
H A DEditor.java522 * The "25" is the distance between the point and the right edge
1068 * in the view. Returns false when the position is in the empty space of left/right of text.
1715 int right = mTextView.getWidth();
1724 right = (int) (max + 0.5f);
1730 right - left, bottom - top);
1748 blockDisplayList.setLeftTopRightBottom(left, top, right, bottom);
2224 * the beginning or the end of the text then its drawable edge is aligned with left or right of
2225 * the view boundary. If the drawable is null, horizontal parameter is aligned to left or right
2252 left = viewClippedWidth + scrollX - (drawableWidth - mTempRect.right);
2498 // cursor to the right clicke
[all...]
H A DExpandableListView.java300 * Resolve start/end indicator. start/end indicator always takes precedence over left/right
327 * left/right child indicator when defined.
414 // the left & right bounds
419 indicatorRect.right = (mChildIndicatorRight == CHILD_INDICATOR_INHERIT) ?
423 indicatorRect.right = mIndicatorRight;
428 indicatorRect.left = width - indicatorRect.right;
429 indicatorRect.right = width - temp;
432 indicatorRect.right -= mPaddingRight;
435 indicatorRect.right += mPaddingLeft;
441 if (indicatorRect.left != indicatorRect.right) {
1172 setChildIndicatorBounds(int left, int right) argument
1221 setIndicatorBounds(int left, int right) argument
[all...]
H A DFastScroller.java110 * Preview image resource IDs for left- and right-aligned layouts. See
195 /** Whether decorations should be laid out from right to left. */
585 bounds.right += mPreviewImage.getPaddingRight();
601 view.layout(bounds.left, bounds.top, bounds.right, bounds.bottom);
602 view.setPivotX(mLayoutFromRight ? bounds.right - bounds.left : 0);
618 margins.right = mPreviewImage.getPaddingRight();
650 marginRight = margins.right;
671 // Align to the left or right.
674 final int right;
676 right
[all...]
H A DFrameLayout.java125 mForegroundPaddingRight = padding.right;
260 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
261 layoutChildren(left, top, right, bottom, false /* no force left gravity */);
264 void layoutChildren(int left, int top, int right, int bottom, boolean forceLeftGravity) { argument
268 final int parentRight = right - left - getPaddingRightWithForeground();
H A DGallery.java181 * the children are ordered right to left.
231 // right overlaps it)
403 // If moved left, there will be empty space on the right
490 * to the right.
629 * moving to the right, so views are scrolling to the left. -1
638 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right;
848 * will either be the left or right edge of the view, depending on
851 * building from left to right)?
863 // Remember left and right edges of where views have been placed
891 * will either be the left or right edg
[all...]
H A DGridLayout.java129 * GridLayout's algorithms favour rows and columns that are closer to its <em>right</em>
204 * {@link android.view.View#getRight() right} properties.
922 int right = getWidth() - getPaddingRight() - insets.right;
937 drawLine(canvas, left, y, right, y, paint);
1107 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1110 int targetWidth = right - left;
2046 int left, int top, int right, int bottom,
2049 setMargins(left, top, right, bottom);
2873 * Indicates that a view should be aligned with the <em>right</e
2044 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]
H A DGridView.java333 nextLeft = getWidth() - mListPadding.right - columnWidth -
1049 widthSize = mColumnWidth + mListPadding.left + mListPadding.right;
1051 widthSize = mListPadding.left + mListPadding.right;
1056 int childWidth = widthSize - mListPadding.left - mListPadding.right;
1116 + mListPadding.left + mListPadding.right;
2002 // coming from right, must be on right edge
2011 // coming from bottom-right, need to be last in bottom row
H A DHorizontalScrollView.java867 * if leftFocus is true, or at the right of the bounds if leftFocus
902 * if leftFocus is true, or at the right of the bounds if
906 * @param right the right offset of the bounds in which a focusable must
911 private View findFocusableViewInBounds(boolean leftFocus, int left, int right) { argument
918 * left, and its right is above the bound's right. A partially
931 if (left < viewRight && viewLeft < right) {
938 (viewRight < right);
980 * method will scroll the view by one page left or right an
1057 scrollAndFocus(int direction, int left, int right) argument
[all...]
H A DImageView.java1491 return bounds.left <= 0 && bounds.top <= 0 && bounds.right >= getWidth()
1498 return boundsDst.left <= 0 && boundsDst.top <= 0 && boundsDst.right >= getWidth()
H A DLinearLayout.java995 // FIXME: this may not be right for something like wrapping text?
1413 // FIXME: this may not be right for something like wrapping text?
1509 * @param right
1512 void layoutVertical(int left, int top, int right, int bottom) { argument
1518 // Where right end of child should go
1519 final int width = right - left;
1614 * @param right
1617 void layoutHorizontal(int left, int top, int right, int bottom) { argument
1645 childLeft = mPaddingLeft + right - left - mTotalLength;
1650 childLeft = mPaddingLeft + (right
[all...]
H A DListPopupWindow.java509 mDropDownWidth = mTempRect.left + mTempRect.right + width;
1217 - (mTempRect.left + mTempRect.right),
1223 - (mTempRect.left + mTempRect.right),
H A DListView.java1220 widthSize = mListPadding.left + mListPadding.right + childWidth +
1252 mListPadding.left + mListPadding.right, p.width);
2045 mListPadding.left + mListPadding.right, p.width);
2782 mListPadding.left + mListPadding.right, p.width);
3344 // Only modify the top and bottom in the loop, we set the left and right here
3347 bounds.right = mRight - mLeft - mPaddingRight;
H A DMediaController.java186 public void onLayoutChange(View v, int left, int top, int right,
H A DNumberPicker.java774 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
776 super.onLayout(changed, left, top, right, bottom);
2598 int left, int top, int right, int bottom) {
2608 boundsInParent.set(left, top, right, bottom);
2620 String text, int left, int top, int right, int bottom) {
2631 boundsInParent.set(left, top, right, bottom);
2654 int right, int bottom) {
2676 boundsInParent.set(left, top, right, bottom);
2597 createAccessibiltyNodeInfoForInputText( int left, int top, int right, int bottom) argument
2619 createAccessibilityNodeInfoForVirtualButton(int virtualViewId, String text, int left, int top, int right, int bottom) argument
2653 createAccessibilityNodeInfoForNumberPicker(int left, int top, int right, int bottom) argument
H A DPopupWindow.java1543 width = displayFrame.right - displayFrame.left;
1554 // If we need to adjust for gravity RIGHT, align to the bottom-right
1573 displayFrame.right, false);
1597 screenLocation[0], displayFrame.left, displayFrame.right, mClipToScreen);
1693 final int right = outParams.x + width;
1694 if (right > displayFrameRight) {
1695 // The popup is too far right, move it back in.
1696 outParams.x -= right - displayFrameRight;
H A DProgressBar.java1690 dirty.right + scrollX, dirty.bottom + scrollY);
1708 int right = w;
1727 right = left + width;
1738 left = w - right;
1739 right = w - tempLeft;
1741 mIndeterminateDrawable.setBounds(left, top, right, bottom);
1745 mProgressDrawable.setBounds(0, 0, right, bottom);

Completed in 215 milliseconds

1234567891011>>