/external/okhttp/website/static/ |
jquery.smooth-scroll.min.js | 7 (function(l){function t(l){return l.replace(/(:|\.)/g,"\\$1")}var e="1.4.10",o={exclude:[],excludeWithin:[],offset:0,direction:"top",scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficent:2},r=function(t){var e=[],o=!1,r=t.dir&&"left"==t.dir?"scrollLeft":"scrollTop";return this.each(function(){if(this!=document&&this!=window){var t=l(this);t[r]()>0?e.push(this):(t[r](1),o=t[r]()>0,o&&e.push(this),t[r](0))}}),e.length||this.each(function(){"BODY"===this.nodeName&&(e=[this])}),"first"===t.el&&e.length>1&&(e=[e[0]]),e};l.fn.extend({scrollable:function(l){var t=r.call(this,{dir:l});return this.pushStack(t)},firstScrollable:function(l){var t=r.call(this,{el:"first",dir:l});return this.pushStack(t)},smoothScroll:function(e){e=e||{};var o=l.extend({},l.fn.smoothScroll.defaults,e),r=l.smoothScroll.filterPath(location.pathname);return this.unbind("click.smoothscroll").bind("click.smoothscroll",function(e){var n=this,s=l(this),c=o.exclude,i=o.excludeWithin,a=0,f=0,h=!0,u={},d=location.hostname===n.hostname||!n.hostname,m=o.scrollTarget||(l.smoothScroll.filterPath(n.pathname)||r)===r,p=t(n.hash);if(o.scrollTarget||d&&m&&p){for(;h&&c.length>a;)s.is(t(c[a++]))&&(h=!1);for(;h&&i.length>f;)s.closest(i[f++]).length&&(h=!1)}else h=!1;h&&(e.preventDefault(),l.extend(u,o,{scrollTarget:o.scrollTarget||p,link:n}),l.smoothScroll(u))}),this}}),l.smoothScroll=function(t,e){var o,r,n,s,c=0,i="offset",a="scrollTop",f={},h={};"number"==typeof t?(o=l.fn.smoothScroll.defaults,n=t):(o=l.extend({},l.fn.smoothScroll.defaults,t||{}),o.scrollElement&&(i="position","static"==o.scrollElement.css("position")&&o.scroll (…) [all...] |
/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
ViewPagerActions.java | 169 public static ViewAction scrollRight(final boolean smoothScroll) { 187 viewPager.setCurrentItem(current + 1, smoothScroll); 197 public static ViewAction scrollLeft(final boolean smoothScroll) { 215 viewPager.setCurrentItem(current - 1, smoothScroll); 225 public static ViewAction scrollToLast(final boolean smoothScroll) { 244 viewPager.setCurrentItem(size - 1, smoothScroll); 255 public static ViewAction scrollToFirst(final boolean smoothScroll) { 274 viewPager.setCurrentItem(0, smoothScroll); 285 public static ViewAction scrollToPage(final int page, final boolean smoothScroll) { 302 viewPager.setCurrentItem(page, smoothScroll); [all...] |
ViewPagerWithTabStripTest.java | 45 protected void assertStripInteraction(boolean smoothScroll) { 62 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); 76 onView(withId(R.id.pager)).perform(scrollToPage(0, smoothScroll)); 87 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll));
|
ViewPagerWithTitleStripTest.java | 46 protected void assertStripInteraction(boolean smoothScroll) { 58 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); 77 onView(withId(R.id.pager)).perform(scrollToPage(0, smoothScroll)); 84 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll));
|
BaseViewPagerTest.java | 226 private void verifyPageSelections(boolean smoothScroll) { 233 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); 237 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); 242 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); 247 onView(withId(R.id.pager)).perform(scrollLeft(smoothScroll)); 252 onView(withId(R.id.pager)).perform(scrollLeft(smoothScroll)); 258 onView(withId(R.id.pager)).perform(scrollLeft(smoothScroll)); 267 onView(withId(R.id.pager)).perform(scrollToPage(2, smoothScroll)); 273 onView(withId(R.id.pager)).perform(scrollToPage(0, smoothScroll)); 388 private void verifyPageContent(boolean smoothScroll) { [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
AutoScrollListView.java | 57 public void requestPositionToScreen(int position, boolean smoothScroll) { 59 mSmoothScrollRequested = smoothScroll;
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
PagingAwareViewPager.java | 37 public void setCurrentItem(int item, boolean smoothScroll) { 38 super.setCurrentItem(getRtlPosition(item), smoothScroll);
|
/packages/apps/TV/src/com/android/tv/guide/ |
TimelineRow.java | 53 public void scrollTo(int scrollOffset, boolean smoothScroll) { 56 if (smoothScroll) {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowViewPager.java | 47 public void setCurrentItem(int position, boolean smoothScroll){
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
PagedTileLayout.java | 79 public void setCurrentItem(int item, boolean smoothScroll) { 83 super.setCurrentItem(item, smoothScroll);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListFragment.java | 319 * @param smoothScroll if true, the UI will roll smoothly to the new 327 private void setSelectedContactUri(Uri uri, boolean required, boolean smoothScroll, 329 mSmoothScrollRequested = smoothScroll;
|
/frameworks/base/core/java/com/android/internal/widget/ |
ViewPager.java | 478 * @param smoothScroll True to smoothly scroll to the new item, false to transition immediately 480 public void setCurrentItem(int item, boolean smoothScroll) { 482 setCurrentItemInternal(item, smoothScroll, false); 489 boolean setCurrentItemInternal(int item, boolean smoothScroll, boolean always) { 490 return setCurrentItemInternal(item, smoothScroll, always, 0); 493 boolean setCurrentItemInternal(int item, boolean smoothScroll, boolean always, int velocity) { 529 scrollToItem(item, smoothScroll, velocity, dispatchSelected); 535 private void scrollToItem(int position, boolean smoothScroll, int velocity, 539 if (smoothScroll) { [all...] |
/frameworks/support/core-ui/java/android/support/v4/view/ |
ViewPager.java | 621 * @param smoothScroll True to smoothly scroll to the new item, false to transition immediately 623 public void setCurrentItem(int item, boolean smoothScroll) { 625 setCurrentItemInternal(item, smoothScroll, false); 632 void setCurrentItemInternal(int item, boolean smoothScroll, boolean always) { 633 setCurrentItemInternal(item, smoothScroll, always, 0); 636 void setCurrentItemInternal(int item, boolean smoothScroll, boolean always, int velocity) { 672 scrollToItem(item, smoothScroll, velocity, dispatchSelected); 676 private void scrollToItem(int item, boolean smoothScroll, int velocity, 685 if (smoothScroll) { [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ListRowPresenter.java | 160 * @param smoothScroll True for smooth scrolling to the item, false otherwise. 162 public void setSmoothScroll(boolean smoothScroll) { 163 mSmoothScroll = smoothScroll;
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
ConversationFragment.java | 229 private void scrollToBottom(final boolean smoothScroll) { 231 scrollToPosition(mAdapter.getItemCount() - 1, smoothScroll); 619 private void scrollToPosition(final int targetPosition, final boolean smoothScroll) { 620 if (smoothScroll) { [all...] |
/development/samples/training/multiscreen/newsreader/libs/ |
android-support-v4.jar | |
/development/samples/training/basic/ActivityLifecycle/libs/ |
android-support-v13.jar | |
/development/samples/training/basic/FragmentBasics/libs/ |
android-support-v4.jar | |
/development/samples/training/location-aware/libs/ |
android-support-v4.jar | |
/sdk/testapps/jarCheckTests1/app/libs/ |
android-support-v4.jar | |
/sdk/testapps/jarCheckTests1/lib1/libs/ |
android-support-v4.jar | |
/sdk/testapps/jarCheckTests1/lib2/libs/ |
android-support-v4.jar | |
/sdk/testapps/jarCheckTests2/lib1/libs/ |
android-support-v4.jar | |
/sdk/testapps/jarCheckTests2/lib2/libs/ |
android-support-v4.jar | |
/sdk/testapps/jarCheckTests3/lib1/libs/ |
android-support-v4.jar | |