Searched refs:mRestrictedIcon (Results 1 – 2 of 2) sorted by relevance
76 private ImageView mRestrictedIcon; field in SwitchBar145 mRestrictedIcon = findViewById(R.id.restricted_icon); in SwitchBar()146 mRestrictedIcon.setImageDrawable(restrictedIconDrawable); in SwitchBar()147 mRestrictedIcon.setOnClickListener(new View.OnClickListener() { in SwitchBar()235 return mDisabledByAdmin ? mRestrictedIcon : mSwitch; in getDelegatingView()251 mRestrictedIcon.setVisibility(View.VISIBLE); in setDisabledByAdmin()252 mRestrictedIcon.setFocusable(false); in setDisabledByAdmin()253 mRestrictedIcon.setClickable(false); in setDisabledByAdmin()257 mRestrictedIcon.setVisibility(View.GONE); in setDisabledByAdmin()
78 private ImageView mRestrictedIcon; field in SwitchBar141 mRestrictedIcon = findViewById(R.id.restricted_icon); in SwitchBar()142 mRestrictedIcon.setImageDrawable(restrictedIconDrawable); in SwitchBar()143 mRestrictedIcon.setOnClickListener(new View.OnClickListener() { in SwitchBar()225 return mDisabledByAdmin ? mRestrictedIcon : mSwitch; in getDelegatingView()241 mRestrictedIcon.setVisibility(View.VISIBLE); in setDisabledByAdmin()245 mRestrictedIcon.setVisibility(View.GONE); in setDisabledByAdmin()