There are three primary parties involved in the input method framework (IMF) architecture ... Flag for the ResultReceiver result code from showSoftInput(View, int, ...
developer.android.com