Home
last modified time | relevance | path

Searched refs:getPaddingLeft (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DFlowLayout.java38 MeasureSpec.getSize(widthMeasureSpec) - getPaddingLeft() -getPaddingRight(); in onMeasure()
43 int x = getPaddingLeft(); in onMeasure()
63 x = getPaddingLeft(); in onMeasure()
94 int x = getPaddingLeft(); in onLayout()
103 x = getPaddingLeft(); in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java46 int width = MeasureSpec.getSize(widthMeasureSpec) - getPaddingLeft() - getPaddingRight(); in onMeasure()
50 int xPos = getPaddingLeft(); in onMeasure()
71 xPos = getPaddingLeft(); in onMeasure()
112 : getPaddingLeft(); in onLayout()
126 ? xPos - getPaddingLeft() - currentChildWidth < 0 in onLayout()
136 : getPaddingLeft(); in onLayout()
164 xPos = getPaddingLeft() + fullRowWidth - xPos + lastHorizontalSpacing; in layoutChildrenOnRow()
DKeyboardShortcutAppItemLayout.java50 int totalPadding = getPaddingLeft() + getPaddingRight(); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DReverseLinearLayout.java110 if (child.getPaddingLeft() == child.getPaddingRight() 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.java88 maxWidth += getPaddingLeft() + getPaddingRight(); in onMeasure()
115 getMeasuredWidth() - getPaddingLeft() - getPaddingRight() in onMeasure()
120 getPaddingLeft() + getPaddingRight() + lp.leftMargin + lp.rightMargin, in onMeasure()
DOrientationHelper.java269 return mLayoutManager.getPaddingLeft(); in createHorizontalHelper()
316 return mLayoutManager.getWidth() - mLayoutManager.getPaddingLeft() in createHorizontalHelper()
DActionBarContextView.java321 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); in onMeasure()
385 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); in onLayout()
407 x = isLayoutRtl ? getPaddingLeft() : r - l - getPaddingRight(); in onLayout()
DViewPager.java465 return getMeasuredWidth() - getPaddingLeft() - getPaddingRight(); in getPaddedWidth()
977 2.f - curItem.widthFactor + (float) getPaddingLeft() / (float) clientWidth;
1381 int childWidthSize = measuredWidth - getPaddingLeft() - getPaddingRight();
1473 final int widthWithMargin = width - getPaddingLeft() - getPaddingRight() + margin;
1474 final int oldWidthWithMargin = oldWidth - getPaddingLeft() - getPaddingRight()
1492 (width - getPaddingLeft() - getPaddingRight()));
1505 int paddingLeft = getPaddingLeft();
1701 int paddingLeft = getPaddingLeft();
DLinearSmoothScroller.java335 final int start = layoutManager.getPaddingLeft(); in calculateDxToMakeVisible()
/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java85 maxWidth += getPaddingLeft() + getPaddingRight(); in onMeasure()
114 getMeasuredWidth() - getPaddingLeft() - getPaddingRight(), in onMeasure()
118 getPaddingLeft() + getPaddingRight(), in onMeasure()
DActionMenuView.java179 final int widthPadding = getPaddingLeft() + getPaddingRight(); in onMeasureExactFormat()
447 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft(); in onLayout()
467 l = getPaddingLeft() + p.leftMargin; in onLayout()
522 int startLeft = getPaddingLeft(); in onLayout()
DFastScroller.java502 final int textMinWidth = Math.max(0, mPreviewMinWidth - mPreviewImage.getPaddingLeft() in setScrollbarPosition()
596 bounds.left -= mPreviewImage.getPaddingLeft(); in updateLayout()
629 margins.left = mPreviewImage.getPaddingLeft(); in measurePreview()
751 container.left += list.getPaddingLeft(); in updateContainerRect()
1163 bounds.left -= preview.getPaddingLeft(); in transitionPreviewLayout()
1176 final int previewWidth = preview.getWidth() - preview.getPaddingLeft() in transitionPreviewLayout()
DSimpleMonthView.java611 final int paddingLeft = getPaddingLeft(); in onDraw()
892 final int paddingLeft = getPaddingLeft(); in onLayout()
947 final int paddedX = x - getPaddingLeft(); in getDayAtLocation()
997 left = getPaddingLeft() + col * colWidth; in getBoundsForDay()
/frameworks/base/core/java/android/preference/
DPreferenceFrameLayout.java98 int borderLeft = getPaddingLeft(); in addView()
127 int previousLeft = getPaddingLeft(); in addView()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DButtonFooterMixinTest.java80 assertEquals(dp2Px(16), button.getPaddingLeft()); in testAddButton()
97 assertEquals(dp2Px(16), button.getPaddingLeft()); in testAddButtonTextRes()
/frameworks/base/core/java/android/view/
DViewOutlineProvider.java68 outline.setRect(view.getPaddingLeft(),
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLiftToActivateListener.java55 if ((x > v.getPaddingLeft()) && (y > v.getPaddingTop()) in onHover()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java375 v.getPaddingLeft()); in rotateLeft()
383 v.setPadding(v.getPaddingBottom(), v.getPaddingLeft(), v.getPaddingTop(), in rotateRight()
392 v.setPadding(v.getPaddingTop(), v.getPaddingLeft(), v.getPaddingBottom(), in swapLeftAndTop()
497 defaultTopPadding = getPaddingLeft(); in updatePaddingAndGravityIfTooTall()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DButtonBarLayout.java110 originalPaddingLeft = getPaddingLeft(); in setStacked()
DFillContentLayout.java94 getPaddingLeft() + getPaddingRight() + lp.leftMargin + lp.rightMargin, in measureIllustrationChild()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java286 mRemoteIndicator.getIntrinsicWidth() + getPaddingLeft() + getPaddingRight() : 0); in onMeasure()
327 final int left = getPaddingLeft(); in onDraw()
/frameworks/opt/chips/src/com/android/ex/chips/
DCircularImageView.java80 destination.set(getPaddingLeft(), getPaddingTop(), getWidth() - getPaddingRight(), in onDraw()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java117 int paddingLeft = getPaddingLeft(); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java62 (v1, v2) -> ((v2.getMeasuredWidth() - v2.getPaddingLeft() - v2.getPaddingRight())
63 - (v1.getMeasuredWidth() - v1.getPaddingLeft() - v1.getPaddingRight()));
703 if (button.getPaddingLeft() != mDoubleLineButtonPaddingHorizontal) { in squeezeButtonToTextWidth()
754 if (child.getPaddingLeft() != buttonPaddingHorizontal) { in remeasureButtonsIfNecessary()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java161 - getPaddingLeft() - getPaddingRight(); in updateText()

123