hasFocusWhether this window has focus or not.inTouchModeWhether this window is in touch mode or not.
Set focus locally. The window should have the WindowManagerLayoutParams.FLAG_LOCAL_FOCUS_MODE flag set already.
[Android Documentation]