public void setFocusedWindow ( View view ) { mFocusLock . writeLock ( ) . lock ( ) ; try { mFocusedWindow = view == null ? null : view . getRootView ( ) ; } finally { mFocusLock . writeLock ( ) . unlock ( ) ; } fireFocusChangedEvent ( ) ; }
Invoke this method to change the currently focused window .