Home
last modified time | relevance | path

Searched refs:mHorizontalPadding (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DBaseContainerView.java47 protected final int mHorizontalPadding; field in BaseContainerView
71 mHorizontalPadding = Math.max(minMargin, (width - maxSize) / 2); in BaseContainerView()
73 mHorizontalPadding = Math.max(minMargin, in BaseContainerView()
112 mHorizontalPadding, in updateBackgroundAndPaddings()
114 mHorizontalPadding, in updateBackgroundAndPaddings()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java415 private IntegerAnimation mHorizontalPadding = new IntegerAnimation(); field in SlotView.Layout
424 mHorizontalPadding.setEnabled(true); in setSlotCount()
428 int hPadding = mHorizontalPadding.getTarget(); in setSlotCount()
432 || hPadding != mHorizontalPadding.getTarget(); in setSlotCount()
445 int x = mHorizontalPadding.get() + col * (mSlotWidth + mSlotGap); in getSlotRect()
515 mHorizontalPadding.startAnimateTo(padding[1]); in initLayoutParameters()
519 mHorizontalPadding.startAnimateTo(padding[0]); in initLayoutParameters()
581 absoluteX -= mHorizontalPadding.get(); in getSlotIndexByPosition()
621 return mVerticalPadding.calculate(animTime) | mHorizontalPadding.calculate(animTime); in advanceAnimation()