Most visited

Recently visited

FocusHighlightHelper

public class FocusHighlightHelper
extends Object

java.lang.Object
   ↳ android.support.v17.leanback.widget.FocusHighlightHelper


设置项目获得焦点时的突出显示行为。

Summary

Public constructors

FocusHighlightHelper()

Public methods

static void setupBrowseItemFocusHighlight(ItemBridgeAdapter adapter, int zoomIndex, boolean useDimmer)

在浏览列表行中设置焦点项目的焦点突出显示行为。

static void setupHeaderItemFocusHighlight(VerticalGridView gridView)

在标题列表中设置焦点项目的焦点突出显示行为。

Inherited methods

From class java.lang.Object

Public constructors

FocusHighlightHelper

FocusHighlightHelper ()

Public methods

setupBrowseItemFocusHighlight

void setupBrowseItemFocusHighlight (ItemBridgeAdapter adapter, 
                int zoomIndex, 
                boolean useDimmer)

在浏览列表行中设置焦点项目的焦点突出显示行为。

Parameters
adapter ItemBridgeAdapter: adapter of the list row.
zoomIndex int: One of ZOOM_FACTOR_SMALL ZOOM_FACTOR_XSMALL ZOOM_FACTOR_MEDIUM ZOOM_FACTOR_LARGE ZOOM_FACTOR_NONE.
useDimmer boolean: Allow dimming browse item when unselected.

setupHeaderItemFocusHighlight

void setupHeaderItemFocusHighlight (VerticalGridView gridView)

在标题列表中设置焦点项目的焦点突出显示行为。

Parameters
gridView VerticalGridView: the header list.

Hooray!