Searched refs:ButtonState (Results 1 – 10 of 10) sorted by relevance
44 @IntDef({ButtonState.NOT_SUPPORT, ButtonState.DISABLED, ButtonState.ENABLED})45 public @interface ButtonState { annotation in PrimaryCallState104 public abstract @ButtonState int swapToSecondaryButtonState(); in swapToSecondaryButtonState()132 .setSwapToSecondaryButtonState(ButtonState.NOT_SUPPORT) in builder()188 @ButtonState int swapToSecondaryButtonState); in setSwapToSecondaryButtonState()
356 data class ButtonState( in <lambda>() dataClass367 object : SmartUpdateMediatorLiveData<@JvmSuppressWildcards Map<ButtonType, ButtonState>>() { in <lambda>()428 private fun getButtonStatesForExternalDevicePermission(): Map<ButtonType, ButtonState> { in <lambda>()429 val allowedForegroundState = ButtonState() in <lambda>()432 val askState = ButtonState() in <lambda>()435 val deniedState = ButtonState() in <lambda>()456 ALLOW to ButtonState(), in <lambda>()457 ALLOW_ALWAYS to ButtonState(), in <lambda>()459 ASK_ONCE to ButtonState(), in <lambda>()462 DENY_FOREGROUND to ButtonState(), in <lambda>()[all …]
39 public @interface ButtonState {} annotation in RecordVoicemailGreetingActivity87 private void setState(@ButtonState int state) { in setState()
30 import com.android.dialer.voicemail.settings.RecordVoicemailGreetingActivity.ButtonState;140 public void setState(@ButtonState int state) { in setState()
30 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonState in <lambda>()95 buttonState: Map<ButtonType, ButtonState>?, in WearAppPermissionContent()
80 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonState;398 private void setRadioButtonsState(Map<ButtonType, ButtonState> states) { in setRadioButtonsState()445 ButtonState selectState = states.get(ButtonType.SELECT_PHOTOS); in setRadioButtonsState()495 ButtonState locationAccuracyState = states.get(ButtonType.LOCATION_ACCURACY); in setRadioButtonsState()525 private void setButtonState(CompoundButton button, AppPermissionViewModel.ButtonState state) { in setButtonState()
75 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()
69 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()
71 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonState;272 private void setRadioButtonsState(Map<ButtonType, ButtonState> states) { in setRadioButtonsState()346 …private void setButtonState(RadioButtonPreference button, AppPermissionViewModel.ButtonState state… in setButtonState()
450 Map<AppPermissionViewModel.ButtonType, AppPermissionViewModel.ButtonState> states) { in setRadioButtonsState()462 AppPermissionViewModel.ButtonState state) { in setButtonState()