NavigationBarFragment.java
public void disable(int state1, int state2, boolean animate) {
NavigationBarView.java
public void setDisabledFlags(int disabledFlags)
disabledFlags = StatusBarManager.DISABLE_HOME
| StatusBarManager.DISABLE_RECENT
| StatusBarManager.DISABLE_BACK
| StatusBarManager.DISABLE_SEARCH