/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
D | DialpadView.java | 326 private int getKeyButtonAnimationDelay(int buttonId) { in getKeyButtonAnimationDelay() argument 329 if (buttonId == R.id.three) { in getKeyButtonAnimationDelay() 331 } else if (buttonId == R.id.six) { in getKeyButtonAnimationDelay() 333 } else if (buttonId == R.id.nine) { in getKeyButtonAnimationDelay() 335 } else if (buttonId == R.id.pound) { in getKeyButtonAnimationDelay() 337 } else if (buttonId == R.id.two) { in getKeyButtonAnimationDelay() 339 } else if (buttonId == R.id.five) { in getKeyButtonAnimationDelay() 341 } else if (buttonId == R.id.eight) { in getKeyButtonAnimationDelay() 343 } else if (buttonId == R.id.zero) { in getKeyButtonAnimationDelay() 345 } else if (buttonId == R.id.one) { in getKeyButtonAnimationDelay() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | DialpadView.java | 338 private int getKeyButtonAnimationDelay(int buttonId) { in getKeyButtonAnimationDelay() argument 341 if (buttonId == R.id.three) { in getKeyButtonAnimationDelay() 343 } else if (buttonId == R.id.six) { in getKeyButtonAnimationDelay() 345 } else if (buttonId == R.id.nine) { in getKeyButtonAnimationDelay() 347 } else if (buttonId == R.id.pound) { in getKeyButtonAnimationDelay() 349 } else if (buttonId == R.id.two) { in getKeyButtonAnimationDelay() 351 } else if (buttonId == R.id.five) { in getKeyButtonAnimationDelay() 353 } else if (buttonId == R.id.eight) { in getKeyButtonAnimationDelay() 355 } else if (buttonId == R.id.zero) { in getKeyButtonAnimationDelay() 357 } else if (buttonId == R.id.one) { in getKeyButtonAnimationDelay() [all …]
|
D | DialpadFragment.java | 721 for (int buttonId : buttonIds) { in configureKeypadListeners() 722 dialpadKey = fragmentView.findViewById(buttonId); in configureKeypadListeners()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | ButtonManager.java | 133 public void onButtonVisibilityChanged(ButtonManager buttonManager, int buttonId); in onButtonVisibilityChanged() argument 138 public void onButtonEnabledChanged(ButtonManager buttonManager, int buttonId); in onButtonEnabledChanged() argument 245 private MultiToggleImageButton getButtonOrError(int buttonId) { in getButtonOrError() argument 246 switch (buttonId) { in getButtonOrError() 288 throw new IllegalArgumentException("button not known by id=" + buttonId); in getButtonOrError() 297 private ImageButton getImageButtonOrError(int buttonId) { in getImageButtonOrError() argument 298 switch (buttonId) { in getImageButtonOrError() 325 throw new IllegalArgumentException("button not known by id=" + buttonId); in getImageButtonOrError() 336 public void initializeButton(int buttonId, ButtonCallback cb) { in initializeButton() argument 337 initializeButton(buttonId, cb, null); in initializeButton() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | ButtonController.java | 66 @InCallButtonIds protected final int buttonId; field in ButtonController.CheckableButtonController 76 @InCallButtonIds int buttonId, in CheckableButtonController() argument 81 this.buttonId = buttonId; in CheckableButtonController() 123 return buttonId; in getInCallButtonId() 161 @InCallButtonIds int buttonId, in SimpleCheckableButtonController() argument 168 buttonId, in SimpleCheckableButtonController() 189 @InCallButtonIds protected final int buttonId; field in ButtonController.NonCheckableButtonController 197 @InCallButtonIds int buttonId, in NonCheckableButtonController() argument 200 this.buttonId = buttonId; in NonCheckableButtonController() 238 return buttonId; in getInCallButtonId() [all …]
|
D | InCallFragment.java | 415 public void showButton(@InCallButtonIds int buttonId, boolean show) { in showButton() argument 419 InCallButtonIdsExtension.toString(buttonId), in showButton() 421 if (isSupportedButton(buttonId)) { in showButton() 422 getButtonController(buttonId).setAllowed(show); in showButton() 423 if (buttonId == InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO && show) { in showButton() 431 public void enableButton(@InCallButtonIds int buttonId, boolean enable) { in enableButton() argument 435 InCallButtonIdsExtension.toString(buttonId), in enableButton() 437 if (isSupportedButton(buttonId)) { in enableButton() 438 getButtonController(buttonId).setEnabled(enable); in enableButton()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/ |
D | DialogFragmentManager.java | 56 (dialogInterface, buttonId) -> { in showOptOutDialogFragment() 87 (dialogInterface, buttonId) -> { in showBlockTopicDialog() 118 OnClickListener positiveOnClickListener = (dialogInterface, buttonId) -> sIsShowing = false; in showUnblockTopicDialog() 182 (dialogInterface, buttonId) -> { in showBlockAppDialog() 214 OnClickListener positiveOnClickListener = (dialogInterface, buttonId) -> sIsShowing = false; in showUnblockAppDialog() 277 OnClickListener acknowledgeListener = (dialogInterface, buttonId) -> sIsShowing = false; in showOptInTopicsDialog() 302 (dialogInterface, buttonId) -> { in showOptOutTopicsDialog() 329 OnClickListener acknowledgeListener = (dialogInterface, buttonId) -> sIsShowing = false; in showOptInAppsDialog() 353 (dialogInterface, buttonId) -> { in showOptOutAppsDialog() 379 OnClickListener acknowledgeListener = (dialogInterface, buttonId) -> sIsShowing = false; in showOptInMeasurementDialog() [all …]
|
D | DialogManager.java | 54 (dialogInterface, buttonId) -> { in showOptOutDialog() 80 (dialogInterface, buttonId) -> { in showBlockTopicDialog() 129 (dialogInterface, buttonId) -> { in showResetTopicDialog() 161 (dialogInterface, buttonId) -> { in showBlockAppDialog() 209 (dialogInterface, buttonId) -> { in showResetAppDialog() 234 return (dialogInterface, buttonId) -> sSemaphore.release(); in getNegativeOnClickListener()
|
D | SpeedBumpDialogFragment.java | 115 return (dialogInterface, buttonId) -> sIsShowing = false; in getNegativeOnClickListener()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | IndicatorIconController.java | 99 public void onButtonVisibilityChanged(ButtonManager buttonManager, int buttonId) { in onButtonVisibilityChanged() argument 100 syncIndicatorWithButton(buttonId); in onButtonVisibilityChanged() 104 public void onButtonEnabledChanged(ButtonManager buttonManager, int buttonId) { in onButtonEnabledChanged() argument 105 syncIndicatorWithButton(buttonId); in onButtonEnabledChanged() 112 private void syncIndicatorWithButton(int buttonId) { in syncIndicatorWithButton() argument 113 switch (buttonId) { in syncIndicatorWithButton()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/dialog/ |
D | AlertDialogBuilder.kt | 199 buttonId: ElementName, in <lambda>() 203 negativeButtonKey = buttonId in <lambda>() 223 buttonId: ElementName, in <lambda>() 227 negativeButtonKey = buttonId in <lambda>() 241 buttonId: ElementName, in <lambda>() 245 positiveButtonKey = buttonId in <lambda>()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | SurfaceViewVideoCallFragment.java | 727 public void showButton(@InCallButtonIds int buttonId, boolean show) { in showButton() argument 731 InCallButtonIdsExtension.toString(buttonId), in showButton() 733 if (buttonId == InCallButtonIds.BUTTON_AUDIO) { in showButton() 735 } else if (buttonId == InCallButtonIds.BUTTON_MUTE) { in showButton() 737 } else if (buttonId == InCallButtonIds.BUTTON_PAUSE_VIDEO) { in showButton() 739 } else if (buttonId == InCallButtonIds.BUTTON_SWITCH_TO_SECONDARY) { in showButton() 741 } else if (buttonId == InCallButtonIds.BUTTON_SWITCH_CAMERA) { in showButton() 747 public void enableButton(@InCallButtonIds int buttonId, boolean enable) { in enableButton() argument 751 InCallButtonIdsExtension.toString(buttonId), in enableButton() 753 if (buttonId == InCallButtonIds.BUTTON_AUDIO) { in enableButton() [all …]
|
D | VideoCallFragment.java | 841 public void showButton(@InCallButtonIds int buttonId, boolean show) { in showButton() argument 845 InCallButtonIdsExtension.toString(buttonId), in showButton() 847 if (buttonId == InCallButtonIds.BUTTON_AUDIO) { in showButton() 849 } else if (buttonId == InCallButtonIds.BUTTON_MUTE) { in showButton() 851 } else if (buttonId == InCallButtonIds.BUTTON_PAUSE_VIDEO) { in showButton() 853 } else if (buttonId == InCallButtonIds.BUTTON_SWITCH_TO_SECONDARY) { in showButton() 855 } else if (buttonId == InCallButtonIds.BUTTON_SWITCH_CAMERA) { in showButton() 861 public void enableButton(@InCallButtonIds int buttonId, boolean enable) { in enableButton() argument 865 InCallButtonIdsExtension.toString(buttonId), in enableButton() 867 if (buttonId == InCallButtonIds.BUTTON_AUDIO) { in enableButton() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
D | InCallButtonUi.java | 26 void showButton(@InCallButtonIds int buttonId, boolean show); in showButton() argument 28 void enableButton(@InCallButtonIds int buttonId, boolean enable); in enableButton() argument
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | EnableExt4WarningDialog.java | 81 public void onClick(@NonNull DialogInterface dialog, int buttonId) { in onClick() argument 82 if (buttonId == DialogInterface.BUTTON_POSITIVE) { in onClick()
|
D | Enable16kPagesWarningDialog.java | 92 public void onClick(@NonNull DialogInterface dialog, int buttonId) { in onClick() argument 93 if (buttonId == DialogInterface.BUTTON_POSITIVE) { in onClick()
|
D | Enable16KOemUnlockDialog.java | 77 public void onClick(@NonNull DialogInterface dialog, int buttonId) { in onClick() argument
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | StorageManagerUpsellDialog.java | 87 public void onClick(DialogInterface dialog, int buttonId) { in onClick() argument 88 if (buttonId == DialogInterface.BUTTON_POSITIVE) { in onClick()
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
D | PlayControlsRowViewTest.java | 150 private void assertButtonHasFocus(String buttonId) { in assertButtonHasFocus() argument 156 assertEquals(buttonId, focusedButtonGroup.getResourceName()); in assertButtonHasFocus()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | RttChatFragment.java | 539 public void showButton(int buttonId, boolean show) { in showButton() argument 540 if (buttonId == InCallButtonIds.BUTTON_SWAP) { in showButton() 546 public void enableButton(int buttonId, boolean enable) {} in enableButton() argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventInfoFragment.kt | 192 fun getResponseFromButtonId(buttonId: Int): Int { in getResponseFromButtonId() 761 val buttonId = findButtonIdForResponse(mTentativeUserSetResponse) in onResume() constant 762 mResponseRadioGroup?.check(buttonId) in onResume()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraAppUI.java | 2137 int buttonId = ButtonManager.BUTTON_HDR; 2140 buttonId = ButtonManager.BUTTON_HDR_PLUS; 2142 buttonManager.showButton(buttonId); 2143 buttonManager.disableButton(buttonId);
|