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

1 2

  /frameworks/base/core/java/android/widget/
CheckBox.java 25 * A checkbox is a specific type of two-states button that can be either
26 * checked or unchecked. A example usage of a checkbox inside your activity
37 * final CheckBox checkBox = (CheckBox) findViewById(R.id.checkbox_id);
38 * if (checkBox.isChecked()) {
39 * checkBox.setChecked(false);
56 public class CheckBox extends CompoundButton {
57 public CheckBox(Context context) {
61 public CheckBox(Context context, AttributeSet attrs)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
CheckBoxTest.java 32 import android.widget.CheckBox;
34 @TestTargetClass(CheckBox.class)
39 method = "CheckBox",
44 method = "CheckBox",
49 method = "CheckBox",
54 "CheckBox's constructors when the input AttributeSet or Context is null")
59 new CheckBox(mContext, mAttrSet, 0);
60 new CheckBox(mContext, mAttrSet);
61 new CheckBox(mContext);
64 new CheckBox(null, null, -1)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
Debug.java 31 import android.widget.CheckBox;
38 private CheckBox mEnableDebugLoggingView;
39 private CheckBox mEnableSensitiveLoggingView;
40 private CheckBox mEnableExchangeLoggingView;
41 private CheckBox mEnableExchangeFileLoggingView;
54 mEnableDebugLoggingView = (CheckBox)findViewById(R.id.debug_logging);
55 mEnableSensitiveLoggingView = (CheckBox)findViewById(R.id.sensitive_logging);
64 mEnableExchangeLoggingView = (CheckBox)findViewById(R.id.exchange_logging);
65 mEnableExchangeFileLoggingView = (CheckBox)findViewById(R.id.exchange_file_logging);
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DownloadItem.java 22 import android.widget.CheckBox;
27 * treat them at clicks on the checkbox. This makes rapid selection of many items easier. This class
35 private CheckBox mCheckBox;
68 mCheckBox = (CheckBox) findViewById(R.id.download_checkbox);
DownloadAdapter.java 33 import android.widget.CheckBox;
115 CheckBox checkBox = (CheckBox) convertView.findViewById(R.id.download_checkbox);
116 checkBox.setChecked(mDownloadSelectionListener.isDownloadSelected(downloadId));
  /development/apps/Development/src/com/android/development/
DevelopmentSettings.java 38 import android.widget.CheckBox;
53 private CheckBox mWaitForDebuggerCB;
54 private CheckBox mAlwaysFinishCB;
56 private CheckBox mShowLoadCB;
57 private CheckBox mShowCpuCB;
58 private CheckBox mEnableGLCB;
59 private CheckBox mShowUpdatesCB;
60 private CheckBox mShowBackgroundCB;
61 private CheckBox mShowSleepCB;
62 private CheckBox mShowXmppCB
    [all...]
  /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...]
  /development/samples/BackupRestore/src/com/example/android/backuprestore/
BackupRestoreActivity.java 23 import android.widget.CheckBox;
110 CheckBox mAddMayoCheckbox;
111 CheckBox mAddTomatoCheckbox;
129 mAddMayoCheckbox = (CheckBox) findViewById(R.id.mayo);
130 mAddTomatoCheckbox = (CheckBox) findViewById(R.id.tomato);
197 // As with the checkbox listeners, rewrite the
209 Log.v(TAG, "Checkbox toggled: " + buttonView);
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSetupExchangeTests.java 31 import android.widget.CheckBox;
48 private CheckBox mSslRequiredCheckbox;
49 private CheckBox mTrustAllCertificatesCheckbox;
146 // "trust certificates" checkbox (not checked, but visible now).
159 // "trust certificates" checkbox (not checked, but visible now).
216 mSslRequiredCheckbox = (CheckBox) mActivity.findViewById(R.id.account_ssl);
218 (CheckBox) mActivity.findViewById(R.id.account_trust_certificates);
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupOptions.java 41 import android.widget.CheckBox;
54 private CheckBox mDefaultView;
55 private CheckBox mNotifyView;
56 private CheckBox mSyncContactsView;
57 private CheckBox mSyncCalendarView;
82 mDefaultView = (CheckBox)findViewById(R.id.account_default);
83 mNotifyView = (CheckBox)findViewById(R.id.account_notify);
84 mSyncContactsView = (CheckBox) findViewById(R.id.account_sync_contacts);
85 mSyncCalendarView = (CheckBox) findViewById(R.id.account_sync_calendar);
AccountSetupExchange.java 41 import android.widget.CheckBox;
101 private CheckBox mSslSecurityView;
102 private CheckBox mTrustCertificatesView;
150 mSslSecurityView = (CheckBox) findViewById(R.id.account_ssl);
152 mTrustCertificatesView = (CheckBox) findViewById(R.id.account_trust_certificates);
  /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);
  /packages/apps/Browser/src/com/android/browser/
