HomeSort by relevance Sort by last modified time
    Searched refs:CheckBox (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /cts/tests/tests/widget/src/android/widget/cts/
CheckBoxTest.java 27 import android.widget.CheckBox;
34 new CheckBox(mContext, mAttrSet, 0);
35 new CheckBox(mContext, mAttrSet);
36 new CheckBox(mContext);
39 new CheckBox(null, null, -1);
46 new CheckBox(null, null);
53 new CheckBox(null);
  /frameworks/base/core/java/android/widget/
CheckBox.java 27 * A checkbox is a specific type of two-states button that can be either
28 * checked or unchecked. A example usage of a checkbox inside your activity
39 * final CheckBox checkBox = (CheckBox) findViewById(R.id.checkbox_id);
40 * if (checkBox.isChecked()) {
41 * checkBox.setChecked(false);
47 * <p>See the <a href="{@docRoot}guide/topics/ui/controls/checkbox.html">Checkboxes</a>
58 public class CheckBox extends CompoundButton {
59 public CheckBox(Context context)
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
CheckableLinearLayout.java 24 import android.widget.CheckBox;
28 private CheckBox mCheckBox;
48 mCheckBox = (CheckBox) findViewById(R.id.check);
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
LayoutAnimations.java 31 import android.widget.CheckBox;
95 CheckBox customAnimCB = (CheckBox) findViewById(R.id.customAnimCB);
103 CheckBox appearingCB = (CheckBox) findViewById(R.id.appearingCB);
109 CheckBox disappearingCB = (CheckBox) findViewById(R.id.disappearingCB);
115 CheckBox changingAppearingCB = (CheckBox) findViewById(R.id.changingAppearingCB);
121 CheckBox changingDisappearingCB = (CheckBox) findViewById(R.id.changingDisappearingCB)
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
FileItemInfoLayout.java 11 import android.widget.CheckBox;
22 private CheckBox mCheckbox;
50 mCheckbox = (CheckBox) findViewById(R.id.misc_checkbox);
66 public CheckBox getCheckBox() {
  /packages/apps/Email/src/com/android/email/activity/setup/
DebugFragment.java 35 import android.widget.CheckBox;
43 private CheckBox mEnableDebugLoggingView;
44 private CheckBox mEnableExchangeLoggingView;
45 private CheckBox mEnableExchangeFileLoggingView;
46 private CheckBox mInhibitGraphicsAccelerationView;
47 private CheckBox mForceOneMinuteRefreshView;
48 private CheckBox mEnableStrictModeView;
67 mEnableDebugLoggingView = (CheckBox) UiUtilities.getView(view, R.id.debug_logging);
70 mEnableExchangeLoggingView = (CheckBox) UiUtilities.getView(view, R.id.exchange_logging);
72 (CheckBox) UiUtilities.getView(view, R.id.exchange_file_logging)
    [all...]
AccountSetupOptions.java 35 import android.widget.CheckBox;
60 private CheckBox mDefaultView;
61 private CheckBox mNotifyView;
62 private CheckBox mSyncContactsView;
63 private CheckBox mSyncCalendarView;
64 private CheckBox mSyncEmailView;
65 private CheckBox mBackgroundAttachmentsView;
86 mDefaultView = (CheckBox) UiUtilities.getView(this, R.id.account_default);
87 mNotifyView = (CheckBox) UiUtilities.getView(this, R.id.account_notify);
88 mSyncContactsView = (CheckBox) UiUtilities.getView(this, R.id.account_sync_contacts)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentMenu.java 31 import android.widget.CheckBox;
39 CheckBox mCheckBox1;
40 CheckBox mCheckBox2;
70 mCheckBox1 = (CheckBox)findViewById(R.id.menu1);
72 mCheckBox2 = (CheckBox)findViewById(R.id.menu2);
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentMenuSupport.java 33 import android.widget.CheckBox;
41 CheckBox mCheckBox1;
42 CheckBox mCheckBox2;
72 mCheckBox1 = (CheckBox)findViewById(R.id.menu1);
74 mCheckBox2 = (CheckBox)findViewById(R.id.menu2);
  /frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
BatteryWaster.java 29 import android.widget.CheckBox;
55 findViewById(R.id.checkbox).setOnClickListener(mClickListener);
75 if (((CheckBox)findViewById(R.id.checkbox)).isChecked()) {
78 if (((CheckBox)findViewById(R.id.checkbox_wake)).isChecked()) {
95 CheckBox checkbox = (CheckBox)v;
96 if (checkbox.isChecked()) {
106 CheckBox checkbox = (CheckBox)v
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
TransformsAndAnimationsActivity.java 30 import android.widget.CheckBox;
49 CheckBox layersNoneCB;
50 CheckBox layersHardwareCB;
51 CheckBox layersSoftwareCB;
72 layersNoneCB = (CheckBox) findViewById(R.id.layersNoneCB);
73 layersHardwareCB = (CheckBox) findViewById(R.id.layersHwCB);
74 layersSoftwareCB = (CheckBox) findViewById(R.id.layersSwCB);
76 layersNoneCB.setOnCheckedChangeListener(new CheckBox.OnCheckedChangeListener() {
87 layersSoftwareCB.setOnCheckedChangeListener(new CheckBox.OnCheckedChangeListener() {
98 layersHardwareCB.setOnCheckedChangeListener(new CheckBox.OnCheckedChangeListener()
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
OverscanActivity.java 38 import android.widget.CheckBox;
144 CheckBox[] mCheckControls = new CheckBox[6];
171 mCheckControls[0] = (CheckBox) findViewById(R.id.modeLowProfile);
172 mCheckControls[1] = (CheckBox) findViewById(R.id.modeFullscreen);
173 mCheckControls[2] = (CheckBox) findViewById(R.id.modeHideNavigation);
174 mCheckControls[3] = (CheckBox) findViewById(R.id.layoutStable);
175 mCheckControls[4] = (CheckBox) findViewById(R.id.layoutFullscreen);
176 mCheckControls[5] = (CheckBox) findViewById(R.id.layoutHideNavigation);
180 ((CheckBox) findViewById(R.id.windowFullscreen)).setOnCheckedChangeListener
    [all...]
Hover.java 31 import android.widget.CheckBox;
54 * A checkbox is used to control whether a special view, the Interceptor, will intercept
61 private CheckBox mInterceptCheckBox;
71 mInterceptCheckBox = (CheckBox) findViewById(R.id.intercept_checkbox);
  /packages/apps/Settings/src/com/android/settings/
OwnerInfoSettings.java 26 import android.widget.CheckBox;
33 private CheckBox mCheckbox;
49 mCheckbox = (CheckBox) mView.findViewById(R.id.show_owner_info_on_lockscreen_checkbox);
  /packages/apps/Settings/src/com/android/settings/applications/
AppViewHolder.java 9 import android.widget.CheckBox;
21 public CheckBox checkBox;
35 holder.checkBox = (CheckBox) convertView.findViewById(R.id.app_on_sdcard);
  /hardware/ti/wpan/tools/BluetoothSCOApp/src/com/ti/bluetoothSCOapp/
connect.java 39 import android.widget.CheckBox;
141 CheckBox checkBox = (CheckBox) findViewById(R.id.CheckBox01);
143 checkBox.setOnClickListener(new View.OnClickListener() {
145 if (((CheckBox)v).isChecked()) {
147 Log.e(TAG, "BTSCOApp: Checkbox Checked ");
158 Log.e(TAG, "BTSCOApp Checkbox Unchecked ");
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DownloadItem.java 22 import android.widget.CheckBox;
29 * treat them at clicks on the checkbox. This makes rapid selection of many items easier. This class
37 private CheckBox mCheckBox;
68 mCheckBox = (CheckBox) findViewById(R.id.download_checkbox);
136 public CheckBox getCheckBox() {
  /packages/experimental/StrictModeTest/src/com/android/strictmodetest/
StrictModeActivity.java 54 import android.widget.CheckBox;
361 final CheckBox checkNoWrite = (CheckBox) findViewById(R.id.policy_no_write);
362 final CheckBox checkNoRead = (CheckBox) findViewById(R.id.policy_no_reads);
363 final CheckBox checkNoNetwork = (CheckBox) findViewById(R.id.policy_no_network);
364 final CheckBox checkCustom = (CheckBox) findViewById(R.id.policy_custom);
365 final CheckBox checkPenaltyLog = (CheckBox) findViewById(R.id.policy_penalty_log)
    [all...]
  /development/samples/BackupRestore/src/com/example/android/backuprestore/
BackupRestoreActivity.java 25 import android.widget.CheckBox;
112 CheckBox mAddMayoCheckbox;
113 CheckBox mAddTomatoCheckbox;
131 mAddMayoCheckbox = (CheckBox) findViewById(R.id.mayo);
132 mAddTomatoCheckbox = (CheckBox) findViewById(R.id.tomato);
199 // As with the checkbox listeners, rewrite the
211 Log.v(TAG, "Checkbox toggled: " + buttonView);
  /frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
HugeBackupActivity.java 25 import android.widget.CheckBox;
56 CheckBox mAddMayoCheckbox;
57 CheckBox mAddTomatoCheckbox;
75 mAddMayoCheckbox = (CheckBox) findViewById(R.id.mayo);
76 mAddTomatoCheckbox = (CheckBox) findViewById(R.id.tomato);
142 // As with the checkbox listeners, rewrite the
154 Log.v(TAG, "Checkbox toggled: " + buttonView);
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSetupExchangeTests.java 25 import android.widget.CheckBox;
48 private CheckBox mSslRequiredCheckbox;
49 private CheckBox mTrustAllCertificatesCheckbox;
179 // "trust certificates" checkbox (not checked, but visible now).
194 // "trust certificates" checkbox (not checked, but visible now).
222 mSslRequiredCheckbox = (CheckBox) mActivity.findViewById(R.id.account_ssl);
224 (CheckBox) mActivity.findViewById(R.id.account_trust_certificates);
  /packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
VideoChatTestActivity.java 20 import android.widget.CheckBox;
158 ((CheckBox) findViewById(R.id.frontcameracheckbox)).isChecked();
159 boolean testBackCamera = ((CheckBox) findViewById(R.id.backcameracheckbox)).isChecked();
160 boolean testQVGA = ((CheckBox) findViewById(R.id.qvgacheckbox)).isChecked();
161 boolean testVGA = ((CheckBox) findViewById(R.id.vgacheckbox)).isChecked();
162 boolean test15fps = ((CheckBox) findViewById(R.id.fps15checkbox)).isChecked();
163 boolean test30fps = ((CheckBox) findViewById(R.id.fps30checkbox)).isChecked();
164 boolean testRotate0 = ((CheckBox) findViewById(R.id.rotate0checkbox)).isChecked();
165 boolean testRotate90 = ((CheckBox) findViewById(R.id.rotate90checkbox)).isChecked();
166 boolean testRotate180 = ((CheckBox) findViewById(R.id.rotate180checkbox)).isChecked()
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
TaskListView.java 28 import android.widget.CheckBox;
93 CheckBox checkbox = (CheckBox) convertView.findViewById(R.id.tasklist_finished); local
94 checkbox.setChecked(mCheckboxes[position]);
  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactManager.java 28 import android.widget.CheckBox;
42 private CheckBox mShowInvisibleControl;
57 mShowInvisibleControl = (CheckBox) findViewById(R.id.showInvisible);
  /frameworks/base/services/java/com/android/server/am/
CompatModeDialog.java 27 import android.widget.CheckBox;
36 final CheckBox mAlwaysShow;
64 mAlwaysShow = (CheckBox)findViewById(com.android.internal.R.id.ask_checkbox);

Completed in 1644 milliseconds

1 2 3 4