/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarActivityDelegateBase.java | 321 final int top = insets.getSystemWindowInsetTop(); 322 final int newTop = updateStatusGuard(top); 324 if (top != newTop) { 341 insets.top = updateStatusGuard(insets.top); 1360 * @param insetTop the current top system window inset 1361 * @return the new top system window inset 1382 final int newMargin = localInsets.top == 0 ? insetTop : 0; 1415 // reset top margin
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | AbsSpinnerCompat.java | 158 mSpinnerPadding.top = paddingTop > mSelectionTopPadding ? paddingTop 193 preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom; 202 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom;
|
H A D | ActionBarOverlayLayout.java | 291 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 299 if (top && lp.topMargin != insets.top) { 301 lp.topMargin = insets.top; 322 // The top and bottom action bars are always within the content area. 408 // If tabs are not embedded, increase space on top to account for them. 413 // This is the space needed on top of the window for all of the action bar 436 mContentInsets.top += topInset; 439 mInnerInsets.top += topInset; 477 protected void onLayout(boolean changed, int left, int top, in argument [all...] |
H A D | ActivityChooserView.java | 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 | 73 * The offset in pixels from the top of the AdapterView to the top 543 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1061 // Either we hit the top, or we are trying to move down
|
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 | 83 mSelectionTopPadding = padding.top; 203 selectorRect.top -= mSelectionTopPadding; 363 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 365 super.setHotspotBounds(left, top, right, bottom);
|
H A D | SpinnerCompat.java | 572 mSpinnerPadding.top + mSpinnerPadding.bottom, lp.height); 583 int childTop = mSpinnerPadding.top 585 mSpinnerPadding.top - child.getMeasuredHeight()) / 2);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 39 * several top level options as action buttons while spilling remaining options over as 435 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 437 super.onLayout(changed, left, top, right, bottom); 442 final int midVertical = (bottom - top) / 2;
|
H A D | LinearLayoutCompat.java | 298 final int top = child.getTop() - lp.topMargin - mDividerHeight; 299 drawHorizontalDivider(canvas, top); 358 void drawHorizontalDivider(Canvas canvas, int top) { argument 359 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top, 360 getWidth() - getPaddingRight() - mDividerPadding, top + mDividerHeight); 1417 * @param top 1421 void layoutVertical(int left, int top, int right, int bottom) { argument 1442 childTop = getPaddingTop() + bottom - top - mTotalLength; 1447 childTop = getPaddingTop() + (bottom - top - mTotalLength) / 2; 1512 * @param top 1516 layoutHorizontal(int left, int top, int right, int bottom) argument 1640 setChildFrame(View child, int left, int top, int width, int height) argument [all...] |
H A D | ListPopupWindow.java | 900 // When the selection is at the top, we block the key 1160 padding = mTempRect.top + mTempRect.bottom; 1165 mDropDownVerticalOffset = -mTempRect.top;
|
H A D | SearchView.java | 380 public void onLayoutChange(View v, int left, int top, int right, int bottom, 1418 // on top of the one we want. We don't want to do this in in-app search though,
|
H A D | SwitchCompat.java | 767 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 768 super.onLayout(changed, left, top, right, bottom); 879 final int switchInnerTop = switchTop + padding.top; 910 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; 911 canvas.translate(left, top);
|
H A D | Toolbar.java | 1567 final int top = getChildTop(child, alignmentHeight); 1569 child.layout(left, top, left + childWidth, top + child.getMeasuredHeight()); 1580 final int top = getChildTop(child, alignmentHeight); 1582 child.layout(right - childWidth, top, right, top + child.getMeasuredHeight());
|
/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); 59 //draw top and bottom pieces 60 canvas.drawRect(bounds.left + cornerRadius - 1f, bounds.top, 61 bounds.right - cornerRadius + 1f, bounds.top + cornerRadius, 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); 256 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset); 302 // We could have different top-bottom offsets to avoid extra gap above but in that case 305 mCardBounds.set(bounds.left + mRawMaxShadowSize, bounds.top + verticalOffset,
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 39 * <code>maxCardElevation * 1.5 + (1 - cos45) * cornerRadius</code> on top and bottom. 110 public void setPadding(int left, int top, int right, int bottom) { argument 114 public void setPaddingRelative(int start, int top, int end, int bottom) { argument 160 * @param top The top padding in pixels 169 public void setContentPadding(int left, int top, int right, int bottom) { argument 170 mContentPadding.set(left, top, right, bottom); 214 mContentPadding.top = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingTop, 256 * Returns the inner padding after the Card's top edge 258 * @return the inner padding after the Card's top edg 300 setShadowPadding(int left, int top, int right, int bottom) argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 186 * {@link android.view.View#getTop() top}, 207 * the quantity {@code top - layoutParams.topMargin} is the same for all children that 1005 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1009 int targetHeight = bottom - top; 1943 int left, int top, int right, int bottom, 1946 setMargins(left, top, right, bottom); 2639 * returned should indicate the distance from the top of the view to the 2716 * Indicates that a view should be aligned with the <em>top</em> 2796 return 0; // baseline gravity is top 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 | 320 // Show along the top; follow action buttons 473 final int top = getPaddingTop(); 479 final int drawTop = top + (bottom - top - drawHeight) / 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; 427 top = bottom - maxSize; 429 top = layoutState.mOffset; 430 bottom = top + maxSize; 448 top = getPaddingTop() + mSizePerSpan * params.mSpanIndex; 449 bottom = top + mOrientationHelper.getDecoratedMeasurementInOther(view); 453 layoutDecorated(view, left + params.leftMargin, top + params.topMargin, 457 + (left + params.leftMargin) + ", t:" + (top + params.topMargin) + ", r:" 483 heightSpec = updateSpecWithExtra(heightSpec, lp.topMargin + mDecorInsets.top,
|
H A D | LinearLayoutManager.java | 436 // 3) fill towards end, stacking from top 1339 int left, top, right, bottom; 1350 top = layoutState.mOffset - result.mConsumed; 1352 top = layoutState.mOffset; 1356 top = getPaddingTop(); 1357 bottom = top + mOrientationHelper.getDecoratedMeasurementInOther(view); 1369 layoutDecorated(view, left + params.leftMargin, top + params.topMargin, 1373 + (left + params.leftMargin) + ", t:" + (top + params.topMargin) + ", r:"
|
H A D | LinearSmoothScroller.java | 44 * Align child view's left or top with parent view's left or top 205 * When scrolling towards a child view, this method defines whether we should align the top 305 final int top = layoutManager.getDecoratedTop(view) - params.topMargin; 309 return calculateDtToFit(top, bottom, start, end, snapPreference);
|
H A D | RecyclerView.java | 1061 int top = view.getTop(); 1062 if (left != shadowingView.getLeft() || top != shadowingView.getTop()) { 1063 shadowingView.layout(left, top, 1065 top + shadowingView.getHeight()); 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 != afterLeft || beforeBounds.top ! 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...] |