Lines Matching refs:mUiState
51 private ConversationActivityUiState mUiState;
72 mUiState = savedInstanceState.getParcelable(SAVED_INSTANCE_STATE_UI_STATE_KEY);
92 if (mUiState == null) {
95 mUiState = new ConversationActivityUiState(conversationId);
97 mUiState.setHost(this);
113 mUiState.getConversationId());
125 // After onSaveInstanceState() is called, future changes to mUiState won't update the UI
130 // focus change from the framework, making mUiState and actual UI inconsistent.
133 outState.putParcelable(SAVED_INSTANCE_STATE_UI_STATE_KEY, mUiState.clone());
173 if (mUiState != null) {
174 mUiState.setHost(null);
183 if (contactPicker != null && mUiState.shouldShowContactPickerFragment()) {
185 } else if (conversation != null && mUiState.shouldShowConversationFragment()) {
240 mUiState.onGetOrCreateConversation(conversationId);
250 mUiState.onAddMoreParticipants();
256 mUiState.onParticipantCountUpdated(canAddMoreParticipants);
261 mUiState.onStartMessageCompose();
293 Assert.notNull(mUiState);
295 final String conversationId = mUiState.getConversationId();
300 final boolean needConversationFragment = mUiState.shouldShowConversationFragment();
301 final boolean needContactPickerFragment = mUiState.shouldShowContactPickerFragment();
337 contactPickerFragment.setContactPickingMode(mUiState.getDesiredContactPickingMode(),
360 return mUiState.shouldResumeComposeMessage();