Searched refs:marginLayoutParams (Results 1 – 6 of 6) sorted by relevance
162 MarginLayoutParams marginLayoutParams = (MarginLayoutParams) getLayoutParams(); in updateDimensions() local172 if (marginLayoutParams.rightMargin == rightMargin in updateDimensions()173 && marginLayoutParams.topMargin == topMargin) { in updateDimensions()176 marginLayoutParams.rightMargin = rightMargin; in updateDimensions()177 marginLayoutParams.topMargin = topMargin; in updateDimensions()187 marginLayoutParams.rightMargin = parentRight - rotatedBounds.right - getPaddingX(); in updateDimensions()188 marginLayoutParams.bottomMargin = in updateDimensions()192 marginLayoutParams.leftMargin = rotatedBounds.left - parentLeft - getPaddingX(); in updateDimensions()193 marginLayoutParams.bottomMargin = in updateDimensions()
51 final MarginLayoutParams marginLayoutParams = (MarginLayoutParams)lp; in placeViewAt() local52 marginLayoutParams.width = w; in placeViewAt()53 marginLayoutParams.height = h; in placeViewAt()54 marginLayoutParams.setMargins(x, y, 0, 0); in placeViewAt()
150 ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) params; in setItemSpacing() local151 marginLayoutParams.bottomMargin = mVerticalSpacing; in setItemSpacing()155 marginLayoutParams.leftMargin = col * splitHorizontalSpacing; in setItemSpacing()156 marginLayoutParams.rightMargin = (mNumCols - (col + 1)) * splitHorizontalSpacing; in setItemSpacing()158 rootItemView.setLayoutParams(marginLayoutParams); in setItemSpacing()
73 MarginLayoutParams marginLayoutParams = (MarginLayoutParams) list.getLayoutParams(); in onCreateView() local77 marginLayoutParams.rightMargin = doneButtonWidth; in onCreateView()79 marginLayoutParams.leftMargin = doneButtonWidth; in onCreateView()
154 ViewGroup.MarginLayoutParams marginLayoutParams = in updateView() local158 marginLayoutParams.setMargins(tabMarginSide, 0, tabMarginSide, 0); in updateView()
794 MarginLayoutParams marginLayoutParams = (MarginLayoutParams) view.getLayoutParams(); in measureHeightWithVerticalMargins() local795 return view.getMeasuredHeight() + marginLayoutParams.bottomMargin in measureHeightWithVerticalMargins()796 + marginLayoutParams.topMargin; in measureHeightWithVerticalMargins()