Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/
DCarNotificationActionsViewTest.java143 assertThat(mCarNotificationActionsView.getActionButtons().size()) in onFinishInflate_addsMaxNumberOfActionButtons()
155 for (int i = 0; i < mCarNotificationActionsView.getActionButtons().size(); i++) { in onBind_noAction_doesNotCreateButtons()
157 mCarNotificationActionsView.getActionButtons().get(i); in onBind_noAction_doesNotCreateButtons()
169 CarNotificationActionButton playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_actionExists_isCarCompatibleMessage_playButtonIsVisible()
181 CarNotificationActionButton playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_actionExists_isCarCompatibleMessage_playButtonHasClickListener()
193 CarNotificationActionButton playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_actionExists_isCarCompatibleMessage_playButtonShowsPlayLabel()
206 CarNotificationActionButton playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_actionExists_isCarCompatibleMessage_playButtonShowsPlayDrawable()
222 CarNotificationActionButton playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_carCompatibleMessage_noAssistantNoFallback_playButtonIsHidden()
237 CarNotificationActionButton playButton = mCarNotificationActionsView.getActionButtons().get( in onBind_carCompatibleMessage_noAssistantWithFallback_playButtonIsVisible()
252 CarNotificationActionButton replyButton = mCarNotificationActionsView.getActionButtons() in onBind_actionExists_isCarCompatibleMessage_replyButtonIsVisible()
[all …]
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DClonePageAppButtons.kt33 ActionButtons(actionButtons = presenter.getActionButtons()) in ClonePageAppButtons()
42 fun getActionButtons() = in getActionButtons() method
44 getActionButtons(checkNotNull(it.applicationInfo)) in getActionButtons()
48 private fun getActionButtons(app: ApplicationInfo): List<ActionButton> = listOfNotNull( in getActionButtons() method
DAppButtons.kt47 ActionButtons(actionButtons = presenter.getActionButtons()) in AppButtons()
69 fun getActionButtons() = in PackageInfoPresenter() method
71 getActionButtons(checkNotNull(it.applicationInfo)) in PackageInfoPresenter()
75 private fun getActionButtons(app: ApplicationInfo): List<ActionButton> = listOfNotNull( in PackageInfoPresenter() method
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java269 List<CarNotificationActionButton> getActionButtons() { in getActionButtons() method in CarNotificationActionsView
364 CarNotificationActionButton button = getActionButtons().get(i); in onCallStateChanged()
376 boolean hasFocus = getActionButtons().get(i).hasFocus(); in getFocusedButtonIndex()