Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
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()
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()
DPointerCaptureCtsActivity.java39 public void onPointerCaptureChanged(boolean hasCapture) { in onPointerCaptureChanged() argument
40 mHasCapture = hasCapture; in onPointerCaptureChanged()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowFocusTests.java390 public void onPointerCaptureChanged(boolean hasCapture) { in onPointerCaptureChanged() argument
392 mHasPointerCapture = hasCapture; in onPointerCaptureChanged()
397 void waitAndAssertPointerCaptureState(boolean hasCapture) throws InterruptedException { in waitAndAssertPointerCaptureState() argument
399 if (mHasPointerCapture != hasCapture) { in waitAndAssertPointerCaptureState()
402 assertEquals(getLogTag() + " must" + (hasCapture ? "" : " not") in waitAndAssertPointerCaptureState()
403 + " have pointer capture.", hasCapture, mHasPointerCapture); in waitAndAssertPointerCaptureState()