Home
last modified time | relevance | path

Searched refs:mTouchHelper (Results 1 – 4 of 4) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowUntrustedTouchTest.java145 private TouchHelper mTouchHelper; field in WindowUntrustedTouchTest
202 mTouchHelper = new TouchHelper(mInstrumentation, mWmState); in setUp()
245 mTouchHelper.tapOnViewCenter(mContainer); in testWhenFeatureInDisabledModeAndActivityWindowAbove_allowsTouch()
256 mTouchHelper.tapOnViewCenter(mContainer); in testWhenFeatureInPermissiveModeAndActivityWindowAbove_allowsTouch()
267 mTouchHelper.tapOnViewCenter(mContainer); in testWhenFeatureInBlockModeAndActivityWindowAbove_blocksTouch()
321 mTouchHelper.tapOnViewCenter(mContainer); in testAfterSettingThresholdGreaterThan1ViaSettings_previousThresholdIsUsed()
338 mTouchHelper.tapOnViewCenter(mContainer); in testAfterSettingThresholdLessThan0ViaSettings_previousThresholdIsUsed()
350 mTouchHelper.tapOnViewCenter(mContainer); in testWhenOneSawWindowAboveThreshold_blocksTouch()
359 mTouchHelper.tapOnViewCenter(mContainer); in testWhenOneSawWindowBelowThreshold_allowsTouch()
368 mTouchHelper.tapOnViewCenter(mContainer); in testWhenOneSawWindowWithZeroOpacity_allowsTouch()
[all …]
DAnrTests.java130 mTouchHelper.tapOnTaskCenterAsync(unresponsiveActivityTask); in slowOnTouchEventHandleTriggersAnr()
149 mTouchHelper.tapOnTaskCenterAsync(hostActivityTask); in embeddedWindowTriggersAnr()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java327 protected TouchHelper mTouchHelper = new TouchHelper(mInstrumentation, mWmState); field in ActivityManagerTestBase
698 mTouchHelper.touchAndCancelOnDisplayCenterSync(displayId); in touchAndCancelOnDisplayCenterSync()
702 mTouchHelper.tapOnDisplaySync(x, y, displayId); in tapOnDisplaySync()
706 mTouchHelper.tapOnDisplay(x, y, displayId, sync); in tapOnDisplay()
710 mTouchHelper.tapOnCenter(bounds, displayId); in tapOnCenter()
714 mTouchHelper.tapOnViewCenter(view); in tapOnViewCenter()
718 mTouchHelper.tapOnTaskCenter(task); in tapOnTaskCenter()
722 mTouchHelper.tapOnDisplayCenter(displayId); in tapOnDisplayCenter()
726 mTouchHelper.tapOnDisplayCenterAsync(displayId); in tapOnDisplayCenterAsync()
/cts/tests/tests/systemui/src/android/systemui/cts/
DWindowInsetsBehaviorTests.java114 private TouchHelper mTouchHelper; field in WindowInsetsBehaviorTests
283 mTouchHelper = new TouchHelper(getInstrumentation()); in setUp()
374 if (!mTouchHelper.click(p.x, p.y)) { in clickAndWaitByUiDevice()