Home | History | Annotate | Download | only in util

Lines Matching full:threadid

52         void onDraftChanged(long threadId, boolean hasDraft);
107 long threadId = cursor.getLong(COLUMN_DRAFT_THREAD_ID);
108 newDraftSet.add(threadId);
110 log("rebuildCache: add tid=" + threadId);
147 for (long threadId : added) {
148 l.onDraftChanged(threadId, true);
150 for (long threadId : removed) {
151 l.onDraftChanged(threadId, false);
161 public void setDraftState(long threadId, boolean hasDraft) {
162 if (threadId <= 0) {
169 changed = mDraftSet.add(threadId);
171 changed = mDraftSet.remove(threadId);
176 log("setDraftState: tid=" + threadId + ", value=" + hasDraft + ", changed=" + changed);
187 l.onDraftChanged(threadId, hasDraft);
196 public boolean hasDraft(long threadId) {
198 return mDraftSet.contains(threadId);
248 for (Long threadId : mDraftSet) {
249 Log.i(TAG, " tid: " + threadId);