Home
last modified time | relevance | path

Searched refs:getPaddingTop (Results 1 – 25 of 83) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineButtonsTest.java66 + mPause.getPaddingTop() + mPause.getPaddingBottom(), in testLayout()
68 int prevHeight = Math.max(mPrev.getDrawable().getIntrinsicHeight() + mPrev.getPaddingTop() in testLayout()
71 int nextHeight = Math.max(mNext.getDrawable().getIntrinsicHeight() + mNext.getPaddingTop() in testLayout()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DFlowLayout.java40 MeasureSpec.getSize(heightMeasureSpec) - getPaddingTop() - getPaddingBottom(); in onMeasure()
44 int y = getPaddingTop(); in onMeasure()
95 int y = getPaddingTop(); in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DReverseLinearLayout.java111 && child.getPaddingTop() == child.getPaddingBottom()) { in reverseParams()
112 child.setPadding(child.getPaddingTop(), child.getPaddingLeft(), in reverseParams()
113 child.getPaddingTop(), child.getPaddingLeft()); in reverseParams()
/frameworks/base/core/java/com/android/internal/widget/
DDialogViewAnimator.java89 maxHeight += getPaddingTop() + getPaddingBottom(); in onMeasure()
127 getMeasuredHeight() - getPaddingTop() - getPaddingBottom() in onMeasure()
132 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, in onMeasure()
DButtonBarLayout.java115 minHeight += getPaddingTop() + firstButton.getMeasuredHeight() in onMeasure()
120 minHeight += getChildAt(secondVisible).getPaddingTop() in onMeasure()
DWatchListDecorLayout.java215 int paddingTop = Math.max(mListView.getPaddingTop(), in onMeasure()
220 if (paddingTop != mListView.getPaddingTop() in onMeasure()
222 mPendingScroll += mListView.getPaddingTop() - paddingTop; in onMeasure()
DMediaNotificationView.java114 mHeader.getPaddingTop(), in onMeasure()
140 mHeader.getPaddingTop(), in resetHeaderIndention()
DOrientationHelper.java367 return mLayoutManager.getPaddingTop();
414 return mLayoutManager.getHeight() - mLayoutManager.getPaddingTop()
DActionBarContextView.java321 final int verticalPadding = getPaddingTop() + getPaddingBottom(); in onMeasure()
387 final int y = getPaddingTop(); in onLayout()
388 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout()
DMessagingTextMessage.java105 < getLayoutHeight() + getPaddingTop() + getPaddingBottom(); in getMeasuredType()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java98 getPaddingTop() + getPaddingBottom() + height, childParams.height); in onMeasure()
118 height += getPaddingTop() + getPaddingBottom(); in onMeasure()
133 int cellTop = getPaddingTop(); in onLayout()
/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java86 maxHeight += getPaddingTop() + getPaddingBottom(); in onMeasure()
124 getMeasuredHeight() - getPaddingTop() - getPaddingBottom(), in onMeasure()
128 getPaddingTop() + getPaddingBottom(), in onMeasure()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DButtonBarLayout.java113 setPadding(paddingHorizontal, getPaddingTop(), paddingHorizontal, getPaddingBottom()); in setStacked()
115 setPadding(originalPaddingLeft, getPaddingTop(), originalPaddingRight, getPaddingBottom()); in setStacked()
DFillContentLayout.java99 getPaddingTop() + getPaddingBottom() + lp.topMargin + lp.bottomMargin, in measureIllustrationChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java48 int height = MeasureSpec.getSize(heightMeasureSpec) - getPaddingTop() - getPaddingBottom(); in onMeasure()
51 int yPos = getPaddingTop(); in onMeasure()
113 int yPos = getPaddingTop(); in onLayout()
DEmptyShadeView.java86 boolean visible = this.clipTopAmount <= mEmptyText.getPaddingTop() * 0.6f; in applyToView()
/frameworks/base/core/java/android/preference/
DPreferenceFrameLayout.java96 int borderTop = getPaddingTop(); in addView()
125 int previousTop = getPaddingTop(); in addView()
/frameworks/base/core/java/android/view/
DViewOutlineProvider.java69 view.getPaddingTop(),
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLiftToActivateListener.java55 if ((x > v.getPaddingLeft()) && (y > v.getPaddingTop()) in onHover()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DIllustrationTest.java61 assertEquals("Top padding should be 96", 96, illustration.getPaddingTop()); in testAspectRatio()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayoutTest.java116 assertEquals(50, mColumnLayout.getPaddingTop(), .01); in testSnapToPowerButton_portrait()
125 assertEquals(0, mColumnLayout.getPaddingTop(), .01); in testCenterAlongEdge_portrait()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java374 v.setPadding(v.getPaddingTop(), v.getPaddingRight(), v.getPaddingBottom(), in rotateLeft()
383 v.setPadding(v.getPaddingBottom(), v.getPaddingLeft(), v.getPaddingTop(), in rotateRight()
392 v.setPadding(v.getPaddingTop(), v.getPaddingLeft(), v.getPaddingBottom(), in swapLeftAndTop()
511 defaultTopPadding = getPaddingTop(); in updatePaddingAndGravityIfTooTall()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBadgedImageView.java72 mTempPoint.set((getWidth() - mIconSize) / 2, getPaddingTop()); in onDraw()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java280 super.setPadding(mSavedPaddingLeft, getPaddingTop(), in onMeasure()
303 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom()); in onMeasure()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListSetSelectionTest.java117 assertEquals("Selection not at correct location", 100 + mListView.getPaddingTop(), in testSetSelectionFromTop()

1234