Home
last modified time | relevance | path

Searched refs:Checkable (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DSliceActionView.java31 import android.widget.Checkable;
135 ((Checkable) mActionView).toggle(); in toggle()
169 boolean isChecked = ((Checkable) mActionView).isChecked(); in sendAction()
184 if (mActionView instanceof Checkable) { in sendAction()
185 mActionView.setSelected(!((Checkable) mActionView).isChecked()); in sendAction()
194 private static class ImageToggle extends ImageView implements Checkable, View.OnClickListener {
/frameworks/base/core/java/android/preference/
DCheckBoxPreference.java23 import android.widget.Checkable;
67 if (checkboxView != null && checkboxView instanceof Checkable) { in onBindView()
68 ((Checkable) checkboxView).setChecked(mChecked); in onBindView()
DSwitchPreference.java24 import android.widget.Checkable;
126 if (checkableView != null && checkableView instanceof Checkable) { in onBindView()
132 ((Checkable) checkableView).setChecked(mChecked); in onBindView()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/view/
DCheckableFrameLayout.java22 import android.widget.Checkable;
27 public class CheckableFrameLayout extends FrameLayout implements Checkable {
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DCheckableImageView.java18 import android.widget.Checkable;
24 class CheckableImageView extends ImageView implements Checkable {
DGuidedActionsStylist.java43 import android.widget.Checkable;
943 if (vh.mCheckmarkView instanceof Checkable) { in onAnimateItemChecked()
944 ((Checkable) vh.mCheckmarkView).setChecked(checked); in onAnimateItemChecked()
976 if (vh.mCheckmarkView instanceof Checkable) { in onBindCheckMarkView()
977 ((Checkable) vh.mCheckmarkView).setChecked(action.isChecked()); in onBindCheckMarkView()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DAdapterHelper.java32 import android.widget.Checkable;
105 if (view instanceof Checkable) { in fillView()
106 Checkable cb = (Checkable) view; in fillView()
/frameworks/support/preference/src/main/java/androidx/preference/
DCheckBoxPreference.java26 import android.widget.Checkable;
128 if (view instanceof Checkable) { in syncCheckboxView()
129 ((Checkable) view).setChecked(mChecked); in syncCheckboxView()
DSwitchPreference.java26 import android.widget.Checkable;
234 if (view instanceof Checkable) { in syncSwitchView()
235 ((Checkable) view).setChecked(mChecked); in syncSwitchView()
DSwitchPreferenceCompat.java26 import android.widget.Checkable;
231 if (view instanceof Checkable) { in syncSwitchView()
232 ((Checkable) view).setChecked(mChecked); in syncSwitchView()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DCheckableLinearLayout.java24 import android.widget.Checkable;
32 public class CheckableLinearLayout extends LinearLayout implements Checkable {
/frameworks/base/core/java/android/widget/
DCheckable.java23 public interface Checkable { interface
DSimpleAdapter.java208 if (v instanceof Checkable) { in bindView()
210 ((Checkable) v).setChecked((Boolean) data); in bindView()
DCheckedTextView.java52 public class CheckedTextView extends TextView implements Checkable {
DCompoundButton.java58 public abstract class CompoundButton extends Button implements Checkable {
DGridView.java1507 if (child instanceof Checkable) { in setupChild()
1508 ((Checkable) child).setChecked(mCheckStates.get(position)); in setupChild()
/frameworks/support/leanback-preference/src/main/java/androidx/leanback/preference/
DLeanbackListPreferenceDialogFragment.java24 import android.widget.Checkable;
306 private final Checkable mWidgetView;
313 mWidgetView = (Checkable) view.findViewById(R.id.button); in ViewHolder()
320 public Checkable getWidgetView() { in getWidgetView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerZenModePanel.java26 import android.widget.Checkable;
136 ((Checkable) mHeaderSwitch.findViewById(android.R.id.toggle)).setChecked(zenOn); in updatePanel()
/frameworks/support/leanback-preference/api_legacy/
D27.0.0.txt34 method public android.widget.Checkable getWidgetView();
D26.1.0.txt34 method public android.widget.Checkable getWidgetView();
D26.0.0.txt34 method public android.widget.Checkable getWidgetView();
D28.0.0-alpha1.txt34 method public android.widget.Checkable getWidgetView();
Dcurrent.txt34 method public android.widget.Checkable getWidgetView();
D27.1.0.txt34 method public android.widget.Checkable getWidgetView();
/frameworks/support/leanback-preference/api/
Dcurrent.txt34 method public android.widget.Checkable getWidgetView();

12