Home
last modified time | relevance | path

Searched refs:isPeeking (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/wear/tests/src/android/support/wear/widget/drawer/
DWearableDrawerLayoutEspressoTest.java91 assertTrue(actionDrawer.isPeeking()); in openingNavigationDrawerDoesNotCloseActionDrawer()
92 assertTrue(navigationDrawer.isPeeking()); in openingNavigationDrawerDoesNotCloseActionDrawer()
103 assertTrue(actionDrawer.isPeeking()); in openingNavigationDrawerDoesNotCloseActionDrawer()
110 onView(withId(R.id.action_drawer)).check(matches(isPeeking())); in swipingDownNavigationDrawerDoesNotCloseActionDrawer()
111 onView(withId(R.id.navigation_drawer)).check(matches(isPeeking())); in swipingDownNavigationDrawerDoesNotCloseActionDrawer()
122 onView(withId(R.id.action_drawer)).check(matches(isPeeking())); in swipingDownNavigationDrawerDoesNotCloseActionDrawer()
301 .perform(waitForMatchingView(allOf(withId(R.id.action_drawer), isPeeking()), in scrolledDownActionDrawerCanScrollUpWhenReOpened()
366 .perform(waitForMatchingView(allOf(withId(R.id.action_drawer), isPeeking()), in tappingActionDrawerPeekIconShouldTriggerFirstActionAfterItWasOpened()
439 private TypeSafeMatcher<View> isPeeking() {
444 return drawer.isPeeking();
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DWearableDrawerView.java377 public boolean isPeeking() { in isPeeking() method in WearableDrawerView
442 void setIsPeeking(boolean isPeeking) { in setIsPeeking() argument
443 mIsPeeking = isPeeking; in setIsPeeking()
DWearableDrawerLayout.java300 if (drawerView.isPeeking()) { in showDrawerContentMaybeAnimate()
644 if (canTopPeek && !canScrollUp && !mTopDrawerView.isPeeking()) { in onFlingComplete()
647 if (canBottomPeek && (!canScrollUp || !canScrollDown) && !mBottomDrawerView.isPeeking()) { in onFlingComplete()
731 boolean isTopDrawerPeeking = mTopDrawerView != null && mTopDrawerView.isPeeking(); in onNestedScroll()
732 boolean isBottomDrawerPeeking = mBottomDrawerView != null && mBottomDrawerView.isPeeking(); in onNestedScroll()
1016 if (openedOrClosed && drawerView.isPeeking()) { in onViewDragStateChanged()
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java1562 if (!isDrawerView(child) || (peekingOnly && !lp.isPeeking)) { in closeDrawers()
1576 lp.isPeeking = false; in closeDrawers()
1793 if (lp.isPeeking) { in hasPeekingDrawer()
2112 lp.isPeeking = false; in onViewCaptured()
2167 lp.isPeeking = true; in peekDrawer()
2230 boolean isPeeking; field in DrawerLayout.LayoutParams
/frameworks/support/api/
D26.0.0-SNAPSHOT.txt13107 method public boolean isPeeking();
D26.0.0-beta2.txt13096 method public boolean isPeeking();