• Home
  • Raw
  • Download

Lines Matching refs:args

87             WorkerArgs args = (WorkerArgs) msg.obj;  in handleMessage()  local
95 args.context.getContentResolver(), args.uri); in handleMessage()
101 args.result = Drawable.createFromStream(inputStream, args.uri.toString()); in handleMessage()
104 " token: " + msg.what + " image URI: " + args.uri); in handleMessage()
106 args.result = null; in handleMessage()
108 " token: " + msg.what + " image URI: " + args.uri + in handleMessage()
154 WorkerArgs args = new WorkerArgs(); in updateImageViewWithContactPhotoAsync() local
155 args.context = context; in updateImageViewWithContactPhotoAsync()
156 args.view = imageView; in updateImageViewWithContactPhotoAsync()
157 args.uri = contact; in updateImageViewWithContactPhotoAsync()
158 args.defaultResource = placeholderImageResource; in updateImageViewWithContactPhotoAsync()
166 msg.obj = args; in updateImageViewWithContactPhotoAsync()
168 if (DBG) Log.d(LOG_TAG, "Begin loading image: " + args.uri + in updateImageViewWithContactPhotoAsync()
203 WorkerArgs args = new WorkerArgs(); in retrieveContactPhotoAsync() local
204 args.context = context; in retrieveContactPhotoAsync()
205 args.item = item; in retrieveContactPhotoAsync()
206 args.uri = photoUri; in retrieveContactPhotoAsync()
207 args.callback = run; in retrieveContactPhotoAsync()
215 msg.obj = args; in retrieveContactPhotoAsync()
217 if (DBG) Log.d(LOG_TAG, "Begin loading drawable: " + args.uri); in retrieveContactPhotoAsync()
229 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage() local
234 if (args.result != null) { in handleMessage()
235 args.view.setVisibility(View.VISIBLE); in handleMessage()
236 args.view.setImageDrawable((Drawable) args.result); in handleMessage()
237 } else if (args.defaultResource != -1) { in handleMessage()
238 args.view.setVisibility(View.VISIBLE); in handleMessage()
239 args.view.setImageResource(args.defaultResource); in handleMessage()
243 if (args.result != null) { in handleMessage()
244 args.item.mBadge = (Drawable) args.result; in handleMessage()
245 if (args.callback != null) { in handleMessage()
246 args.callback.run(); in handleMessage()