MCPcopy Create free account
hub / github.com/antvis/F2Native / SendChartTouchEvent

Function SendChartTouchEvent

core/android/F2NativeJNI.cpp:173–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173static jint SendChartTouchEvent(JNIEnv *env, jclass clazz, jlong chart, jstring event) {
174 std::string _event = JavaStringToString(env, event);
175 bool ret = false;
176 xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart);
177 ret = _chart->OnTouchEvent(std::move(_event));
178 return ret ? 1 : 0;
179}
180
181static jlong CreateChartGeom(JNIEnv *env, jclass clazz, jlong chart, jstring type) {
182 xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart);

Callers

nothing calls this directly

Calls 2

JavaStringToStringFunction · 0.85
OnTouchEventMethod · 0.45

Tested by

no test coverage detected