Home
last modified time | relevance | path

Searched refs:templateLayout (Results 1 – 9 of 9) sorted by relevance

/external/setupdesign/main/src/com/google/android/setupdesign/template/
DRecyclerMixin.java57 private final TemplateLayout templateLayout; field in RecyclerMixin
81 templateLayout = layout; in RecyclerMixin()
83 dividerDecoration = new DividerItemDecoration(templateLayout.getContext()); in RecyclerMixin()
87 this.recyclerView.setLayoutManager(new LinearLayoutManager(templateLayout.getContext())); in RecyclerMixin()
101 if (PartnerStyleHelper.shouldApplyPartnerResource(templateLayout)) { in isShowItemsDivider()
121 final Context context = templateLayout.getContext(); in parseAttributes()
131 if (templateLayout instanceof GlifLayout) { in parseAttributes()
133 ((GlifLayout) templateLayout).shouldApplyPartnerHeavyThemeResource(); in parseAttributes()
134 useFullDynamicColor = ((GlifLayout) templateLayout).useFullDynamicColor(); in parseAttributes()
157 if (PartnerStyleHelper.shouldApplyPartnerHeavyThemeResource(templateLayout)) { in parseAttributes()
[all …]
DDescriptionMixin.java45 private final TemplateLayout templateLayout; field in DescriptionMixin
57 templateLayout = layout; in DescriptionMixin()
86 TextView description = templateLayout.findManagedViewById(R.id.sud_layout_subtitle); in tryApplyPartnerCustomizationStyle()
87 boolean partnerHeavyThemeLayout = PartnerStyleHelper.isPartnerHeavyThemeLayout(templateLayout); in tryApplyPartnerCustomizationStyle()
92 } else if (templateLayout instanceof PartnerCustomizationLayout in tryApplyPartnerCustomizationStyle()
93 && ((PartnerCustomizationLayout) templateLayout).shouldApplyPartnerResource()) { in tryApplyPartnerCustomizationStyle()
102 return (TextView) templateLayout.findManagedViewById(R.id.sud_layout_subtitle); in getTextView()
DProgressBarMixin.java37 private final TemplateLayout templateLayout; field in ProgressBarMixin
54 templateLayout = layout; in ProgressBarMixin()
67 templateLayout = layout; in ProgressBarMixin()
94 templateLayout.findManagedViewById( in isShown()
130 (ViewStub) templateLayout.findManagedViewById(R.id.sud_layout_progress_stub); in getProgressBar()
149 templateLayout.findManagedViewById( in peekProgressBar()
DHeaderMixin.java50 private final TemplateLayout templateLayout; field in HeaderMixin
67 templateLayout = layout; in HeaderMixin()
94 Context context = templateLayout.getContext(); in updateAutoTextSizeWithPartnerConfig()
95 if (!PartnerStyleHelper.isPartnerHeavyThemeLayout(templateLayout) in updateAutoTextSizeWithPartnerConfig()
151 TextView header = templateLayout.findManagedViewById(R.id.suc_layout_title); in tryApplyPartnerCustomizationStyle()
152 boolean partnerLightThemeLayout = PartnerStyleHelper.isPartnerLightThemeLayout(templateLayout); in tryApplyPartnerCustomizationStyle()
153 boolean partnerHeavyThemeLayout = PartnerStyleHelper.isPartnerHeavyThemeLayout(templateLayout); in tryApplyPartnerCustomizationStyle()
155 View headerAreaView = templateLayout.findManagedViewById(R.id.sud_layout_header); in tryApplyPartnerCustomizationStyle()
172 return (TextView) templateLayout.findManagedViewById(R.id.suc_layout_title); in getTextView()
DListMixin.java46 private final TemplateLayout templateLayout; field in ListMixin
59 templateLayout = layout; in ListMixin()
82 if (PartnerStyleHelper.shouldApplyPartnerHeavyThemeResource(templateLayout)) { in ListMixin()
105 if (PartnerStyleHelper.shouldApplyPartnerResource(templateLayout)) { in isDividerShown()
133 final View list = templateLayout.findManagedViewById(android.R.id.list); in getListViewInternal()
225 shouldUpdate = templateLayout.isLayoutDirectionResolved(); in updateDivider()
239 templateLayout); in updateDivider()
DIconMixin.java44 private final TemplateLayout templateLayout; field in IconMixin
57 templateLayout = layout; in IconMixin()
95 if (PartnerStyleHelper.isPartnerHeavyThemeLayout(templateLayout)) { in tryApplyPartnerCustomizationStyle()
98 } else if (PartnerStyleHelper.isPartnerLightThemeLayout(templateLayout)) { in tryApplyPartnerCustomizationStyle()
211 return (ImageView) templateLayout.findManagedViewById(R.id.sud_layout_icon); in getView()
216 return (FrameLayout) templateLayout.findManagedViewById(R.id.sud_layout_icon_container); in getContainerView()
DNavigationBarMixin.java29 private final TemplateLayout templateLayout; field in NavigationBarMixin
33 templateLayout = layout; in NavigationBarMixin()
41 final View view = templateLayout.findManagedViewById(R.id.sud_layout_navigation_bar); in getNavigationBar()
DRequireScrollMixin.java84 public RequireScrollMixin(@NonNull TemplateLayout templateLayout) { in RequireScrollMixin() argument
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DSystemNavBarMixin.java47 private final TemplateLayout templateLayout; field in SystemNavBarMixin
60 this.templateLayout = layout; in SystemNavBarMixin()
82 templateLayout in applyPartnerCustomizations()
97 templateLayout.getContext().obtainStyledAttributes(navBarDividerColorAttr); in applyPartnerCustomizations()
120 Context context = templateLayout.getContext(); in setSystemNavBarBackground()
149 Context context = templateLayout.getContext(); in setLightSystemNavBar()
192 Context context = templateLayout.getContext(); in setSystemNavBarDividerColor()
253 if (templateLayout instanceof PartnerCustomizationLayout) { in showSystemBars()