Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherRootView.java51 if (lp.leftMargin != insets.left || lp.rightMargin != insets.right) { in fitSystemWindows()
52 lp.leftMargin = insets.left; in fitSystemWindows()
DInsettableFrameLayout.java28 lp.leftMargin += (newInsets.left - oldInsets.left); in setFrameLayoutChildInsets()
/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/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/TV/src/com/android/tv/ui/
DTunableTvView.java867 || tvViewLp.leftMargin != lp.leftMargin in copyLayoutParamsToTvView()
872 if (lp.topMargin == tvViewLp.topMargin && lp.leftMargin == tvViewLp.leftMargin) { in copyLayoutParamsToTvView()
877 tvViewLp.leftMargin = lp.leftMargin + 1; in copyLayoutParamsToTvView()
879 tvViewLp.leftMargin = lp.leftMargin; in copyLayoutParamsToTvView()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorPadLayout.java82 final int childLeft = paddingLeft + lp.leftMargin + in onLayout()
84 final int childRight = childLeft - lp.leftMargin - lp.rightMargin + columnWidth; in onLayout()
/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/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java471 leftMargin - rightMargin; in setup()
476 x = hStartPadding + myCellX * (cellWidth + widthGap) + leftMargin; in setup()
479 x = myCellX * (cellWidth + widthGap) + leftMargin; in setup()
/packages/apps/Dialer/src/com/android/dialer/widget/
DSearchEditTextLayout.java91 mLeftMargin = params.leftMargin; in onFinishInflate()
317 params.leftMargin = (int) (mLeftMargin * fraction); in setMargins()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupMultiPaneFragment.java51 ((MarginLayoutParams) doneButtonContainer.getLayoutParams()).leftMargin = in onCreateView()
DSetupGuidedStepFragment.java68 marginLayoutParams.leftMargin = doneButtonWidth; in onCreateView()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java102 + layoutParams.leftMargin + layoutParams.rightMargin; in onMeasure()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DMaxWidthLayout.java88 mMaxChildrenWidth - lp.leftMargin - lp.rightMargin, MeasureSpec.EXACTLY); in onMeasure()
DCarLayoutManager.java778 int left = getPaddingLeft() + params.leftMargin;
816 int left = getPaddingLeft() + newRowParams.leftMargin;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiLayoutParams.java88 lp.leftMargin = mKeyHorizontalGap / 2; in setKeyProperties()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DHeaderElevationController.java70 lp.leftMargin = bgPadding.left; in updateBackgroundPadding()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java644 getPaddingLeft() + getPaddingRight() + p.leftMargin + p.rightMargin, p.width); in measureOverlayView()
727 final int childLeft = lp.leftMargin; in onLayout()
842 final int childLeft = getPaddingLeft() + lp.leftMargin; in layoutOverlay()
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java374 params.leftMargin = currentTimePositionPixel + mTimeTextLeftMargin; in updateTime()
378 params.leftMargin = currentTimePositionPixel + mTimeIndicatorLeftMargin; in updateTime()
/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/Launcher3/src/com/android/launcher3/testing/
DWeightWatcher.java163 params.leftMargin = (int)(4*dp); in ProcessWatcher()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/
DTitledSettingsFragment.java156 params.leftMargin = margin; in positionOnCircular()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java406 + lp.leftMargin + lp.rightMargin; in dismissFab()

12