Home
last modified time | relevance | path

Searched refs:mDisabledByAdmin (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telephony/src/com/android/phone/
DRestrictedPreference.java40 private boolean mDisabledByAdmin; field in RestrictedPreference
66 if (mDisabledByAdmin) { in performClick()
82 divider.setVisibility(mDisabledByAdmin ? View.VISIBLE : View.GONE); in onBindView()
85 widgetFrame.setVisibility(mDisabledByAdmin ? View.VISIBLE : View.GONE); in onBindView()
88 restrictedIcon.setVisibility(mDisabledByAdmin ? View.VISIBLE : View.GONE); in onBindView()
90 if (summaryView != null && mDisabledByAdmin) { in onBindView()
95 if (mDisabledByAdmin) { in onBindView()
102 if (enabled && mDisabledByAdmin) { in setEnabled()
119 if (mDisabledByAdmin != disabled) { in setDisabledByAdmin()
120 mDisabledByAdmin = disabled; in setDisabledByAdmin()
DRestrictedSwitchPreference.java33 private boolean mDisabledByAdmin; field in RestrictedSwitchPreference
58 if (mDisabledByAdmin) { in onBindView()
62 if (summaryView != null && mDisabledByAdmin) { in onBindView()
79 if (enabled && mDisabledByAdmin) { in setEnabled()
87 if (mDisabledByAdmin != disabled) { in setDisabledByAdmin()
88 mDisabledByAdmin = disabled; in setDisabledByAdmin()
96 if (mDisabledByAdmin) { in performClick()
/packages/apps/Settings/src/com/android/settings/
DRestrictedCheckBox.java35 private boolean mDisabledByAdmin; field in RestrictedCheckBox
49 if (mDisabledByAdmin) { in performClick()
59 if (mDisabledByAdmin != disabled) { in setDisabledByAdmin()
60 mDisabledByAdmin = disabled; in setDisabledByAdmin()
62 mDisabledByAdmin); in setDisabledByAdmin()
63 if (mDisabledByAdmin) { in setDisabledByAdmin()
73 return mDisabledByAdmin; in isDisabledByAdmin()
DRestrictedRadioButton.java32 private boolean mDisabledByAdmin; field in RestrictedRadioButton
55 if (mDisabledByAdmin) { in performClick()
65 if (mDisabledByAdmin != disabled) { in setDisabledByAdmin()
66 mDisabledByAdmin = disabled; in setDisabledByAdmin()
68 (TextView) this, mDisabledByAdmin); in setDisabledByAdmin()
69 if (mDisabledByAdmin) { in setDisabledByAdmin()
79 return mDisabledByAdmin; in isDisabledByAdmin()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRestrictedCheckBox.java35 private boolean mDisabledByAdmin; field in RestrictedCheckBox
49 if (mDisabledByAdmin) { in performClick()
59 if (mDisabledByAdmin != disabled) { in setDisabledByAdmin()
60 mDisabledByAdmin = disabled; in setDisabledByAdmin()
62 mDisabledByAdmin); in setDisabledByAdmin()
63 if (mDisabledByAdmin) { in setDisabledByAdmin()
73 return mDisabledByAdmin; in isDisabledByAdmin()
DRestrictedRadioButton.java32 private boolean mDisabledByAdmin; field in RestrictedRadioButton
55 if (mDisabledByAdmin) { in performClick()
65 if (mDisabledByAdmin != disabled) { in setDisabledByAdmin()
66 mDisabledByAdmin = disabled; in setDisabledByAdmin()
68 (TextView) this, mDisabledByAdmin); in setDisabledByAdmin()
69 if (mDisabledByAdmin) { in setDisabledByAdmin()
79 return mDisabledByAdmin; in isDisabledByAdmin()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSwitchBar.java92 private boolean mDisabledByAdmin; field in SwitchBar
146 if (mDisabledByAdmin) { in SwitchBar()
214 if (enabled && mDisabledByAdmin) { in setEnabled()
225 return mDisabledByAdmin ? mRestrictedIcon : mSwitch; in getDelegatingView()
237 mDisabledByAdmin = true; in setDisabledByAdmin()
243 mDisabledByAdmin = false; in setDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java90 private boolean mDisabledByAdmin; field in SwitchBar
150 if (mDisabledByAdmin) { in SwitchBar()
224 if (enabled && mDisabledByAdmin) { in setEnabled()
235 return mDisabledByAdmin ? mRestrictedIcon : mSwitch; in getDelegatingView()
247 mDisabledByAdmin = true; in setDisabledByAdmin()
255 mDisabledByAdmin = false; in setDisabledByAdmin()