leanback/src/main/java/androidx/leanback/widget/TitleView.java
public void updateComponentsVisibility(int flags) {
        this.flags = flags;

        if ((flags & BRANDING_VIEW_VISIBLE) == BRANDING_VIEW_VISIBLE) {
            updateBadgeVisibility();
        } else {
            mBadgeView.setVisibility(View.GONE);
            mTextView.setVisibility(View.GONE);
        }
        updateSearchOrbViewVisiblity();
    }
/**
     * Based on the flag, it updates the visibility of the individual components -
     * BadgeView, TextView and SearchView.
     *
     * @param flags integer representing the visibility of TitleView components.
     * @see TitleViewAdapter#SEARCH_VIEW_VISIBLE
     * @see TitleViewAdapter#BRANDING_VIEW_VISIBLE
     * @see TitleViewAdapter#FULL_VIEW_VISIBLE
     */
Based on the flag, it updates the visibility of the individual components
BadgeView, TextView and SearchView.

@param flags integer representing the visibility of TitleView components.
Based on the flag it updates the visibility of the individual components BadgeView TextView and SearchView . @param flags integer representing the visibility of TitleView components .
public void updateComponentsVisibility(int flags) {
        this.flags = flags;
        if ((flags & BRANDING_VIEW_VISIBLE) == BRANDING_VIEW_VISIBLE) {
            updateBadgeVisibility();
        } else {
            mBadgeView.setVisibility(View.GONE);
            mTextView.setVisibility(View.GONE);
        }
        updateSearchOrbViewVisiblity();
    }
public void updateComponentsVisibility ( int flags ) { this . flags = flags ; if ( ( flags & BRANDING_VIEW_VISIBLE ) == BRANDING_VIEW_VISIBLE ) { updateBadgeVisibility ( ) ; } else { mBadgeView . setVisibility ( View . GONE ) ; mTextView . setVisibility ( View . GONE ) ; } updateSearchOrbViewVisiblity ( ) ; }
Based on the flag, it updates the visibility of the individual components
 BadgeView, TextView and SearchView.
Based on the flag it updates the visibility of the individual components BadgeView TextView and SearchView .