Home
last modified time | relevance | path

Searched refs:isDrawerOpen (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutTest.java90 assertFalse("Initial state", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
94 assertTrue("Opened drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
97 assertFalse("Closed drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
104 assertFalse("Initial state", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseNoAnimationViaAPI()
108 assertTrue("Opened drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseNoAnimationViaAPI()
111 assertFalse("Closed drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseNoAnimationViaAPI()
118 assertFalse("Initial state", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseFocus()
134 assertTrue("Opened drawer", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseFocus()
137 assertFalse("Closed drawer", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseFocus()
143 assertFalse("Initial state", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseWithRedundancyViaAPI()
[all …]
DDrawerLayoutDoubleTest.java73 mDrawerLayout.isDrawerOpen(mContentView)); in testQueryOpenStateOfNonExistentDrawer()
112 mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
116 mDrawerLayout.isDrawerOpen(mEndDrawer)); in verifyDrawerOpenClose()
123 assertTrue("Start drawer is now open", mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
125 assertFalse("End drawer is still closed", mDrawerLayout.isDrawerOpen(mEndDrawer)); in verifyDrawerOpenClose()
131 assertFalse("Start drawer is now closed", mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
133 assertFalse("End drawer is still closed", mDrawerLayout.isDrawerOpen(mEndDrawer)); in verifyDrawerOpenClose()
139 assertFalse("Start drawer is still closed", mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
142 assertTrue("End drawer is now open", mDrawerLayout.isDrawerOpen(mEndDrawer)); in verifyDrawerOpenClose()
148 assertFalse("Start drawer is still closed", mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
[all …]
DDrawerLayoutDoubleActivity.java88 if (mDrawerLayout.isDrawerOpen(mStartDrawer)) { in onBackPressed()
95 if (mDrawerLayout.isDrawerOpen(mEndDrawer)) { in onBackPressed()
DDrawerLayoutActivity.java179 if (mDrawerLayout.isDrawerOpen(mDrawer)) { in onBackPressed()
/frameworks/support/core-ui/java/android/support/v4/app/
DActionBarDrawerToggle.java282 if (mDrawerLayout.isDrawerOpen(GravityCompat.START)) { in syncState()
289 setActionBarUpIndicator(mSlider, mDrawerLayout.isDrawerOpen(GravityCompat.START) in syncState()
352 setActionBarUpIndicator(mSlider, mDrawerLayout.isDrawerOpen(GravityCompat.START) in setDrawerIndicatorEnabled()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DDrawerLayoutActivity.java220 if (mDrawerLayout.isDrawerOpen(mStartDrawer)) { in onBackPressed()
226 if (mDrawerLayout.isDrawerOpen(mEndDrawer)) { in onBackPressed()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarDrawerToggle.java242 if (mDrawerLayout.isDrawerOpen(GravityCompat.START)) { in syncState()
249 mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in syncState()
363 mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in setDrawerIndicatorEnabled()
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DNavigationViewUsage.java83 if (mDrawerLayout.isDrawerOpen(GravityCompat.START)) {
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java886 private void updateChildrenImportantForAccessibility(View drawerView, boolean isDrawerOpen) { in updateChildrenImportantForAccessibility() argument
890 if ((!isDrawerOpen && !isDrawerView(child)) || (isDrawerOpen && child == drawerView)) { in updateChildrenImportantForAccessibility()
1733 public boolean isDrawerOpen(View drawer) { in isDrawerOpen() method in DrawerLayout
1750 public boolean isDrawerOpen(@EdgeGravity int drawerGravity) { in isDrawerOpen() method in DrawerLayout
1753 return isDrawerOpen(drawerView); in isDrawerOpen()
1833 boolean isDrawerOpen = false; in addFocusables()
1837 if (isDrawerOpen(child)) { in addFocusables()
1838 isDrawerOpen = true; in addFocusables()
1846 if (!isDrawerOpen) { in addFocusables()
2180 if (drawer != null && !isDrawerOpen(drawer)) { in onEdgeLock()
/frameworks/support/design/tests/src/android/support/design/widget/
DNavigationViewTest.java492 mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testNavigationSelectionListener()
504 mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testNavigationSelectionListener()
518 mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testNavigationSelectionListener()
/frameworks/support/api/
D22.0.0.txt3964 method public boolean isDrawerOpen(android.view.View);
3965 method public boolean isDrawerOpen(int);
D22.1.0.txt4339 method public boolean isDrawerOpen(android.view.View);
4340 method public boolean isDrawerOpen(int);
D22.2.0.txt4753 method public boolean isDrawerOpen(android.view.View);
4754 method public boolean isDrawerOpen(int);
D22.2.1.txt4782 method public boolean isDrawerOpen(android.view.View);
4783 method public boolean isDrawerOpen(int);
D25.1.0.txt7552 method public boolean isDrawerOpen(android.view.View);
7553 method public boolean isDrawerOpen(int);
D25.0.0.txt7141 method public boolean isDrawerOpen(android.view.View);
7142 method public boolean isDrawerOpen(int);
D23.0.0.txt5543 method public boolean isDrawerOpen(android.view.View);
5544 method public boolean isDrawerOpen(int);
D25.2.0.txt7552 method public boolean isDrawerOpen(android.view.View);
7553 method public boolean isDrawerOpen(int);
D24.2.0.txt7073 method public boolean isDrawerOpen(android.view.View);
7074 method public boolean isDrawerOpen(int);
D26.0.0-alpha1.txt8457 method public boolean isDrawerOpen(android.view.View);
8458 method public boolean isDrawerOpen(int);
D23.2.1.txt6219 method public boolean isDrawerOpen(android.view.View);
6220 method public boolean isDrawerOpen(int);
D25.3.0.txt7984 method public boolean isDrawerOpen(android.view.View);
7985 method public boolean isDrawerOpen(int);
D23.2.0.txt6219 method public boolean isDrawerOpen(android.view.View);
6220 method public boolean isDrawerOpen(int);
D23.1.1.txt5802 method public boolean isDrawerOpen(android.view.View);
5803 method public boolean isDrawerOpen(int);
D25.4.0.txt8055 method public boolean isDrawerOpen(android.view.View);
8056 method public boolean isDrawerOpen(int);

12