Lines Matching defs:MessageStateChange
15 * {@link EmailContent}-like class for the MessageStateChange table.
17 public class MessageStateChange extends MessageChangeLogTable {
19 public static final String LOG_TAG = "MessageStateChange";
22 public static final String TABLE_NAME = "MessageStateChange";
69 private MessageStateChange(final long messageKey,final String serverId, final long id,
112 public static List<MessageStateChange> getChanges(final Context context, final long accountId,
122 LongSparseArray<MessageStateChange> changesMap = new LongSparseArray();
139 final MessageStateChange existingChange = changesMap.get(messageKey);
157 changesMap.put(messageKey, new MessageStateChange(messageKey, serverId, id,
172 final ArrayList<MessageStateChange> changes = new ArrayList(count);
174 final MessageStateChange change = changesMap.valueAt(i);
198 public static LongSparseArray<List<MessageStateChange>> convertToChangesMap(
199 final List<MessageStateChange> changes) {
204 final LongSparseArray<List<MessageStateChange>> changesMap = new LongSparseArray();
205 for (final MessageStateChange change : changes) {
206 List<MessageStateChange> list = changesMap.get(change.mMailboxId);