public
class
FocusHighlightHelper
extends Object
| java.lang.Object | |
| ↳ | android.support.v17.leanback.widget.FocusHighlightHelper |
Sets up the highlighting behavior when an item gains focus.
Public constructors | |
|---|---|
FocusHighlightHelper()
|
|
Public methods | |
|---|---|
static
void
|
setupBrowseItemFocusHighlight(ItemBridgeAdapter adapter, int zoomIndex, boolean useDimmer)
Sets up the focus highlight behavior of a focused item in browse list row. |
static
void
|
setupHeaderItemFocusHighlight(VerticalGridView gridView)
Sets up the focus highlight behavior of a focused item in header list. |
Inherited methods | |
|---|---|
java.lang.Object
| |
FocusHighlightHelper ()
void setupBrowseItemFocusHighlight (ItemBridgeAdapter adapter, int zoomIndex, boolean useDimmer)
Sets up the focus highlight behavior of a focused item in browse list row.
| 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. |
void setupHeaderItemFocusHighlight (VerticalGridView gridView)
Sets up the focus highlight behavior of a focused item in header list.
| Parameters | |
|---|---|
gridView |
VerticalGridView:
the header list.
|