Home
last modified time | relevance | path

Searched refs:positionOffset (Results 1 – 22 of 22) sorted by relevance

/development/samples/browseable/FragmentTransition/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
244 int targetScrollX = selectedChild.getLeft() + positionOffset; in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
265 mTabStrip.onViewPagerPageChanged(position, positionOffset); in onPageScrolled()
269 ? (int) (positionOffset * selectedTitle.getWidth()) in onPageScrolled()
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset, in onPageScrolled()
DSlidingTabStrip.java110 void onViewPagerPageChanged(int position, float positionOffset) { in onViewPagerPageChanged() argument
112 mSelectionOffset = positionOffset; in onViewPagerPageChanged()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
244 int targetScrollX = selectedChild.getLeft() + positionOffset; in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
265 mTabStrip.onViewPagerPageChanged(position, positionOffset); in onPageScrolled()
269 ? (int) (positionOffset * selectedTitle.getWidth()) in onPageScrolled()
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset, in onPageScrolled()
DSlidingTabStrip.java110 void onViewPagerPageChanged(int position, float positionOffset) { in onViewPagerPageChanged() argument
112 mSelectionOffset = positionOffset; in onViewPagerPageChanged()
/development/samples/browseable/AdapterTransition/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
244 int targetScrollX = selectedChild.getLeft() + positionOffset; in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
265 mTabStrip.onViewPagerPageChanged(position, positionOffset); in onPageScrolled()
269 ? (int) (positionOffset * selectedTitle.getWidth()) in onPageScrolled()
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset, in onPageScrolled()
DSlidingTabStrip.java110 void onViewPagerPageChanged(int position, float positionOffset) { in onViewPagerPageChanged() argument
112 mSelectionOffset = positionOffset; in onViewPagerPageChanged()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
244 int targetScrollX = selectedChild.getLeft() + positionOffset; in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
265 mTabStrip.onViewPagerPageChanged(position, positionOffset); in onPageScrolled()
269 ? (int) (positionOffset * selectedTitle.getWidth()) in onPageScrolled()
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset, in onPageScrolled()
DSlidingTabStrip.java110 void onViewPagerPageChanged(int position, float positionOffset) { in onViewPagerPageChanged() argument
112 mSelectionOffset = positionOffset; in onViewPagerPageChanged()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
244 int targetScrollX = selectedChild.getLeft() + positionOffset; in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
265 mTabStrip.onViewPagerPageChanged(position, positionOffset); in onPageScrolled()
269 ? (int) (positionOffset * selectedTitle.getWidth()) in onPageScrolled()
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset, in onPageScrolled()
DSlidingTabStrip.java110 void onViewPagerPageChanged(int position, float positionOffset) { in onViewPagerPageChanged() argument
112 mSelectionOffset = positionOffset; in onViewPagerPageChanged()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
244 int targetScrollX = selectedChild.getLeft() + positionOffset; in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
265 mTabStrip.onViewPagerPageChanged(position, positionOffset); in onPageScrolled()
269 ? (int) (positionOffset * selectedTitle.getWidth()) in onPageScrolled()
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset, in onPageScrolled()
DSlidingTabStrip.java110 void onViewPagerPageChanged(int position, float positionOffset) { in onViewPagerPageChanged() argument
112 mSelectionOffset = positionOffset; in onViewPagerPageChanged()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
244 int targetScrollX = selectedChild.getLeft() + positionOffset; in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
265 mTabStrip.onViewPagerPageChanged(position, positionOffset); in onPageScrolled()
269 ? (int) (positionOffset * selectedTitle.getWidth()) in onPageScrolled()
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset, in onPageScrolled()
DSlidingTabStrip.java110 void onViewPagerPageChanged(int position, float positionOffset) { in onViewPagerPageChanged() argument
112 mSelectionOffset = positionOffset; in onViewPagerPageChanged()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
244 int targetScrollX = selectedChild.getLeft() + positionOffset; in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
265 mTabStrip.onViewPagerPageChanged(position, positionOffset); in onPageScrolled()
269 ? (int) (positionOffset * selectedTitle.getWidth()) in onPageScrolled()
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset, in onPageScrolled()
DSlidingTabStrip.java110 void onViewPagerPageChanged(int position, float positionOffset) { in onViewPagerPageChanged() argument
112 mSelectionOffset = positionOffset; in onViewPagerPageChanged()
/development/samples/browseable/Flashlight/Wearable/src/com.example.android.wearable.flashlight/
DMainActivity.java62 … public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onCreate()
/development/samples/Support13Demos/src/com/example/android/supportv13/app/
DActionBarTabsPager.java130 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
DFragmentNestingPagerSupport.java128 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
DFragmentNestingStatePagerSupport.java128 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
/development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/
DMainActivity.java179 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentTabsPager.java159 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument