Searched refs:setOneHandedModeEnabled (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedControllerTest.java | 399 when(mMockSettingsUitl.setOneHandedModeEnabled(any(), anyInt(), anyInt())).thenReturn( in testOneHandedDisabled_shortcutTrigger_thenAutoEnabled() 403 verify(mMockSettingsUitl).setOneHandedModeEnabled(any(), eq(1), anyInt()); in testOneHandedDisabled_shortcutTrigger_thenAutoEnabled() 461 when(mMockSettingsUitl.setOneHandedModeEnabled(any(), anyInt(), anyInt())).thenReturn( in testShortcutEnable_ableToAutoEnableOneHandedMode() 465 verify(mMockSettingsUitl).setOneHandedModeEnabled(any(), eq(1), anyInt()); in testShortcutEnable_ableToAutoEnableOneHandedMode() 474 when(mMockSettingsUitl.setOneHandedModeEnabled(any(), anyInt(), anyInt())).thenReturn(true); in testShortcutDisable_shouldNotAutoEnableOneHandedMode() 477 verify(mMockSettingsUitl, never()).setOneHandedModeEnabled(any(), anyInt(), anyInt()); in testShortcutDisable_shouldNotAutoEnableOneHandedMode()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedSettingsUtil.java | 120 public boolean setOneHandedModeEnabled(ContentResolver resolver, int enabled, int userId) { in setOneHandedModeEnabled() method in OneHandedSettingsUtil
|
D | OneHandedController.java | 502 final boolean success = mOneHandedSettingsUtil.setOneHandedModeEnabled(
|