Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatAdapter.java67 private int lastIndexOfLocalMessage = -1; field in RttChatAdapter
129 if (lastIndexOfLocalMessage >= 0) { in updateCurrentLocalMessage()
130 rttChatMessage = rttMessages.get(lastIndexOfLocalMessage); in updateCurrentLocalMessage()
136 lastIndexOfLocalMessage = rttMessages.size() - 1; in updateCurrentLocalMessage()
137 notifyItemInserted(toItemPosition(lastIndexOfLocalMessage)); in updateCurrentLocalMessage()
142 rttMessages.remove(lastIndexOfLocalMessage); in updateCurrentLocalMessage()
143 notifyItemRemoved(toItemPosition(lastIndexOfLocalMessage)); in updateCurrentLocalMessage()
144 lastIndexOfLocalMessage = -1; in updateCurrentLocalMessage()
146 notifyItemChanged(toItemPosition(lastIndexOfLocalMessage)); in updateCurrentLocalMessage()
173 lastIndexOfLocalMessage = RttChatMessage.getLastIndexLocalMessage(rttMessages); in updateCurrentRemoteMessage()
[all …]