Searched refs:mOnDetachCount (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AttachDetachAwareView.java | 24 int mOnDetachCount = 0; field in AttachDetachAwareView 38 mOnDetachCount++; in onDetachedFromWindow()
|
D | ListViewTest.java | 628 assertEquals("test sanity", 0, header.mOnDetachCount); in testFullDetachHeaderViewOnScroll() 633 assertEquals("header view should be detached", 1, header.mOnDetachCount); in testFullDetachHeaderViewOnScroll() 645 assertEquals("test sanity", 0, header.mOnDetachCount); in testFullDetachHeaderViewOnRelayout() 650 assertEquals("header view should be detached", 1, header.mOnDetachCount); in testFullDetachHeaderViewOnRelayout() 662 assertEquals("test sanity", 0, header.mOnDetachCount); in testFullDetachHeaderViewOnScrollForFocus() 664 assertEquals("header view should NOT be detached", 0, header.mOnDetachCount); in testFullDetachHeaderViewOnScrollForFocus() 668 assertEquals("header view should be detached", 1, header.mOnDetachCount); in testFullDetachHeaderViewOnScrollForFocus() 679 assertEquals("test sanity", 0, theView.mOnDetachCount); in testFullyDetachUnusedViewOnScroll() 684 assertEquals("unused view should be detached", 1, theView.mOnDetachCount); in testFullyDetachUnusedViewOnScroll() 693 assertEquals("view should not receive a detach call", 1, theView.mOnDetachCount); in testFullyDetachUnusedViewOnScroll() [all …]
|
D | GridViewTest.java | 579 assertEquals("test sanity", 0, theView.mOnDetachCount); 584 assertEquals("unused view should be detached", 1, theView.mOnDetachCount); 593 assertEquals("view should not receive a detach call", 1, theView.mOnDetachCount); 605 assertEquals("test sanity", 0, theView.mOnDetachCount); in testFullyDetachUnusedViewOnReLayout() 610 assertEquals("unused view should be detached", 1, theView.mOnDetachCount); in testFullyDetachUnusedViewOnReLayout() 617 assertEquals("view should not receive a detach call", 1, theView.mOnDetachCount); in testFullyDetachUnusedViewOnReLayout() 629 assertEquals("test sanity", 0, theView.mOnDetachCount); in testFullyDetachUnusedViewOnScrollForFocus() 631 assertEquals("the view should NOT be detached", 0, theView.mOnDetachCount); in testFullyDetachUnusedViewOnScrollForFocus() 635 assertEquals("the view should be detached", 1, theView.mOnDetachCount); in testFullyDetachUnusedViewOnScrollForFocus() 642 assertEquals("the view should not recieve another detach", 1, theView.mOnDetachCount); in testFullyDetachUnusedViewOnScrollForFocus()
|