Home
last modified time | relevance | path

Searched refs:mCoordinatorLayout (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/design/tests/src/android/support/design/widget/
DCoordinatorSnackbarWithFabTest.java106 mSnackbar = Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_INDEFINITE) in testBuiltInSliding()
113 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testBuiltInSliding()
125 mSnackbar = Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_INDEFINITE) in testBuiltInSlidingFromHiddenFab()
133 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testBuiltInSlidingFromHiddenFab()
146 mSnackbar = Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_INDEFINITE) in testBehaviorBasedSlidingFromLayoutAttribute()
151 (AppCompatTextView) mCoordinatorLayout.findViewById(R.id.text); in testBehaviorBasedSlidingFromLayoutAttribute()
163 mSnackbar = Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_INDEFINITE) in testBehaviorBasedSlidingFromClassAnnotation()
168 (AppCompatTextView) mCoordinatorLayout.findViewById(R.id.text); in testBehaviorBasedSlidingFromClassAnnotation()
180 (AppCompatTextView) mCoordinatorLayout.findViewById(R.id.text); in testBehaviorBasedSlidingFromRuntimeApiCall()
186 mSnackbar = Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_INDEFINITE) in testBehaviorBasedSlidingFromRuntimeApiCall()
DSnackbarTest.java50 private CoordinatorLayout mCoordinatorLayout; field in SnackbarTest
62 mCoordinatorLayout = in setup()
98 Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_SHORT), in testBasicContent()
103 Snackbar.make(mCoordinatorLayout, MESSAGE_ID, Snackbar.LENGTH_LONG), in testBasicContent()
108 Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_INDEFINITE) in testBasicContent()
114 Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_SHORT) in testBasicContent()
120 Snackbar.make(mCoordinatorLayout, MESSAGE_ID, Snackbar.LENGTH_LONG) in testBasicContent()
129 final Snackbar snackbar = Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, length) in verifyDismissCallback()
190 if (ViewCompat.getLayoutDirection(mCoordinatorLayout) == ViewCompat.LAYOUT_DIRECTION_RTL) { in testDismissViaSwipeRtl()
233 Snackbar.make(mCoordinatorLayout, "A different message", Snackbar.LENGTH_SHORT); in testDismissViaAnotherSnackbar()
[all …]
DAppBarWithAnchoredFabMarginsTest.java42 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testFabBottomMargin()
69 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testFabTopMargin()
96 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testFabLeftMargin()
121 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testFabRightMargin()
DCoordinatorLayoutActivity.java25 CoordinatorLayout mCoordinatorLayout; field in CoordinatorLayoutActivity
35 mCoordinatorLayout = (CoordinatorLayout) findViewById(R.id.coordinator); in onContentViewSet()
DBaseDynamicCoordinatorLayoutTest.java40 protected CoordinatorLayout mCoordinatorLayout; field in BaseDynamicCoordinatorLayoutTest
55 mCoordinatorLayout = null; in tearDown()
100 mCoordinatorLayout = (CoordinatorLayout) mActivityTestRule.getActivity()
DBottomSheetBehaviorActivity.java28 CoordinatorLayout mCoordinatorLayout; field in BottomSheetBehaviorActivity
41 mCoordinatorLayout = (CoordinatorLayout) findViewById(R.id.coordinator); in onContentViewSet()
DAppBarWithCollapsingToolbarTest.java43 mCoordinatorLayout.getLocationOnScreen(coordinatorLayoutOnScreenXY); in testPinnedToolbar()
139 mCoordinatorLayout.getLocationOnScreen(coordinatorLayoutOnScreenXY); in testScrollingToolbar()
239 (FloatingActionButton) mCoordinatorLayout.findViewById(R.id.fab); in testPinnedToolbarAndAnchoredFab()
244 mCoordinatorLayout.getLocationOnScreen(coordinatorLayoutOnScreenXY); in testPinnedToolbarAndAnchoredFab()
300 (ImageView) mCoordinatorLayout.findViewById(R.id.app_bar_image); in testPinnedToolbarAndParallaxImage()
DBottomSheetBehaviorWithInsetsTest.java39 ViewCompat.setFitsSystemWindows(activity.mCoordinatorLayout, true); in testFitsSystemWindows()
43 is(activity.mCoordinatorLayout.getHeight() - activity.mBehavior.getPeekHeight())); in testFitsSystemWindows()
DAppBarWithToolbarTest.java90 final View scrollingContent = mCoordinatorLayout.findViewById(R.id.scrolling_content); in testScrollingContentPositionWithFitSystemWindowsParent()
117 final View scrollingContent = mCoordinatorLayout.findViewById(R.id.scrolling_content); in testScrollingContentPositionWithFitSystemWindowsParentInRtl()
DBottomSheetBehaviorTouchTest.java81 activity.mCoordinatorLayout.addView(mBottomSheet, params); in setUpBottomSheet()
96 Espresso.onView(sameInstance((View) activity.mCoordinatorLayout)) in testTouchCoordinatorLayout()
DAppBarLayoutBaseTest.java98 mAppBar = (AppBarLayout) mCoordinatorLayout.findViewById(R.id.app_bar); in configureContent()
117 TextView dialog = (TextView) mCoordinatorLayout.findViewById(R.id.textview_dialogue); in configureContent()
DAppBarWithToolbarAndTabsTest.java56 mCoordinatorLayout.getLocationOnScreen(coordinatorLayoutOnScreenXY); in testScrollingToolbarAndScrollingTabs()
148 mCoordinatorLayout.getLocationOnScreen(coordinatorLayoutOnScreenXY); in testScrollingToolbarAndPinnedTabs()
241 mCoordinatorLayout.getLocationOnScreen(coordinatorLayoutOnScreenXY); in testSnappingToolbarAndSnappingTabs()
DBottomSheetBehaviorInitialStateTest.java61 assertThat(activity.mBottomSheet.getTop(), is(activity.mCoordinatorLayout.getHeight())); in testSetStateHidden()
DBottomSheetBehaviorTest.java580 return mActivityTestRule.getActivity().mCoordinatorLayout; in getCoordinatorLayout()