Home
last modified time | relevance | path

Searched refs:CheckBox (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/base/core/java/android/widget/
DCheckBox.java55 public class CheckBox extends CompoundButton { class
56 public CheckBox(Context context) { in CheckBox() method in CheckBox
60 public CheckBox(Context context, AttributeSet attrs) { in CheckBox() method in CheckBox
64 public CheckBox(Context context, AttributeSet attrs, int defStyleAttr) { in CheckBox() method in CheckBox
68 public CheckBox(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in CheckBox() method in CheckBox
74 return CheckBox.class.getName(); in getAccessibilityClassName()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
DActionBarFragmentMenu.java25 import android.widget.CheckBox;
41 CheckBox mCheckBox1;
42 CheckBox mCheckBox2;
43 CheckBox mCheckBox3;
44 CheckBox mHasOptionsMenu;
45 CheckBox mMenuVisibility;
76 mCheckBox1 = (CheckBox)findViewById(R.id.menu1); in onCreate()
78 mCheckBox2 = (CheckBox)findViewById(R.id.menu2); in onCreate()
80 mCheckBox3 = (CheckBox)findViewById(R.id.menu3); in onCreate()
82 mHasOptionsMenu = (CheckBox)findViewById(R.id.has_options_menu); in onCreate()
[all …]
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java29 import android.widget.CheckBox;
75 if (((CheckBox)findViewById(R.id.checkbox)).isChecked()) { in onResume()
78 if (((CheckBox)findViewById(R.id.checkbox_wake)).isChecked()) { in onResume()
95 CheckBox checkbox = (CheckBox)v;
106 CheckBox checkbox = (CheckBox)v;
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/
DCarAlertDialogDemo.java22 import android.widget.CheckBox;
40 CheckBox hasTitleView = findViewById(R.id.has_title); in onCreate()
41 CheckBox hasBodyText = findViewById(R.id.has_body_text); in onCreate()
42 CheckBox hasSingleLineBody = findViewById(R.id.has_single_line_body); in onCreate()
43 CheckBox hasAction1 = findViewById(R.id.has_action_1); in onCreate()
44 CheckBox hasAction2 = findViewById(R.id.has_action_2); in onCreate()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentMenuFragmentSupport.java24 import android.widget.CheckBox;
38 CheckBox mCheckBox1;
39 CheckBox mCheckBox2;
70 mCheckBox1 = (CheckBox)v.findViewById(R.id.menu1); in onCreateView()
72 mCheckBox2 = (CheckBox)v.findViewById(R.id.menu2); in onCreateView()
DFragmentMenuSupport.java25 import android.widget.CheckBox;
40 CheckBox mCheckBox1;
41 CheckBox mCheckBox2;
72 mCheckBox1 = (CheckBox)findViewById(R.id.menu1); in onCreate()
74 mCheckBox2 = (CheckBox)findViewById(R.id.menu2); in onCreate()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/util/
DConfigViewHolder.java20 import android.widget.CheckBox;
28 private CheckBox mCheckBox;
34 mCheckBox = (CheckBox) itemView; in ConfigViewHolder()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransformsAndAnimationsActivity.java30 import android.widget.CheckBox;
49 CheckBox layersNoneCB;
50 CheckBox layersHardwareCB;
51 CheckBox layersSoftwareCB;
76 layersNoneCB.setOnCheckedChangeListener(new CheckBox.OnCheckedChangeListener() { in onCreate()
87 layersSoftwareCB.setOnCheckedChangeListener(new CheckBox.OnCheckedChangeListener() { in onCreate()
98 layersHardwareCB.setOnCheckedChangeListener(new CheckBox.OnCheckedChangeListener() { in onCreate()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DAnimatedStateVectorDrawableTest.java22 import android.widget.CheckBox;
52 CheckBox button = new CheckBox(this); in onCreate()
DVectorCheckbox.java22 import android.widget.CheckBox;
60 CheckBox checkBox = new CheckBox(this); in onCreate()
DVectorDrawable01.java24 import android.widget.CheckBox;
63 CheckBox toggle = new CheckBox(this); in onCreate()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java32 import android.widget.CheckBox;
44 private CheckBox mConfirmRepeat;
63 mConfirmRepeat = (CheckBox) ap.mView.findViewById(android.R.id.checkbox); in onCreate()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
DBenchmarkGroup.java22 import android.widget.CheckBox;
35 public static class Benchmark implements CheckBox.OnClickListener {
71 setEnabled(((CheckBox)view).isChecked()); in onClick()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DBenchmarkListAdapter.java24 import android.widget.CheckBox;
110 CheckBox enabledBox = (CheckBox) convertView.findViewById(R.id.benchmark_enable_checkbox); in getChildView()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModeDialog.java27 import android.widget.CheckBox;
36 final CheckBox mAlwaysShow;
64 mAlwaysShow = (CheckBox)findViewById(com.android.internal.R.id.ask_checkbox); in CompatModeDialog()
DUnsupportedDisplaySizeDialog.java27 import android.widget.CheckBox;
57 final CheckBox alwaysShow = mDialog.findViewById(R.id.ask_checkbox); in UnsupportedDisplaySizeDialog()
DUnsupportedCompileSdkDialog.java26 import android.widget.CheckBox;
66 final CheckBox alwaysShow = mDialog.findViewById(R.id.ask_checkbox); in UnsupportedCompileSdkDialog()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java33 import android.widget.CheckBox;
90 CheckBox mRequiresChargingCheckBox;
91 CheckBox mRequiresIdleCheckbox;
92 CheckBox mIsPersistedCheckbox;
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DVoiceInteractionMain.java25 import android.widget.CheckBox;
61 if (((CheckBox)v).isChecked()) {
DMainInteractionSession.java32 import android.widget.CheckBox;
49 CheckBox mOptionsCheck;
51 CheckBox mDisallowAssist;
52 CheckBox mDisallowScreenshot;
138 mOptionsCheck = (CheckBox)mContentView.findViewById(R.id.show_options); in onCreateContentView()
141 mDisallowAssist = (CheckBox)mContentView.findViewById(R.id.disallow_structure); in onCreateContentView()
143 mDisallowScreenshot = (CheckBox)mContentView.findViewById(R.id.disallow_screenshot); in onCreateContentView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbConfirmActivity.java37 import android.widget.CheckBox;
46 implements DialogInterface.OnClickListener, CheckBox.OnCheckedChangeListener {
50 private CheckBox mAlwaysUse;
90 mAlwaysUse = (CheckBox)ap.mView.findViewById(com.android.internal.R.id.alwaysUse); in onCreate()
DUsbDebuggingActivity.java39 import android.widget.CheckBox;
50 private CheckBox mAlwaysAllow;
86 mAlwaysAllow = (CheckBox)checkbox.findViewById(com.android.internal.R.id.alwaysUse); in onCreate()
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeBackupActivity.java25 import android.widget.CheckBox;
56 CheckBox mAddMayoCheckbox;
57 CheckBox mAddTomatoCheckbox;
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
DListPopupWindowActivity.java26 import android.widget.CheckBox;
41 private CheckBox mIsModal;
62 mIsModal = (CheckBox) mContainer.findViewById(R.id.is_modal); in onCreate()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/
DSortedListActivity.java24 import android.widget.CheckBox;
146 final CheckBox mCheckBox;
150 mCheckBox = (CheckBox) itemView;

1234