Searched refs:toggleButton (Results 1 – 3 of 3) sorted by relevance
59 final DrawableStateToggleButton toggleButton = getOptionalToggleButton(frameLayout); in bindViewHolder() local60 toggleButton.setOnClickListener(null); in bindViewHolder()62 toggleButton.setOnCheckedChangeListener(null); in bindViewHolder()63 toggleButton.setButtonDrawable(mDrawable); in bindViewHolder()64 toggleButton.setChecked(mIsChecked); in bindViewHolder()65 toggleButton.setEnabled(isEnabled()); in bindViewHolder()66 toggleButton.setAllowClickWhenDisabled(true); in bindViewHolder()67 toggleButton.setOnCheckedChangeListener((view, isChecked) -> { in bindViewHolder()69 toggleButton.setChecked(mIsChecked); in bindViewHolder()74 DrawableStateToggleButton toggleButton = in getOptionalToggleButton() local[all …]
339 DrawableStateToggleButton toggleButton = tmpToggleButton; // must be effectively final in initToggleView() local342 toggleButton.setText(null); in initToggleView()343 toggleButton.setTextOn(null); in initToggleView()344 toggleButton.setTextOff(null); in initToggleView()345 toggleButton.setOnCheckedChangeListener(null); in initToggleView()348 toggleButton.setButtonDrawable(icon); in initToggleView()349 toggleButton.setChecked(action.isChecked()); in initToggleView()350 toggleButton.setEnabled(shouldEnableView); in initToggleView()351 setToggleButtonDrawableState(toggleButton, action.isEnabled(), action.isAvailable()); in initToggleView()352 toggleButton.setOnTouchListener((v, event) -> { in initToggleView()[all …]
226 MultiToggleImageButton toggleButton = (MultiToggleImageButton) button; in setupToggleButtonParams() local227 toggleButton.setParentSize(size); in setupToggleButtonParams()228 toggleButton.setAnimDirection(mIsPortrait ? in setupToggleButtonParams()