OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:smoothScroll
(Results
1 - 25
of
37
) sorted by null
1
2
/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
...]
/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/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/basic/ActivityLifecycle/libs/
android-support-v13.jar
/development/samples/training/multiscreen/newsreader/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
/sdk/testapps/javaProjectTest/lib1/libs/
android-support-v4.jar
/sdk/testapps/javaProjectTest/lib2/libs/
android-support-v4.jar
/sdk/testapps/libsAndJarTest/lib1/libs/
android-support-v4.jar
/sdk/testapps/libsAndJarTest/lib2/libs/
android-support-v4.jar
/development/samples/training/AnimationsDemo/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/apps/NotificationStudio/libs/
android-support-v4.jar
/sdk/testapps/jarCheckTests3/lib2/libs/
android-support-v13.jar
/development/samples/ControllerSample/libs/
android-support-v4.jar
/development/samples/training/ContactsList/libs/
android-support-v4.jar
/development/samples/training/EffectiveNavigation/libs/
android-support-v4.jar
/development/samples/training/InteractiveChart/libs/
android-support-v4.jar
/development/samples/training/NavigationDrawer/libs/
android-support-v4.jar
Completed in 598 milliseconds
1
2