/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); 53 public class CheckBox extends CompoundButton { 54 public CheckBox(Context context) { 58 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); 67 mEnableExchangeLoggingView = (CheckBox)findViewById(R.id.exchange_logging); 68 mEnableExchangeFileLoggingView = (CheckBox)findViewById(R.id.exchange_file_logging);
|
/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...] |
/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; 44 private CheckBox mSslRequiredCheckbox; 45 private CheckBox mTrustAllCertificatesCheckbox; 142 // "trust certificates" checkbox (not checked, but visible now). 155 // "trust certificates" checkbox (not checked, but visible now). 174 mSslRequiredCheckbox = (CheckBox) mActivity.findViewById(R.id.account_ssl); 176 (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);
|
AccountSetupOutgoing.java | 36 import android.widget.CheckBox; 63 private CheckBox mRequireLoginView; 95 mRequireLoginView = (CheckBox)findViewById(R.id.account_require_login);
|
/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/tests/BatteryWaster/src/com/android/batterywaster/ |
BatteryWaster.java | 28 import android.widget.CheckBox; 52 findViewById(R.id.checkbox).setOnClickListener(mClickListener); 75 CheckBox checkbox = (CheckBox)v; 76 if (checkbox.isChecked()) {
|
/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/ |
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/apps/IM/src/com/android/im/app/ |
AccountActivity.java | 49 import android.widget.CheckBox; 78 CheckBox mRememberPass; 79 CheckBox mKeepSignIn; 93 mRememberPass = (CheckBox)findViewById(R.id.rememberPassword); 94 mKeepSignIn = (CheckBox)findViewById(R.id.keepSignIn); 162 CheckBox keepSignIn = (CheckBox) v; 171 CheckBox keepSignIn = (CheckBox) v;
|
/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);
|
PhoneDisambigDialog.java | 39 import android.widget.CheckBox; 80 ((CheckBox) setPrimaryView.findViewById(R.id.setPrimary)).
|
/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);
|
/packages/apps/AlarmClock/src/com/android/alarmclock/ |
AlarmClock.java | 41 import android.widget.CheckBox; 110 CheckBox onButton = (CheckBox) view.findViewById(R.id.alarmButton); 114 boolean isChecked = ((CheckBox) v).isChecked();
|