Searched refs:mKeyguardSliceView (Results 1 – 1 of 1) sorted by relevance
45 private KeyguardSliceView mKeyguardSliceView; field in KeyguardSliceViewTest50 mKeyguardSliceView = (KeyguardSliceView) LayoutInflater.from(getContext()) in setUp()60 mKeyguardSliceView.setContentChangeListener(()-> notified.set(true)); in showSlice_notifiesListener()61 mKeyguardSliceView.onChanged(builder.build()); in showSlice_notifiesListener()69 mKeyguardSliceView.setContentChangeListener(()-> notified.set(true)); in showSlice_emptySliceNotifiesListener()70 mKeyguardSliceView.onChanged(null); in showSlice_emptySliceNotifiesListener()78 mKeyguardSliceView.onChanged(builder.build()); in hasHeader_readsSliceData()79 Assert.assertFalse("View should not have a header", mKeyguardSliceView.hasHeader()); in hasHeader_readsSliceData()84 mKeyguardSliceView.onChanged(builder.build()); in hasHeader_readsSliceData()85 Assert.assertTrue("View should have a header", mKeyguardSliceView.hasHeader()); in hasHeader_readsSliceData()[all …]