Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/method/cts/
DDialerKeyListenerTest.java59 DialerKeyListener listener2 = DialerKeyListener.getInstance(); in testGetInstance() local
62 assertTrue(listener2 instanceof DialerKeyListener); in testGetInstance()
63 assertSame(listener1, listener2); in testGetInstance()
DDateKeyListenerTest.java35 DateKeyListener listener2 = DateKeyListener.getInstance(); in testGetInstance() local
38 assertNotNull(listener2); in testGetInstance()
39 assertSame(listener1, listener2); in testGetInstance()
DTextKeyListenerTest.java100 TextKeyListener listener2 = TextKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance1() local
105 assertNotNull(listener2); in testGetInstance1()
106 assertSame(listener1, listener2); in testGetInstance1()
113 listener2.release(); in testGetInstance1()
120 TextKeyListener listener2 = TextKeyListener.getInstance(); in testGetInstance2() local
123 assertNotNull(listener2); in testGetInstance2()
124 assertSame(listener1, listener2); in testGetInstance2()
127 listener2.release(); in testGetInstance2()
DDateTimeKeyListenerTest.java35 DateTimeKeyListener listener2 = DateTimeKeyListener.getInstance(); in testGetInstance() local
38 assertNotNull(listener2); in testGetInstance()
39 assertSame(listener1, listener2); in testGetInstance()
DTimeKeyListenerTest.java32 TimeKeyListener listener2 = TimeKeyListener.getInstance(); in testGetInstance() local
35 assertNotNull(listener2); in testGetInstance()
36 assertSame(listener1, listener2); in testGetInstance()
DDigitsKeyListenerTest.java590 DigitsKeyListener listener2 = DigitsKeyListener.getInstance(); in testGetInstance1() local
593 assertNotNull(listener2); in testGetInstance1()
594 assertSame(listener1, listener2); in testGetInstance1()
599 DigitsKeyListener listener2 = DigitsKeyListener.getInstance(true, true); in testGetInstance2() local
602 assertNotNull(listener2); in testGetInstance2()
603 assertSame(listener1, listener2); in testGetInstance2()
606 listener2 = DigitsKeyListener.getInstance(true, false); in testGetInstance2()
609 assertNotNull(listener2); in testGetInstance2()
610 assertSame(listener1, listener2); in testGetInstance2()
DQwertyKeyListenerTest.java159 QwertyKeyListener listener2 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance() local
164 assertNotNull(listener2); in testGetInstance()
165 assertSame(listener1, listener2); in testGetInstance()
DMultiTapKeyListenerTest.java213 MultiTapKeyListener listener2 = MultiTapKeyListener.getInstance(false, Capitalize.NONE); in testGetInstance() local
218 assertNotNull(listener2); in testGetInstance()
219 assertSame(listener1, listener2); in testGetInstance()
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionTest.java40 final SimpleTransitionListener listener2 = new SimpleTransitionListener(); in testAddListener() local
47 autoTransition.addListener(listener2); in testAddListener()
53 waitForStart(listener2); in testAddListener()
61 assertFalse(listener2.paused); in testAddListener()
62 assertFalse(listener2.resumed); in testAddListener()
63 assertFalse(listener2.canceled); in testAddListener()
64 assertFalse(listener2.ended); in testAddListener()
65 assertTrue(listener2.started); in testAddListener()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java187 AnimatorListenerAdapter listener2 = new AnimatorListenerAdapter(){}; in testClone() local
193 animator2.addListener(listener2); in testClone()
228 assertTrue(clone2.getListeners().contains(listener2)); in testClone()
DAnimatorTest.java173 MyListener listener2 = new MyListener(); in testRemoveAllListenerers() local
175 mAnimator.addListener(listener2); in testRemoveAllListenerers()