Home
last modified time | relevance | path

Searched refs:paddingLeft (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAbsSpinnerCompat.java151 final int paddingLeft = getPaddingLeft(); in onMeasure() local
156 mSpinnerPadding.left = paddingLeft > mSelectionLeftPadding ? paddingLeft in onMeasure()
DListViewCompat.java254 final int paddingLeft = getListPaddingLeft(); in measureHeightOfChildrenCompat() local
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java746 final int paddingLeft = getPaddingLeft(); in layoutChildren() local
750 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in layoutChildren()
804 final int childLeft = paddingLeft + col * (colWidth + itemMargin); in layoutChildren()
882 final int paddingLeft = getPaddingLeft(); in fillUp() local
886 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in fillUp()
967 final int childLeft = paddingLeft + nextCol * (colWidth + itemMargin); in fillUp()
996 final int paddingLeft = getPaddingLeft(); in fillDown() local
1000 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in fillDown()
1081 final int childLeft = paddingLeft + nextCol * (colWidth + itemMargin); in fillDown()
/frameworks/base/tools/aapt/
DImages.cpp595 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = in do_9patch()
645 … if (get_horizontal_ticks(image->rows[H-1], W, transparent, false, &image->info9Patch.paddingLeft, in do_9patch()
647 errorPixel = image->info9Patch.paddingLeft; in do_9patch()
683 if (image->info9Patch.paddingLeft < 0) { in do_9patch()
684 image->info9Patch.paddingLeft = xDivs[0]; in do_9patch()
702 image->info9Patch.paddingLeft, image->info9Patch.paddingRight, in do_9patch()
829 assert(outPatch->paddingLeft == inPatch->paddingLeft); in checkNinePatchSerialization()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java348 final int paddingLeft = getPaddingLeft(); in updateTextPositions() local
352 final int textPaddedLeft = paddingLeft + halfCurrWidth; in updateTextPositions()
407 final int prevLeft = Math.min(paddingLeft, currLeft - mScaledTextSpacing - prevWidth); in updateTextPositions()
DViewPager.java1506 int paddingLeft = getPaddingLeft();
1527 childLeft = paddingLeft;
1530 childLeft = paddingLeft;
1531 paddingLeft += child.getMeasuredWidth();
1535 paddingLeft);
1568 final int childWidth = width - paddingLeft - paddingRight;
1577 int childLeft = paddingLeft + loff;
1679 int paddingLeft = getPaddingLeft();
1692 childLeft = paddingLeft;
1695 childLeft = paddingLeft;
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DSlidingChallengeLayout.java938 final int paddingLeft = getPaddingLeft();
956 final int center = (paddingLeft + width - paddingRight) / 2;
968 final int center = (paddingLeft + width - paddingRight) / 2;
979 child.layout(paddingLeft + lp.leftMargin,
981 paddingLeft + child.getMeasuredWidth(),
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp119 chunk->paddingLeft = int(chunk->paddingLeft * scale + 0.5f); in scaleNinePatchChunk()
423 peeker.mPatch->paddingLeft, peeker.mPatch->paddingTop, in doDecode()
/frameworks/base/core/java/android/widget/
DSwitch.java646 int paddingLeft = padding.left; in onMeasure() local
650 paddingLeft = Math.max(paddingLeft, inset.left); in onMeasure()
655 2 * mThumbWidth + paddingLeft + paddingRight); in onMeasure()
DLinearLayout.java1485 final int paddingLeft = mPaddingLeft; in layoutVertical() local
1495 int childSpace = width - paddingLeft - mPaddingRight; in layoutVertical()
1538 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()
1548 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
DToolbar.java1315 final int paddingLeft = getPaddingLeft(); in onLayout() local
1319 int left = paddingLeft; in onLayout()
1507 final int parentCenter = paddingLeft + (width - paddingLeft - paddingRight) / 2; in onLayout()
DGridLayout.java1122 int paddingLeft = getPaddingLeft(); in onLayout() local
1127 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout()
1182 int cx = !isLayoutRtl() ? paddingLeft + leftMargin + dx : in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java796 int paddingLeft = getPaddingLeft(); in dispatchDraw() local
799 paddingLeft += getLeftPaddingOffset(); in dispatchDraw()
802 int left = getScrollX() + paddingLeft; in dispatchDraw()
803 int right = left + getRight() - getLeft() - getPaddingRight() - paddingLeft; in dispatchDraw()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1429 final int paddingLeft = 100 * getPaddingLeft() / viewportWidth; in layoutCue() local
1431 if (xPosition < paddingLeft && xPosition + size > paddingLeft) { in layoutCue()
1432 xPosition += paddingLeft; in layoutCue()
1433 size -= paddingLeft; in layoutCue()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java1422 final int paddingLeft = getPaddingLeft(); in layoutVertical() local
1432 int childSpace = width - paddingLeft - getPaddingRight(); in layoutVertical()
1476 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()
1486 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
DSwitchCompat.java536 int paddingLeft = padding.left; in onMeasure() local
540 2 * mThumbWidth + paddingLeft + paddingRight); in onMeasure()
DToolbar.java1331 final int paddingLeft = getPaddingLeft(); in onLayout() local
1335 int left = paddingLeft; in onLayout()
1523 final int parentCenter = paddingLeft + (width - paddingLeft - paddingRight) / 2; in onLayout()
/frameworks/base/docs/html/guide/topics/ui/layout/
Dlinear.jd87 android:paddingLeft="16dp"
Drelative.jd87 android:paddingLeft="16dp"
/frameworks/base/docs/html/training/wearables/ui/
Dcards.jd134 android:paddingLeft="5dp">
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1011 int paddingLeft = getPaddingLeft(); in onLayout() local
1016 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout()
1071 int cx = !isLayoutRtlCompat() ? paddingLeft + leftMargin + dx : in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java927 final int paddingLeft = getPaddingLeft(); in onMeasure() local
933 int availableWidth = contentWidth - paddingLeft - paddingRight; in onMeasure()
/frameworks/base/include/androidfw/
DResourceTypes.h133 int32_t paddingLeft, paddingRight; member
/frameworks/base/libs/androidfw/
DResourceTypes.cpp156 paddingLeft = htonl(paddingLeft); in deviceToFile()
176 paddingLeft = ntohl(paddingLeft); in fileToDevice()
213 memcpy(data + 12, &patch.paddingLeft, 16); // copy paddingXXXX in serialize()
/frameworks/base/core/java/android/view/
DView.java15265 int paddingLeft = mPaddingLeft;
15269 paddingLeft += getLeftPaddingOffset();
15272 int left = mScrollX + paddingLeft;
15273 int right = left + mRight - mLeft - mPaddingRight - paddingLeft;

12