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.java56 public class CheckBox extends CompoundButton { class
57 public CheckBox(Context context) { in CheckBox() method in CheckBox
61 public CheckBox(Context context, AttributeSet attrs) { in CheckBox() method in CheckBox
65 public CheckBox(Context context, AttributeSet attrs, int defStyleAttr) { in CheckBox() method in CheckBox
69 public CheckBox(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in CheckBox() method in CheckBox
75 return CheckBox.class.getName(); in getAccessibilityClassName()
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
DSampleTrustAgentSettings.java24 import android.widget.CheckBox;
33 private CheckBox mReportUnlockAttempts;
34 private CheckBox mReportDeviceLocked;
35 private CheckBox mManagingTrust;
54 mReportUnlockAttempts = (CheckBox) findViewById(R.id.report_unlock_attempts); in onCreate()
57 mReportDeviceLocked = (CheckBox) findViewById(R.id.report_device_locked); in onCreate()
60 mManagingTrust = (CheckBox) findViewById(R.id.managing_trust); in onCreate()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransformsAndAnimationsActivity.java30 import android.widget.CheckBox;
49 CheckBox layersNoneCB;
50 CheckBox layersHardwareCB;
51 CheckBox layersSoftwareCB;
72 layersNoneCB = (CheckBox) findViewById(R.id.layersNoneCB); in onCreate()
73 layersHardwareCB = (CheckBox) findViewById(R.id.layersHwCB); in onCreate()
74 layersSoftwareCB = (CheckBox) findViewById(R.id.layersSwCB); in onCreate()
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/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/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java33 import android.widget.CheckBox;
66 mRequiresChargingCheckBox = (CheckBox) findViewById(R.id.checkbox_charging); in onCreate()
67 mRequiresIdleCheckbox = (CheckBox) findViewById(R.id.checkbox_idle); in onCreate()
68 mIsPersistedCheckbox = (CheckBox) findViewById(R.id.checkbox_persisted); in onCreate()
88 CheckBox mRequiresChargingCheckBox;
89 CheckBox mRequiresIdleCheckbox;
90 CheckBox mIsPersistedCheckbox;
/frameworks/base/docs/html/guide/topics/ui/controls/
Dcheckbox.jd14 <li>{@link android.widget.CheckBox}</li>
24 <p>To create each checkbox option, create a {@link android.widget.CheckBox} in your layout. Because
30 <p>When the user selects a checkbox, the {@link android.widget.CheckBox} object receives an
35 <code>&lt;CheckBox&gt;</code> element in your XML
40 <p>For example, here are a couple {@link android.widget.CheckBox} objects in a list:</p>
48 &lt;CheckBox android:id="&#64;+id/checkbox_meat"
53 &lt;CheckBox android:id="&#64;+id/checkbox_cheese"
67 boolean checked = ((CheckBox) view).isChecked();
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeBackupActivity.java25 import android.widget.CheckBox;
56 CheckBox mAddMayoCheckbox;
57 CheckBox mAddTomatoCheckbox;
75 mAddMayoCheckbox = (CheckBox) findViewById(R.id.mayo); in onCreate()
76 mAddTomatoCheckbox = (CheckBox) findViewById(R.id.tomato); 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/services/core/java/com/android/server/am/
DUnsupportedDisplaySizeDialog.java27 import android.widget.CheckBox;
57 final CheckBox alwaysShow = (CheckBox) mDialog.findViewById(R.id.ask_checkbox); in UnsupportedDisplaySizeDialog()
DCompatModeDialog.java27 import android.widget.CheckBox;
36 final CheckBox mAlwaysShow;
64 mAlwaysShow = (CheckBox)findViewById(com.android.internal.R.id.ask_checkbox); in CompatModeDialog()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java30 import android.widget.CheckBox;
65 CheckBox sig = (CheckBox) findViewById(R.id.sig); in onCreate()
66 CheckBox ftr = (CheckBox) findViewById(R.id.ftr); in onCreate()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java31 import android.widget.CheckBox;
43 private CheckBox mConfirmRepeat;
62 mConfirmRepeat = (CheckBox) ap.mView.findViewById(android.R.id.checkbox); in onCreate()
/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;
89 mAlwaysUse = (CheckBox)ap.mView.findViewById(com.android.internal.R.id.alwaysUse); in onCreate()
DUsbPermissionActivity.java38 import android.widget.CheckBox;
47 implements DialogInterface.OnClickListener, CheckBox.OnCheckedChangeListener {
51 private CheckBox mAlwaysUse;
102 mAlwaysUse = (CheckBox)ap.mView.findViewById(com.android.internal.R.id.alwaysUse); in onCreate()
DUsbResolverActivity.java33 import android.widget.CheckBox;
64 CheckBox alwaysUse = (CheckBox)findViewById(com.android.internal.R.id.alwaysUse); in onCreate()
DUsbDebuggingActivity.java35 import android.widget.CheckBox;
45 private CheckBox mAlwaysAllow;
77 mAlwaysAllow = (CheckBox)checkbox.findViewById(com.android.internal.R.id.alwaysUse); in onCreate()
/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;
136 mOptionsCheck = (CheckBox)mContentView.findViewById(R.id.show_options); in onCreateContentView()
139 mDisallowAssist = (CheckBox)mContentView.findViewById(R.id.disallow_structure); in onCreateContentView()
141 mDisallowScreenshot = (CheckBox)mContentView.findViewById(R.id.disallow_screenshot); in onCreateContentView()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatCheckBox.java29 import android.widget.CheckBox;
44 public class AppCompatCheckBox extends CheckBox implements TintableCompoundButton {
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java40 import android.widget.CheckBox;
46 implements DialogInterface.OnClickListener, CheckBox.OnCheckedChangeListener,
148 ((CheckBox) mDialog.findViewById(R.id.remember)).setOnCheckedChangeListener(this); in onCreate()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DOnePlayerActivity.java37 import android.widget.CheckBox;
58 private CheckBox mHasVideo;
77 mHasVideo = (CheckBox) findViewById(R.id.has_video); in onCreate()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DListMenuItemView.java27 import android.widget.CheckBox;
46 private CheckBox mCheckBox;
273 (CheckBox) inflater.inflate(R.layout.abc_list_menu_item_checkbox, in insertCheckBox()
/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java27 import android.widget.CheckBox;
44 private CheckBox mCheckBox;
272 (CheckBox) inflater.inflate(com.android.internal.R.layout.list_menu_item_checkbox, in insertCheckBox()

1234