MCPcopy Create free account
hub / github.com/M66B/FairEmail / post

Method post

app/src/main/java/eu/faircode/email/ImageHelper.java:542–562  ·  view source on GitHub ↗
(final Drawable d, String source)

Source from the content-addressed store, hash-verified

540 }
541
542 private void post(final Drawable d, String source) {
543 Log.i("Posting image=" + source);
544
545 view.post(new Runnable() {
546 @Override
547 public void run() {
548 Rect bounds = d.getBounds();
549
550 lld.addLevel(0, 0, d);
551 lld.setBounds(0, 0, bounds.width(), bounds.height());
552 lld.setLevel(0);
553
554 animate(context, d);
555
556 view.setText(view.getText());
557
558 //view.invalidate();
559 //view.requestLayout();
560 }
561 });
562 }
563 });
564
565 return lld;

Callers 15

runMethod · 0.95
checkMethod · 0.45
setContentViewMethod · 0.45
setGrantedMethod · 0.45
runMethod · 0.45
onExceptionMethod · 0.45
onPageCommitVisibleMethod · 0.45
onRenderProcessGoneMethod · 0.45
onExecutedMethod · 0.45
onCreateDialogMethod · 0.45
setMoreMethod · 0.45
delegateMethod · 0.45

Calls 1

iMethod · 0.95

Tested by

no test coverage detected