OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:viewPager
(Results
1 - 23
of
23
) sorted by null
/frameworks/support/design/tests/src/android/support/design/testutils/
ViewPagerActions.java
28
import android.support.v4.view.
ViewPager
;
38
* Moves <code>
ViewPager
</code> to the right by one page.
49
return "
ViewPager
scroll one page to the right";
56
ViewPager
viewPager
= (
ViewPager
) view;
57
int current =
viewPager
.getCurrentItem();
58
viewPager
.setCurrentItem(current + 1, false);
66
* Moves <code>
ViewPager
</code> to the left by one page.
77
return "
ViewPager
scroll one page to the left"
[
all
...]
/packages/apps/EmergencyInfo/src/com/android/emergency/
EmergencyTabActivity.java
27
import android.support.v4.view.
ViewPager
;
94
// The
viewpager
that will host the section contents.
95
ViewPager
viewPager
= (
ViewPager
) findViewById(R.id.view_pager);
97
viewPager
.setAdapter(mTabsAdapter);
103
new TabLayout.ViewPagerOnTabSelectedListener(
viewPager
));
107
viewPager
.addOnPageChangeListener(new TabLayoutOnPageChangeListener(mTabLayout));
/frameworks/support/core-ui/tests/java/android/support/v4/view/
ViewPagerActions.java
41
implements
ViewPager
.OnPageChangeListener, IdlingResource {
42
private int mCurrState =
ViewPager
.SCROLL_STATE_IDLE;
64
return mCurrState ==
ViewPager
.SCROLL_STATE_IDLE;
70
if (mCurrState ==
ViewPager
.SCROLL_STATE_IDLE) {
80
if (mCurrState ==
ViewPager
.SCROLL_STATE_IDLE) {
113
final
ViewPager
viewPager
= (
ViewPager
) view;
116
viewPager
.addOnPageChangeListener(customListener);
133
// And remove our tracker listener from
ViewPager
[
all
...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
PackageInstallerActivity.java
43
import android.support.v4.view.
ViewPager
;
126
ViewPager
viewPager
= (
ViewPager
)findViewById(R.id.pager);
127
TabsAdapter adapter = new TabsAdapter(this, tabHost,
viewPager
);
[
all
...]
/packages/apps/Settings/src/com/android/settings/widget/
SlidingTabLayout.java
32
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as
60
public void setViewPager(RtlCompatibleViewPager
viewPager
) {
63
mViewPager =
viewPager
;
64
if (
viewPager
!= null) {
65
viewPager
.addOnPageChangeListener(new InternalViewPagerListener());
DotsPageIndicator.java
33
import android.support.v4.view.
ViewPager
;
42
* Custom pager indicator for use with a {@code
ViewPager
}.
44
public class DotsPageIndicator extends View implements
ViewPager
.OnPageChangeListener {
74
//
ViewPager
75
private
ViewPager
viewPager
;
76
private
ViewPager
.OnPageChangeListener pageChangeListener;
176
public void setViewPager(
ViewPager
viewPager
) {
177
this.
viewPager
= viewPager
[
all
...]
/developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/developers/build/prebuilts/gradle/SlidingTabsBasic/Application/src/main/java/com/example/android/common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/com/example/android/common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/developers/samples/android/common/src/java/com/example/android/common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
SlidingTabLayout.java
23
import android.support.v4.view.
ViewPager
;
33
* To be used with
ViewPager
to provide a tab indicator component which give constant feedback as to
38
* {@link #setViewPager(
ViewPager
)} providing it the
ViewPager
this layout is being used for.
77
private
ViewPager
mViewPager;
78
private
ViewPager
.OnPageChangeListener mViewPagerPageChangeListener;
132
* Set the {@link
ViewPager
.OnPageChangeListener}. When using {@link SlidingTabLayout} you are
133
* required to set any {@link
ViewPager
.OnPageChangeListener} through this method. This is so
136
* @see
ViewPager
#setOnPageChangeListener(
ViewPager
.OnPageChangeListener
[
all
...]
/frameworks/support/design/src/android/support/design/widget/
TabLayout.java
19
import static android.support.v4.view.
ViewPager
.SCROLL_STATE_DRAGGING;
20
import static android.support.v4.view.
ViewPager
.SCROLL_STATE_IDLE;
21
import static android.support.v4.view.
ViewPager
.SCROLL_STATE_SETTLING;
46
import android.support.v4.view.
ViewPager
;
108
* <h3>
ViewPager
integration</h3>
110
* If you're using a {@link android.support.v4.view.
ViewPager
} together
111
* with this layout, you can call {@link #setupWithViewPager(
ViewPager
)} to link the two together.
115
* This view also supports being used as part of a
ViewPager
's decor, and can be added
116
* directly to the
ViewPager
in a layout resource file like so:</p>
119
* <android.support.v4.view.
ViewPager
[
all
...]
/prebuilts/sdk/current/support/design/libs/
android-support-design.jar
/prebuilts/sdk/current/support/v4/
android-support-v4.jar
/prebuilts/sdk/current/support/v13/
android-support-v13.jar
Completed in 621 milliseconds