/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSettingsRemoveButtonPreferenceController.java | 97 private Button mButton; field in FaceSettingsRemoveButtonPreferenceController 121 mButton.setEnabled(true); 137 mButton.setEnabled(false); 150 mButton.setEnabled(true); 177 mButton = ((LayoutPreference) preference) in updateState() 180 if (PartnerStyleHelper.shouldApplyPartnerResource(mButton)) { in updateState() 181 ButtonStyler.applyPartnerCustomizationPrimaryButtonStyle(mContext, mButton); in updateState() 184 mButton.setOnClickListener(this); in updateState() 187 mButton.setEnabled(false); in updateState() 189 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/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/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/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/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/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | NavbarButtonsViewController.java | 987 private final ImageView mButton; field in NavbarButtonsViewController.RotationButtonImpl 991 mButton = button; in RotationButtonImpl() 997 mImageDrawable = (AnimatedVectorDrawable) mButton.getContext() in setRotationButtonController() 999 mButton.setImageDrawable(mImageDrawable); in setRotationButtonController() 1000 mButton.setContentDescription(mButton.getResources() in setRotationButtonController() 1002 mImageDrawable.setCallback(mButton); in setRotationButtonController() 1007 return mButton; in getCurrentView() 1012 mButton.setVisibility(View.VISIBLE); in show() 1020 mButton.setVisibility(View.GONE); in hide() 1028 return mButton.getVisibility() == View.VISIBLE; in isVisible() [all …]
|
/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/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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/qc/ |
D | QCViewerFragment.java | 42 private Button mButton; field in QCViewerFragment 58 mButton = v.findViewById(R.id.submit_uri_btn); in onCreateView() 61 mButton.setOnClickListener(v1 -> { in onCreateView()
|