Searched refs:appBarLayout (Results 1 – 7 of 7) sorted by relevance
45 final AppBarLayout appBarLayout = (AppBarLayout) dependency; in onDependentViewChanged() local46 setAppBarLayoutTransparent(appBarLayout); in onDependentViewChanged()51 private void setAppBarLayoutTransparent(AppBarLayout appBarLayout) { in setAppBarLayoutTransparent() argument52 appBarLayout.setBackgroundColor(Color.TRANSPARENT); in setAppBarLayoutTransparent()53 appBarLayout.setTargetElevation(0); in setAppBarLayoutTransparent()
45 AppBarLayout appBarLayout = (AppBarLayout) dependency; in onDependentViewChanged() local46 setAppBarLayoutTransparent(appBarLayout); in onDependentViewChanged()52 void setAppBarLayoutTransparent(AppBarLayout appBarLayout) { in setAppBarLayoutTransparent() argument53 appBarLayout.setBackgroundColor(Color.TRANSPARENT); in setAppBarLayoutTransparent()54 appBarLayout.setTargetElevation(0); in setAppBarLayoutTransparent()
58 final AppBarLayout appBarLayout = new AppBarLayout(mContext); in setAppBarLayoutTransparent_defaultWhiteBackground_shouldBeTransparent() local61 appBarLayout.setLayoutParams(lp); in setAppBarLayoutTransparent_defaultWhiteBackground_shouldBeTransparent()62 appBarLayout.setBackgroundColor(Color.WHITE); in setAppBarLayoutTransparent_defaultWhiteBackground_shouldBeTransparent()63 mScrollingViewBehavior.onDependentViewChanged(coordinatorLayout, null, appBarLayout); in setAppBarLayoutTransparent_defaultWhiteBackground_shouldBeTransparent()65 assertEquals(Color.TRANSPARENT, ((ColorDrawable) appBarLayout.getBackground()).getColor()); in setAppBarLayoutTransparent_defaultWhiteBackground_shouldBeTransparent()
57 final AppBarLayout appBarLayout = new AppBarLayout(mContext); in setAppBarLayoutTransparent_backgroundDefaultAsWhite_shouldBeTransparent() local58 appBarLayout.setBackgroundColor(Color.WHITE); in setAppBarLayoutTransparent_backgroundDefaultAsWhite_shouldBeTransparent()59 mScrollingViewBehavior.setAppBarLayoutTransparent(appBarLayout); in setAppBarLayoutTransparent_backgroundDefaultAsWhite_shouldBeTransparent()60 assertThat(((ColorDrawable) appBarLayout.getBackground()).getColor()).isEqualTo( in setAppBarLayoutTransparent_backgroundDefaultAsWhite_shouldBeTransparent()
650 final AppBarLayout appBarLayout = findViewById(R.id.app_bar); in expandAppBar() local651 if (appBarLayout != null) { in expandAppBar()652 appBarLayout.setExpanded(true); in expandAppBar()
550 View appBarLayout = getActivity().findViewById(R.id.app_bar); in getAppBarLayoutHeight() local552 return collapsingBar == null ? 0 : appBarLayout.getHeight(); in getAppBarLayoutHeight()