GeolocationPermissionsPrompt.java 29 import android.widget.CheckBox;
39 private CheckBox mRemember;
56 mRemember = (CheckBox) findViewById(R.id.remember);
80 // The checkbox should always be intially checked.
  /packages/apps/Settings/src/com/android/settings/
MasterClear.java 28 import android.widget.CheckBox;
48 private CheckBox mExternalStorage;
155 (CheckBox) mInitialView.findViewById(R.id.erase_external);
BrightnessPreference.java 29 import android.widget.CheckBox;
36 SeekBar.OnSeekBarChangeListener, CheckBox.OnCheckedChangeListener {
39 private CheckBox mCheckBox;
75 mCheckBox = (CheckBox)view.findViewById(R.id.automatic_mode);
RingerVolumePreference.java 28 import android.widget.CheckBox;
38 CheckBox.OnCheckedChangeListener {
41 private CheckBox mNotificationsUseRingVolumeCheckbox;
80 (CheckBox) view.findViewById(R.id.same_notification_volume);
DeviceAdminSettings.java 43 import android.widget.CheckBox;
120 CheckBox checkbox; field in class:DeviceAdminSettings.ViewHolder
171 h.checkbox = (CheckBox)v.findViewById(R.id.checkbox);
182 vh.checkbox.setChecked(mActiveAdmins.contains(item.getComponent()));
  /packages/experimental/StrictModeTest/src/com/android/strictmodetest/
StrictModeActivity.java 54 import android.widget.CheckBox;
316 final CheckBox checkNoWrite = (CheckBox) findViewById(R.id.policy_no_write);
317 final CheckBox checkNoRead = (CheckBox) findViewById(R.id.policy_no_reads);
318 final CheckBox checkNoNetwork = (CheckBox) findViewById(R.id.policy_no_network);
319 final CheckBox checkPenaltyLog = (CheckBox) findViewById(R.id.policy_penalty_log);
320 final CheckBox checkPenaltyDialog = (CheckBox) findViewById(R.id.policy_penalty_dialog)
    [all...]
  /packages/apps/Settings/src/com/android/settings/vpn/
AuthenticationActor.java 35 import android.widget.CheckBox;
85 CheckBox saveUsername = (CheckBox) d.findViewById(R.id.save_username);
105 CheckBox saveUsername = (CheckBox) v.findViewById(R.id.save_username);
  /development/samples/ApiDemos/src/com/example/android/apis/os/
SmsMessagingDemo.java 37 import android.widget.CheckBox;
67 // state of the checkbox.
68 CheckBox enableCheckBox = (CheckBox) findViewById(R.id.sms_enable_receiver);
  /external/webkit/WebKit/chromium/public/
WebInputElement.h 62 CheckBox,
  /frameworks/base/core/java/com/android/internal/view/menu/
ListMenuItemView.java 25 import android.widget.CheckBox;
41 private CheckBox mCheckBox;
124 // Depending on whether its exclusive check or not, the checkbox or
229 (CheckBox) inflater.inflate(com.android.internal.R.layout.list_menu_item_checkbox,
  /packages/apps/Contacts/src/com/android/contacts/
ContactOptionsActivity.java 30 import android.widget.CheckBox;
53 private CheckBox mSendToVoicemailCheckbox;
78 mSendToVoicemailCheckbox = (CheckBox)sendToVoicemailLayout.findViewById(R.id.checkbox);
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiApDialog.java 36 import android.widget.CheckBox;
135 ((CheckBox) mView.findViewById(R.id.show_password)).setOnClickListener(this);
155 InputType.TYPE_CLASS_TEXT | (((CheckBox) view).isChecked() ?
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapActivity.java 48 import android.widget.CheckBox;
92 private CheckBox mAlwaysAllowed;
184 mAlwaysAllowed = (CheckBox)mView.findViewById(R.id.alwaysallowed);

Completed in 1204 milliseconds

1 2