Home
last modified time | relevance | path

Searched refs:iconView (Results 1 – 2 of 2) sorted by relevance

/external/setupdesign/main/src/com/google/android/setupdesign/template/
DIconMixin.java59 ImageView iconView = getView(); in IconMixin() local
60 if (iconView != null) { in IconMixin()
61 LayoutParams layoutParams = iconView.getLayoutParams(); in IconMixin()
63 originalScaleType = iconView.getScaleType(); in IconMixin()
121 final ImageView iconView = getView(); in setIcon() local
122 if (iconView != null) { in setIcon()
123 iconView.setImageDrawable(icon); in setIcon()
124 iconView.setVisibility(icon != null ? View.VISIBLE : View.GONE); in setIcon()
134 final ImageView iconView = getView(); in setIcon() local
135 if (iconView != null) { in setIcon()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DItem.java178 final ImageView iconView = (ImageView) view.findViewById(R.id.sud_items_icon); in onBindView() local
181 iconView.setImageDrawable(null); in onBindView()
182 onMergeIconStateAndLevels(iconView, icon); in onBindView()
183 iconView.setImageDrawable(icon); in onBindView()
185 iconView.setColorFilter(iconTint); in onBindView()
187 iconView.clearColorFilter(); in onBindView()
206 protected void onMergeIconStateAndLevels(ImageView iconView, Drawable icon) { in onMergeIconStateAndLevels() argument
207 iconView.setImageState(icon.getState(), false /* merge */); in onMergeIconStateAndLevels()
208 iconView.setImageLevel(icon.getLevel()); in onMergeIconStateAndLevels()