/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
D | InCallButtonIds.java | 26 InCallButtonIds.BUTTON_AUDIO, 27 InCallButtonIds.BUTTON_MUTE, 28 InCallButtonIds.BUTTON_DIALPAD, 29 InCallButtonIds.BUTTON_HOLD, 30 InCallButtonIds.BUTTON_SWAP, 31 InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO, 32 InCallButtonIds.BUTTON_SWITCH_CAMERA, 33 InCallButtonIds.BUTTON_DOWNGRADE_TO_AUDIO, 34 InCallButtonIds.BUTTON_ADD_CALL, 35 InCallButtonIds.BUTTON_MERGE, [all …]
|
D | InCallButtonIdsExtension.java | 28 public static String toString(@InCallButtonIds int id) { in toString() 29 if (id == InCallButtonIds.BUTTON_AUDIO) { in toString() 31 } else if (id == InCallButtonIds.BUTTON_MUTE) { in toString() 33 } else if (id == InCallButtonIds.BUTTON_DIALPAD) { in toString() 35 } else if (id == InCallButtonIds.BUTTON_HOLD) { in toString() 37 } else if (id == InCallButtonIds.BUTTON_SWAP) { in toString() 39 } else if (id == InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO) { in toString() 41 } else if (id == InCallButtonIds.BUTTON_DOWNGRADE_TO_AUDIO) { in toString() 43 } else if (id == InCallButtonIds.BUTTON_SWITCH_CAMERA) { in toString() 45 } else if (id == InCallButtonIds.BUTTON_ADD_CALL) { in toString() [all …]
|
D | InCallButtonUi.java | 26 void showButton(@InCallButtonIds int buttonId, boolean show); in showButton() 28 void enableButton(@InCallButtonIds int buttonId, boolean enable); in enableButton()
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | ButtonChooserFactory.java | 22 import com.android.incallui.incall.protocol.InCallButtonIds; 58 InCallButtonIds.BUTTON_MANAGE_VOICE_CONFERENCE, in newImsAndWiFiButtonChooser() 62 InCallButtonIds.BUTTON_UPGRADE_TO_RTT, MappingInfo.builder(3).setSlotOrder(0).build()); in newImsAndWiFiButtonChooser() 64 InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO, MappingInfo.builder(4).setSlotOrder(10).build()); in newImsAndWiFiButtonChooser() 66 InCallButtonIds.BUTTON_SWITCH_TO_SECONDARY, MappingInfo.builder(5).setSlotOrder(0).build()); in newImsAndWiFiButtonChooser() 67 mapping.put(InCallButtonIds.BUTTON_HOLD, MappingInfo.builder(5).setSlotOrder(10).build()); in newImsAndWiFiButtonChooser() 75 InCallButtonIds.BUTTON_MANAGE_VOICE_CONFERENCE, in newCdmaButtonChooser() 78 InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO, MappingInfo.builder(4).setSlotOrder(10).build()); in newCdmaButtonChooser() 79 mapping.put(InCallButtonIds.BUTTON_SWAP, MappingInfo.builder(5).setSlotOrder(0).build()); in newCdmaButtonChooser() 83 mapping.put(InCallButtonIds.BUTTON_HOLD, MappingInfo.builder(5).setSlotOrder(5).build()); in newCdmaButtonChooser() [all …]
|
D | InCallFragment.java | 60 import com.android.incallui.incall.protocol.InCallButtonIds; 109 private static boolean isSupportedButton(@InCallButtonIds int id) { in isSupportedButton() 110 return id == InCallButtonIds.BUTTON_AUDIO in isSupportedButton() 111 || id == InCallButtonIds.BUTTON_MUTE in isSupportedButton() 112 || id == InCallButtonIds.BUTTON_DIALPAD in isSupportedButton() 113 || id == InCallButtonIds.BUTTON_HOLD in isSupportedButton() 114 || id == InCallButtonIds.BUTTON_SWAP in isSupportedButton() 115 || id == InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO in isSupportedButton() 116 || id == InCallButtonIds.BUTTON_ADD_CALL in isSupportedButton() 117 || id == InCallButtonIds.BUTTON_MERGE in isSupportedButton() [all …]
|
D | ButtonController.java | 30 import com.android.incallui.incall.protocol.InCallButtonIds; 48 @InCallButtonIds 66 @InCallButtonIds protected final int buttonId; 76 @InCallButtonIds int buttonId, in CheckableButtonController() 121 @InCallButtonIds 161 @InCallButtonIds int buttonId, in SimpleCheckableButtonController() 189 @InCallButtonIds protected final int buttonId; 197 @InCallButtonIds int buttonId, in NonCheckableButtonController() 236 @InCallButtonIds 266 @InCallButtonIds int buttonId, in SimpleNonCheckableButtonController() [all …]
|
D | MappedButtonConfig.java | 23 import com.android.incallui.incall.protocol.InCallButtonIds; 144 public MappingInfo lookupMappingInfo(@InCallButtonIds int button) { 182 public abstract @InCallButtonIds int getMutuallyExclusiveButton(); 201 public abstract Builder setMutuallyExclusiveButton(@InCallButtonIds int button);
|
D | InCallButtonGridFragment.java | 29 import com.android.incallui.incall.protocol.InCallButtonIds; 124 @InCallButtonIds int button = buttonsToPlace.get(i); in updateButtonStates() 142 ButtonController getButtonController(@InCallButtonIds int id); in getButtonController()
|
D | ButtonChooser.java | 22 import com.android.incallui.incall.protocol.InCallButtonIds;
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallButtonPresenter.java | 47 import com.android.incallui.incall.protocol.InCallButtonIds; 405 inCallButtonUi.enableButton(InCallButtonIds.BUTTON_PAUSE_VIDEO, false); in pauseVideoClicked() 502 inCallButtonUi.showButton(InCallButtonIds.BUTTON_AUDIO, true); in updateButtonsState() 503 inCallButtonUi.showButton(InCallButtonIds.BUTTON_SWAP, showSwap); in updateButtonsState() 504 inCallButtonUi.showButton(InCallButtonIds.BUTTON_HOLD, showHold); in updateButtonsState() 506 inCallButtonUi.showButton(InCallButtonIds.BUTTON_MUTE, showMute); in updateButtonsState() 507 inCallButtonUi.showButton(InCallButtonIds.BUTTON_SWAP_SIM, showSwapSim); in updateButtonsState() 508 inCallButtonUi.showButton(InCallButtonIds.BUTTON_ADD_CALL, true); in updateButtonsState() 509 inCallButtonUi.enableButton(InCallButtonIds.BUTTON_ADD_CALL, showAddCall); in updateButtonsState() 510 inCallButtonUi.showButton(InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO, showUpgradeToVideo); in updateButtonsState() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/callpending/ |
D | CallPendingActivity.java | 37 import com.android.incallui.incall.protocol.InCallButtonIds; 214 inCallButtonUi.showButton(InCallButtonIds.BUTTON_DIALPAD, true); in newInCallButtonUiDelegate() 215 inCallButtonUi.showButton(InCallButtonIds.BUTTON_MUTE, true); in newInCallButtonUiDelegate() 216 inCallButtonUi.showButton(InCallButtonIds.BUTTON_AUDIO, true); in newInCallButtonUiDelegate() 217 inCallButtonUi.showButton(InCallButtonIds.BUTTON_ADD_CALL, true); in newInCallButtonUiDelegate() 219 inCallButtonUi.enableButton(InCallButtonIds.BUTTON_DIALPAD, false); in newInCallButtonUiDelegate() 220 inCallButtonUi.enableButton(InCallButtonIds.BUTTON_MUTE, false); in newInCallButtonUiDelegate() 221 inCallButtonUi.enableButton(InCallButtonIds.BUTTON_AUDIO, false); in newInCallButtonUiDelegate() 222 inCallButtonUi.enableButton(InCallButtonIds.BUTTON_ADD_CALL, false); in newInCallButtonUiDelegate()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | SurfaceViewVideoCallFragment.java | 58 import com.android.incallui.incall.protocol.InCallButtonIds; 728 public void showButton(@InCallButtonIds int buttonId, boolean show) { in showButton() 734 if (buttonId == InCallButtonIds.BUTTON_AUDIO) { in showButton() 736 } else if (buttonId == InCallButtonIds.BUTTON_MUTE) { in showButton() 738 } else if (buttonId == InCallButtonIds.BUTTON_PAUSE_VIDEO) { in showButton() 740 } else if (buttonId == InCallButtonIds.BUTTON_SWITCH_TO_SECONDARY) { in showButton() 742 } else if (buttonId == InCallButtonIds.BUTTON_SWITCH_CAMERA) { in showButton() 748 public void enableButton(@InCallButtonIds int buttonId, boolean enable) { in enableButton() 754 if (buttonId == InCallButtonIds.BUTTON_AUDIO) { in enableButton() 756 } else if (buttonId == InCallButtonIds.BUTTON_MUTE) { in enableButton() [all …]
|
D | VideoCallFragment.java | 68 import com.android.incallui.incall.protocol.InCallButtonIds; 797 public void showButton(@InCallButtonIds int buttonId, boolean show) { in showButton() 803 if (buttonId == InCallButtonIds.BUTTON_AUDIO) { in showButton() 805 } else if (buttonId == InCallButtonIds.BUTTON_MUTE) { in showButton() 807 } else if (buttonId == InCallButtonIds.BUTTON_PAUSE_VIDEO) { in showButton() 809 } else if (buttonId == InCallButtonIds.BUTTON_SWITCH_TO_SECONDARY) { in showButton() 811 } else if (buttonId == InCallButtonIds.BUTTON_SWITCH_CAMERA) { in showButton() 817 public void enableButton(@InCallButtonIds int buttonId, boolean enable) { in enableButton() 823 if (buttonId == InCallButtonIds.BUTTON_AUDIO) { in enableButton() 825 } else if (buttonId == InCallButtonIds.BUTTON_MUTE) { in enableButton() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | RttChatFragment.java | 61 import com.android.incallui.incall.protocol.InCallButtonIds; 541 if (buttonId == InCallButtonIds.BUTTON_SWAP) { in showButton()
|