Home
last modified time | relevance | path

Searched refs:paddingTop (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DResizingTextView.java240 final int paddingTop = mDefaultPaddingTop + mResizedPaddingAdjustmentTop; in onMeasure() local
242 if (getPaddingTop() != paddingTop || getPaddingBottom() != paddingBottom) { in onMeasure()
243 setPaddingTopAndBottom(paddingTop, paddingBottom); in onMeasure()
268 private void setPaddingTopAndBottom(int paddingTop, int paddingBottom) { in setPaddingTopAndBottom() argument
270 setPaddingRelative(getPaddingStart(), paddingTop, getPaddingEnd(), paddingBottom); in setPaddingTopAndBottom() local
272 setPadding(getPaddingLeft(), paddingTop, getPaddingRight(), paddingBottom); in setPaddingTopAndBottom() local
DListRowPresenter.java400 int paddingTop, paddingBottom; in setVerticalPadding() local
405 paddingTop = (vh.isSelected() ? sExpandedSelectedRowTopPadding : vh.mPaddingTop) - in setVerticalPadding()
410 paddingTop = sSelectedRowTopPadding - vh.mPaddingBottom; in setVerticalPadding()
413 paddingTop = 0; in setVerticalPadding()
416 vh.getGridView().setPadding(vh.mPaddingLeft, paddingTop, vh.mPaddingRight, in setVerticalPadding()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java353 final int paddingTop = getPaddingTop(); in updateTextPositions() local
388 prevTop = paddingTop + prevTopOffset; in updateTextPositions()
389 currTop = paddingTop + currTopOffset; in updateTextPositions()
390 nextTop = paddingTop + nextTopOffset; in updateTextPositions()
393 final int paddedHeight = stripHeight - paddingTop - paddingBottom; in updateTextPositions()
DViewPager.java1540 int paddingTop = getPaddingTop();
1577 childTop = paddingTop;
1580 childTop = paddingTop;
1581 paddingTop += child.getMeasuredHeight();
1585 paddingTop);
1611 int childTop = paddingTop;
1620 (int) (height - paddingTop - paddingBottom),
1633 mTopPageBounds = paddingTop;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DListViewCompat.java259 final int paddingTop = getListPaddingTop(); in measureHeightOfChildrenCompat() local
269 return paddingTop + paddingBottom; in measureHeightOfChildrenCompat()
273 int returnedHeight = paddingTop + paddingBottom; in measureHeightOfChildrenCompat()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java355 final int paddingTop = getPaddingTop(); in onDraw() local
356 canvas.translate(paddingLeft, paddingTop); in onDraw()
362 canvas.translate(-paddingLeft, -paddingTop); in onDraw()
632 final int paddingTop = getPaddingTop(); in onLayout() local
638 final int paddedHeight = paddedBottom - paddingTop; in onLayout()
648 final int measuredPaddedHeight = getMeasuredHeight() - paddingTop - paddingBottom; in onLayout()
DToolbar.java1369 final int paddingTop = getPaddingTop(); in onLayout() local
1462 final int space = height - paddingTop - paddingBottom; in onLayout()
1468 spaceAbove - paddingTop; in onLayout()
1474 titleTop = paddingTop + spaceAbove; in onLayout()
1637 final int paddingTop = getPaddingTop(); in getChildTop() local
1640 final int space = height - paddingTop - paddingBottom; in getChildTop()
1646 spaceAbove - paddingTop; in getChildTop()
1651 return paddingTop + spaceAbove; in getChildTop()
DLinearLayout.java1620 final int paddingTop = mPaddingTop; in layoutHorizontal() local
1630 int childSpace = height - paddingTop - mPaddingBottom; in layoutHorizontal()
1693 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1711 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1723 childTop = paddingTop; in layoutHorizontal()
DGridView.java257 int paddingTop = 0; in fillGap() local
259 paddingTop = getListPaddingTop(); in fillGap()
262 getChildAt(count - 1).getBottom() + verticalSpacing : paddingTop; in fillGap()
DGridLayout.java1108 int paddingTop = getPaddingTop(); in onLayout() local
1113 mVerticalAxis.layout(targetHeight - paddingTop - paddingBottom); in onLayout()
1169 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin; in onLayout()
DListView.java660 int paddingTop = 0; in fillGap() local
662 paddingTop = getListPaddingTop(); in fillGap()
665 paddingTop; in fillGap()
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuPresenter.java512 private NavigationMenuItem(MenuItemImpl item, int paddingTop, int paddingBottom) { in NavigationMenuItem() argument
514 mPaddingTop = paddingTop; in NavigationMenuItem()
522 public static NavigationMenuItem separator(int paddingTop, int paddingBottom) { in separator() argument
523 return new NavigationMenuItem(null, paddingTop, paddingBottom); in separator()
/frameworks/base/tools/aapt/
DImages.cpp566 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do_9patch()
623 … if (get_vertical_ticks(image->rows, (W-1)*4, H, transparent, false, &image->info9Patch.paddingTop, in do_9patch()
625 errorPixel = image->info9Patch.paddingTop; in do_9patch()
662 if (image->info9Patch.paddingTop < 0) { in do_9patch()
663 image->info9Patch.paddingTop = yDivs[0]; in do_9patch()
676 image->info9Patch.paddingTop, image->info9Patch.paddingBottom); in do_9patch()
808 assert(outPatch->paddingTop == inPatch->paddingTop); in checkNinePatchSerialization()
/frameworks/base/tools/aapt2/
DPng.cpp167 assert(outPatch->paddingTop == inPatch->paddingTop); in checkNinePatchSerialization()
966 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do9Patch()
1025 &image->info9Patch.paddingTop, &image->info9Patch.paddingBottom, in do9Patch()
1027 errorPixel = image->info9Patch.paddingTop; in do9Patch()
1062 if (image->info9Patch.paddingTop < 0) { in do9Patch()
1063 image->info9Patch.paddingTop = yDivs[0]; in do9Patch()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java1389 final int paddingTop = getPaddingTop(); in onLayout() local
1482 final int space = height - paddingTop - paddingBottom; in onLayout()
1488 spaceAbove - paddingTop; in onLayout()
1494 titleTop = paddingTop + spaceAbove; in onLayout()
1657 final int paddingTop = getPaddingTop(); in getChildTop() local
1660 final int space = height - paddingTop - paddingBottom; in getChildTop()
1666 spaceAbove - paddingTop; in getChildTop()
1671 return paddingTop + spaceAbove; in getChildTop()
DLinearLayoutCompat.java1518 final int paddingTop = getPaddingTop(); in layoutHorizontal() local
1528 int childSpace = height - paddingTop - getPaddingBottom(); in layoutHorizontal()
1591 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1609 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1621 childTop = paddingTop; in layoutHorizontal()
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp113 chunk->paddingTop = int(chunk->paddingTop * scale + 0.5f); in scaleNinePatchChunk()
411 peeker.mPatch->paddingLeft, peeker.mPatch->paddingTop, in doDecode()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java333 public void setDecorPaddingTop(int paddingTop) { in setDecorPaddingTop() argument
336 view.setPadding(view.getPaddingLeft(), paddingTop, view.getPaddingRight(), in setDecorPaddingTop() local
/frameworks/base/docs/html/training/basics/actionbar/
Doverlaying.jd124 android:paddingTop="?android:attr/actionBarSize">
137 android:paddingTop="?attr/actionBarSize">
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1509 int paddingTop = getPaddingTop();
1546 childTop = paddingTop;
1549 childTop = paddingTop;
1550 paddingTop += child.getMeasuredHeight();
1554 paddingTop);
1596 (int) (height - paddingTop - paddingBottom),
1610 final int childTop = paddingTop;
1615 mTopPageBounds = paddingTop;
/frameworks/support/v4/java/android/support/v4/widget/
DSlidingPaneLayout.java666 final int paddingTop = getPaddingTop(); in onLayout() local
716 final int childTop = paddingTop; in onLayout()
718 child.layout(childLeft, paddingTop, childRight, childBottom); in onLayout()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1008 int paddingTop = getPaddingTop(); in onLayout() local
1013 mVerticalAxis.layout(targetHeight - paddingTop - paddingBottom); in onLayout()
1069 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin; in onLayout()
/frameworks/base/docs/html/training/implementing-navigation/
Dlateral.jd297 android:paddingTop="4dp"
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java617 final int paddingTop = getPaddingTop(); in onMeasure() local
628 final int heightPadding = paddingTop + paddingBottom; in onMeasure()
/frameworks/base/include/androidfw/
DResourceTypes.h134 int32_t paddingTop, paddingBottom; member

12