/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | AbsSpinnerCompat.java | 156 mSpinnerPadding.left = paddingLeft > mSelectionLeftPadding ? paddingLeft 194 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right; 204 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
|
H A D | ActionBarOverlayLayout.java | 291 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 295 if (left && lp.leftMargin != insets.left) { 297 lp.leftMargin = insets.left; 477 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 481 final int parentRight = right - left - getPaddingRight();
|
H A D | ActivityChooserView.java | 51 * The left button is an immediate action and allows one click activity choosing. 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
|
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 | 82 mSelectionLeftPadding = padding.left; 202 selectorRect.left -= mSelectionLeftPadding; 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 71 if (left != UNDEFINED) mLeft = mExplicitLeft = left;
|
H A D | SpinnerCompat.java | 457 * views are scrolling to the left. -1 means selection is moving to the left. 461 int childrenLeft = mSpinnerPadding.left; 462 int childrenWidth = getRight() - getLeft() - mSpinnerPadding.left - mSpinnerPadding.right; 574 mSpinnerPadding.left + mSpinnerPadding.right, lp.width); 676 width += mTempRect.left + mTempRect.right; 1022 : -mTempRect.left; 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 | 306 // Divide any space left that wouldn't divide along cell boundaries 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 | 364 void drawVerticalDivider(Canvas canvas, int left) { argument 365 mDivider.setBounds(left, getPaddingTop() + mDividerPadding, 366 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding); 1416 * @param left 1421 void layoutVertical(int left, int top, int right, int bottom) { argument 1428 final int width = right - left; 1511 * @param left 1516 void layoutHorizontal(int left, int top, int right, int bottom) { argument 1544 childLeft = getPaddingLeft() + right - left - mTotalLength; 1549 childLeft = getPaddingLeft() + (right - left 1640 setChildFrame(View child, int left, int top, int width, int height) argument [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, 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. 1257 offset = - dropDownPadding.left; 1259 offset = anchorPadding - (dropDownPadding.left + iconOffset); 1262 final int width = mDropDownAnchor.getWidth() + dropDownPadding.left
|
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 536 int paddingLeft = padding.left; 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); 836 thumbInitialLeft += padding.left; 850 final int thumbLeft = thumbInitialLeft - padding.left; 904 cX = bounds.left + bounds.right; 909 final int left [all...] |
H A D | Toolbar.java | 941 * @param contentInsetLeft Content inset for the toolbar's left edge 955 * Get the left content inset for this toolbar. 961 * @return The left content inset for this toolbar 1335 int left = paddingLeft; 1349 left = layoutChildLeft(mNavButtonView, left, collapsingMargins, 1359 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargins, 1366 left = layoutChildLeft(mMenuView, left, collapsingMargin 1561 layoutChildLeft(View child, int left, 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 | 47 canvas.translate(bounds.left + cornerRadius, bounds.top + cornerRadius); 60 canvas.drawRect(bounds.left + cornerRadius - 1f, bounds.top, 63 canvas.drawRect(bounds.left + cornerRadius - 1f, 68 canvas.drawRect(bounds.left, bounds.top + Math.max(0, cornerRadius - 1f), 96 cardView.setShadowPadding(shadowPadding.left, shadowPadding.top,
|
H A D | RoundRectDrawableWithShadow.java | 225 canvas.translate(mCardBounds.left + inset, mCardBounds.top + inset); 246 canvas.translate(mCardBounds.left + inset, mCardBounds.bottom - inset); 305 mCardBounds.set(bounds.left + mRawMaxShadowSize, bounds.top + 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 159 * @param left The left padding in pixels 169 public void setContentPadding(int left, int top, int right, int bottom) { argument 170 mContentPadding.set(left, top, right, bottom); 212 mContentPadding.left = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingLeft, 238 * Returns the inner padding after the Card's left edge 240 * @return the inner padding after the Card's left edge 243 return mContentPadding.left; 300 public void setShadowPadding(int left, in argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 187 * {@link android.view.View#getLeft() left}, 1001 This method is then left with the simpler task of applying margins, gravity 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); 2641 * For horizontal alignments measurement is made from the left edge of the component. 2758 * Indicates that a view should be aligned with the <em>left</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 | 471 final int left = getPaddingLeft(); 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; 435 left = right - maxSize; 437 left = layoutState.mOffset; 438 right = left + maxSize; 445 left = getPaddingLeft() + mSizePerSpan * params.mSpanIndex; 446 right = left + mOrientationHelper.getDecoratedMeasurementInOther(view); 453 layoutDecorated(view, left + params.leftMargin, top + params.topMargin, 457 + (left + params.leftMargin) + ", t:" + (top + params.topMargin) + ", r:" 481 widthSpec = updateSpecWithExtra(widthSpec, lp.leftMargin + mDecorInsets.left,
|
H A D | LinearLayoutManager.java | 318 * {@link #getReverseLayout()} is {@code true}, elements will be laid out starting from left. 1339 int left, top, right, bottom; 1343 left = right - mOrientationHelper.getDecoratedMeasurementInOther(view); 1345 left = getPaddingLeft(); 1346 right = left + mOrientationHelper.getDecoratedMeasurementInOther(view); 1361 left = layoutState.mOffset - result.mConsumed; 1363 left = layoutState.mOffset; 1369 layoutDecorated(view, left + params.leftMargin, top + params.topMargin, 1373 + (left + params.leftMargin) + ", t:" + (top + params.topMargin) + ", r:" 1572 * LayoutManager is horizontal, it will only check the view's left an [all...] |
H A D | LinearSmoothScroller.java | 44 * Align child view's left or top with parent view's left or top 64 * <p>For instance, if the view is virtually on the left of RecyclerView, using 191 * When scrolling towards a child view, this method defines whether we should align the left 330 final int left = layoutManager.getDecoratedLeft(view) - params.leftMargin; 334 return calculateDtToFit(left, right, start, end, snapPreference);
|
H A D | RecyclerView.java | 1060 int left = view.getLeft(); 1062 if (left != shadowingView.getLeft() || top != shadowingView.getTop()) { 1063 shadowingView.layout(left, top, 1064 left + shadowingView.getWidth(), 2171 info.left, info.top); 2182 if (preInfo.left != postInfo.left || preInfo.top != postInfo.top) { 2189 preInfo.left, preInfo.top, postInfo.left, postInfo.top)) { 2332 (beforeBounds.left ! 5957 layoutDecorated(View child, int left, int top, int right, int bottom) argument 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...] |