/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | AbsSpinnerCompat.java | 160 mSpinnerPadding.right = paddingRight > mSelectionRightPadding ? paddingRight 194 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right; 204 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
|
H A D | ActionBarOverlayLayout.java | 292 boolean bottom, boolean right) { 303 if (right && lp.rightMargin != insets.right) { 305 lp.rightMargin = insets.right; 477 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 481 final int parentRight = right - left - getPaddingRight(); 291 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
|
H A D | ActivityChooserView.java | 57 * 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 D | AdapterViewCompat.java | 543 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 994 * and then alternates between moving up and moving down until 1) we find the right position, or
|
H A D | DrawableWrapper.java | 50 public void setBounds(int left, int top, int right, int bottom) { argument 51 super.setBounds(left, top, right, bottom); 52 mDrawable.setBounds(left, top, right, bottom); 206 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 207 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);
|
H A D | ListViewCompat.java | 84 mSelectionRightPadding = padding.right; 204 selectorRect.right += mSelectionRightPadding; 363 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 365 super.setHotspotBounds(left, top, right, bottom);
|
H A D | RtlSpacingHelper.java | 21 * 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;
|
H A D | SpinnerCompat.java | 456 * @param delta Change in the selected position. +1 means selection is moving to the right, so 462 int childrenWidth = getRight() - getLeft() - mSpinnerPadding.left - mSpinnerPadding.right; 574 mSpinnerPadding.left + mSpinnerPadding.right, lp.width); 676 width += mTempRect.left + mTempRect.right; 1021 hOffset = ViewUtils.isLayoutRtl(SpinnerCompat.this) ? mTempRect.right 1024 mTempRect.left = mTempRect.right = 0; 1034 .getDisplayMetrics().widthPixels - mTempRect.left - mTempRect.right;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 435 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 437 super.onLayout(changed, left, top, right, bottom); 447 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft(); 494 final int midHorizontal = (right - left) / 2;
|
H A D | LinearLayoutCompat.java | 899 // 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 D | ListPopupWindow.java | 511 mDropDownWidth = mTempRect.left + mTempRect.right + width; 1186 (mTempRect.left + mTempRect.right), 1192 (mTempRect.left + mTempRect.right),
|
H A D | SearchView.java | 380 public void onLayoutChange(View v, int left, int top, int right, int bottom, 570 * @param submit whether to submit the query right now or only update the contents of 988 // Next, check for left/right moves, which we use to "return" the 992 // left key, at end if right key 993 // TODO: Reverse left/right for right-to-left languages, e.g. 1263 + dropDownPadding.right + iconOffset - anchorPadding;
|
H A D | SwitchCompat.java | 508 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; 534 // Adjust left and right padding to ensure there's enough room for the 537 int paddingRight = padding.right; 585 mTempRect.left + mTempRect.right + mTouchSlop; 767 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 768 super.onLayout(changed, left, top, right, bottom); 851 final int thumbRight = thumbInitialLeft + mThumbWidth + padding.right; 904 cX = bounds.left + bounds.right; 962 return mSwitchWidth - mThumbWidth - padding.left - padding.right;
|
H A D | Toolbar.java | 942 * @param contentInsetRight Content inset for the toolbar's right edge 974 * Get the right content inset for this toolbar. 980 * @return The right content inset for this toolbar 1336 int right = width - paddingRight; 1346 right = layoutChildRight(mNavButtonView, right, collapsingMargins, 1356 right = layoutChildRight(mCollapseButtonView, right, collapsingMargins, 1369 right = layoutChildRight(mMenuView, right, collapsingMargin 1574 layoutChildRight(View child, int right, int[] collapsingMargins, int alignmentHeight) argument [all...] |
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
H A D | RoundRectDrawable.java | 78 mBoundsF.set(bounds.left, bounds.top, bounds.right, bounds.bottom);
|
/frameworks/support/v7/cardview/base/android/support/v7/widget/ |
H A D | CardViewDelegate.java | 32 void setShadowPadding(int left, int top, int right, int bottom); argument
|
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
H A D | CardViewEclairMr1.java | 61 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 D | RoundRectDrawableWithShadow.java | 235 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 D | CardView.java | 110 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 D | GridLayout.java | 127 * GridLayout's algorithms favour rows and columns that are closer to its <em>right</em> 189 * {@link android.view.View#getRight() right} properties. 1005 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1008 int targetWidth = right - left; 1943 int left, int top, int right, int bottom, 1946 setMargins(left, top, right, bottom); 2764 * Indicates that a view should be aligned with the <em>right</em> 1941 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteButton.java | 472 final int right = getWidth() - getPaddingRight(); 478 final int drawLeft = left + (right - left - drawWidth) / 2;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 423 int left = 0, right = 0, top = 0, bottom = 0; 434 right = layoutState.mOffset; 435 left = right - maxSize; 438 right = left + maxSize; 446 right = left + mOrientationHelper.getDecoratedMeasurementInOther(view); 454 right - params.rightMargin, bottom - params.bottomMargin); 458 + (right - params.rightMargin) + ", b:" + (bottom - params.bottomMargin) 482 lp.rightMargin + mDecorInsets.right);
|
H A D | LinearLayoutManager.java | 1339 int left, top, right, bottom; 1342 right = getWidth() - getPaddingRight(); 1343 left = right - mOrientationHelper.getDecoratedMeasurementInOther(view); 1346 right = left + mOrientationHelper.getDecoratedMeasurementInOther(view); 1360 right = layoutState.mOffset; 1364 right = layoutState.mOffset + result.mConsumed; 1370 right - params.rightMargin, bottom - params.bottomMargin); 1374 + (right - params.rightMargin) + ", b:" + (bottom - params.bottomMargin)); 1572 * LayoutManager is horizontal, it will only check the view's left and right edges. 1612 * LayoutManager is horizontal, it will only check the view's left and right edge [all...] |
H A D | LinearSmoothScroller.java | 53 * Align child view's right or bottom with parent view's right or bottom 192 * or the right edge of the child with the parent RecyclerView. 331 final int right = layoutManager.getDecoratedRight(view) + params.rightMargin; 334 return calculateDtToFit(left, right, start, end, snapPreference);
|
H A D | RecyclerView.java | 3012 insets.right += mTempRect.right; 5040 * approaches the right. 5588 * Return the right padding of the parent RecyclerView 5818 widthUsed += insets.left + insets.right; 5846 widthUsed += insets.left + insets.right; 5913 return child.getMeasuredWidth() + insets.left + insets.right; 5952 * @param right Right edge, with item decoration insets included 5957 public void layoutDecorated(View child, int left, int top, int right, int bottom) { argument 5959 child.layout(left + insets.left, top + insets.top, right 8824 int left, top, right, bottom; field in class:RecyclerView.ItemHolderInfo 8826 ItemHolderInfo(ViewHolder holder, int left, int top, int right, int bottom) argument [all...] |