/packages/services/Telephony/src/com/android/phone/ |
D | CellBroadcastSms.java | 183 if(mButtonBcSms.isChecked()) { in onPreferenceTreeClick() 202 mButtonEmergencyBroadcast.isChecked(), 1); in onPreferenceTreeClick() 204 mButtonEmergencyBroadcast.isChecked(), 1); in onPreferenceTreeClick() 207 mButtonAdministrative.isChecked(), 2); in onPreferenceTreeClick() 208 CellBroadcastSmsConfig.setCbSmsBSelectedValue(mButtonAdministrative.isChecked(), 2); in onPreferenceTreeClick() 211 mButtonMaintenance.isChecked(), 3); in onPreferenceTreeClick() 212 CellBroadcastSmsConfig.setCbSmsBSelectedValue(mButtonMaintenance.isChecked(), 3); in onPreferenceTreeClick() 215 mButtonLocalWeather.isChecked(), 20); in onPreferenceTreeClick() 216 CellBroadcastSmsConfig.setCbSmsBSelectedValue(mButtonLocalWeather.isChecked(), 20); in onPreferenceTreeClick() 218 CellBroadcastSmsConfig.setConfigDataCompleteBSelected(mButtonAtr.isChecked(), 21); in onPreferenceTreeClick() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | DevelopmentSettings.java | 506 if (cb.isChecked()) { in resetDangerousOptions() 603 adapter.configHciSnoopLog(mBtHciSnoopLog.isChecked()); in writeBtHciSnoopLogOptions() 606 mBtHciSnoopLog.isChecked() ? 1 : 0); in writeBtHciSnoopLogOptions() 612 mDebugApp, mWaitForDebugger.isChecked(), true); in writeDebuggerOptions() 657 Settings.Global.PACKAGE_VERIFIER_INCLUDE_ADB, mVerifyAppsOverUsb.isChecked() ? 1 : 0); in writeVerifyAppsOverUsbOptions() 719 mWindowManager.setStrictModeVisualIndicatorPreference(mStrictMode.isChecked() in writeStrictModeVisualOptions() 731 Settings.System.POINTER_LOCATION, mPointerLocation.isChecked() ? 1 : 0); in writePointerLocationOptions() 741 Settings.System.SHOW_TOUCHES, mShowTouches.isChecked() ? 1 : 0); in writeShowTouchesOptions() 781 final int showUpdates = mShowScreenUpdates.isChecked() ? 1 : 0; in writeShowUpdatesOption() 798 final int disableOverlays = mDisableOverlays.isChecked() ? 1 : 0; in writeDisableOverlaysOption() [all …]
|
D | ApnPreference.java | 65 boolean isChecked = getKey().equals(mSelectedKey); in getView() 66 if (isChecked) { in getView() 72 rb.setChecked(isChecked); in getView() 87 public boolean isChecked() { in isChecked() method in ApnPreference 95 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument 96 Log.i(TAG, "ID: " + getKey() + " :" + isChecked); in onCheckedChanged() 101 if (isChecked) { in onCheckedChanged()
|
D | SoundSettings.java | 284 mVibrateWhenRinging.isChecked() ? 1 : 0); in onPreferenceTreeClick() 287 mDtmfTone.isChecked() ? 1 : 0); in onPreferenceTreeClick() 290 if (mSoundEffects.isChecked()) { in onPreferenceTreeClick() 296 mSoundEffects.isChecked() ? 1 : 0); in onPreferenceTreeClick() 300 mHapticFeedback.isChecked() ? 1 : 0); in onPreferenceTreeClick() 304 mLockSounds.isChecked() ? 1 : 0); in onPreferenceTreeClick() 335 mDockSounds.isChecked() ? 1 : 0); in onPreferenceTreeClick() 338 mDockAudioMediaEnabled.isChecked() ? 1 : 0); in onPreferenceTreeClick()
|
D | HomeSettings.java | 77 if (!pref.isChecked) { 107 int requestCode = REQUESTING_UNINSTALL + (pref.isChecked ? 1 : 0); in uninstallApp() 211 boolean isChecked; field in HomeSettings.HomeAppPreference 268 radio.setChecked(isChecked); in onBindView() 287 if (state != isChecked) { in setChecked() 288 isChecked = state; in setChecked()
|
D | DateTimeSettingsSetupWizard.java | 189 mAutoDateTimeButton.isChecked() ? 1 : 0); in onClick() 190 if (!mAutoDateTimeButton.isChecked()) { in onClick() 207 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument 208 final boolean autoEnabled = isChecked; // just for readibility. in onCheckedChanged() 225 isChecked ? 1 : 0); in onCheckedChanged()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | DebugFragment.java | 99 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument 102 mPreferences.setEnableDebugLogging(isChecked); in onCheckedChanged() 103 MailActivityEmail.DEBUG = isChecked; in onCheckedChanged() 104 MailActivityEmail.DEBUG_EXCHANGE = isChecked; in onCheckedChanged() 107 mPreferences.setEnableExchangeLogging(isChecked); in onCheckedChanged() 108 MailActivityEmail.DEBUG_VERBOSE = isChecked; in onCheckedChanged() 111 mPreferences.setEnableExchangeFileLogging(isChecked); in onCheckedChanged() 112 MailActivityEmail.DEBUG_FILE = isChecked; in onCheckedChanged() 115 MailActivityEmail.sDebugInhibitGraphicsAcceleration = isChecked; in onCheckedChanged() 116 mPreferences.setInhibitGraphicsAcceleration(isChecked); in onCheckedChanged() [all …]
|
D | AccountSetupOptions.java | 218 if (mServiceInfo.offerAttachmentPreload && mBackgroundAttachmentsView.isChecked()) { in onDone() 241 final boolean email = mSyncEmailView.isChecked(); in onDone() 242 final boolean calendar = mServiceInfo.syncCalendar && mSyncCalendarView.isChecked(); in onDone() 243 final boolean contacts = mServiceInfo.syncContacts && mSyncContactsView.isChecked(); in onDone() 258 accountPreferences.setDefaultInboxNotificationsEnabled(mNotifyView.isChecked()); in onDone()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TtsEnginePreference.java | 92 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { 93 onRadioButtonClicked(buttonView, isChecked); 122 boolean isChecked = getKey().equals(mSharedState.getCurrentKey()); in getView() 123 if (isChecked) { in getView() 128 rb.setChecked(isChecked); in getView() 137 onRadioButtonClicked(rb, !rb.isChecked()); in getView() 144 mSettingsIcon.setEnabled(isChecked && mVoiceCheckData != null); in getView() 145 if (!isChecked) { in getView() 169 mSettingsIcon.setEnabled(mRadioButton.isChecked()); in getView() 181 if (mRadioButton.isChecked()) { in setVoiceDataDetails() [all …]
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
D | VideoChatTestActivity.java | 158 ((CheckBox) findViewById(R.id.frontcameracheckbox)).isChecked(); in doInBackground() 159 boolean testBackCamera = ((CheckBox) findViewById(R.id.backcameracheckbox)).isChecked(); in doInBackground() 160 boolean testQVGA = ((CheckBox) findViewById(R.id.qvgacheckbox)).isChecked(); in doInBackground() 161 boolean testVGA = ((CheckBox) findViewById(R.id.vgacheckbox)).isChecked(); in doInBackground() 162 boolean test15fps = ((CheckBox) findViewById(R.id.fps15checkbox)).isChecked(); in doInBackground() 163 boolean test30fps = ((CheckBox) findViewById(R.id.fps30checkbox)).isChecked(); in doInBackground() 164 boolean testRotate0 = ((CheckBox) findViewById(R.id.rotate0checkbox)).isChecked(); in doInBackground() 165 boolean testRotate90 = ((CheckBox) findViewById(R.id.rotate90checkbox)).isChecked(); in doInBackground() 166 boolean testRotate180 = ((CheckBox) findViewById(R.id.rotate180checkbox)).isChecked(); in doInBackground() 167 boolean testRotate270 = ((CheckBox) findViewById(R.id.rotate270checkbox)).isChecked(); in doInBackground() [all …]
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothEnabler.java | 108 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument 110 if (isChecked && in onCheckedChanged() 118 mLocalAdapter.setBluetoothEnabled(isChecked); in onCheckedChanged() 145 private void setChecked(boolean isChecked) { in setChecked() argument 146 if (isChecked != mSwitch.isChecked()) { in setChecked() 152 mSwitch.setChecked(isChecked); in setChecked()
|
D | DockService.java | 563 public void onClick(DialogInterface dialog, int which, boolean isChecked) { 565 Log.d(TAG, "Item " + which + " changed to " + isChecked); 567 mCheckedItems[which] = isChecked; 575 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { 577 Log.d(TAG, "onCheckedChanged: Remember Settings = " + isChecked); 581 DockService.this, mDevice.getAddress(), isChecked); 584 Settings.Global.DOCK_AUDIO_MEDIA_ENABLED, isChecked ? 1 : 0); 624 mAudioMediaCheckbox.isChecked() ? 1 : 0);
|
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
D | StrictModeActivity.java | 375 if (checkNoWrite.isChecked()) newPolicy.detectDiskWrites(); in onCreate() 376 if (checkNoRead.isChecked()) newPolicy.detectDiskReads(); in onCreate() 377 if (checkNoNetwork.isChecked()) newPolicy.detectNetwork(); in onCreate() 378 if (checkCustom.isChecked()) newPolicy.detectCustomSlowCalls(); in onCreate() 379 if (checkPenaltyLog.isChecked()) newPolicy.penaltyLog(); in onCreate() 380 if (checkPenaltyDialog.isChecked()) newPolicy.penaltyDialog(); in onCreate() 381 if (checkPenaltyDeath.isChecked()) newPolicy.penaltyDeath(); in onCreate() 382 if (checkPenaltyDropBox.isChecked()) newPolicy.penaltyDropBox(); in onCreate() 383 if (checkPenaltyFlash.isChecked()) newPolicy.penaltyFlashScreen(); in onCreate() 384 if (checkPenaltyNetworkDeath.isChecked()) newPolicy.penaltyDeathOnNetwork(); in onCreate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | MtpFullscreenView.java | 59 public boolean isChecked() { in isChecked() method in MtpFullscreenView 60 return mCheckbox.isChecked(); in isChecked() 100 public void onCheckedChanged(CompoundButton arg0, boolean isChecked) { in onCheckedChanged() argument 101 if (mBroker != null) mBroker.setItemChecked(mPosition, isChecked); in onCheckedChanged() 105 public void onCheckedChanged(int position, boolean isChecked) { in onCheckedChanged() argument 107 setChecked(isChecked); in onCheckedChanged()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | AppRestrictionsFragment.java | 252 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onBindView() 338 if ((Intent.ACTION_PACKAGE_ADDED.equals(action) && pref.isChecked()) in onPackageChanged() 339 || (Intent.ACTION_PACKAGE_REMOVED.equals(action) && !pref.isChecked())) { in onPackageChanged() 730 mSelectedPackages.put(packageName, p.isChecked()); in populateApps() 784 pref.setChecked(!pref.isChecked()); in onClick() 786 mSelectedPackages.put(packageName, pref.isChecked()); in onClick() 787 if (pref.isChecked() && pref.hasSettings in onClick() 795 applyUserAppState(packageName, pref.isChecked()); in onClick() 797 updateAllEntries(pref.getKey(), pref.isChecked()); in onClick() 997 && preference.isChecked()) { in onRestrictionsReceived() [all …]
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | DownloadItem.java | 128 public boolean isChecked() { in isChecked() method in DownloadItem 129 return mCheckBox.isChecked(); in isChecked() 135 mDownloadList.onDownloadSelectionChanged(mDownloadId, mCheckBox.isChecked(), in setChecked() 137 mDownloadList.getCurrentView().setItemChecked(mPosition, mCheckBox.isChecked()); in setChecked() 142 setChecked(!isChecked()); in toggle()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
D | FeedbackFragment.java | 81 if (mIncludingUserRecordingCheckBox.isChecked()) { in onClick() 100 final boolean isIncludingAccountName = mIncludingAccountNameCheckBox.isChecked(); in onClick() 102 isIncludingAccountName, mIncludingUserRecordingCheckBox.isChecked()); in onClick() 122 bundle.putBoolean(KEY_INCLUDE_ACCOUNT_NAME, mIncludingAccountNameCheckBox.isChecked()); in onSaveInstanceState() 123 bundle.putBoolean(KEY_HAS_USER_RECORDING, mIncludingUserRecordingCheckBox.isChecked()); in onSaveInstanceState()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiEnabler.java | 103 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument 109 if (isChecked && !WirelessSettings.isRadioAllowed(mContext, Settings.Global.RADIO_WIFI)) { in onCheckedChanged() 118 if (isChecked && ((wifiApState == WifiManager.WIFI_AP_STATE_ENABLING) || in onCheckedChanged() 124 if (!mWifiManager.setWifiEnabled(isChecked)) { in onCheckedChanged() 155 if (checked != mSwitch.isChecked()) { in setSwitchChecked()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventView.java | 680 mModel.mAllDay = mAllDayCheckBox.isChecked(); in fillModelFromUI() 1105 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in setModel() 1106 setAllDayViewsVisibility(isChecked); in setModel() 1110 boolean prevAllDay = mAllDayCheckBox.isChecked(); in setModel() 1124 if (prevAllDay == mAllDayCheckBox.isChecked()) { in setModel() 1152 mAllDayCheckBox.setChecked(!mAllDayCheckBox.isChecked()); in setModel() 1459 setAllDayViewsVisibility(mAllDayCheckBox.isChecked()); in setViewStates() 1641 protected void setAllDayViewsVisibility(boolean isChecked) { in setAllDayViewsVisibility() argument 1642 if (isChecked) { in setAllDayViewsVisibility() 1644 if (mAllDay != isChecked) { in setAllDayViewsVisibility() [all …]
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | AlbumDataAdapter.java | 176 final boolean isChecked = !checkBox.isChecked(); in onClick() 177 checkBox.setChecked(isChecked); in onClick() 178 mSettings.setAlbumEnabled(data.id, isChecked); in onClick() 181 (isChecked ? "" : "not") + " enabled"); in onClick()
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
D | SpeechRecorderActivity.java | 125 String[] utterances = mCall.isChecked() ? mCallUtterances : in setupRecording() 126 mDialNanp.isChecked() ? mDialNanpUtterances : in setupRecording() 127 mDialPairs.isChecked() ? mDialPairsUtterances : in setupRecording() 153 mSampleRate = m8KHz.isChecked()? 8000 : in setupRecording() 154 m11KHz.isChecked() ? 11025 : in setupRecording()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | Switch.java | 134 setChecked(isChecked()); in Switch() 184 CharSequence text = isChecked() ? mOnLayout.getText() : mOffLayout.getText(); in onPopulateAccessibilityEvent() 310 animateThumbToCheckedState(isChecked()); in stopDrag() 337 setThumbPosition(isChecked()); in onLayout() 439 if (isChecked()) { in onCreateDrawableState() 481 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfo()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | Switch.java | 141 setChecked(isChecked()); in Switch() 193 CharSequence text = isChecked() ? mOnLayout.getText() : mOffLayout.getText(); in onPopulateAccessibilityEvent() 319 animateThumbToCheckedState(isChecked()); in stopDrag() 346 setThumbPosition(isChecked()); in onLayout() 448 if (isChecked()) { in onCreateDrawableState() 493 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfo()
|
/packages/apps/Browser/src/com/android/browser/ |
D | HistoryItem.java | 56 item.setIsBookmark(mStar.isChecked()); in copyTo() 64 return mStar.isChecked(); in isBookmark() 79 boolean isChecked) { in onCheckedChanged() argument 80 if (isChecked) { in onCheckedChanged()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ActivityMusic.java | 291 final boolean isChecked) { in onCreate() 295 mAudioSession, ControlPanelEffect.Key.global_enabled, isChecked); in onCreate() 298 setEnabledAllChildren(viewGroup, isChecked); in onCreate() 359 final boolean isChecked) { in onCreate() 361 mAudioSession, ControlPanelEffect.Key.virt_enabled, isChecked); in onCreate() 610 if (mToggleSwitch.isChecked()) { in updateUIHeadset()
|