Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DZoomControlsTest.java51 final MockOnClickListener clickListener = new MockOnClickListener(); in testSetOnZoomInClickListener() local
52 zoomControls.setOnZoomInClickListener(clickListener); in testSetOnZoomInClickListener()
69 final MockOnClickListener clickListener = new MockOnClickListener(); in testSetOnZoomOutClickListener() local
70 zoomControls.setOnZoomOutClickListener(clickListener); in testSetOnZoomOutClickListener()
DAdapterViewTest.java253 MockOnItemClickListener clickListener = new MockOnItemClickListener(); in testAccessOnItemClickAndLongClickListener() local
258 mAdapterView.setOnItemClickListener(clickListener); in testAccessOnItemClickAndLongClickListener()
261 assertFalse(clickListener.isClicked()); in testAccessOnItemClickAndLongClickListener()
263 assertTrue(clickListener.isClicked()); in testAccessOnItemClickAndLongClickListener()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DPassFailButtons.java273 View.OnClickListener clickListener = new View.OnClickListener() { in setPassFailClickListeners() local
282 passButton.setOnClickListener(clickListener); in setPassFailClickListeners()
292 failButton.setOnClickListener(clickListener); in setPassFailClickListeners()
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java742 View.OnClickListener clickListener = new View.OnClickListener() { in testSetLocalFocus() local
751 mPresentation.button1.setOnClickListener(clickListener); in testSetLocalFocus()
752 mPresentation.button2.setOnClickListener(clickListener); in testSetLocalFocus()
753 mPresentation.button3.setOnClickListener(clickListener); in testSetLocalFocus()