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.java115 float widthFactor; field in ViewPager.ItemInfo
600 final int itemWidth = (int) (width * info.widthFactor + 0.5f); in getLeftEdgeForItem()
836 ii.widthFactor = mAdapter.getPageWidth(position); in addNewItem()
907 lp.widthFactor = 0.f; in dataSetChanged()
997 2.f - curItem.widthFactor + (float) getPaddingLeft() / (float) clientWidth;
1015 extraWidthLeft += ii.widthFactor;
1020 extraWidthLeft += ii.widthFactor;
1026 float extraWidthRight = curItem.widthFactor;
1047 extraWidthRight += ii.widthFactor;
1053 extraWidthRight += ii.widthFactor;
[all …]
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java137 float widthFactor; field in ViewPager.ItemInfo
1002 ii.widthFactor = mAdapter.getPageWidth(position); in addNewItem()
1073 lp.widthFactor = 0.f; in dataSetChanged()
1161 2.f - curItem.widthFactor + (float) getPaddingLeft() / (float) clientWidth;
1179 extraWidthLeft += ii.widthFactor;
1184 extraWidthLeft += ii.widthFactor;
1190 float extraWidthRight = curItem.widthFactor;
1211 extraWidthRight += ii.widthFactor;
1217 extraWidthRight += ii.widthFactor;
1244 if (!lp.isDecor && lp.widthFactor == 0.f) {
[all …]