Searched refs:toggleButton (Results 1 – 3 of 3) sorted by relevance
64 final DrawableStateToggleButton toggleButton = getOptionalToggleButton(frameLayout); in bindViewHolder() local65 toggleButton.setOnClickListener(null); in bindViewHolder()67 toggleButton.setOnCheckedChangeListener(null); in bindViewHolder()68 toggleButton.setButtonDrawable(mDrawable); in bindViewHolder()69 toggleButton.setChecked(mIsChecked); in bindViewHolder()70 toggleButton.setEnabled(isEnabled()); in bindViewHolder()71 toggleButton.setAllowClickWhenDisabled(true); in bindViewHolder()72 toggleButton.setContentDescription(mContentDescription); in bindViewHolder()73 toggleButton.setOnCheckedChangeListener((view, isChecked) -> { in bindViewHolder()75 toggleButton.setChecked(mIsChecked); in bindViewHolder()[all …]
364 DrawableStateToggleButton toggleButton = tmpToggleButton; // must be effectively final in initToggleView() local368 toggleButton.setText(null); in initToggleView()369 toggleButton.setTextOn(null); in initToggleView()370 toggleButton.setTextOff(null); in initToggleView()371 toggleButton.setOnCheckedChangeListener(null); in initToggleView()373 toggleButton.setContentDescription(action.getContentDescription()); in initToggleView()374 toggleButton.setButtonDrawable(icon); in initToggleView()375 toggleButton.setChecked(action.isChecked()); in initToggleView()376 toggleButton.setEnabled(shouldEnableView); in initToggleView()377 setToggleButtonDrawableState(toggleButton, action.isEnabled(), action.isAvailable()); in initToggleView()[all …]
226 MultiToggleImageButton toggleButton = (MultiToggleImageButton) button; in setupToggleButtonParams() local227 toggleButton.setParentSize(size); in setupToggleButtonParams()228 toggleButton.setAnimDirection(mIsPortrait ? in setupToggleButtonParams()