/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
H A D | TaskbarNavButtonController.java | 85 public void onButtonClick(@TaskbarButton int buttonType) { in onButtonClick() argument 86 switch (buttonType) { in onButtonClick() 105 public boolean onButtonLongClick(@TaskbarButton int buttonType) { in onButtonLongClick() argument 106 switch (buttonType) { in onButtonLongClick() 115 mLongPressedButtons |= buttonType; in onButtonLongClick()
|
H A D | NavbarButtonsViewController.java | 442 private ImageView addButton(@DrawableRes int drawableId, @TaskbarButton int buttonType, in addButton() argument 444 return addButton(drawableId, buttonType, parent, navButtonController, id, in addButton() 448 private ImageView addButton(@DrawableRes int drawableId, @TaskbarButton int buttonType, in addButton() argument 453 buttonView.setOnClickListener(view -> navButtonController.onButtonClick(buttonType)); in addButton() 455 navButtonController.onButtonLongClick(buttonType)); in addButton()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
H A D | PairedBluetoothDevices.java | 173 String buttonType = intent.getStringExtra(EXTRA_BUTTON_TYPE); in onNotifyChange() local 175 if (BLUETOOTH_BUTTON.equals(buttonType)) { in onNotifyChange() 192 } else if (PHONE_BUTTON.equals(buttonType)) { in onNotifyChange() 197 } else if (MEDIA_BUTTON.equals(buttonType)) { in onNotifyChange() 203 LOG.d("Unknown button type: " + buttonType); in onNotifyChange() 284 String buttonType, Icon icon, boolean available, boolean enabled, boolean checked) { in createBluetoothDeviceToggle() argument 286 extras.putString(EXTRA_BUTTON_TYPE, buttonType); in createBluetoothDeviceToggle()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
H A D | AutoAppPermissionFragment.java | 321 private void checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType buttonType) { in checkOnlyOneButtonOverride() argument 323 buttonType == AppPermissionViewModel.ButtonType.ALLOW); in checkOnlyOneButtonOverride() 325 buttonType == AppPermissionViewModel.ButtonType.ALLOW_ALWAYS); in checkOnlyOneButtonOverride() 327 buttonType == AppPermissionViewModel.ButtonType.ALLOW_FOREGROUND); in checkOnlyOneButtonOverride() 328 mDenyPermissionPreference.setChecked(buttonType == AppPermissionViewModel.ButtonType.DENY); in checkOnlyOneButtonOverride()
|
/aosp12/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
H A D | BugReportInfoActivity.java | 138 int buttonType, MetaBugReport bugReport, BugInfoAdapter.BugInfoViewHolder holder) { in onBugReportItemClicked() argument 139 if (buttonType == BugInfoAdapter.BUTTON_TYPE_UPLOAD) { in onBugReportItemClicked() 144 } else if (buttonType == BugInfoAdapter.BUTTON_TYPE_MOVE) { in onBugReportItemClicked() 150 } else if (buttonType == BugInfoAdapter.BUTTON_TYPE_ADD_AUDIO) { in onBugReportItemClicked()
|
H A D | BugInfoAdapter.java | 55 void onItemClicked(int buttonType, MetaBugReport metaBugReport, BugInfoViewHolder holder); in onItemClicked() argument
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
H A D | Utils.java | 796 @ButtonType int buttonType, @StringRes int label) { in setPrimaryButton() argument 801 .setButtonType(buttonType) in setPrimaryButton() 811 final int buttonType = ButtonType.CANCEL; in addAbortAndResetButton() local 814 return addSecondaryButton(layout, listener, buttonType, buttonLabel); in addAbortAndResetButton() 819 @ButtonType int buttonType, @StringRes int buttonLabel) { in addSecondaryButton() argument 824 .setButtonType(buttonType) in addSecondaryButton()
|
/aosp12/packages/apps/Settings/src/com/android/settings/ |
H A D | TrustedCredentialsDialogBuilder.java | 256 private Button updateButton(int buttonType, CharSequence displayText) { in updateButton() argument 257 mDialog.setButton(buttonType, displayText, (DialogInterface.OnClickListener) null); in updateButton() 258 Button button = mDialog.getButton(buttonType); in updateButton()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SmartReplyView.java | 482 private List<View> filterActionsOrReplies(SmartButtonType buttonType) { in filterActionsOrReplies() argument 491 if (lp.mButtonType == buttonType) { in filterActionsOrReplies()
|