Merge changes I29521e80,I67a9fbb3

* changes:
  Clean up isVisibleLw and isDimming of WindowManagerPolicy#WindowState
  Clean up hideLw and showLw of WindowManagerPolicy#WindowState