Searched refs:mEventTrigger (Results 1 – 6 of 6) sorted by relevance
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/viewmodels/ |
D | MeasurementViewModel.java | 45 private final MutableLiveData<MeasurementViewModelUiEvent> mEventTrigger = field in MeasurementViewModel 109 return mEventTrigger; in getUiEvents() 117 mEventTrigger.postValue(null); in uiEventHandled() 122 mEventTrigger.postValue(MeasurementViewModelUiEvent.RESET_MEASUREMENT); in resetMeasurementButtonClickHandler() 132 mEventTrigger.postValue(MeasurementViewModelUiEvent.SWITCH_ON_MEASUREMENT); in consentSwitchClickHandler() 135 mEventTrigger.postValue(MeasurementViewModelUiEvent.SWITCH_OFF_MEASUREMENT); in consentSwitchClickHandler() 146 mEventTrigger.postValue(MeasurementViewModelUiEvent.SWITCH_ON_MEASUREMENT); in consentSwitchClickHandlerOnR() 149 mEventTrigger.postValue(MeasurementViewModelUiEvent.SWITCH_OFF_MEASUREMENT); in consentSwitchClickHandlerOnR()
|
D | TopicsViewModel.java | 48 private final MutableLiveData<Pair<TopicsViewModelUiEvent, Topic>> mEventTrigger = field in TopicsViewModel 133 return mEventTrigger; in getUiEvents() 141 mEventTrigger.postValue(new Pair<>(null, null)); in uiEventHandled() 151 mEventTrigger.postValue(new Pair<>(TopicsViewModelUiEvent.BLOCK_TOPIC, topic)); in revokeTopicConsentButtonClickHandler() 156 mEventTrigger.postValue(new Pair<>(TopicsViewModelUiEvent.RESET_TOPICS, null)); in resetTopicsButtonClickHandler() 161 mEventTrigger.postValue( in blockedTopicsFragmentButtonClickHandler() 213 mEventTrigger.postValue(new Pair<>(TopicsViewModelUiEvent.SWITCH_ON_TOPICS, null)); in consentSwitchClickHandler() 216 mEventTrigger.postValue(new Pair<>(TopicsViewModelUiEvent.SWITCH_OFF_TOPICS, null)); in consentSwitchClickHandler()
|
D | AppsViewModel.java | 49 private final MutableLiveData<Pair<AppsViewModelUiEvent, App>> mEventTrigger = field in AppsViewModel 134 return mEventTrigger; in getUiEvents() 142 mEventTrigger.postValue(new Pair<>(null, null)); in uiEventHandled() 152 mEventTrigger.postValue(new Pair<>(AppsViewModelUiEvent.BLOCK_APP, app)); in revokeAppConsentButtonClickHandler() 157 mEventTrigger.postValue(new Pair<>(AppsViewModelUiEvent.RESET_APPS, null)); in resetAppsButtonClickHandler() 162 mEventTrigger.postValue( in blockedAppsFragmentButtonClickHandler() 213 mEventTrigger.postValue(new Pair<>(AppsViewModelUiEvent.SWITCH_ON_APPS, null)); in consentSwitchClickHandler() 216 mEventTrigger.postValue(new Pair<>(AppsViewModelUiEvent.SWITCH_OFF_APPS, null)); in consentSwitchClickHandler()
|
D | MainViewModel.java | 45 private final MutableLiveData<MainViewModelUiEvent> mEventTrigger = new MutableLiveData<>(); field in MainViewModel 98 return mEventTrigger; in getUiEvents() 106 mEventTrigger.postValue(null); in uiEventHandled() 111 mEventTrigger.postValue(MainViewModelUiEvent.DISPLAY_TOPICS_FRAGMENT); in topicsButtonClickHandler() 116 mEventTrigger.postValue(MainViewModelUiEvent.DISPLAY_APPS_FRAGMENT); in appsButtonClickHandler() 121 mEventTrigger.postValue(MainViewModelUiEvent.DISPLAY_MEASUREMENT_FRAGMENT); in measurementClickHandler()
|
D | BlockedTopicsViewModel.java | 45 private final MutableLiveData<Pair<BlockedTopicsViewModelUiEvent, Topic>> mEventTrigger = field in BlockedTopicsViewModel 100 return mEventTrigger; in getUiEvents() 108 mEventTrigger.postValue(new Pair<>(null, null)); in uiEventHandled() 118 mEventTrigger.postValue(new Pair<>(BlockedTopicsViewModelUiEvent.RESTORE_TOPIC, topic)); in restoreTopicConsentButtonClickHandler()
|
D | BlockedAppsViewModel.java | 46 private final MutableLiveData<Pair<BlockedAppsViewModelUiEvent, App>> mEventTrigger = field in BlockedAppsViewModel 101 return mEventTrigger; in getUiEvents() 109 mEventTrigger.postValue(new Pair<>(null, null)); in uiEventHandled() 119 mEventTrigger.postValue(new Pair<>(BlockedAppsViewModelUiEvent.RESTORE_APP, app)); in restoreAppConsentButtonClickHandler()
|