Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java44 @IntDef({ButtonState.NOT_SUPPORT, ButtonState.DISABLED, ButtonState.ENABLED})
45 public @interface ButtonState { annotation in PrimaryCallState
104 public abstract @ButtonState int swapToSecondaryButtonState(); in swapToSecondaryButtonState()
132 .setSwapToSecondaryButtonState(ButtonState.NOT_SUPPORT) in builder()
188 @ButtonState int swapToSecondaryButtonState); in setSwapToSecondaryButtonState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt175 data class ButtonState( in <lambda>() dataClass
188 : SmartUpdateMediatorLiveData<@JvmSuppressWildcards Map<ButtonType, ButtonState>>() { in <lambda>()
221 val allowedState = ButtonState() in <lambda>()
222 val allowedAlwaysState = ButtonState() in <lambda>()
223 val allowedForegroundState = ButtonState() in <lambda>()
224 val askOneTimeState = ButtonState() in <lambda>()
225 val askState = ButtonState() in <lambda>()
226 val deniedState = ButtonState() in <lambda>()
227 val deniedForegroundState = ButtonState() in <lambda>()
332 val locationAccuracyState = ButtonState(isFineLocationChecked(group), in <lambda>()
[all …]
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DRecordVoicemailGreetingActivity.java39 public @interface ButtonState {} annotation in RecordVoicemailGreetingActivity
87 private void setState(@ButtonState int state) { in setState()
DRecordButton.java30 import com.android.dialer.voicemail.settings.RecordVoicemailGreetingActivity.ButtonState;
140 public void setState(@ButtonState int state) { in setState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAppPermissionFragment.java76 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonState;
315 private void setRadioButtonsState(Map<ButtonType, ButtonState> states) { in setRadioButtonsState()
399 ButtonState locationAccuracyState = states.get(ButtonType.LOCATION_ACCURACY); in setRadioButtonsState()
418 private void setButtonState(CompoundButton button, AppPermissionViewModel.ButtonState state) { in setButtonState()
/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java75 import com.android.incallui.incall.protocol.PrimaryCallState.ButtonState;
511 private @ButtonState int getSwapToSecondaryButtonState() { in getSwapToSecondaryButtonState()
513 return ButtonState.NOT_SUPPORT; in getSwapToSecondaryButtonState()
516 return ButtonState.ENABLED; in getSwapToSecondaryButtonState()
518 return ButtonState.DISABLED; in getSwapToSecondaryButtonState()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DInCallFragment.java69 import com.android.incallui.incall.protocol.PrimaryCallState.ButtonState;
342 .setAllowed(primaryCallState.swapToSecondaryButtonState() != ButtonState.NOT_SUPPORT); in setCallState()
344 .setEnabled(primaryCallState.swapToSecondaryButtonState() == ButtonState.ENABLED); in setCallState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionFragment.java70 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonState;
257 private void setRadioButtonsState(Map<ButtonType, ButtonState> states) { in setRadioButtonsState()
331 …private void setButtonState(RadioButtonPreference button, AppPermissionViewModel.ButtonState state… in setButtonState()