Home
last modified time | relevance | path

Searched refs:disabledByPolicy (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileViewImpl.kt658 if (state.disabledByPolicy && state.state != Tile.STATE_UNAVAILABLE) { in <lambda>()
706 if (state.state != lastState || state.disabledByPolicy != lastDisabledByPolicy) { in <lambda>()
711 state.disabledByPolicy, in <lambda>()
712 getBackgroundColorForState(state.state, state.disabledByPolicy) in <lambda>()
719 getBackgroundColorForState(state.state, state.disabledByPolicy) in <lambda>()
724 getLabelColorForState(state.state, state.disabledByPolicy) in <lambda>()
729 getSecondaryLabelColorForState(state.state, state.disabledByPolicy) in <lambda>()
734 getChevronColorForState(state.state, state.disabledByPolicy) in <lambda>()
745 getBackgroundColorForState(state.state, state.disabledByPolicy), in <lambda>()
746 getLabelColorForState(state.state, state.disabledByPolicy), in <lambda>()
[all …]
DQSIconViewImpl.java174 if (state.state != mState || state.disabledByPolicy != mDisabledByPolicy) { in setIcon()
177 mDisabledByPolicy = state.disabledByPolicy; in setIcon()
253 if (state.disabledByPolicy || state.state == Tile.STATE_UNAVAILABLE) { in getIconColorForState()
DQSTileImpl.java528 state.disabledByPolicy = true; in checkIfRestrictionEnforcedByAdminOnly()
531 state.disabledByPolicy = false; in checkIfRestrictionEnforcedByAdminOnly()
591 if (mState.disabledByPolicy) { in handleMessage()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java167 public boolean disabledByPolicy; field in QSTile.State
210 || !Objects.equals(other.disabledByPolicy, disabledByPolicy) in copyTo()
225 other.disabledByPolicy = disabledByPolicy; in copyTo()
252 sb.append(",disabledByPolicy=").append(disabledByPolicy); in toStringBuilder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileViewImplTest.kt286 stateDisabledByPolicy.disabledByPolicy = true in testDisabledByPolicyInactive_usesUnavailableColors()
304 stateDisabledByPolicy.disabledByPolicy = true in testDisabledByPolicyActive_usesUnavailableColors()
324 stateDisabledByPolicy.disabledByPolicy = true in testDisableByPolicyThenRemoved_changesColor()
348 stateDisabledByPolicy.disabledByPolicy = true in testDisabledByPolicy_secondaryLabelText()
367 state.disabledByPolicy = true in testDisabledByPolicy_unavailableInStateDescription()
DQSIconViewImplTest.java133 s1.disabledByPolicy = true; in testIconColorDisabledByPolicy_sameAsUnavailable()
DQSTileImplTest.java434 mTile.getState().disabledByPolicy = true; in testClickOnDisabledByPolicyDoesntClickLaunchesIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/logging/
DQSLogger.kt200 disabledByPolicy: Boolean, in <lambda>()
215 bool1 = disabledByPolicy in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DLocationTile.java122 if (state.disabledByPolicy == false) { in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileViewModelAdapter.kt257 disabledByPolicy = viewModelState.enabledState == QSTileState.EnabledState.DISABLED in <lambda>()