private void hide() {
        // Hide UI first
        ActionBar actionBar = getSupportActionBar();
        if (actionBar != null) {
            actionBar.hide();
        }
        mControlsView.setVisibility(View.GONE);
        mVisible = false;

        // Schedule a runnable to remove the status and navigation bar after a delay
        mHideHandler.removeCallbacks(mShowPart2Runnable);
        mHideHandler.postDelayed(mHidePart2Runnable, UI_ANIMATION_DELAY);
    }
Touch listener to use for in-layout UI controls to delay hiding the
system UI. This is to prevent the jarring behavior of controls going away
while interacting with activity UI.
app/src/main/java/home/smart/fly/animations/webview/FullscreenPage.java