/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarNavButtonController.java | 119 public void onButtonClick(@TaskbarButton int buttonType, View view) { in onButtonClick() argument 122 switch (buttonType) { in onButtonClick() 152 public boolean onButtonLongClick(@TaskbarButton int buttonType, View view) { in onButtonLongClick() argument 155 switch (buttonType) { in onButtonLongClick() 166 return backRecentsLongpress(buttonType); in onButtonLongClick() 169 return backRecentsLongpress(buttonType); in onButtonLongClick() 176 public @StringRes int getButtonContentDescription(@TaskbarButton int buttonType) { in getButtonContentDescription() argument 177 switch (buttonType) { in getButtonContentDescription() 197 private boolean backRecentsLongpress(@TaskbarButton int buttonType) { in backRecentsLongpress() argument 198 mLongPressedButtons |= buttonType; in backRecentsLongpress()
|
D | NavbarButtonsViewController.java | 650 protected ImageView addButton(@DrawableRes int drawableId, @TaskbarButton int buttonType, in addButton() argument 652 return addButton(drawableId, buttonType, parent, navButtonController, id, in addButton() 656 private ImageView addButton(@DrawableRes int drawableId, @TaskbarButton int buttonType, in addButton() argument 662 navButtonController.getButtonContentDescription(buttonType))); in addButton() 663 buttonView.setOnClickListener(view -> navButtonController.onButtonClick(buttonType, view)); in addButton() 665 navButtonController.onButtonLongClick(buttonType, view)); in addButton()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | PairedBluetoothDevices.java | 171 String buttonType = intent.getStringExtra(EXTRA_BUTTON_TYPE); in onNotifyChange() local 173 if (BLUETOOTH_BUTTON.equals(buttonType)) { in onNotifyChange() 190 } else if (PHONE_BUTTON.equals(buttonType)) { in onNotifyChange() 195 } else if (MEDIA_BUTTON.equals(buttonType)) { in onNotifyChange() 201 LOG.d("Unknown button type: " + buttonType); in onNotifyChange() 275 String buttonType, Icon icon, boolean available, boolean enabled, in createBluetoothDeviceToggle() argument 278 extras.putString(EXTRA_BUTTON_TYPE, buttonType); in createBluetoothDeviceToggle()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAppPermissionFragment.java | 324 private void checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType buttonType) { in checkOnlyOneButtonOverride() argument 326 buttonType == AppPermissionViewModel.ButtonType.ALLOW); in checkOnlyOneButtonOverride() 328 buttonType == AppPermissionViewModel.ButtonType.ALLOW_ALWAYS); in checkOnlyOneButtonOverride() 330 buttonType == AppPermissionViewModel.ButtonType.ALLOW_FOREGROUND); in checkOnlyOneButtonOverride() 331 mDenyPermissionPreference.setChecked(buttonType == AppPermissionViewModel.ButtonType.DENY); in checkOnlyOneButtonOverride()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 791 @ButtonType int buttonType, @StringRes int label) { in setPrimaryButton() argument 796 .setButtonType(buttonType) in setPrimaryButton() 806 final int buttonType = ButtonType.CANCEL; in addAbortAndResetButton() local 809 return addSecondaryButton(layout, listener, buttonType, buttonLabel); in addAbortAndResetButton() 814 @ButtonType int buttonType, @StringRes int buttonLabel) { in addSecondaryButton() argument 819 .setButtonType(buttonType) in addSecondaryButton()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugReportInfoActivity.java | 137 int buttonType, MetaBugReport bugReport, BugInfoAdapter.BugInfoViewHolder holder) { in onBugReportItemClicked() argument 138 if (buttonType == BugInfoAdapter.BUTTON_TYPE_UPLOAD) { in onBugReportItemClicked() 143 } else if (buttonType == BugInfoAdapter.BUTTON_TYPE_MOVE) { in onBugReportItemClicked() 149 } else if (buttonType == BugInfoAdapter.BUTTON_TYPE_ADD_AUDIO) { in onBugReportItemClicked()
|
D | BugInfoAdapter.java | 55 void onItemClicked(int buttonType, MetaBugReport metaBugReport, BugInfoViewHolder holder); in onItemClicked() argument
|
/packages/apps/Settings/src/com/android/settings/ |
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()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | SecondaryDropTarget.java | 140 int buttonType = getButtonType(info, getViewUnderDrag(info)); in setupItemInfo() local 141 if (buttonType != INVALID) { in setupItemInfo() 142 setupUi(buttonType); in setupItemInfo()
|