Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapUtils.java94 int paddingLeft = rect.left; in calculateHorizontalAlignment() local
96 int totalHorizontalPadding = paddingLeft + paddingRight; in calculateHorizontalAlignment()
101 : paddingLeft / ((float) paddingLeft + paddingRight); in calculateHorizontalAlignment()
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerCircleFrameLayout.java51 final int paddingLeft = getPaddingLeft(); in onMeasure() local
58 final int width = MeasureSpec.getSize(widthMeasureSpec) - paddingLeft - paddingRight; in onMeasure()
67 widthMeasureSpec = MeasureSpec.makeMeasureSpec(size + paddingLeft + paddingRight, in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java216 int paddingLeft = getPaddingLeft(); in updateDrawableBounds() local
222 int availableWidth = getWidth() - paddingLeft - paddingRight - 2 * minPadding; in updateDrawableBounds()
276 mRect.left = paddingLeft + minPadding; in updateDrawableBounds()
284 mRect.left = paddingLeft + minPadding; in updateDrawableBounds()
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java206 int paddingLeft = getPaddingLeft(); in onDraw() local
213 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
231 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
254 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/
DScaledLayout.java266 int paddingLeft = getPaddingLeft(); in onLayout() local
272 int childLeft = paddingLeft + mRectArray[i].left; in onLayout()
274 int childBottom = paddingLeft + mRectArray[i].bottom; in onLayout()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java148 int paddingLeft = v.getPaddingLeft(); in fixGravityAndPadding() local
152 v.setPadding(paddingBottom, paddingRight, paddingTop, paddingLeft); in fixGravityAndPadding()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java1111 final int paddingLeft = mPaddingLeft; in layoutVertical() local
1121 int childSpace = width - paddingLeft - mPaddingRight; in layoutVertical()
1164 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()
1174 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java1111 final int paddingLeft = mPaddingLeft; in layoutVertical() local
1121 int childSpace = width - paddingLeft - mPaddingRight; in layoutVertical()
1164 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()
1174 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()