Searched refs:mCarSystemBarButton (Results 1 – 2 of 2) sorted by relevance
75 private CarSystemBarButton mCarSystemBarButton; field in RecentsButtonStateProviderTest120 when(mCarSystemBarButton.getSelectedAlpha()).thenReturn(SELECTED_ALPHA); in setUp()121 when(mCarSystemBarButton.getIntent()).thenReturn(mIntent); in setUp()122 mRecentsButtonStateProvider = new RecentsButtonStateProvider(mContext, mCarSystemBarButton); in setUp()172 verify(mCarSystemBarButton, times(1)) in setUpIntents_sets_longClickListener()181 verify(mCarSystemBarButton, times(1)) in setUpIntents_onLongClick_recentsNotActive_returnsTrue()184 assertThat(mOnLongClickListenerCaptor.getValue().onLongClick(mCarSystemBarButton)).isTrue(); in setUpIntents_onLongClick_recentsNotActive_returnsTrue()192 verify(mCarSystemBarButton, times(1)) in setUpIntents_onLongClick_recentsNotActive_keyEventSent()194 mOnLongClickListenerCaptor.getValue().onLongClick(mCarSystemBarButton); in setUpIntents_onLongClick_recentsNotActive_keyEventSent()203 mRecentsButtonStateProvider = new RecentsButtonStateProvider(mContext, mCarSystemBarButton); in setUpIntents_onLongClick_configSetToFalse_recentsNotActive_returnsFalse()[all …]
47 private final CarSystemBarButton mCarSystemBarButton; field in RecentsButtonStateProvider53 mCarSystemBarButton = carSystemBarButton; in RecentsButtonStateProvider()93 mCarSystemBarButton.setOnLongClickListener(v -> { in setUpIntents()149 icon.setAlpha(mCarSystemBarButton.getSelectedAlpha());