Home
last modified time | relevance | path

Searched refs:leftMargin (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/app/widget/
DSearchEditTextLayout.java44 private int leftMargin; field in SearchEditTextLayout
84 leftMargin = params.leftMargin; in onFinishInflate()
327 params.leftMargin = (int) (leftMargin * fraction); in setMargins()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java370 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal()
389 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal()
754 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical()
846 lp.leftMargin + lp.rightMargin, lp.width); in measureVertical()
874 lp.leftMargin + lp.rightMargin, lp.width); in measureVertical()
891 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical()
1165 + lp.leftMargin - lp.rightMargin; in layoutVertical()
1174 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
1328 childLeft += lp.leftMargin; in layoutHorizontal()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java370 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal()
389 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal()
754 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical()
846 lp.leftMargin + lp.rightMargin, lp.width); in measureVertical()
874 lp.leftMargin + lp.rightMargin, lp.width); in measureVertical()
891 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical()
1165 + lp.leftMargin - lp.rightMargin; in layoutVertical()
1174 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
1328 childLeft += lp.leftMargin; in layoutHorizontal()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumLabelMaker.java175 int x = s.leftMargin + s.iconSize; in run()
179 drawText(canvas, x, y, title, labelWidth - s.leftMargin - x - in run()
193 canvas.translate(s.leftMargin, (s.labelBackgroundHeight - in run()
DAlbumSetSlotRenderer.java59 public int leftMargin; field in AlbumSetSlotRenderer.LabelSpec
/packages/apps/Contacts/src/com/android/contacts/widget/
DInterpolatingLayout.java166 return leftMargin; in resolveLeftMargin()
305 int leftMargin = params.resolveLeftMargin(width); in onLayout() local
308 mInRect.set(offset + leftMargin, params.topMargin, in onLayout()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBaseOverview.java59 final int leftMargin = mLauncher.getTargetInsets().left; in flingForwardImpl() local
61 overview, Direction.LEFT, new Rect(leftMargin + 1, 0, 0, 0), 20, false); in flingForwardImpl()
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DWorkspacePageIndicator.java265 lp.leftMargin = padding.left + grid.workspaceCellPaddingXPx; in setInsets()
269 lp.leftMargin = lp.rightMargin = 0; in setInsets()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskView.java474 iconParams.leftMargin = 0; in setOrientationState()
480 iconParams.leftMargin = iconParams.topMargin = iconParams.rightMargin = 0; in setOrientationState()
484 iconParams.leftMargin = -thumbnailPadding; in setOrientationState()
491 iconParams.leftMargin = iconParams.topMargin = iconParams.rightMargin = 0; in setOrientationState()
DOverviewActionsView.java219 params.leftMargin, params.topMargin, params.rightMargin, bottomMargin); in updateVerticalMargin()
DAllAppsEduView.java220 lp.leftMargin = (grid.widthPx - mWidthPx) / 2; in init()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java102 + layoutParams.leftMargin + layoutParams.rightMargin; in onMeasure()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiLayoutParams.java88 lp.leftMargin = mKeyHorizontalGap / 2; in setKeyProperties()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupMultiPaneFragment.java80 ((MarginLayoutParams) doneButtonContainer.getLayoutParams()).leftMargin = in onCreateView()
DSetupGuidedStepFragment.java79 marginLayoutParams.leftMargin = doneButtonWidth; in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/
DInsettableFrameLayout.java32 lp.leftMargin += (newInsets.left - oldInsets.left); in setFrameLayoutChildInsets()
DDropTargetBar.java86 lp.leftMargin = insets.left; in setInsets()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DConfig.java68 labelSpec.leftMargin = r.getDimensionPixelSize( in AlbumSetPage()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DArrowTipView.java157 params.leftMargin = mActivity.getDeviceProfile().workspacePadding.left; in show()
DClipIconView.java276 : lp.leftMargin; in setIcon()
/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java220 return leftMargin; in getStartMargin()
DSnackBar.java288 lp.leftMargin = leftRightMargin; in setUpButton()
/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
DSearchBarView.java193 params.leftMargin = margin; in setMargins()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp56 sint32 currStripHeight, sint32 numLinesThisCall, sint32 currMediaWidth, sint32 leftMargin, in shiftStripByLeftMargin() argument
68 toPtr = newStrip + leftMargin + (i * currMediaWidth); in shiftStripByLeftMargin()
75 sint32 shiftAmount = leftMargin * 3; in shiftStripByLeftMargin()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java406 + lp.leftMargin + lp.rightMargin; in dismissFab()

12