Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DInsettableFrameLayout.java25 public void setFrameLayoutChildInsets(View child, Rect newInsets, Rect oldInsets) { in setFrameLayoutChildInsets() argument
29 ((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()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DClusterHomeServiceUnitTest.java276 Insets newInsets = Insets.of(10, 10, 10, 10); in displayInsetsSendsDisplayState() local
278 newInsets); in displayInsetsSendsDisplayState()
282 assertThat(mClusterState.insets).isEqualTo(newInsets); in displayInsetsSendsDisplayState()
283 assertThat(mClusterHomeService.getClusterState().insets).isEqualTo(newInsets); in displayInsetsSendsDisplayState()