public class FocusHighlightHelper extends Object
Constructor and Description |
---|
FocusHighlightHelper() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static void setupBrowseItemFocusHighlight(ItemBridgeAdapter adapter, int zoomIndex, boolean useDimmer)
zoomIndex
- One of FocusHighlight.ZOOM_FACTOR_SMALL
FocusHighlight.ZOOM_FACTOR_XSMALL
FocusHighlight.ZOOM_FACTOR_MEDIUM
FocusHighlight.ZOOM_FACTOR_LARGE
FocusHighlight.ZOOM_FACTOR_NONE
.useDimmer
- Allow dimming browse item when unselected.adapter
- adapter of the list row.public static void setupHeaderItemFocusHighlight(VerticalGridView gridView)
gridView
- the header list.