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.java391 public void onPointerCaptureChanged(boolean hasCapture) { in onPointerCaptureChanged() argument
393 mHasPointerCapture = hasCapture; in onPointerCaptureChanged()
398 void waitAndAssertPointerCaptureState(boolean hasCapture) throws InterruptedException { in waitAndAssertPointerCaptureState() argument
400 if (mHasPointerCapture != hasCapture) { in waitAndAssertPointerCaptureState()
403 assertEquals(getLogTag() + " must" + (hasCapture ? "" : " not") in waitAndAssertPointerCaptureState()
404 + " have pointer capture.", hasCapture, mHasPointerCapture); in waitAndAssertPointerCaptureState()