Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutTest.java70 assertFalse("Initial state", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
74 assertTrue("Opened drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
77 assertFalse("Closed drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
84 assertFalse("Initial state", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseNoAnimationViaAPI()
88 assertTrue("Opened drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseNoAnimationViaAPI()
91 assertFalse("Closed drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseNoAnimationViaAPI()
98 assertFalse("Initial state", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseWithRedundancyViaAPI()
102 assertTrue("Opened drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseWithRedundancyViaAPI()
107 mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseWithRedundancyViaAPI()
110 assertFalse("Closed drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseWithRedundancyViaAPI()
[all …]
DDrawerLayoutDoubleTest.java70 mDrawerLayout.isDrawerOpen(mContentView)); in testQueryOpenStateOfNonExistentDrawer()
109 mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
113 mDrawerLayout.isDrawerOpen(mEndDrawer)); in verifyDrawerOpenClose()
120 assertTrue("Start drawer is now open", mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
122 assertFalse("End drawer is still closed", mDrawerLayout.isDrawerOpen(mEndDrawer)); in verifyDrawerOpenClose()
128 assertFalse("Start drawer is now closed", mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
130 assertFalse("End drawer is still closed", mDrawerLayout.isDrawerOpen(mEndDrawer)); in verifyDrawerOpenClose()
136 assertFalse("Start drawer is still closed", mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
139 assertTrue("End drawer is now open", mDrawerLayout.isDrawerOpen(mEndDrawer)); in verifyDrawerOpenClose()
145 assertFalse("Start drawer is still closed", mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
[all …]
DDrawerLayoutDoubleActivity.java91 if (mDrawerLayout.isDrawerOpen(mStartDrawer)) { in onBackPressed()
98 if (mDrawerLayout.isDrawerOpen(mEndDrawer)) { in onBackPressed()
DDrawerLayoutActivity.java179 if (mDrawerLayout.isDrawerOpen(mDrawer)) { in onBackPressed()
/frameworks/support/v4/java/android/support/v4/app/
DActionBarDrawerToggle.java292 if (mDrawerLayout.isDrawerOpen(GravityCompat.START)) { in syncState()
299 setActionBarUpIndicator(mSlider, mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in syncState()
362 setActionBarUpIndicator(mSlider, mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in setDrawerIndicatorEnabled()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarDrawerToggle.java239 if (mDrawerLayout.isDrawerOpen(GravityCompat.START)) { in syncState()
246 mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in syncState()
360 mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in setDrawerIndicatorEnabled()
/frameworks/support/v4/java/android/support/v4/widget/
DDrawerLayout.java885 private void updateChildrenImportantForAccessibility(View drawerView, boolean isDrawerOpen) { in updateChildrenImportantForAccessibility() argument
889 if (!isDrawerOpen && !isDrawerView(child) in updateChildrenImportantForAccessibility()
890 || isDrawerOpen && child == drawerView) { in updateChildrenImportantForAccessibility()
1730 public boolean isDrawerOpen(View drawer) { in isDrawerOpen() method in DrawerLayout
1747 public boolean isDrawerOpen(@EdgeGravity int drawerGravity) { in isDrawerOpen() method in DrawerLayout
1750 return isDrawerOpen(drawerView); in isDrawerOpen()
1830 boolean isDrawerOpen = false; in addFocusables()
1834 if (isDrawerOpen(child)) { in addFocusables()
1835 isDrawerOpen = true; in addFocusables()
1843 if (!isDrawerOpen) { in addFocusables()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDrawerController.java160 return mLayout.isDrawerOpen(mDrawer); in isOpen()
/frameworks/support/design/tests/src/android/support/design/widget/
DNavigationViewTest.java397 mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testNavigationSelectionListener()
409 mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testNavigationSelectionListener()
423 mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testNavigationSelectionListener()
/frameworks/base/docs/html/training/implementing-navigation/
Dnav-drawer.jd281 boolean drawerOpen = mDrawerLayout.isDrawerOpen(mDrawerList);
/frameworks/support/v4/api/
D22.1.0.txt2755 method public boolean isDrawerOpen(android.view.View);
2756 method public boolean isDrawerOpen(int);
D22.0.0.txt2522 method public boolean isDrawerOpen(android.view.View);
2523 method public boolean isDrawerOpen(int);
D22.2.1.txt2831 method public boolean isDrawerOpen(android.view.View);
2832 method public boolean isDrawerOpen(int);
D22.2.0.txt2830 method public boolean isDrawerOpen(android.view.View);
2831 method public boolean isDrawerOpen(int);
D23.0.0.txt3113 method public boolean isDrawerOpen(android.view.View);
3114 method public boolean isDrawerOpen(int);
D23.1.0.txt3145 method public boolean isDrawerOpen(android.view.View);
3146 method public boolean isDrawerOpen(int);
D23.1.1.txt3105 method public boolean isDrawerOpen(android.view.View);
3106 method public boolean isDrawerOpen(int);
Dcurrent.txt3361 method public boolean isDrawerOpen(android.view.View);
3362 method public boolean isDrawerOpen(int);