Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DDragDropTest.java631 private boolean drawableStateContains(int resourceId, int attr) { in drawableStateContains() method in DragDropTest
651 assertFalse(drawableStateContains(R.id.inner, android.R.attr.state_drag_can_accept)); in testDrawableState()
657 assertFalse(drawableStateContains(R.id.inner, android.R.attr.state_drag_hovered)); in testDrawableState()
658 assertTrue(drawableStateContains(R.id.inner, android.R.attr.state_drag_can_accept)); in testDrawableState()
664 assertTrue(drawableStateContains(R.id.inner, android.R.attr.state_drag_hovered)); in testDrawableState()
670 assertFalse(drawableStateContains(R.id.inner, android.R.attr.state_drag_hovered)); in testDrawableState()
676 assertTrue(drawableStateContains(R.id.inner, android.R.attr.state_drag_hovered)); in testDrawableState()
682 assertFalse(drawableStateContains(R.id.inner, android.R.attr.state_drag_hovered)); in testDrawableState()