Lines Matching refs:status
72 ThreadStatus status = mThreadStatus.get(t); in getOrCreateThreadStatus() local
73 if (status == null) { in getOrCreateThreadStatus()
74 status = new ThreadStatus(); in getOrCreateThreadStatus()
75 mThreadStatus.put(t, status); in getOrCreateThreadStatus()
77 return status; in getOrCreateThreadStatus()
90 ThreadStatus status = mThreadStatus.get(t); in removeDecodingOptions() local
91 status.mOptions = null; in removeDecodingOptions()
99 ThreadStatus status = mThreadStatus.get(t); in canThreadDecoding() local
100 if (status == null) { in canThreadDecoding()
105 boolean result = (status.mState != State.CANCEL); in canThreadDecoding()
114 ThreadStatus status = getOrCreateThreadStatus(t); in cancelThreadDecoding() local
115 status.mState = State.CANCEL; in cancelThreadDecoding()
116 if (status.mOptions != null) { in cancelThreadDecoding()
117 status.mOptions.requestCancelDecode(); in cancelThreadDecoding()
126 synchronized (status) { in cancelThreadDecoding()
127 while (status.mThumbRequesting) { in cancelThreadDecoding()
130 status.wait(200); in cancelThreadDecoding()
141 ThreadStatus status = getOrCreateThreadStatus(t); in getThumbnail() local
149 synchronized (status) { in getThumbnail()
150 status.mThumbRequesting = true; in getThumbnail()
160 synchronized (status) { in getThumbnail()
161 status.mThumbRequesting = false; in getThumbnail()
162 status.notifyAll(); in getThumbnail()