/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenCustomRadioButtonPreference.java | 35 private RadioButton mButton; field in ZenCustomRadioButtonPreference 84 mButton = (RadioButton) holder.findViewById(android.R.id.checkbox); in onBindViewHolder() 85 if (mButton != null) { in onBindViewHolder() 86 mButton.setChecked(mChecked); in onBindViewHolder() 103 return mButton != null && mChecked; in isChecked() 108 if (mButton != null) { in setChecked() 109 mButton.setChecked(checked); in setChecked() 114 return mButton; in getRadioButton()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenCustomRadioButtonPreference.java | 35 private RadioButton mButton; field in ZenCustomRadioButtonPreference 84 mButton = (RadioButton) holder.findViewById(android.R.id.checkbox); in onBindViewHolder() 85 if (mButton != null) { in onBindViewHolder() 86 mButton.setChecked(mChecked); in onBindViewHolder() 103 return mButton != null && mChecked; in isChecked() 108 if (mButton != null) { in setChecked() 109 mButton.setChecked(checked); in setChecked() 114 return mButton; in getRadioButton()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSettingsRemoveButtonPreferenceController.java | 86 private Button mButton; field in FaceSettingsRemoveButtonPreferenceController 109 mButton.setEnabled(true); 125 mButton.setEnabled(false); 138 mButton.setEnabled(true); 164 mButton = ((LayoutPreference) preference) in updateState() 166 mButton.setOnClickListener(this); in updateState() 169 mButton.setEnabled(false); in updateState() 171 mButton.setEnabled(!mRemoving); in updateState() 187 if (v == mButton) { in onClick()
|
D | FaceSettingsEnrollButtonPreferenceController.java | 44 private Button mButton; field in FaceSettingsEnrollButtonPreferenceController 61 mButton = ((LayoutPreference) preference) in updateState() 63 mButton.setOnClickListener(this); in updateState()
|
/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/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | FaceSettingsRemoveButtonPreferenceController.java | 84 private Button mButton; field in FaceSettingsRemoveButtonPreferenceController 104 mButton.setEnabled(true); 131 mButton.setEnabled(true); 154 mButton = ((LayoutPreference) preference) in updateState() 156 mButton.setOnClickListener(this); in updateState() 171 if (v == mButton) { in onClick() 172 mButton.setEnabled(false); in onClick()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | EditFdnContactScreen.java | 85 private Button mButton; field in EditFdnContactScreen 277 mButton = (Button) findViewById(R.id.button); in setupView() 278 if (mButton != null) { in setupView() 279 mButton.setOnClickListener(mClicked); in setupView() 299 if (mButton != null && mNameField != null && mNumberField != null) { in setButtonEnabled() 300 mButton.setEnabled(mNameField.length() > 0 && mNumberField.length() > 0); in setButtonEnabled() 392 mButton.setClickable(!mDataBusy); in displayProgress() 446 mButton.requestFocus(); 448 mButton.requestFocus(); 449 } 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/Settings/tests/robotests/src/com/android/settings/dream/ |
D | StartNowPreferenceControllerTest.java | 55 private Button mButton; field in StartNowPreferenceControllerTest 65 when(mLayoutPref.findViewById(R.id.dream_start_now_button)).thenReturn(mButton); in setup() 76 verify(mButton).setOnClickListener(captor.capture()); in setsOnClickListenerForStartNow() 85 verify(mButton).setEnabled(false); in buttonIsDisabledWhenNeverDreaming() 93 verify(mButton).setEnabled(true); in buttonIsEnabledWhenDreamIsAvailable()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | MainClusterActivity.java | 228 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() 377 mButtonToFacet.put(facet.mButton, facet); in registerFacet() 379 facet.mButton.setOnFocusChangeListener(mFacetButtonFocusListener); in registerFacet() 383 Button mButton; field in MainClusterActivity.Facet 388 this.mButton = button; in Facet()
|
/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() 235 if (mButton != null) { in commitLocalRepresentation() 259 mButton.setText(calculateUserMessage(mContext, s, "")); in updateText()
|
/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/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/ |
D | MainActivity.java | 91 private final Button mButton; field in MainActivity.ActivityViewHolder 95 mButton = itemView.requireViewById(R.id.button); in ActivityViewHolder() 104 mButton.setText(element.getText()); in bind() 105 mButton.setOnClickListener(v -> in bind()
|
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/dialogs/ |
D | DialogsActivity.java | 270 private final Button mButton; field in DialogsActivity.ViewHolder 274 mButton = itemView.requireViewById(R.id.button); in ViewHolder() 278 mButton.setText(title); in bind() 279 mButton.setOnClickListener(listener); in bind()
|
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/toolbar/ |
D | ToolbarActivity.java | 377 private final Button mButton; field in ToolbarActivity.ViewHolder 381 mButton = itemView.requireViewById(R.id.button); in ViewHolder() 385 mButton.setText(title); in bind() 386 mButton.setOnClickListener(listener); in bind()
|