Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java76 private ImageView mRestrictedIcon; field in SwitchBar
145 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSwitchBar.java78 private ImageView mRestrictedIcon; field in SwitchBar
141 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()