Home
last modified time | relevance | path

Searched refs:buttonId (Results 1 – 22 of 22) sorted by relevance

/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadView.java326 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/
DDialpadView.java338 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 …]
DDialpadFragment.java721 for (int buttonId : buttonIds) { in configureKeypadListeners()
722 dialpadKey = fragmentView.findViewById(buttonId); in configureKeypadListeners()
/packages/apps/Camera2/src/com/android/camera/
DButtonManager.java133 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/
DButtonController.java66 @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 …]
DInCallFragment.java415 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/
DDialogFragmentManager.java56 (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 …]
DDialogManager.java54 (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()
DSpeedBumpDialogFragment.java115 return (dialogInterface, buttonId) -> sIsShowing = false; in getNegativeOnClickListener()
/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java99 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/
DAlertDialogBuilder.kt199 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/
DSurfaceViewVideoCallFragment.java727 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 …]
DVideoCallFragment.java841 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/
DInCallButtonUi.java26 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/
DEnableExt4WarningDialog.java81 public void onClick(@NonNull DialogInterface dialog, int buttonId) { in onClick() argument
82 if (buttonId == DialogInterface.BUTTON_POSITIVE) { in onClick()
DEnable16kPagesWarningDialog.java92 public void onClick(@NonNull DialogInterface dialog, int buttonId) { in onClick() argument
93 if (buttonId == DialogInterface.BUTTON_POSITIVE) { in onClick()
DEnable16KOemUnlockDialog.java77 public void onClick(@NonNull DialogInterface dialog, int buttonId) { in onClick() argument
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DStorageManagerUpsellDialog.java87 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/
DPlayControlsRowViewTest.java150 private void assertButtonHasFocus(String buttonId) { in assertButtonHasFocus() argument
156 assertEquals(buttonId, focusedButtonGroup.getResourceName()); in assertButtonHasFocus()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java539 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/
DEventInfoFragment.kt192 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/
DCameraAppUI.java2137 int buttonId = ButtonManager.BUTTON_HDR;
2140 buttonId = ButtonManager.BUTTON_HDR_PLUS;
2142 buttonManager.showButton(buttonId);
2143 buttonManager.disableButton(buttonId);