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/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt165 data class ButtonState( in <lambda>() dataClass
178 : SmartUpdateMediatorLiveData<@JvmSuppressWildcards Map<ButtonType, ButtonState>>() { in <lambda>()
214 val allowedState = ButtonState() in <lambda>()
215 val allowedAlwaysState = ButtonState() in <lambda>()
216 val allowedForegroundState = ButtonState() in <lambda>()
217 val askOneTimeState = ButtonState() in <lambda>()
218 val askState = ButtonState() in <lambda>()
219 val deniedState = ButtonState() in <lambda>()
220 val deniedForegroundState = ButtonState() // when bg is fixed as granted and fg is flex in <lambda>()
388 allowedAlwaysState: ButtonState, 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/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/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionFragment.java71 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonState;
266 private void setRadioButtonsState(Map<ButtonType, ButtonState> states) { in setRadioButtonsState()
340 …private void setButtonState(RadioButtonPreference button, AppPermissionViewModel.ButtonState state… in setButtonState()
/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/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAppPermissionFragment.java73 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonState;
316 private void setRadioButtonsState(Map<ButtonType, ButtonState> states) { in setRadioButtonsState()
392 private void setButtonState(RadioButton button, AppPermissionViewModel.ButtonState state) { in setButtonState()