Home
last modified time | relevance | path

Searched refs:leftMargin (Results 1 – 25 of 32) 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/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/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/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/quickstep/recents_ui_overrides/src/com/android/quickstep/
DQuickstepTestInformationHandler.java49 final int leftMargin = MAIN_EXECUTOR.submit(() -> in call() local
51 response.putInt(TestProtocol.TEST_INFO_RESPONSE_FIELD, leftMargin); in call()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBaseOverview.java55 final int leftMargin = mLauncher.getTestInfo( in flingForward() local
58 mLauncher.scroll(overview, Direction.LEFT, new Rect(leftMargin, 0, 0, 0), 20); in flingForward()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java663 childTop = parentHeight - lp.leftMargin - width / 2 - height / 2; in onLayout()
669 lp.leftMargin - lp.rightMargin; in onLayout()
682 lp.leftMargin - lp.rightMargin; in onLayout()
689 childLeft = lp.leftMargin; in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherRootView.java92 if (lp.leftMargin != mConsumedInsets.left || lp.rightMargin != mConsumedInsets.right || in handleSystemWindowInsets()
94 lp.leftMargin = mConsumedInsets.left; in handleSystemWindowInsets()
DInsettableFrameLayout.java32 lp.leftMargin += (newInsets.left - oldInsets.left); in setFrameLayoutChildInsets()
DDropTargetBar.java86 lp.leftMargin = insets.left; in setInsets()
/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/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.kt112 layoutParams.leftMargin + layoutParams.rightMargin) in onMeasure()
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/allapps/
DAllAppsContainerView.java333 mlp.leftMargin = insets.left; in setInsets()
337 mlp.leftMargin = mlp.rightMargin = 0; in setInsets()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DConfig.java68 labelSpec.leftMargin = r.getDimensionPixelSize( in AlbumSetPage()
/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/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java340 : lp.leftMargin; in updatePosition()
528 : lp.leftMargin; in setIcon()

12