Home
last modified time | relevance | path

Searched refs:hasCapture (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DPointerCaptureGroup.java49 public void dispatchPointerCaptureChanged(boolean hasCapture) { in dispatchPointerCaptureChanged() argument
51 super.dispatchPointerCaptureChanged(hasCapture); in dispatchPointerCaptureChanged()
55 public void onPointerCaptureChange(boolean hasCapture) { in onPointerCaptureChange() argument
57 super.onPointerCaptureChange(hasCapture); in onPointerCaptureChange()
DPointerCaptureView.java49 public void dispatchPointerCaptureChanged(boolean hasCapture) { in dispatchPointerCaptureChanged() argument
51 super.dispatchPointerCaptureChanged(hasCapture); in dispatchPointerCaptureChanged()
55 public void onPointerCaptureChange(boolean hasCapture) { in onPointerCaptureChange() argument
57 super.onPointerCaptureChange(hasCapture); in onPointerCaptureChange()
DPointerCaptureCtsActivity.java39 public void onPointerCaptureChanged(boolean hasCapture) { in onPointerCaptureChanged() argument
40 mHasCapture = hasCapture; in onPointerCaptureChanged()
/cts/tests/tests/hardware/src/android/hardware/input/cts/
DInputCtsActivity.java83 public void onPointerCaptureChanged(boolean hasCapture) { in onPointerCaptureChanged() argument
85 mPointerCaptureCallback.accept(hasCapture); in onPointerCaptureChanged()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowFocusTests.java543 public void onPointerCaptureChanged(boolean hasCapture) { in onPointerCaptureChanged() argument
544 StateLogger.logAlways(getLogTag() + " onPointerCaptureChanged: " + hasCapture); in onPointerCaptureChanged()
546 mHasPointerCapture = hasCapture; in onPointerCaptureChanged()
549 super.onPointerCaptureChanged(hasCapture); in onPointerCaptureChanged()
552 void waitAndAssertPointerCaptureState(boolean hasCapture) { in waitAndAssertPointerCaptureState() argument
554 if (mHasPointerCapture != hasCapture) { in waitAndAssertPointerCaptureState()
560 assertEquals(getLogTag() + " must" + (hasCapture ? "" : " not") in waitAndAssertPointerCaptureState()
561 + " have pointer capture.", hasCapture, mHasPointerCapture); in waitAndAssertPointerCaptureState()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java453 mTestActivity.setPointerCaptureCallback(hasCapture -> { in ensurePointerCaptureState()
454 if (enable == hasCapture) { in ensurePointerCaptureState()