Searched refs:endState (Results 1 – 5 of 5) sorted by relevance
157 int[] endState; in testKeyToSettingEndState_messagesCheck() local160 endState = mMessagesController.keyToSettingEndState(KEY_NONE, true); in testKeyToSettingEndState_messagesCheck()161 assertThat(endState[0]).isEqualTo(PEOPLE_TYPE_NONE); in testKeyToSettingEndState_messagesCheck()162 assertThat(endState[1]).isEqualTo(CONVERSATION_SENDERS_NONE); in testKeyToSettingEndState_messagesCheck()165 endState = mMessagesController.keyToSettingEndState(KEY_ANY, true); in testKeyToSettingEndState_messagesCheck()166 assertThat(endState[0]).isEqualTo(PEOPLE_TYPE_ANYONE); in testKeyToSettingEndState_messagesCheck()167 assertThat(endState[1]).isEqualTo(CONVERSATION_SENDERS_ANYONE); in testKeyToSettingEndState_messagesCheck()170 endState = mMessagesController.keyToSettingEndState(KEY_STARRED, true); in testKeyToSettingEndState_messagesCheck()171 assertThat(endState[0]).isEqualTo(PEOPLE_TYPE_STARRED); in testKeyToSettingEndState_messagesCheck()172 assertThat(endState[1]).isEqualTo(CONVERSATION_SENDERS_UNSET); in testKeyToSettingEndState_messagesCheck()[all …]
211 int[] endState; in testKeyToSettingEndState_messagesCheck() local214 endState = messagesHelper.keyToSettingEndState(KEY_NONE, true); in testKeyToSettingEndState_messagesCheck()215 assertThat(endState[0]).isEqualTo(SOURCE_NONE); in testKeyToSettingEndState_messagesCheck()216 assertThat(endState[1]).isEqualTo(CONVERSATION_SENDERS_NONE); in testKeyToSettingEndState_messagesCheck()219 endState = messagesHelper.keyToSettingEndState(KEY_ANY, true); in testKeyToSettingEndState_messagesCheck()220 assertThat(endState[0]).isEqualTo(PRIORITY_SENDERS_ANY); in testKeyToSettingEndState_messagesCheck()221 assertThat(endState[1]).isEqualTo(CONVERSATION_SENDERS_ANYONE); in testKeyToSettingEndState_messagesCheck()224 endState = messagesHelper.keyToSettingEndState(KEY_STARRED, true); in testKeyToSettingEndState_messagesCheck()225 assertThat(endState[0]).isEqualTo(PRIORITY_SENDERS_STARRED); in testKeyToSettingEndState_messagesCheck()226 assertThat(endState[1]).isEqualTo(UNKNOWN); in testKeyToSettingEndState_messagesCheck()[all …]
164 int[] endState = new int[]{ UNKNOWN, UNKNOWN }; in keyToSettingEndState() local173 endState[0] = ZenModeBackend.SOURCE_NONE; in keyToSettingEndState()183 endState[1] = CONVERSATION_SENDERS_NONE; in keyToSettingEndState()190 endState[0] = NotificationManager.Policy.PRIORITY_SENDERS_STARRED; in keyToSettingEndState()193 endState[0] = NotificationManager.Policy.PRIORITY_SENDERS_CONTACTS; in keyToSettingEndState()196 endState[0] = NotificationManager.Policy.PRIORITY_SENDERS_ANY; in keyToSettingEndState()199 endState[0] = ZenModeBackend.SOURCE_NONE; in keyToSettingEndState()206 endState[1] = CONVERSATION_SENDERS_IMPORTANT; in keyToSettingEndState()209 endState[1] = CONVERSATION_SENDERS_ANYONE; in keyToSettingEndState()212 endState[1] = CONVERSATION_SENDERS_NONE; in keyToSettingEndState()[all …]
267 int[] endState = new int[]{ PEOPLE_TYPE_UNSET, CONVERSATION_SENDERS_UNSET };276 endState[0] = PEOPLE_TYPE_NONE;286 endState[1] = CONVERSATION_SENDERS_NONE;293 endState[0] = PEOPLE_TYPE_STARRED;296 endState[0] = PEOPLE_TYPE_CONTACTS;299 endState[0] = PEOPLE_TYPE_ANYONE;302 endState[0] = PEOPLE_TYPE_NONE;309 endState[1] = CONVERSATION_SENDERS_IMPORTANT;312 endState[1] = CONVERSATION_SENDERS_ANYONE;315 endState[1] = CONVERSATION_SENDERS_NONE;[all …]
2739 BaseState<?> endState = mSizeStrategy.stateFromGestureEndTarget(endTarget); in onPrepareGestureEndAnimation() local2740 if (endState.displayOverviewTasksAsGrid(mContainer.getDeviceProfile())) { in onPrepareGestureEndAnimation()2768 int splashAlpha = endState.showTaskThumbnailSplash() ? 1 : 0; in onPrepareGestureEndAnimation()