Searched refs:shouldSnapToPowerButton (Results 1 – 2 of 2) sorted by relevance
130 doReturn(false).when(mColumnLayout).shouldSnapToPowerButton(); in testUpdateSnap_initialState()140 doReturn(true).when(mColumnLayout).shouldSnapToPowerButton(); in testUpdateSnap_snapThenSnap()155 doReturn(true).when(mColumnLayout).shouldSnapToPowerButton(); in testUpdateSnap_snapThenCenter()162 doReturn(false).when(mColumnLayout).shouldSnapToPowerButton(); in testUpdateSnap_snapThenCenter()179 assertEquals(true, mColumnLayout.shouldSnapToPowerButton()); in testShouldSnapToPowerButton_vertical()183 assertEquals(false, mColumnLayout.shouldSnapToPowerButton()); in testShouldSnapToPowerButton_vertical()195 assertEquals(true, mColumnLayout.shouldSnapToPowerButton()); in testShouldSnapToPowerButton_horizontal()199 assertEquals(false, mColumnLayout.shouldSnapToPowerButton()); in testShouldSnapToPowerButton_horizontal()
137 protected boolean shouldSnapToPowerButton() { in shouldSnapToPowerButton() method in GlobalActionsColumnLayout155 boolean snap = shouldSnapToPowerButton(); in updateSnap()