Home
last modified time | relevance | path

Searched refs:mHeadsUpContainerView (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/headsup/
DHeadsUpContainerViewTouchModeTest.java53 private HeadsUpContainerView mHeadsUpContainerView; field in HeadsUpContainerViewTouchModeTest
69 mHeadsUpContainerView = mActivityRule.getActivity().getHeadsUpContainerView(); in setUp()
70 mHeadsUpContainerView.setHandler(mHandler); in setUp()
83 assertThat(mHeadsUpContainerView.getContentDescription()).isEqualTo( in init_hasContentDescription()
89 assertThat(mHeadsUpContainerView.isClickable()).isFalse(); in init_isNotClickable()
96 mHeadsUpContainerView.addView(notif1); in addView_inTouchMode_noPrevFocus_addNewChild_nothingScheduled()
107 mHeadsUpContainerView.addView(notif1); in addView_inTouchMode_hasPrevFocus_addNewChild_nothingScheduled()
112 getInstrumentation().runOnMainSync(() -> mHeadsUpContainerView.requestFocus()); in addView_inTouchMode_hasPrevFocus_addNewChild_nothingScheduled()
116 mHeadsUpContainerView.addView(notif2); in addView_inTouchMode_hasPrevFocus_addNewChild_nothingScheduled()
DHeadsUpContainerViewTest.java53 private HeadsUpContainerView mHeadsUpContainerView; field in HeadsUpContainerViewTest
69 mHeadsUpContainerView = mActivityRule.getActivity().getHeadsUpContainerView(); in setUp()
70 mHeadsUpContainerView.setHandler(mHandler); in setUp()
83 assertThat(mHeadsUpContainerView.getContentDescription()).isEqualTo( in init_hasContentDescription()
89 assertThat(mHeadsUpContainerView.isClickable()).isFalse(); in init_isNotClickable()
96 mHeadsUpContainerView.addView(notif1); in addView_notTouchMode_noPrevFocus_addNewChild_nothingScheduled()
107 mHeadsUpContainerView.addView(notif1); in addView_notTouchMode_hasPrevFocus_addNewChild_scheduleRunnable()
112 getInstrumentation().runOnMainSync(() -> mHeadsUpContainerView.requestFocus()); in addView_notTouchMode_hasPrevFocus_addNewChild_scheduleRunnable()
116 mHeadsUpContainerView.addView(notif2); in addView_notTouchMode_hasPrevFocus_addNewChild_scheduleRunnable()
DHeadsUpContainerViewTestActivity.java31 private HeadsUpContainerView mHeadsUpContainerView; field in HeadsUpContainerViewTestActivity
41 mHeadsUpContainerView = new HeadsUpContainerView(mContext); in onCreate()
42 setContentView(mHeadsUpContainerView); in onCreate()
46 return mHeadsUpContainerView; in getHeadsUpContainerView()