Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DVisibilityCallbackTest.java35 private VisibilityCallback.MonitoredTextView mVictim; field in VisibilityCallbackTest
52 mVictim = (VisibilityCallback.MonitoredTextView) a.findViewById(R.id.victim); in setUp()
58 mVictim.post(new Runnable() { in setUp()
60 mVictim.setVisibility(View.INVISIBLE); in setUp()
71 assertNotNull(mVictim); in testSetUpConditions()
77 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testSetUpConditions()
84 mVictim.setVisibility(View.VISIBLE); in testDirect()
85 assertEquals(View.VISIBLE, mVictim.getLastChangedVisibility()); in testDirect()
86 assertEquals(mVictim, mVictim.getLastVisChangedView()); in testDirect()
88 mVictim.setVisibility(View.INVISIBLE); in testDirect()
[all …]
DVisibilityTest.java37 private TextView mVictim; field in VisibilityTest
53 mVictim = (TextView) a.findViewById(R.id.victim); in setUp()
63 assertNotNull(mVictim); in testSetUpConditions()
74 int oldTop = mVictim.getTop(); in testVisibleToInvisible()
77 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testVisibleToInvisible()
79 int newTop = mVictim.getTop(); in testVisibleToInvisible()
88 int oldTop = mVictim.getTop(); in testVisibleToGone()
91 assertEquals(View.GONE, mVictim.getVisibility()); in testVisibleToGone()
102 int oldTop = mVictim.getTop(); in testGoneToVisible()
105 assertEquals(View.GONE, mVictim.getVisibility()); in testGoneToVisible()
[all …]
DVisibility.java37 mVictim = findViewById(R.id.victim); in onCreate()
53 mVictim.setVisibility(View.VISIBLE);
59 mVictim.setVisibility(View.INVISIBLE);
65 mVictim.setVisibility(View.GONE);
69 private View mVictim; field in Visibility
DVisibilityCallback.java37 private MonitoredTextView mVictim; field in VisibilityCallback
45 mVictim = (MonitoredTextView)findViewById(R.id.victim); in onCreate()
61 mVictim.setVisibility(View.VISIBLE);
67 mVictim.setVisibility(View.INVISIBLE);
73 mVictim.setVisibility(View.GONE);