Searched refs:mVictim (Results 1 – 4 of 4) sorted by relevance
35 private VisibilityCallback.MonitoredTextView mVictim; field in VisibilityCallbackTest52 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 …]
37 private TextView mVictim; field in VisibilityTest53 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 …]
37 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
37 private MonitoredTextView mVictim; field in VisibilityCallback45 mVictim = (MonitoredTextView)findViewById(R.id.victim); in onCreate()61 mVictim.setVisibility(View.VISIBLE);67 mVictim.setVisibility(View.INVISIBLE);73 mVictim.setVisibility(View.GONE);