Home | History | Annotate | Download | only in launcher3

Lines Matching full:padding

39     // The padding to apply to the container to achieve the bounds
89 * Update the backgrounds and padding in response to a change in the bounds or insets.
92 Rect padding;
96 padding = new Rect(mInsets.left + mContainerBoundsInset,
109 padding = new Rect(mFixedSearchBarBounds.left,
114 if (!padding.equals(mContentPadding) || !searchBarBounds.equals(mFixedSearchBarBounds)) {
115 mContentPadding.set(padding);
116 mContentBounds.set(padding.left, padding.top,
117 getMeasuredWidth() - padding.right,
118 getMeasuredHeight() - padding.bottom);
120 onUpdateBackgroundAndPaddings(mFixedSearchBarBounds, padding);
127 protected abstract void onUpdateBackgroundAndPaddings(Rect searchBarBounds, Rect padding);