HomeSort by relevance Sort by last modified time
    Searched defs:compoundButton (Results 1 - 7 of 7) sorted by null

  /cts/tests/tests/widget/src/android/widget/cts/
CompoundButtonTest.java 43 import android.widget.CompoundButton;
44 import android.widget.CompoundButton.OnCheckedChangeListener;
47 * Test {@link CompoundButton}.
89 CompoundButton compoundButton = new MockCompoundButton(mContext);
91 compoundButton.setOnCheckedChangeListener(listener);
92 assertFalse(compoundButton.isChecked());
95 compoundButton.setChecked(true);
96 assertTrue(compoundButton.isChecked());
98 assertSame(compoundButton, listener.getInputCompoundButton())
    [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
ListMenuItemView.java 28 import android.widget.CompoundButton;
144 final CompoundButton compoundButton;
145 final CompoundButton otherCompoundButton;
151 compoundButton = mRadioButton;
157 compoundButton = mCheckBox;
162 compoundButton.setChecked(mItemData.isChecked());
165 if (compoundButton.getVisibility() != newVisibility) {
166 compoundButton.setVisibility(newVisibility);
180 CompoundButton compoundButton
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
ListMenuItemView.java 28 import android.widget.CompoundButton;
141 final CompoundButton compoundButton;
142 final CompoundButton otherCompoundButton;
148 compoundButton = mRadioButton;
154 compoundButton = mCheckBox;
159 compoundButton.setChecked(mItemData.isChecked());
162 if (compoundButton.getVisibility() != newVisibility) {
163 compoundButton.setVisibility(newVisibility);
181 CompoundButton compoundButton
    [all...]
  /developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
AppRestrictionEnforcerFragment.java 40 import android.widget.CompoundButton;
59 CompoundButton.OnCheckedChangeListener, AdapterView.OnItemSelectedListener,
162 public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
163 switch (compoundButton.getId()) {
170 addApproval(getActivity(), (String) compoundButton.getTag());
172 removeApproval(getActivity(), (String) compoundButton.getTag());
  /developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
AppRestrictionEnforcerFragment.java 40 import android.widget.CompoundButton;
59 CompoundButton.OnCheckedChangeListener, AdapterView.OnItemSelectedListener,
162 public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
163 switch (compoundButton.getId()) {
170 addApproval(getActivity(), (String) compoundButton.getTag());
172 removeApproval(getActivity(), (String) compoundButton.getTag());
  /development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
AppRestrictionEnforcerFragment.java 40 import android.widget.CompoundButton;
59 CompoundButton.OnCheckedChangeListener, AdapterView.OnItemSelectedListener,
162 public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
163 switch (compoundButton.getId()) {
170 addApproval(getActivity(), (String) compoundButton.getTag());
172 removeApproval(getActivity(), (String) compoundButton.getTag());
  /prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar 

Completed in 1039 milliseconds