void function ( Event arg0 ) { Assertions . assertCondition ( arg0 . isInitialized ( ) , "srini_string" ) ; synchronized ( mEventsStagingLock ) { mEventStaging . add ( arg0 ) ; Systrace . startAsyncFlow ( Systrace . TRACE_TAG_REACT_JAVA_BRIDGE , arg0 . getEventName ( ) , arg0 . getUniqueID ( ) ) ; } }
sends the given event to js , coalescing eligible events if js is backed up . concode_field_sep Map<String,Short> mEventNameToEventId concode_elem_sep DispatchEventsRunnable mDispatchEventsRunnable concode_elem_sep LongSparseArray<Integer> mEventCookieToLastEventIdx concode_elem_sep Event[] mEventsToDispatch concode_elem_sep Comparator<Event> EVENT_COMPARATOR concode_elem_sep RCTEventEmitter mRCTEventEmitter concode_elem_sep short mNextEventTypeId concode_elem_sep boolean mShouldStop concode_elem_sep Object mEventsToDispatchLock concode_elem_sep ArrayList<Event> mEventStaging concode_elem_sep ReactApplicationContext mReactContext concode_elem_sep int mEventsToDispatchSize concode_elem_sep ScheduleDispatchFrameCallback mCurrentFrameCallback concode_elem_sep int mHasDispatchScheduledCount concode_elem_sep Object mEventsStagingLock concode_elem_sep boolean mHasDispatchScheduled concode_field_sep int compare concode_elem_sep void onHostPause concode_elem_sep void addEventToEventsToDispatch concode_elem_sep void doFrame concode_elem_sep void run concode_elem_sep long getEventCookie concode_elem_sep long getEventCookie concode_elem_sep void onCatalystInstanceDestroyed concode_elem_sep void onHostDestroy concode_elem_sep void stop concode_elem_sep void onHostResume concode_elem_sep void moveStagedEventsToDispatchQueue concode_elem_sep void clearEventsToDispatch concode_elem_sep void clearFrameCallback