Searched refs:newInsets (Results 1 – 1 of 1) sorted by relevance
21 public void setFrameLayoutChildInsets(View child, Rect newInsets, Rect oldInsets) { in setFrameLayoutChildInsets() argument25 ((Insettable) child).setInsets(newInsets); in setFrameLayoutChildInsets()27 lp.topMargin += (newInsets.top - oldInsets.top); in setFrameLayoutChildInsets()28 lp.leftMargin += (newInsets.left - oldInsets.left); in setFrameLayoutChildInsets()29 lp.rightMargin += (newInsets.right - oldInsets.right); in setFrameLayoutChildInsets()30 lp.bottomMargin += (newInsets.bottom - oldInsets.bottom); in setFrameLayoutChildInsets()