Home
last modified time | relevance | path

Searched refs:DrawerLayout (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DDrawerLayoutActions.java26 import android.support.v4.widget.DrawerLayout;
37 implements DrawerLayout.DrawerListener, IdlingResource {
38 private int mCurrState = DrawerLayout.STATE_IDLE;
59 return mCurrState == DrawerLayout.STATE_IDLE; in isIdleNow()
65 if (mCurrState == DrawerLayout.STATE_IDLE) { in onDrawerClosed()
74 if (mCurrState == DrawerLayout.STATE_IDLE) { in onDrawerOpened()
88 if (state == DrawerLayout.STATE_IDLE) { in onDrawerStateChanged()
117 final DrawerLayout drawer = (DrawerLayout) view; in wrap()
151 return isAssignableFrom(DrawerLayout.class);
163 DrawerLayout drawerLayout = (DrawerLayout) view;
[all …]
/frameworks/support/design/tests/src/android/support/design/testutils/
DDrawerLayoutActions.java21 import android.support.v4.widget.DrawerLayout;
35 return isAssignableFrom(DrawerLayout.class); in openDrawer()
47 DrawerLayout drawerLayout = (DrawerLayout) view; in openDrawer()
63 return isAssignableFrom(DrawerLayout.class);
75 DrawerLayout drawerLayout = (DrawerLayout) view;
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutDoubleTest.java32 import android.support.v4.widget.DrawerLayout;
107 setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_OPEN, mContentView)); in testLockNonExistentDrawer()
175 DrawerLayout.LOCK_MODE_UNLOCKED, mDrawerLayout.getDrawerLockMode(mStartDrawer)); in verifyDrawerLockUnlock()
177 DrawerLayout.LOCK_MODE_UNLOCKED, mDrawerLayout.getDrawerLockMode(mEndDrawer)); in verifyDrawerLockUnlock()
181 setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_OPEN, mStartDrawer)); in verifyDrawerLockUnlock()
184 DrawerLayout.LOCK_MODE_LOCKED_OPEN, mDrawerLayout.getDrawerLockMode(mStartDrawer)); in verifyDrawerLockUnlock()
186 DrawerLayout.LOCK_MODE_UNLOCKED, mDrawerLayout.getDrawerLockMode(mEndDrawer)); in verifyDrawerLockUnlock()
190 setDrawerLockMode(DrawerLayout.LOCK_MODE_UNLOCKED, mStartDrawer)); in verifyDrawerLockUnlock()
194 DrawerLayout.LOCK_MODE_UNLOCKED, mDrawerLayout.getDrawerLockMode(mStartDrawer)); in verifyDrawerLockUnlock()
196 DrawerLayout.LOCK_MODE_UNLOCKED, mDrawerLayout.getDrawerLockMode(mEndDrawer)); in verifyDrawerLockUnlock()
[all …]
DDrawerLayoutTest.java53 import android.support.v4.widget.DrawerLayout;
297 DrawerLayout.DrawerListener mockedListener = mock(DrawerLayout.DrawerListener.class); in testDrawerListenerCallbacksOnOpeningViaAPI()
324 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_SETTLING); in testDrawerListenerCallbacksOnOpeningViaAPI()
325 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_IDLE); in testDrawerListenerCallbacksOnOpeningViaAPI()
334 DrawerLayout.DrawerListener mockedListener = mock(DrawerLayout.DrawerListener.class); in testDrawerListenerCallbacksOnOpeningNoAnimationViaAPI()
366 DrawerLayout.DrawerListener mockedListener = mock(DrawerLayout.DrawerListener.class); in testDrawerListenerCallbacksOnClosingViaAPI()
393 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_SETTLING); in testDrawerListenerCallbacksOnClosingViaAPI()
394 inOrder.verify(mockedListener).onDrawerStateChanged(DrawerLayout.STATE_IDLE); in testDrawerListenerCallbacksOnClosingViaAPI()
406 DrawerLayout.DrawerListener mockedListener = mock(DrawerLayout.DrawerListener.class); in testDrawerListenerCallbacksOnClosingNoAnimationViaAPI()
437 DrawerLayout.DrawerListener mockedListener = mock(DrawerLayout.DrawerListener.class); in testDrawerListenerCallbacksOnOpeningViaSwipes()
[all …]
DDrawerDynamicLayoutTest.java31 import android.support.v4.widget.DrawerLayout;
173 final DrawerLayout startDrawer =
174 (DrawerLayout) mActivityTestRule.getActivity().findViewById(R.id.drawer_layout);
175 DrawerLayout.DrawerListener mockedListener = mock(DrawerLayout.DrawerListener.class);
DDrawerLayoutActivity.java24 import android.support.v4.widget.DrawerLayout;
45 private DrawerLayout mDrawerLayout;
143 final DrawerLayout.LayoutParams drawerLp = in onContentViewSet()
144 (DrawerLayout.LayoutParams) mDrawer.getLayoutParams(); in onContentViewSet()
DDrawerLayoutDoubleActivity.java20 import android.support.v4.widget.DrawerLayout;
36 private DrawerLayout mDrawerLayout;
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DDrawerLayoutActivity.java25 import android.support.v4.widget.DrawerLayout;
80 private DrawerLayout mDrawerLayout;
178 final DrawerLayout.LayoutParams startDrawerLp = in onCreate()
179 (DrawerLayout.LayoutParams) mStartDrawer.getLayoutParams(); in onCreate()
183 final DrawerLayout.LayoutParams endDrawerLp = in onCreate()
184 (DrawerLayout.LayoutParams) mEndDrawer.getLayoutParams(); in onCreate()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNavigationDrawerActivity.java21 import android.support.v4.widget.DrawerLayout;
36 DrawerLayout drawer = findViewById(R.id.drawer_layout); in onCreate()
49 DrawerLayout drawer = findViewById(R.id.drawer_layout); in onNavigationItemSelected()
DClippedListActivity.java23 import android.support.v4.widget.DrawerLayout;
40 DrawerLayout drawer = findViewById(R.id.drawer_layout); in onCreate()
62 DrawerLayout drawer = findViewById(R.id.drawer_layout); in onNavigationItemSelected()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarDrawerToggle.java30 import android.support.v4.widget.DrawerLayout;
66 public class ActionBarDrawerToggle implements DrawerLayout.DrawerListener {
117 private final DrawerLayout mDrawerLayout;
150 public ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, in ActionBarDrawerToggle()
181 public ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, in ActionBarDrawerToggle()
193 ActionBarDrawerToggle(Activity activity, Toolbar toolbar, DrawerLayout drawerLayout, in ActionBarDrawerToggle()
290 && (drawerLockMode != DrawerLayout.LOCK_MODE_LOCKED_OPEN)) { in toggle()
292 } else if (drawerLockMode != DrawerLayout.LOCK_MODE_LOCKED_CLOSED) { in toggle()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/custom/
DCustomDrawerLayout.java19 import android.support.v4.widget.DrawerLayout;
23 public class CustomDrawerLayout extends DrawerLayout {
/frameworks/support/core-ui/java/android/support/v4/app/
DActionBarDrawerToggle.java35 import android.support.v4.widget.DrawerLayout;
63 public class ActionBarDrawerToggle implements DrawerLayout.DrawerListener {
184 private final DrawerLayout mDrawerLayout;
216 public ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, in ActionBarDrawerToggle()
249 public ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, boolean animate, in ActionBarDrawerToggle()
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DNavigationViewUsage.java24 import android.support.v4.widget.DrawerLayout;
35 private DrawerLayout mDrawerLayout;
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java94 public class DrawerLayout extends ViewGroup implements DrawerLayoutImpl { class
363 public DrawerLayout(Context context) { in DrawerLayout() method in DrawerLayout
367 public DrawerLayout(Context context, AttributeSet attrs) { in DrawerLayout() method in DrawerLayout
371 public DrawerLayout(Context context, AttributeSet attrs, int defStyle) { in DrawerLayout() method in DrawerLayout
2076 DrawerLayout.this.removeCallbacks(mPeekRunnable); in removeCallbacks()
2289 info.setClassName(DrawerLayout.class.getName()); in onInitializeAccessibilityNodeInfo()
2304 event.setClassName(DrawerLayout.class.getName()); in onInitializeAccessibilityEvent()
/frameworks/support/design/tests/src/android/support/design/widget/
DNavigationViewTest.java76 import android.support.v4.widget.DrawerLayout;
100 private DrawerLayout mDrawerLayout;
111 mDrawerLayout = (DrawerLayout) activity.findViewById(R.id.drawer_layout); in setUp()
/frameworks/support/api/
D22.0.0.txt1473 …public deprecated class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.Dr…
1474 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, in…
1475 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, bo…
3953 public class DrawerLayout extends android.view.ViewGroup {
3954 ctor public DrawerLayout(android.content.Context);
3955 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet);
3956 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet, int);
3972 method public void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
3991 public static abstract interface DrawerLayout.DrawerListener {
3998 public static class DrawerLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
[all …]
D22.1.0.txt1615 …public deprecated class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.Dr…
1616 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, in…
1617 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, bo…
4328 public class DrawerLayout extends android.view.ViewGroup {
4329 ctor public DrawerLayout(android.content.Context);
4330 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet);
4331 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet, int);
4347 method public void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
4366 public static abstract interface DrawerLayout.DrawerListener {
4373 public static class DrawerLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
[all …]
D22.2.0.txt1983 …public deprecated class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.Dr…
1984 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, in…
1985 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, bo…
4742 public class DrawerLayout extends android.view.ViewGroup {
4743 ctor public DrawerLayout(android.content.Context);
4744 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet);
4745 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet, int);
4761 method public void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
4780 public static abstract interface DrawerLayout.DrawerListener {
4787 public static class DrawerLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
[all …]
D22.2.1.txt2011 …public deprecated class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.Dr…
2012 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, in…
2013 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, bo…
4771 public class DrawerLayout extends android.view.ViewGroup {
4772 ctor public DrawerLayout(android.content.Context);
4773 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet);
4774 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet, int);
4790 method public void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
4809 public static abstract interface DrawerLayout.DrawerListener {
4816 public static class DrawerLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
[all …]
D23.0.0.txt2491 …public deprecated class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.Dr…
2492 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, in…
2493 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, bo…
5531 public class DrawerLayout extends android.view.ViewGroup {
5532 ctor public DrawerLayout(android.content.Context);
5533 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet);
5534 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet, int);
5552 method public void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
5571 public static abstract interface DrawerLayout.DrawerListener {
5578 public static class DrawerLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
[all …]
D25.1.0.txt4055 …public deprecated class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.Dr…
4056 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, in…
4057 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, bo…
7537 public class DrawerLayout extends android.view.ViewGroup {
7538 ctor public DrawerLayout(android.content.Context);
7539 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet);
7540 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet, int);
7541 method public void addDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
7562 method public void removeDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
7564 …method public deprecated void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListe…
[all …]
D25.0.0.txt3695 …public deprecated class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.Dr…
3696 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, in…
3697 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, bo…
7126 public class DrawerLayout extends android.view.ViewGroup {
7127 ctor public DrawerLayout(android.content.Context);
7128 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet);
7129 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet, int);
7130 method public void addDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
7151 method public void removeDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
7153 …method public deprecated void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListe…
[all …]
D25.2.0.txt4055 …public deprecated class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.Dr…
4056 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, in…
4057 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, bo…
7537 public class DrawerLayout extends android.view.ViewGroup {
7538 ctor public DrawerLayout(android.content.Context);
7539 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet);
7540 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet, int);
7541 method public void addDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
7562 method public void removeDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
7564 …method public deprecated void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListe…
[all …]
D24.2.0.txt3641 …public deprecated class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.Dr…
3642 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, in…
3643 …ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, bo…
7058 public class DrawerLayout extends android.view.ViewGroup {
7059 ctor public DrawerLayout(android.content.Context);
7060 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet);
7061 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet, int);
7062 method public void addDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
7083 method public void removeDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener);
7085 …method public deprecated void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListe…
[all …]

12