MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / flushEdt

Method flushEdt

CodenameOne/src/com/codename1/ui/Display.java:961–971  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

959 /// Allows us to "flush" the edt to allow any pending transitions and input to go
960 /// by before continuing with our other tasks.
961 void flushEdt() {
962 if (!isEdt()) {
963 return;
964 }
965 while (!shouldEDTSleepNoFormAnimation()) {
966 edtLoopImpl();
967 }
968 while (animationQueue != null && !animationQueue.isEmpty()) {
969 edtLoopImpl();
970 }
971 }
972
973 /// Restores the menu in the given form
974 private void restoreMenu(Form f) {

Callers 3

callSeriallyAndWaitMethod · 0.95
flushEdtMethod · 0.95
showModalMethod · 0.45

Calls 4

isEdtMethod · 0.95
edtLoopImplMethod · 0.95
isEmptyMethod · 0.65

Tested by 1

flushEdtMethod · 0.76