Searched refs:newInsets (Results 1 – 2 of 2) sorted by relevance
25 public void setFrameLayoutChildInsets(View child, Rect newInsets, Rect oldInsets) { in setFrameLayoutChildInsets() argument29 ((Insettable) child).setInsets(newInsets); in setFrameLayoutChildInsets()31 lp.topMargin += (newInsets.top - oldInsets.top); in setFrameLayoutChildInsets()32 lp.leftMargin += (newInsets.left - oldInsets.left); in setFrameLayoutChildInsets()33 lp.rightMargin += (newInsets.right - oldInsets.right); in setFrameLayoutChildInsets()34 lp.bottomMargin += (newInsets.bottom - oldInsets.bottom); in setFrameLayoutChildInsets()
276 Insets newInsets = Insets.of(10, 10, 10, 10); in displayInsetsSendsDisplayState() local278 newInsets); in displayInsetsSendsDisplayState()282 assertThat(mClusterState.insets).isEqualTo(newInsets); in displayInsetsSendsDisplayState()283 assertThat(mClusterHomeService.getClusterState().insets).isEqualTo(newInsets); in displayInsetsSendsDisplayState()