code: function _Overlay_hideAppBars(bars, keyboardInvoked) {
                      var allBarsAnimationPromises = bars.map(function (bar) {
                          bar.close();
                          return bar._animationPromise;
                      });
                      return Promise.join(allBarsAnimationPromises);
                  }
docs: Show/Hide all bars