Home
last modified time | relevance | path

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

12

/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/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/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/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/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/Flashlight/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
DFragmentNestingStatePagerSupport.java128 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
/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
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12