Home
last modified time | relevance | path

Searched refs:ItemAlignmentFacet (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DDetailsFragment.java20 import android.support.v17.leanback.widget.ItemAlignmentFacet;
251 ItemAlignmentFacet facet = new ItemAlignmentFacet(); in setupDetailsOverviewRowPresenter()
253 ItemAlignmentFacet.ItemAlignmentDef alignDef1 = new ItemAlignmentFacet.ItemAlignmentDef(); in setupDetailsOverviewRowPresenter()
259 ItemAlignmentFacet.ItemAlignmentDef alignDef2 = new ItemAlignmentFacet.ItemAlignmentDef(); in setupDetailsOverviewRowPresenter()
265 ItemAlignmentFacet.ItemAlignmentDef[] defs = in setupDetailsOverviewRowPresenter()
266 new ItemAlignmentFacet.ItemAlignmentDef[] {alignDef1, alignDef2}; in setupDetailsOverviewRowPresenter()
268 presenter.setFacet(ItemAlignmentFacet.class, facet); in setupDetailsOverviewRowPresenter()
DDetailsSupportFragment.java22 import android.support.v17.leanback.widget.ItemAlignmentFacet;
253 ItemAlignmentFacet facet = new ItemAlignmentFacet(); in setupDetailsOverviewRowPresenter()
255 ItemAlignmentFacet.ItemAlignmentDef alignDef1 = new ItemAlignmentFacet.ItemAlignmentDef(); in setupDetailsOverviewRowPresenter()
261 ItemAlignmentFacet.ItemAlignmentDef alignDef2 = new ItemAlignmentFacet.ItemAlignmentDef(); in setupDetailsOverviewRowPresenter()
267 ItemAlignmentFacet.ItemAlignmentDef[] defs = in setupDetailsOverviewRowPresenter()
268 new ItemAlignmentFacet.ItemAlignmentDef[] {alignDef1, alignDef2}; in setupDetailsOverviewRowPresenter()
270 presenter.setFacet(ItemAlignmentFacet.class, facet); in setupDetailsOverviewRowPresenter()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DItemAlignmentFacetHelper.java16 import static android.support.v17.leanback.widget.ItemAlignmentFacet.ITEM_ALIGN_OFFSET_PERCENT_DISA…
34 static int getAlignmentPosition(View itemView, ItemAlignmentFacet.ItemAlignmentDef facet, in getAlignmentPosition()
DOnChildViewHolderSelectedListener.java16 import android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef;
DItemAlignmentFacet.java39 public final class ItemAlignmentFacet { class
DItemAlignment.java34 final static class Axis extends ItemAlignmentFacet.ItemAlignmentDef {
DGridLayoutManager.java73 private ItemAlignmentFacet mAlignmentFacet;
155 void setItemAlignmentFacet(ItemAlignmentFacet facet) { in setItemAlignmentFacet()
159 ItemAlignmentFacet getItemAlignmentFacet() { in getItemAlignmentFacet()
164 ItemAlignmentFacet.ItemAlignmentDef[] defs = mAlignmentFacet.getAlignmentDefs(); in calculateItemAlignments()
785 final ItemAlignmentFacet facet = lp.getItemAlignmentFacet(); in getSubPositionByView()
787 final ItemAlignmentFacet.ItemAlignmentDef[] defs = facet.getAlignmentDefs(); in getSubPositionByView()
1349 lp.setItemAlignmentFacet((ItemAlignmentFacet)getFacet(vh, ItemAlignmentFacet.class));
DBaseGridView.java114 ItemAlignmentFacet.ITEM_ALIGN_OFFSET_PERCENT_DISABLED;
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java1822 public ItemAlignmentFacet getItemAlignmentFacet(int viewType); in getItemAlignmentFacet()
1840 ItemAlignmentFacet mMultipleFacet;
1843 mMultipleFacet = new ItemAlignmentFacet(); in PositionItemAlignmentFacetProviderForRelativeLayout1()
1844 ItemAlignmentFacet.ItemAlignmentDef[] defs = in PositionItemAlignmentFacetProviderForRelativeLayout1()
1845 new ItemAlignmentFacet.ItemAlignmentDef[2]; in PositionItemAlignmentFacetProviderForRelativeLayout1()
1846 defs[0] = new ItemAlignmentFacet.ItemAlignmentDef(); in PositionItemAlignmentFacetProviderForRelativeLayout1()
1848 defs[1] = new ItemAlignmentFacet.ItemAlignmentDef(); in PositionItemAlignmentFacetProviderForRelativeLayout1()
1856 public ItemAlignmentFacet getItemAlignmentFacet(int position) { in getItemAlignmentFacet()
1909 ItemAlignmentFacet mMultipleFacet;
1912 mMultipleFacet = new ItemAlignmentFacet(); in PositionItemAlignmentFacetProviderForRelativeLayout2()
[all …]
DGridActivity.java293 if (facetClass.equals(ItemAlignmentFacet.class)) { in getFacetProvider()
402 ItemAlignmentFacet mItemAlignment;
409 if (facetClass.equals(ItemAlignmentFacet.class)) {
/frameworks/support/v17/leanback/api/
D22.2.1.txt937 public final class ItemAlignmentFacet {
938 ctor public ItemAlignmentFacet();
939 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
941 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
945 public static class ItemAlignmentFacet.ItemAlignmentDef {
946 ctor public ItemAlignmentFacet.ItemAlignmentDef();
Dcurrent.txt942 public final class ItemAlignmentFacet {
943 ctor public ItemAlignmentFacet();
944 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
946 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
950 public static class ItemAlignmentFacet.ItemAlignmentDef {
951 ctor public ItemAlignmentFacet.ItemAlignmentDef();
D23.txt942 public final class ItemAlignmentFacet {
943 ctor public ItemAlignmentFacet();
944 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
946 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
950 public static class ItemAlignmentFacet.ItemAlignmentDef {
951 ctor public ItemAlignmentFacet.ItemAlignmentDef();