Searched refs:facet (Results 1 – 5 of 5) sorted by relevance
35 static int getAlignmentPosition(View itemView, ItemAlignmentFacet.ItemAlignmentDef facet, in getAlignmentPosition() argument39 if (facet.mViewId != 0) { in getAlignmentPosition()40 view = itemView.findViewById(facet.mViewId); in getAlignmentPosition()45 int alignPos = facet.mOffset; in getAlignmentPosition()50 if (facet.mOffsetWithPadding) { in getAlignmentPosition()51 if (facet.mOffsetPercent == 0f) { in getAlignmentPosition()53 } else if (facet.mOffsetPercent == 100f) { in getAlignmentPosition()57 if (facet.mOffsetPercent != ITEM_ALIGN_OFFSET_PERCENT_DISABLED) { in getAlignmentPosition()59 : view.getWidth()) * facet.mOffsetPercent) / 100f); in getAlignmentPosition()67 if (facet.mOffsetWithPadding) { in getAlignmentPosition()[all …]
159 void setItemAlignmentFacet(ItemAlignmentFacet facet) { in setItemAlignmentFacet() argument160 mAlignmentFacet = facet; in setItemAlignmentFacet()958 final ItemAlignmentFacet facet = lp.getItemAlignmentFacet(); in getSubPositionByView() local959 if (facet != null) { in getSubPositionByView()960 final ItemAlignmentFacet.ItemAlignmentDef[] defs = facet.getAlignmentDefs(); in getSubPositionByView()1583 E facet = null; in getFacet() local1585 facet = (E) ((FacetProvider) vh).getFacet(facetClass); in getFacet()1587 if (facet == null && mFacetProviderAdapter != null) { in getFacet()1590 facet = (E) p.getFacet(facetClass); in getFacet()1593 return facet; in getFacet()
529 ItemAlignmentFacet facet = new ItemAlignmentFacet(); in setupDetailsOverviewRowPresenter() local545 facet.setAlignmentDefs(defs); in setupDetailsOverviewRowPresenter()546 presenter.setFacet(ItemAlignmentFacet.class, facet); in setupDetailsOverviewRowPresenter()
534 ItemAlignmentFacet facet = new ItemAlignmentFacet(); in setupDetailsOverviewRowPresenter() local550 facet.setAlignmentDefs(defs); in setupDetailsOverviewRowPresenter()551 presenter.setFacet(ItemAlignmentFacet.class, facet); in setupDetailsOverviewRowPresenter()
6318 and older jewels every facet may stand for a bloody deed. This stone