Home
last modified time | relevance | path

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

1234

/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()
DGridLayoutManager.java275 totalSpace = getWidth() - getPaddingRight() - getPaddingLeft(); in updateMeasurements()
288 final int horizontalPadding = getPaddingLeft() + getPaddingRight(); in setMeasuredDimension()
664 right = getPaddingLeft() + mCachedBorders[mSpanCount - params.mSpanIndex]; in layoutChunk()
667 left = getPaddingLeft() + mCachedBorders[params.mSpanIndex]; in layoutChunk()
/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.java613 final int paddingLeft = getPaddingLeft(); in onDraw()
894 final int paddingLeft = getPaddingLeft(); in onLayout()
949 final int paddedX = x - getPaddingLeft(); in getDayAtLocation()
999 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/base/core/java/com/android/internal/view/
DScrollCaptureViewHelper.java47 return new Rect(view.getPaddingLeft(), view.getPaddingTop(), in onComputeScrollBounds()
/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/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/com/android/internal/app/
DResolverMultiProfilePagerAdapter.java77 emptyStateCont.getPaddingLeft(), in updateAfterConfigChange()
243 container.setPadding(container.getPaddingLeft(), container.getPaddingTop(), in setupContainerPadding()
/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/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/controls/ui/
DDetailDialog.kt97 val l = getPaddingLeft() in <lambda>()
/frameworks/opt/chips/src/com/android/ex/chips/
DCircularImageView.java80 destination.set(getPaddingLeft(), getPaddingTop(), getWidth() - getPaddingRight(), 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()

1234