Lines Matching refs:position
35 public Object instantiateItem(ViewGroup container, int position) {
36 return getChildAt(position);
40 public void destroyItem(ViewGroup container, int position, Object object) {
41 removeViewAt(position);
50 public float getPageWidth(int position) {
51 return position == 1 ? 7.0f / 9.0f : 1.0f;
68 public void onPageSelected(int position) {
72 recursivelySetEnabled(getChildAt(childIndex), childIndex == position);
80 public void transformPage(View view, float position) {
81 if (position < 0.0f) {
83 view.setTranslationX(getWidth() * -position);
84 view.setAlpha(Math.max(1.0f + position, 0.0f));