This looks like it's in Collect, not Clinic. Depends on what version
you are using, but generally, the save code sits in the
FormEntryActivity.
On swipe, you call showNextView(), which calls
saveAnswersForCurrentScreen(), which calls saveAnswer(). Depending on
what you want to do, one of those methods in FormEntryActivity is what
you want.