Home
last modified time | relevance | path

Searched refs:mSecondaryButton (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DCardPreference.java40 private Optional<Button> mSecondaryButton = Optional.empty(); field in CardPreference
61 mSecondaryButton = Optional.ofNullable((Button) holder.findViewById(android.R.id.button2)); in initButtonsAndLayout()
93 mSecondaryButton.ifPresent(button -> button.setOnClickListener(l)); in setSecondaryButtonClickListener()
113 mSecondaryButton.ifPresent(button -> button.setText(text)); in setSecondaryButtonText()
135 mSecondaryButton.ifPresent( in setSecondaryButtonVisible()
156 mSecondaryButton.ifPresent(button -> button.setContentDescription(text)); in setSecondaryButtonContentDescription()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DChooseLockPatternFragment.java72 private MenuItem mSecondaryButton; field in ChooseLockPatternFragment
149 return Arrays.asList(mSecondaryButton, mPrimaryButton); in getToolbarMenuItems()
186 mSecondaryButton = new MenuItem.Builder(getContext()) in onCreate()
333 mSecondaryButton.setVisible(visible); in setSecondaryButtonVisible()
337 mSecondaryButton.setEnabled(enabled); in setSecondaryButtonEnabled()
341 mSecondaryButton.setTitle(textId); in setSecondaryButtonText()