Home
last modified time | relevance | path

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

12

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DResizingTextView.java238 final int paddingTop = mDefaultPaddingTop + mResizedPaddingAdjustmentTop; in onMeasure() local
240 if (getPaddingTop() != paddingTop || getPaddingBottom() != paddingBottom) { in onMeasure()
241 setPaddingTopAndBottom(paddingTop, paddingBottom); in onMeasure()
266 private void setPaddingTopAndBottom(int paddingTop, int paddingBottom) { in setPaddingTopAndBottom() argument
268 setPaddingRelative(getPaddingStart(), paddingTop, getPaddingEnd(), paddingBottom); in setPaddingTopAndBottom() local
270 setPadding(getPaddingLeft(), paddingTop, getPaddingRight(), paddingBottom); in setPaddingTopAndBottom() local
DListRowPresenter.java545 int paddingTop, paddingBottom; in setVerticalPadding() local
550 paddingTop = (vh.isSelected() ? sExpandedSelectedRowTopPadding : vh.mPaddingTop) in setVerticalPadding()
555 paddingTop = sSelectedRowTopPadding - vh.mPaddingBottom; in setVerticalPadding()
558 paddingTop = 0; in setVerticalPadding()
561 vh.getGridView().setPadding(vh.mPaddingLeft, paddingTop, vh.mPaddingRight, in setVerticalPadding()
/frameworks/base/core/java/com/android/internal/widget/
DWatchListDecorLayout.java215 int paddingTop = Math.max(mListView.getPaddingTop(), in onMeasure() local
220 if (paddingTop != mListView.getPaddingTop() in onMeasure()
222 mPendingScroll += mListView.getPaddingTop() - paddingTop; in onMeasure()
224 mListView.getPaddingLeft(), paddingTop, in onMeasure() local
DNotificationActionListLayout.java203 final int paddingTop = mPaddingTop; in onLayout() local
212 int innerHeight = height - paddingTop - mPaddingBottom; in onLayout()
246 childTop = paddingTop + ((innerHeight - childHeight) / 2) in onLayout()
DViewPager.java1498 int paddingTop = getPaddingTop();
1535 childTop = paddingTop;
1538 childTop = paddingTop;
1539 paddingTop += child.getMeasuredHeight();
1543 paddingTop);
1585 (int) (height - paddingTop - paddingBottom),
1599 final int childTop = paddingTop;
1604 mTopPageBounds = paddingTop;
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTitleStrip.java345 final int paddingTop = getPaddingTop(); in updateTextPositions() local
380 prevTop = paddingTop + prevTopOffset; in updateTextPositions()
381 currTop = paddingTop + currTopOffset; in updateTextPositions()
382 nextTop = paddingTop + nextTopOffset; in updateTextPositions()
385 final int paddedHeight = stripHeight - paddingTop - paddingBottom; in updateTextPositions()
DViewPager.java1678 int paddingTop = getPaddingTop();
1715 childTop = paddingTop;
1718 childTop = paddingTop;
1719 paddingTop += child.getMeasuredHeight();
1723 paddingTop);
1749 int childTop = paddingTop;
1758 (int) (height - paddingTop - paddingBottom),
1773 mTopPageBounds = paddingTop;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListViewCompat.java276 final int paddingTop = getListPaddingTop(); in measureHeightOfChildrenCompat() local
286 return paddingTop + paddingBottom; in measureHeightOfChildrenCompat()
290 int returnedHeight = paddingTop + paddingBottom; in measureHeightOfChildrenCompat()
DToolbar.java1708 final int paddingTop = getPaddingTop(); in onLayout() local
1804 final int space = height - paddingTop - paddingBottom; in onLayout()
1810 spaceAbove - paddingTop; in onLayout()
1816 titleTop = paddingTop + spaceAbove; in onLayout()
1979 final int paddingTop = getPaddingTop(); in getChildTop() local
1982 final int space = height - paddingTop - paddingBottom; in getChildTop()
1988 spaceAbove - paddingTop; in getChildTop()
1993 return paddingTop + spaceAbove; in getChildTop()
DLinearLayoutCompat.java1522 final int paddingTop = getPaddingTop(); in layoutHorizontal() local
1532 int childSpace = height - paddingTop - getPaddingBottom(); in layoutHorizontal()
1595 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1613 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1625 childTop = paddingTop; in layoutHorizontal()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java608 final int paddingTop = getPaddingTop(); in onDraw() local
609 canvas.translate(paddingLeft, paddingTop); in onDraw()
615 canvas.translate(-paddingLeft, -paddingTop); in onDraw()
889 final int paddingTop = getPaddingTop(); in onLayout() local
895 final int paddedHeight = paddedBottom - paddingTop; in onLayout()
905 final int measuredPaddedHeight = getMeasuredHeight() - paddingTop - paddingBottom; in onLayout()
DToolbar.java1704 final int paddingTop = getPaddingTop(); in onLayout() local
1800 final int space = height - paddingTop - paddingBottom; in onLayout()
1806 spaceAbove - paddingTop; in onLayout()
1812 titleTop = paddingTop + spaceAbove; in onLayout()
1975 final int paddingTop = getPaddingTop(); in getChildTop() local
1978 final int space = height - paddingTop - paddingBottom; in getChildTop()
1984 spaceAbove - paddingTop; in getChildTop()
1989 return paddingTop + spaceAbove; in getChildTop()
DLinearLayout.java1669 final int paddingTop = mPaddingTop; in layoutHorizontal() local
1679 int childSpace = height - paddingTop - mPaddingBottom; in layoutHorizontal()
1741 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1759 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1771 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()
/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/compile/
DPng.cpp172 assert(outPatch->paddingTop == inPatch->paddingTop); in checkNinePatchSerialization()
1000 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do9Patch()
1060 &image->info9Patch.paddingTop, in do9Patch()
1063 errorPixel = image->info9Patch.paddingTop; in do9Patch()
1100 if (image->info9Patch.paddingTop < 0) { in do9Patch()
1101 image->info9Patch.paddingTop = yDivs[0]; in do9Patch()
/frameworks/support/wear/src/android/support/wear/widget/
DCircledImageView.java229 int paddingTop = getPaddingTop(); in onDraw() local
239 paddingTop, in onDraw()
269 paddingTop, in onDraw()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java289 public void setDecorPaddingTop(int paddingTop) { in setDecorPaddingTop() argument
292 view.setPadding(view.getPaddingLeft(), paddingTop, view.getPaddingRight(), in setDecorPaddingTop() local
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp125 chunk->paddingTop = int(chunk->paddingTop * scale + 0.5f); in scaleNinePatchChunk()
556 peeker.mPatch->paddingLeft, peeker.mPatch->paddingTop, in doDecode()
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuPresenter.java662 public NavigationMenuSeparatorItem(int paddingTop, int paddingBottom) { in NavigationMenuSeparatorItem() argument
663 mPaddingTop = paddingTop; in NavigationMenuSeparatorItem()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1263 int paddingTop = getPaddingTop(); in onLayout() local
1269 int childTop = paddingTop + mRectArray[i].top; in onLayout()
1271 int childRight = paddingTop + mRectArray[i].right; in onLayout()
1285 int paddingTop = getPaddingTop(); in dispatchDraw() local
1294 int childTop = paddingTop + mRectArray[i].top; in dispatchDraw()
/frameworks/support/core-ui/java/android/support/v4/widget/
DSlidingPaneLayout.java671 final int paddingTop = getPaddingTop(); in onLayout() local
720 final int childTop = paddingTop; in onLayout()
722 child.layout(childLeft, paddingTop, childRight, childBottom); in onLayout()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertController.java838 final int paddingTop = hasTitle ? getPaddingTop() : mPaddingTopNoTitle; in setHasDecor() local
841 setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in setHasDecor()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java926 final int paddingTop = hasTitle ? getPaddingTop() : mPaddingTopNoTitle; in setHasDecor() local
929 setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in setHasDecor()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1020 int paddingTop = getPaddingTop(); in onLayout() local
1025 mVerticalAxis.layout(targetHeight - paddingTop - paddingBottom); in onLayout()
1081 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin; in onLayout()

12