Searched refs:listener2 (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/text/src/android/text/method/cts/ |
D | DialerKeyListenerTest.java | 59 DialerKeyListener listener2 = DialerKeyListener.getInstance(); in testGetInstance() local 62 assertTrue(listener2 instanceof DialerKeyListener); in testGetInstance() 63 assertSame(listener1, listener2); in testGetInstance()
|
D | DateKeyListenerTest.java | 35 DateKeyListener listener2 = DateKeyListener.getInstance(); in testGetInstance() local 38 assertNotNull(listener2); in testGetInstance() 39 assertSame(listener1, listener2); in testGetInstance()
|
D | TextKeyListenerTest.java | 100 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()
|
D | DateTimeKeyListenerTest.java | 35 DateTimeKeyListener listener2 = DateTimeKeyListener.getInstance(); in testGetInstance() local 38 assertNotNull(listener2); in testGetInstance() 39 assertSame(listener1, listener2); in testGetInstance()
|
D | TimeKeyListenerTest.java | 32 TimeKeyListener listener2 = TimeKeyListener.getInstance(); in testGetInstance() local 35 assertNotNull(listener2); in testGetInstance() 36 assertSame(listener1, listener2); in testGetInstance()
|
D | DigitsKeyListenerTest.java | 590 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()
|
D | QwertyKeyListenerTest.java | 159 QwertyKeyListener listener2 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance() local 164 assertNotNull(listener2); in testGetInstance() 165 assertSame(listener1, listener2); in testGetInstance()
|
D | MultiTapKeyListenerTest.java | 213 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/ |
D | TransitionTest.java | 40 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/ |
D | AnimatorSetTest.java | 187 AnimatorListenerAdapter listener2 = new AnimatorListenerAdapter(){}; in testClone() local 193 animator2.addListener(listener2); in testClone() 228 assertTrue(clone2.getListeners().contains(listener2)); in testClone()
|
D | AnimatorTest.java | 173 MyListener listener2 = new MyListener(); in testRemoveAllListenerers() local 175 mAnimator.addListener(listener2); in testRemoveAllListenerers()
|