Home
last modified time | relevance | path

Searched refs:ButtonState (Results 1 – 5 of 5) 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/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/Dialer/java/com/android/incallui/incall/impl/
DInCallFragment.java69 import com.android.incallui.incall.protocol.PrimaryCallState.ButtonState;
343 .setAllowed(primaryCallState.swapToSecondaryButtonState() != ButtonState.NOT_SUPPORT); in setCallState()
345 .setEnabled(primaryCallState.swapToSecondaryButtonState() == ButtonState.ENABLED); in setCallState()