Searched refs:mSecondaryButton (Results 1 – 2 of 2) sorted by relevance
40 private Optional<Button> mSecondaryButton = Optional.empty(); field in CardPreference61 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()
72 private MenuItem mSecondaryButton; field in ChooseLockPatternFragment149 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()