FileDocCategorySizeDatePackage
BrowseFrameLayout.javaAPI DocAndroid 5.1 API2965Thu Mar 12 22:22:56 GMT 2015android.support.v17.leanback.widget

BrowseFrameLayout

public class BrowseFrameLayout extends android.widget.FrameLayout
Top level implementation viewgroup for browse to manage transitions between browse sub fragments.
hide

Fields Summary
private OnFocusSearchListener
mListener
private OnChildFocusListener
mOnChildFocusListener
Constructors Summary
public BrowseFrameLayout(android.content.Context context)

        this(context, null, 0);
    
public BrowseFrameLayout(android.content.Context context, android.util.AttributeSet attrs)

        this(context, attrs, 0);
    
public BrowseFrameLayout(android.content.Context context, android.util.AttributeSet attrs, int defStyle)

        super(context, attrs, defStyle);
    
Methods Summary
public android.view.ViewfocusSearch(android.view.View focused, int direction)

        if (mListener != null) {
            View view = mListener.onFocusSearch(focused, direction);
            if (view != null) {
                return view;
            }
        }
        return super.focusSearch(focused, direction);
    
protected booleanonRequestFocusInDescendants(int direction, android.graphics.Rect previouslyFocusedRect)

        if (mOnChildFocusListener != null) {
            return mOnChildFocusListener.onRequestFocusInDescendants(direction,
                    previouslyFocusedRect);
        }
        return super.onRequestFocusInDescendants(direction, previouslyFocusedRect);
    
public voidrequestChildFocus(android.view.View child, android.view.View focused)

        super.requestChildFocus(child, focused);
        if (mOnChildFocusListener != null) {
            mOnChildFocusListener.onRequestChildFocus(child, focused);
        }
    
public voidsetOnChildFocusListener(android.support.v17.leanback.widget.BrowseFrameLayout$OnChildFocusListener listener)

        mOnChildFocusListener = listener;
    
public voidsetOnFocusSearchListener(android.support.v17.leanback.widget.BrowseFrameLayout$OnFocusSearchListener listener)

        mListener = listener;