Lines Matching refs:msg
86 public void handleMessage(Message msg) { in handleMessage() argument
87 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage()
89 switch (msg.arg1) { in handleMessage()
103 if (DBG) Log.d(LOG_TAG, "Loading image: " + msg.arg1 + in handleMessage()
104 " token: " + msg.what + " image URI: " + args.uri); in handleMessage()
107 if (DBG) Log.d(LOG_TAG, "Problem with image: " + msg.arg1 + in handleMessage()
108 " token: " + msg.what + " image URI: " + args.uri + in handleMessage()
116 Message reply = ContactsAsyncHelper.this.obtainMessage(msg.what); in handleMessage()
117 reply.arg1 = msg.arg1; in handleMessage()
118 reply.obj = msg.obj; in handleMessage()
164 Message msg = sThreadHandler.obtainMessage(DEFAULT_TOKEN); in updateImageViewWithContactPhotoAsync() local
165 msg.arg1 = EVENT_LOAD_IMAGE; in updateImageViewWithContactPhotoAsync()
166 msg.obj = args; in updateImageViewWithContactPhotoAsync()
181 sThreadHandler.sendMessage(msg); in updateImageViewWithContactPhotoAsync()
213 Message msg = sThreadHandler.obtainMessage(DEFAULT_TOKEN); in retrieveContactPhotoAsync() local
214 msg.arg1 = EVENT_LOAD_DRAWABLE; in retrieveContactPhotoAsync()
215 msg.obj = args; in retrieveContactPhotoAsync()
221 sThreadHandler.sendMessage(msg); in retrieveContactPhotoAsync()
228 public void handleMessage(Message msg) { in handleMessage() argument
229 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage()
230 switch (msg.arg1) { in handleMessage()