Home
last modified time | relevance | path

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

/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java152 public static String getMessageText(final FakeCursor messageCursor, final int row) { in getMessageText() argument
153 … final String allPartsText = messageCursor.getAt(ConversationMessageViewColumns.PARTS_TEXTS, row) in getMessageText()
155 final int partsCount = (Integer) messageCursor.getAt( in getMessageText()
157 final String messageId = messageCursor.getAt( in getMessageText()
160 messageCursor.getAt(ConversationMessageViewColumns.PARTS_IDS, row).toString(), in getMessageText()
161messageCursor.getAt(ConversationMessageViewColumns.PARTS_CONTENT_TYPES, row).toString(), in getMessageText()
162messageCursor.getAt(ConversationMessageViewColumns.PARTS_CONTENT_URIS, row).toString(), in getMessageText()
163 messageCursor.getAt(ConversationMessageViewColumns.PARTS_WIDTHS, row).toString(), in getMessageText()
164 messageCursor.getAt(ConversationMessageViewColumns.PARTS_HEIGHTS, row).toString(), in getMessageText()
165 messageCursor.getAt(ConversationMessageViewColumns.PARTS_TEXTS, row).toString(), in getMessageText()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DMessageUtils.java115 @Nullable Cursor messageCursor, @NonNull Function<Message, Boolean> processor) { in forEachDesc()
116 if (messageCursor == null || !messageCursor.moveToFirst()) { in forEachDesc()
125 message = parseMessageAtPoint(context, messageCursor, hasBeenRepliedTo); in forEachDesc()
135 } while (messageCursor.moveToNext() && moveToNext); in forEachDesc()
145 public static Message parseCurrentMessage(@NonNull Cursor messageCursor) { in parseCurrentMessage() argument
149 message = parseMessageAtPoint(context, messageCursor, false); in parseCurrentMessage()