Home
last modified time | relevance | path

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

12

/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DDetailsSupportFragment.java44 import androidx.leanback.widget.ItemAlignmentFacet;
529 ItemAlignmentFacet facet = new ItemAlignmentFacet(); in setupDetailsOverviewRowPresenter()
531 ItemAlignmentFacet.ItemAlignmentDef alignDef1 = new ItemAlignmentFacet.ItemAlignmentDef(); in setupDetailsOverviewRowPresenter()
537 ItemAlignmentFacet.ItemAlignmentDef alignDef2 = new ItemAlignmentFacet.ItemAlignmentDef(); in setupDetailsOverviewRowPresenter()
543 ItemAlignmentFacet.ItemAlignmentDef[] defs = in setupDetailsOverviewRowPresenter()
544 new ItemAlignmentFacet.ItemAlignmentDef[] {alignDef1, alignDef2}; in setupDetailsOverviewRowPresenter()
546 presenter.setFacet(ItemAlignmentFacet.class, facet); in setupDetailsOverviewRowPresenter()
DDetailsFragment.java47 import androidx.leanback.widget.ItemAlignmentFacet;
534 ItemAlignmentFacet facet = new ItemAlignmentFacet(); in setupDetailsOverviewRowPresenter()
536 ItemAlignmentFacet.ItemAlignmentDef alignDef1 = new ItemAlignmentFacet.ItemAlignmentDef(); in setupDetailsOverviewRowPresenter()
542 ItemAlignmentFacet.ItemAlignmentDef alignDef2 = new ItemAlignmentFacet.ItemAlignmentDef(); in setupDetailsOverviewRowPresenter()
548 ItemAlignmentFacet.ItemAlignmentDef[] defs = in setupDetailsOverviewRowPresenter()
549 new ItemAlignmentFacet.ItemAlignmentDef[] {alignDef1, alignDef2}; in setupDetailsOverviewRowPresenter()
551 presenter.setFacet(ItemAlignmentFacet.class, facet); in setupDetailsOverviewRowPresenter()
DPlaybackFragment.java51 import androidx.leanback.widget.ItemAlignmentFacet;
1006 && presenters[i].getFacet(ItemAlignmentFacet.class) == null) { in setPlaybackRowPresenterAlignment()
1007 ItemAlignmentFacet itemAlignment = new ItemAlignmentFacet(); in setPlaybackRowPresenterAlignment()
1008 ItemAlignmentFacet.ItemAlignmentDef def = in setPlaybackRowPresenterAlignment()
1009 new ItemAlignmentFacet.ItemAlignmentDef(); in setPlaybackRowPresenterAlignment()
1012 itemAlignment.setAlignmentDefs(new ItemAlignmentFacet.ItemAlignmentDef[] in setPlaybackRowPresenterAlignment()
1014 presenters[i].setFacet(ItemAlignmentFacet.class, itemAlignment); in setPlaybackRowPresenterAlignment()
DPlaybackSupportFragment.java48 import androidx.leanback.widget.ItemAlignmentFacet;
999 && presenters[i].getFacet(ItemAlignmentFacet.class) == null) { in setPlaybackRowPresenterAlignment()
1000 ItemAlignmentFacet itemAlignment = new ItemAlignmentFacet(); in setPlaybackRowPresenterAlignment()
1001 ItemAlignmentFacet.ItemAlignmentDef def = in setPlaybackRowPresenterAlignment()
1002 new ItemAlignmentFacet.ItemAlignmentDef(); in setPlaybackRowPresenterAlignment()
1005 itemAlignment.setAlignmentDefs(new ItemAlignmentFacet.ItemAlignmentDef[] in setPlaybackRowPresenterAlignment()
1007 presenters[i].setFacet(ItemAlignmentFacet.class, itemAlignment); in setPlaybackRowPresenterAlignment()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DItemAlignmentFacetHelper.java16 import static androidx.leanback.widget.ItemAlignmentFacet.ITEM_ALIGN_OFFSET_PERCENT_DISABLED;
35 static int getAlignmentPosition(View itemView, ItemAlignmentFacet.ItemAlignmentDef facet, in getAlignmentPosition()
DOnChildViewHolderSelectedListener.java16 import androidx.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef;
DItemAlignment.java30 final static class Axis extends ItemAlignmentFacet.ItemAlignmentDef {
DItemAlignmentFacet.java37 public final class ItemAlignmentFacet { class
DGuidedActionsStylist.java157 final static ItemAlignmentFacet sGuidedActionItemAlignFacet;
160 sGuidedActionItemAlignFacet = new ItemAlignmentFacet();
161 ItemAlignmentFacet.ItemAlignmentDef alignedDef = new ItemAlignmentFacet.ItemAlignmentDef();
167 …sGuidedActionItemAlignFacet.setAlignmentDefs(new ItemAlignmentFacet.ItemAlignmentDef[]{alignedDef}… in sGuidedActionItemAlignFacet.setAlignmentDefs()
368 if (facetClass == ItemAlignmentFacet.class) { in getFacet()
DGridLayoutManager.java77 private ItemAlignmentFacet mAlignmentFacet;
159 void setItemAlignmentFacet(ItemAlignmentFacet facet) { in setItemAlignmentFacet()
163 ItemAlignmentFacet getItemAlignmentFacet() { in getItemAlignmentFacet()
168 ItemAlignmentFacet.ItemAlignmentDef[] defs = mAlignmentFacet.getAlignmentDefs(); in calculateItemAlignments()
958 final ItemAlignmentFacet facet = lp.getItemAlignmentFacet(); in getSubPositionByView()
960 final ItemAlignmentFacet.ItemAlignmentDef[] defs = facet.getAlignmentDefs(); in getSubPositionByView()
1616 lp.setItemAlignmentFacet((ItemAlignmentFacet)getFacet(vh, ItemAlignmentFacet.class));
DBaseGridView.java133 ItemAlignmentFacet.ITEM_ALIGN_OFFSET_PERCENT_DISABLED;
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java3778 public ItemAlignmentFacet getItemAlignmentFacet(int viewType); in getItemAlignmentFacet()
3810 ItemAlignmentFacet mMultipleFacet;
3813 mMultipleFacet = new ItemAlignmentFacet(); in PositionItemAlignmentFacetProviderForRelativeLayout1()
3814 ItemAlignmentFacet.ItemAlignmentDef[] defs = in PositionItemAlignmentFacetProviderForRelativeLayout1()
3815 new ItemAlignmentFacet.ItemAlignmentDef[2]; in PositionItemAlignmentFacetProviderForRelativeLayout1()
3816 defs[0] = new ItemAlignmentFacet.ItemAlignmentDef(); in PositionItemAlignmentFacetProviderForRelativeLayout1()
3818 defs[1] = new ItemAlignmentFacet.ItemAlignmentDef(); in PositionItemAlignmentFacetProviderForRelativeLayout1()
3826 public ItemAlignmentFacet getItemAlignmentFacet(int position) { in getItemAlignmentFacet()
3879 ItemAlignmentFacet mMultipleFacet;
3882 mMultipleFacet = new ItemAlignmentFacet(); in PositionItemAlignmentFacetProviderForRelativeLayout2()
[all …]
DGridActivity.java353 if (facetClass.equals(ItemAlignmentFacet.class)) { in getFacetProvider()
512 ItemAlignmentFacet mItemAlignment;
519 if (facetClass.equals(ItemAlignmentFacet.class)) {
/frameworks/support/leanback/api/
Dcurrent.txt2086 public final class ItemAlignmentFacet {
2087 ctor public ItemAlignmentFacet();
2088 method public androidx.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignmentDefs();
2090 …method public void setAlignmentDefs(androidx.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[]…
2094 public static class ItemAlignmentFacet.ItemAlignmentDef {
2095 ctor public ItemAlignmentFacet.ItemAlignmentDef();
/frameworks/support/leanback/api_legacy/
Dcurrent.txt2075 public final class ItemAlignmentFacet {
2076 ctor public ItemAlignmentFacet();
2077 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
2079 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
2083 public static class ItemAlignmentFacet.ItemAlignmentDef {
2084 ctor public ItemAlignmentFacet.ItemAlignmentDef();
D27.0.0.txt2090 public final class ItemAlignmentFacet {
2091 ctor public ItemAlignmentFacet();
2092 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
2094 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
2098 public static class ItemAlignmentFacet.ItemAlignmentDef {
2099 ctor public ItemAlignmentFacet.ItemAlignmentDef();
D27.1.0.txt2075 public final class ItemAlignmentFacet {
2076 ctor public ItemAlignmentFacet();
2077 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
2079 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
2083 public static class ItemAlignmentFacet.ItemAlignmentDef {
2084 ctor public ItemAlignmentFacet.ItemAlignmentDef();
D28.0.0-alpha1.txt2075 public final class ItemAlignmentFacet {
2076 ctor public ItemAlignmentFacet();
2077 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
2079 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
2083 public static class ItemAlignmentFacet.ItemAlignmentDef {
2084 ctor public ItemAlignmentFacet.ItemAlignmentDef();
D26.1.0.txt2175 public final class ItemAlignmentFacet {
2176 ctor public ItemAlignmentFacet();
2177 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
2179 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
2183 public static class ItemAlignmentFacet.ItemAlignmentDef {
2184 ctor public ItemAlignmentFacet.ItemAlignmentDef();
D26.0.0.txt2175 public final class ItemAlignmentFacet {
2176 ctor public ItemAlignmentFacet();
2177 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
2179 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
2183 public static class ItemAlignmentFacet.ItemAlignmentDef {
2184 ctor public ItemAlignmentFacet.ItemAlignmentDef();
/frameworks/support/api/
D22.2.1.txt1318 public final class ItemAlignmentFacet {
1319 ctor public ItemAlignmentFacet();
1320 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
1322 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
1326 public static class ItemAlignmentFacet.ItemAlignmentDef {
1327 ctor public ItemAlignmentFacet.ItemAlignmentDef();
D25.2.0.txt3117 public final class ItemAlignmentFacet {
3118 ctor public ItemAlignmentFacet();
3119 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
3121 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
3125 public static class ItemAlignmentFacet.ItemAlignmentDef {
3126 ctor public ItemAlignmentFacet.ItemAlignmentDef();
D25.0.0.txt2780 public final class ItemAlignmentFacet {
2781 ctor public ItemAlignmentFacet();
2782 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
2784 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
2788 public static class ItemAlignmentFacet.ItemAlignmentDef {
2789 ctor public ItemAlignmentFacet.ItemAlignmentDef();
D24.2.0.txt2726 public final class ItemAlignmentFacet {
2727 ctor public ItemAlignmentFacet();
2728 …method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignme…
2730 …method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAli…
2734 public static class ItemAlignmentFacet.ItemAlignmentDef {
2735 ctor public ItemAlignmentFacet.ItemAlignmentDef();
/frameworks/support/jetifier/jetifier/core/src/main/resources/
Ddefault.generated.config3328 …"android/support/v17/leanback/widget/ItemAlignmentFacet": "androidx/leanback/widget/ItemAlignmentF…

12