Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/rtt/
DRttTranscriptAdapter.java33 private RttTranscript rttTranscript; field in RttTranscriptAdapter
56 RttTranscriptMessage rttTranscriptMessage = rttTranscript.getMessages(i); in onBindViewHolder()
59 rttTranscriptMessage.getIsRemote() == rttTranscript.getMessages(i - 1).getIsRemote(); in onBindViewHolder()
63 rttTranscriptMessage.getIsRemote() == rttTranscript.getMessages(i + 1).getIsRemote(); in onBindViewHolder()
78 if (rttTranscript == null) { in getItemCount()
81 return rttTranscript.getMessagesCount(); in getItemCount()
84 void setRttTranscript(RttTranscript rttTranscript) { in setRttTranscript() argument
85 if (rttTranscript == null) { in setRttTranscript()
89 this.rttTranscript = rttTranscript; in setRttTranscript()
90 firstPositionToShowTimestamp = findFirstPositionToShowTimestamp(rttTranscript); in setRttTranscript()
[all …]
DRttTranscriptUtil.java109 Context context, RttTranscript rttTranscript) { in saveRttTranscript() argument
114 save(context, rttTranscript); in saveRttTranscript()
120 private static void save(Context context, RttTranscript rttTranscript) { in save() argument
124 value.put(RttTranscriptColumn.TRANSCRIPT_ID, rttTranscript.getId()); in save()
125 value.put(RttTranscriptColumn.TRANSCRIPT_DATA, rttTranscript.toByteArray()); in save()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsEntryViewHolder.java66 private final TextView rttTranscript; field in CallDetailsEntryViewHolder
94 rttTranscript = container.findViewById(R.id.rtt_transcript); in CallDetailsEntryViewHolder()
145 rttTranscript.setText(R.string.rtt_transcript_link); in setCallDetails()
146 rttTranscript.setTextAppearance(R.style.RttTranscriptLink); in setCallDetails()
147 rttTranscript.setClickable(true); in setCallDetails()
148 rttTranscript.setOnClickListener( in setCallDetails()
153 rttTranscript.setText(R.string.rtt_transcript_not_available); in setCallDetails()
154 rttTranscript.setTextAppearance(R.style.RttTranscriptMessage); in setCallDetails()
155 rttTranscript.setClickable(false); in setCallDetails()
157 rttTranscript.setVisibility(View.VISIBLE); in setCallDetails()
[all …]
/packages/apps/Dialer/java/com/android/incallui/rtt/protocol/
DRttChatMessage.java94 RttTranscript rttTranscript, @NonNull String text) { in getRttTranscriptWithNewRemoteMessage() argument
95 List<RttChatMessage> messageList = fromTranscript(rttTranscript); in getRttTranscriptWithNewRemoteMessage()
98 .setId(rttTranscript.getId()) in getRttTranscriptWithNewRemoteMessage()
99 .setNumber(rttTranscript.getNumber()) in getRttTranscriptWithNewRemoteMessage()
100 .setTimestamp(rttTranscript.getTimestamp()) in getRttTranscriptWithNewRemoteMessage()
209 public static List<RttChatMessage> fromTranscript(RttTranscript rttTranscript) { in fromTranscript() argument
211 if (rttTranscript == null) { in fromTranscript()
214 for (RttTranscriptMessage message : rttTranscript.getMessagesList()) { in fromTranscript()
DRttCallScreen.java34 void onRestoreRttChat(RttTranscript rttTranscript); in onRestoreRttChat() argument
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java227 return rttTranscript; in getRttTranscript()
230 public void setRttTranscript(RttTranscript rttTranscript) { in setRttTranscript() argument
231 this.rttTranscript = rttTranscript; in setRttTranscript()
234 private RttTranscript rttTranscript; field in DialerCall
1151 rttTranscript = in saveRttTranscript()
1152 RttChatMessage.getRttTranscriptWithNewRemoteMessage(rttTranscript, messageLeft); in saveRttTranscript()
1159 if (rttTranscript.getMessagesCount() == 0) { in saveRttTranscript()
1163 RttTranscriptUtil.saveRttTranscript(context, rttTranscript), in saveRttTranscript()
1690 if (rttTranscript != null && !isCallRemoved) { in onRemovedFromCallList()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatAdapter.java252 String onRestoreRttChat(RttTranscript rttTranscript) { in onRestoreRttChat() argument
254 rttMessages = RttChatMessage.fromTranscript(rttTranscript); in onRestoreRttChat()
DRttChatFragment.java329 public void onRestoreRttChat(RttTranscript rttTranscript) { in onRestoreRttChat() argument
330 String unfinishedLocalMessage = adapter.onRestoreRttChat(rttTranscript); in onRestoreRttChat()