/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSettingsRemoveButtonPreferenceController.java | 89 private Button mButton; field in FaceSettingsRemoveButtonPreferenceController 112 mButton.setEnabled(true); 128 mButton.setEnabled(false); 141 mButton.setEnabled(true); 167 mButton = ((LayoutPreference) preference) in updateState() 170 if (PartnerStyleHelper.shouldApplyPartnerResource(mButton)) { in updateState() 171 ButtonStyler.applyPartnerCustomizationPrimaryButtonStyle(mContext, mButton); in updateState() 174 mButton.setOnClickListener(this); in updateState() 177 mButton.setEnabled(false); in updateState() 179 mButton.setEnabled(!mRemoving); in updateState() [all …]
|
D | FaceSettingsEnrollButtonPreferenceController.java | 51 private Button mButton; field in FaceSettingsEnrollButtonPreferenceController 68 mButton = ((LayoutPreference) preference).findViewById( in updateState() 71 if (PartnerStyleHelper.shouldApplyPartnerResource(mButton)) { in updateState() 72 ButtonStyler.applyPartnerCustomizationPrimaryButtonStyle(mContext, mButton); in updateState() 75 mButton.setOnClickListener(this); in updateState()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | PlayControlsButton.java | 35 private final ImageView mButton; field in PlayControlsButton 61 mButton = (ImageView) findViewById(R.id.button); in PlayControlsButton() 90 mButton.setOnClickListener( in setAction() 110 mButton.setOnFocusChangeListener( in setFocusedIconColor() 138 mButton.getDrawable().jumpToCurrentState(); in hideRippleAnimation() 144 mButton.setEnabled(enabled); in setEnabled() 145 mButton.setFocusable(enabled); in setEnabled() 153 return mButton.requestFocus() && in requestFocusWithAccessibility() 154 mButton.performAccessibilityAction( in requestFocusWithAccessibility()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | ActionPresenterSelector.java | 57 Button mButton; field in ActionPresenterSelector.ActionViewHolder 62 mButton = (Button) view.findViewById(R.id.lb_action_button); in ActionViewHolder() 81 vh.mButton.setText(action.getLabel1()); in onBindViewHolder() 123 vh.mButton.setCompoundDrawablesRelativeWithIntrinsicBounds(icon, null, null, null); in onBindViewHolder() 128 vh.mButton.setText(line2); in onBindViewHolder() 130 vh.mButton.setText(line1); in onBindViewHolder() 132 vh.mButton.setText(line1 + "\n" + line2); in onBindViewHolder() 139 vh.mButton.setCompoundDrawablesRelativeWithIntrinsicBounds(null, null, null, null); in onUnbindViewHolder()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | EditFdnContactScreen.java | 65 private Button mButton; field in EditFdnContactScreen 243 mButton = (Button) findViewById(R.id.button); in setupView() 244 if (mButton != null) { in setupView() 245 mButton.setOnClickListener(mClicked); in setupView() 265 if (mButton != null && mNameField != null && mNumberField != null) { in setButtonEnabled() 266 mButton.setEnabled(mNameField.length() > 0 && mNumberField.length() > 0); in setButtonEnabled() 350 mButton.setClickable(!mDataBusy); in displayProgress() 388 mButton.requestFocus(); 390 mButton.requestFocus(); 391 } else if (v == mButton) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SelectionMenu.java | 32 private final Button mButton; field in SelectionMenu 37 mButton = button; in SelectionMenu() 38 mPopupList = new PopupList(context, mButton); in SelectionMenu() 42 mButton.setOnClickListener(this); in SelectionMenu() 59 mButton.setText(title); in setTitle()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
D | ColorChooser.java | 41 private Button[] mButton = new Button[mButtonsID.length]; field in ColorChooser 66 mButton[i] = button; in setUp() 101 mButton[i].setTag(hsvo); in setColorSet() 102 GradientDrawable sd = ((GradientDrawable) mButton[i].getBackground()); in setColorSet() 115 final Button button = mButton[i]; in resetBorders() 151 final Button button = mButton[mSelectedButton]; in changeSelectedColor() 172 float[] c = (float[]) mButton[mSelectedButton].getTag(); in showColorPicker()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
D | QuickContactTestsActivity.java | 49 private Button mButton; field in QuickContactTestsActivity 68 mButton = (Button) findViewById(android.R.id.button1); in onCreate() 69 mButton.setOnClickListener(new OnClickListener() { in onCreate() 103 mButton.setEnabled(true); in onActivityResult()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | Editor.java | 61 private Button mButton; field in Editor 98 mButton = editTitle; in setUpEditorUI() 129 if (mButton != null) { in setUtilityPanelUI() 236 if (mButton != null) { in commitLocalRepresentation() 260 mButton.setText(calculateUserMessage(mContext, s, "")); in updateText()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ImportanceResetPreferenceController.java | 37 private Button mButton; field in ImportanceResetPreferenceController 53 mButton = ((LayoutPreference) preference) in updateState() 55 mButton.setOnClickListener(this); in updateState()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ChangeIccPinScreen.java | 72 private Button mButton; field in ChangeIccPinScreen 118 mButton = (Button) findViewById(R.id.button); in onCreate() 119 mButton.setOnClickListener(mClicked); in onCreate() 175 mButton.requestFocus(); 176 } else if (v == mButton) {
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | MainClusterActivity.java | 230 mOrderToFacet.get(NAV_FACET_ID).mButton.requestFocus(); in onCreate() 289 mOrderToFacet.get(COMMS_FACET_ID).mButton.requestFocus(); in onCreate() 295 mOrderToFacet.get(mPreviousFacet).mButton.requestFocus(); in onCreate() 388 mButtonToFacet.put(facet.mButton, facet); in registerFacet() 390 facet.mButton.setOnFocusChangeListener(mFacetButtonFocusListener); in registerFacet() 394 Button mButton; field in MainClusterActivity.Facet 399 this.mButton = button; in Facet()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/ |
D | MainActivity.java | 107 private final Button mButton; field in MainActivity.ActivityViewHolder 111 mButton = itemView.requireViewById(R.id.button); in ActivityViewHolder() 120 mButton.setText(element.getText()); in bind() 121 mButton.setOnClickListener(v -> in bind()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/dialogs/ |
D | DialogsActivity.java | 305 private final Button mButton; field in DialogsActivity.ViewHolder 309 mButton = itemView.requireViewById(R.id.button); in ViewHolder() 313 mButton.setText(title); in bind() 314 mButton.setOnClickListener(listener); in bind()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/ |
D | ToolbarActivity.java | 407 private final Button mButton; field in ToolbarActivity.ViewHolder 411 mButton = itemView.requireViewById(R.id.button); in ViewHolder() 415 mButton.setText(title); in bind() 416 mButton.setOnClickListener(listener); in bind()
|