Searched refs:buttonResId (Results 1 – 4 of 4) sorted by relevance
54 public void removeButton(@IdRes int buttonResId) { in removeButton() argument55 int index = getContextButtonIndex(buttonResId); in removeButton()61 public ContextualButton getContextButton(@IdRes int buttonResId) { in getContextButton() argument62 int index = getContextButtonIndex(buttonResId); in getContextButton()87 public int setButtonVisibility(@IdRes int buttonResId, boolean visible) { in setButtonVisibility() argument88 final int index = getContextButtonIndex(buttonResId); in setButtonVisibility()90 throw new RuntimeException("Cannot find the button id of " + buttonResId in setButtonVisibility()118 public boolean isButtonVisibleWithinGroup(@IdRes int buttonResId) { in isButtonVisibleWithinGroup() argument119 final int index = getContextButtonIndex(buttonResId); in isButtonVisibleWithinGroup()151 private int getContextButtonIndex(@IdRes int buttonResId) { in getContextButtonIndex() argument[all …]
36 public RotationContextButton(@IdRes int buttonResId, Context lightContext, in RotationContextButton() argument38 super(buttonResId, lightContext, iconResId); in RotationContextButton()
43 public ContextualButton(@IdRes int buttonResId, Context lightContext, in ContextualButton() argument45 super(buttonResId); in ContextualButton()
489 private int getButtonColor(int buttonResId) { in getButtonColor() argument490 Button mButton = mRootView.findViewById(buttonResId); in getButtonColor()