Home
last modified time | relevance | path

Searched refs:widthFactor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java89 float widthFactor; field in ViewPager.ItemInfo
574 final int itemWidth = (int) (width * info.widthFactor + 0.5f); in getLeftEdgeForItem()
810 ii.widthFactor = mAdapter.getPageWidth(position); in addNewItem()
881 lp.widthFactor = 0.f; in dataSetChanged()
971 2.f - curItem.widthFactor + (float) getPaddingLeft() / (float) clientWidth;
989 extraWidthLeft += ii.widthFactor;
994 extraWidthLeft += ii.widthFactor;
1000 float extraWidthRight = curItem.widthFactor;
1021 extraWidthRight += ii.widthFactor;
1027 extraWidthRight += ii.widthFactor;
[all …]
/frameworks/support/core-ui/java/android/support/v4/view/
DViewPager.java130 float widthFactor; field in ViewPager.ItemInfo
1003 ii.widthFactor = mAdapter.getPageWidth(position); in addNewItem()
1074 lp.widthFactor = 0.f; in dataSetChanged()
1162 2.f - curItem.widthFactor + (float) getPaddingLeft() / (float) clientWidth;
1180 extraWidthLeft += ii.widthFactor;
1185 extraWidthLeft += ii.widthFactor;
1191 float extraWidthRight = curItem.widthFactor;
1212 extraWidthRight += ii.widthFactor;
1218 extraWidthRight += ii.widthFactor;
1245 if (!lp.isDecor && lp.widthFactor == 0.f) {
[all …]