Searched refs:right (Results 1 - 25 of 554) sorted by last modified time

1234567891011>>

/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java206 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
207 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java258 boolean bottom, boolean right) {
269 if (right && lp.rightMargin != insets.right) {
271 lp.rightMargin = insets.right;
417 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
421 final int parentRight = right - left - getPaddingRight();
257 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
H A DActivityChooserView.java57 * The right button is an overflow action and provides an optimized menu
453 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
454 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
H A DContentFrameLayout.java71 public void setDecorPadding(int left, int top, int right, int bottom) { argument
72 mDecorPadding.set(left, top, right, bottom);
97 w -= (mDecorPadding.left + mDecorPadding.right);
141 min -= (mDecorPadding.left + mDecorPadding.right);
H A DDrawableUtils.java78 case "right":
79 result.right = field.getInt(insets);
H A DListViewCompat.java88 mSelectionRightPadding = padding.right;
211 selectorRect.right += mSelectionRightPadding;
372 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
374 super.setHotspotBounds(left, top, right, bottom);
H A DRtlSpacingHelper.java21 * RtlSpacingHelper manages the relationship between left/right and start/end for views
69 public void setAbsolute(int left, int right) { argument
72 if (right != UNDEFINED) mRight = mExplicitRight = right;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuView.java437 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
439 super.onLayout(changed, left, top, right, bottom);
449 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft();
496 final int midHorizontal = (right - left) / 2;
H A DAppCompatSpinner.java560 width += mTempRect.left + mTempRect.right;
728 hOffset = ViewUtils.isLayoutRtl(AppCompatSpinner.this) ? mTempRect.right
731 mTempRect.left = mTempRect.right = 0;
741 .getDisplayMetrics().widthPixels - mTempRect.left - mTempRect.right;
H A DLinearLayoutCompat.java899 // FIXME: this may not be right for something like wrapping text?
1322 // FIXME: this may not be right for something like wrapping text?
1418 * @param right
1421 void layoutVertical(int left, int top, int right, int bottom) { argument
1427 // Where right end of child should go
1428 final int width = right - left;
1513 * @param right
1516 void layoutHorizontal(int left, int top, int right, int bottom) { argument
1544 childLeft = getPaddingLeft() + right - left - mTotalLength;
1549 childLeft = getPaddingLeft() + (right
[all...]
H A DListPopupWindow.java511 mDropDownWidth = mTempRect.left + mTempRect.right + width;
1186 (mTempRect.left + mTempRect.right),
1192 (mTempRect.left + mTempRect.right),
H A DSearchView.java392 public void onLayoutChange(View v, int left, int top, int right, int bottom,
582 * @param submit whether to submit the query right now or only update the contents of
1019 // Next, check for left/right moves, which we use to "return" the
1023 // left key, at end if right key
1024 // TODO: Reverse left/right for right-to-left languages, e.g.
1282 + dropDownPadding.right + iconOffset - anchorPadding;
H A DSwitchCompat.java540 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right;
566 // Adjust left and right padding to ensure there's enough room for the
569 int paddingRight = padding.right;
573 paddingRight = Math.max(paddingRight, inset.right);
627 mTempRect.left + mTempRect.right + mTouchSlop;
800 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
801 super.onLayout(changed, left, top, right, bottom);
815 opticalInsetRight = Math.max(0, insets.right - trackPadding.right);
891 if (thumbInsets.right > paddin
[all...]
H A DToolbar.java992 * @param contentInsetRight Content inset for the toolbar's right edge
1024 * Get the right content inset for this toolbar.
1030 * @return The right content inset for this toolbar
1392 int right = width - paddingRight;
1402 right = layoutChildRight(mNavButtonView, right, collapsingMargins,
1412 right = layoutChildRight(mCollapseButtonView, right, collapsingMargins,
1425 right = layoutChildRight(mMenuView, right, collapsingMargin
1630 layoutChildRight(View child, int right, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
H A DRoundRectDrawable.java78 mBoundsF.set(bounds.left, bounds.top, bounds.right, bounds.bottom);
/frameworks/support/v7/cardview/base/android/support/v7/widget/
H A DCardViewDelegate.java32 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DCardViewEclairMr1.java61 bounds.right - cornerRadius + 1f, bounds.top + cornerRadius,
64 bounds.bottom - cornerRadius + 1f, bounds.right - cornerRadius + 1f,
69 bounds.right, bounds.bottom - cornerRadius + 1f, paint);
97 shadowPadding.right, shadowPadding.bottom);
H A DRoundRectDrawableWithShadow.java235 canvas.translate(mCardBounds.right - inset, mCardBounds.bottom - inset);
256 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset);
306 bounds.right - mRawMaxShadowSize, bounds.bottom - verticalOffset);
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardView.java110 public void setPadding(int left, int top, int right, int bottom) { argument
161 * @param right The right padding in pixels
169 public void setContentPadding(int left, int top, int right, int bottom) { argument
170 mContentPadding.set(left, top, right, bottom);
216 mContentPadding.right = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingRight,
247 * Returns the inner padding before the Card's right edge
249 * @return the inner padding before the Card's right edge
252 return mContentPadding.right;
300 public void setShadowPadding(int left, int top, int right, in argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java127 * GridLayout's algorithms favour rows and columns that are closer to its <em>right</em>
192 * {@link android.view.View#getRight() right} properties.
1001 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1004 int targetWidth = right - left;
1933 int left, int top, int right, int bottom,
1936 setMargins(left, top, right, bottom);
2791 * Indicates that a view should be aligned with the <em>right</em>
1931 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/test/
H A DGridLayoutTest.java53 int right = getActivity().findViewById(R.id.rightView).getWidth();
56 assertTrue("right item should get some width", right > 0);
58 assertTrue("left view should be almost two times right view " + left + " vs " + right,
59 Math.abs(right * 2 - left) < 2);
66 int right = getActivity().findViewById(R.id.rightView).getWidth();
69 assertTrue("right item should get some width", right > 0);
71 assertTrue("left view should be almost two times right vie
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteButton.java476 final int right = getWidth() - getPaddingRight();
482 final int drawLeft = left + (right - left - drawWidth) / 2;
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DSortedList.java361 * {@link BatchedCallback#dispatchLastEvent()} right after you complete your data changes.
592 private int findIndexOf(T item, T[] mData, int left, int right, int reason) { argument
593 while (left < right) {
594 final int middle = (left + right) / 2;
603 int exact = linearEqualitySearch(item, middle, left, right);
611 right = middle;
617 private int linearEqualitySearch(T item, int middle, int left, int right) { argument
629 for (int next = middle + 1; next < right; next++) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java508 int left = 0, right = 0, top = 0, bottom = 0;
519 right = layoutState.mOffset;
520 left = right - maxSize;
523 right = left + maxSize;
531 right = left + mOrientationHelper.getDecoratedMeasurementInOther(view);
539 right - params.rightMargin, bottom - params.bottomMargin);
543 + (right - params.rightMargin) + ", b:" + (bottom - params.bottomMargin)
569 lp.rightMargin + mDecorInsets.right);
H A DLinearLayoutManager.java1399 int left, top, right, bottom;
1402 right = getWidth() - getPaddingRight();
1403 left = right - mOrientationHelper.getDecoratedMeasurementInOther(view);
1406 right = left + mOrientationHelper.getDecoratedMeasurementInOther(view);
1420 right = layoutState.mOffset;
1424 right = layoutState.mOffset + result.mConsumed;
1430 right - params.rightMargin, bottom - params.bottomMargin);
1434 + (right - params.rightMargin) + ", b:" + (bottom - params.bottomMargin));
1636 * LayoutManager is horizontal, it will only check the view's left and right edges.
1676 * LayoutManager is horizontal, it will only check the view's left and right edge
[all...]

Completed in 7131 milliseconds

1234567891011>>