Lines Matching refs:view
20 import android.support.v4.view.ViewConfigurationCompat;
21 import android.support.v4.view.ViewPager;
23 import android.view.MotionEvent;
24 import android.view.View;
25 import android.view.ViewConfiguration;
26 import android.view.ViewParent;
29 // TODO Remove the hack of using a parent view pager
40 public void transformPage(View view, float position) {
41 final int pageWidth = view.getWidth();
42 final int pageHeight = view.getHeight();
45 view.setAlpha(0);
47 view.setAlpha(1);
49 view.setTranslationX(pageWidth * -position);
52 view.setTranslationY(yPosition);
55 view.setAlpha(0);
75 setOverScrollMode(View.OVER_SCROLL_NEVER);
119 // Set both flags to false in case user lifted finger in the parent view pager
132 // This vertical view pager is nested in the frame layout inside the timer tab
133 // (fragment), which is nested inside the horizontal view pager. Therefore,
134 // it needs 3 layers to get all the way to the horizontal view pager.