/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseErrorDialog.java | 62 private void setEnabled(boolean enabled) { in setEnabled() method in BaseErrorDialog 65 b.setEnabled(enabled); in setEnabled() 69 b.setEnabled(enabled); in setEnabled() 73 b.setEnabled(enabled); in setEnabled() 81 setEnabled(true); 83 setEnabled(false);
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfActivity.java | 199 mStopButton.setEnabled(false); in onCreate() 397 mStartButton.setEnabled(false); in startRunning() 398 mStopButton.setEnabled(true); in startRunning() 399 mLocalCheckBox.setEnabled(false); in startRunning() 400 mTestTime.setEnabled(false); in startRunning() 401 mFgSpinner.setEnabled(false); in startRunning() 402 mBgSpinner.setEnabled(false); in startRunning() 403 mLimitSpinner.setEnabled(false); in startRunning() 419 mStartButton.setEnabled(true); in stopRunning() 420 mStopButton.setEnabled(false); in stopRunning() [all …]
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VirtualizerTest.java | 93 mStrength.setEnabled(mVirtualizer.getStrengthSupported()); in onCreate() 119 mStrength.setEnabled(mVirtualizer.getStrengthSupported()); 135 mVirtualizer.setEnabled(isChecked); in onCheckedChanged() 145 mStrength.setEnabled(mVirtualizer.getStrengthSupported()); in onCheckedChanged() 150 mStrength.setEnabled(false); in onCheckedChanged() 239 mReleaseButton.setEnabled(false); in getEffect() 240 mOnOffButton.setEnabled(false); in getEffect() 251 mReleaseButton.setEnabled(true); in getEffect() 254 mOnOffButton.setEnabled(true); in getEffect() 260 mOnOffButton.setEnabled(false); in putEffect()
|
D | BassBoostTest.java | 95 mStrength.setEnabled(mBassBoost.getStrengthSupported()); in onCreate() 122 mStrength.setEnabled(mBassBoost.getStrengthSupported()); 138 mBassBoost.setEnabled(isChecked); in onCheckedChanged() 148 mStrength.setEnabled(mBassBoost.getStrengthSupported()); in onCheckedChanged() 153 mStrength.setEnabled(false); in onCheckedChanged() 242 mReleaseButton.setEnabled(false); in getEffect() 243 mOnOffButton.setEnabled(false); in getEffect() 254 mReleaseButton.setEnabled(true); in getEffect() 257 mOnOffButton.setEnabled(true); in getEffect() 264 mOnOffButton.setEnabled(false); in putEffect()
|
D | VisualizerTest.java | 138 mCallbackButton.setEnabled(!mEnabled); in onCheckedChanged() 142 mVisualizer.setEnabled(mEnabled); in onCheckedChanged() 190 mReleaseButton.setEnabled(false); in getEffect() 191 mOnOffButton.setEnabled(false); in getEffect() 194 mReleaseButton.setEnabled(true); in getEffect() 198 mOnOffButton.setEnabled(true); in getEffect() 200 mCallbackButton.setEnabled(!mEnabled); in getEffect() 207 mOnOffButton.setEnabled(false); in putEffect()
|
D | PresetReverbTest.java | 124 mParameters[i].setEnabled(true); 143 mPresetReverb.setEnabled(isChecked); in onCheckedChanged() 154 mParameters[i].setEnabled(true); in onCheckedChanged() 162 mParameters[i].setEnabled(false); in onCheckedChanged() 266 mReleaseButton.setEnabled(false); in getEffect() 267 mOnOffButton.setEnabled(false); in getEffect() 278 mReleaseButton.setEnabled(true); in getEffect() 281 mOnOffButton.setEnabled(true); in getEffect() 287 mOnOffButton.setEnabled(false); in putEffect()
|
D | EnvReverbTest.java | 188 mReverb.setEnabled(isChecked); in onCheckedChanged() 201 mParameters[i].setEnabled(true); in onCheckedChanged() 207 mParameters[i].setEnabled(false); in onCheckedChanged() 533 mReleaseButton.setEnabled(false); in getEffect() 534 mOnOffButton.setEnabled(false); in getEffect() 535 mAttachButton.setEnabled(false); in getEffect() 541 mReleaseButton.setEnabled(true); in getEffect() 543 mOnOffButton.setEnabled(true); in getEffect() 545 mAttachButton.setEnabled(true); in getEffect() 555 mOnOffButton.setEnabled(false); in putEffect() [all …]
|
D | EqualizerTest.java | 180 mParameters[i].setEnabled(true); 198 mEqualizer.setEnabled(isChecked); in onCheckedChanged() 209 mParameters[i].setEnabled(true); in onCheckedChanged() 216 mParameters[i].setEnabled(false); in onCheckedChanged() 374 mReleaseButton.setEnabled(false); in getEffect() 375 mOnOffButton.setEnabled(false); in getEffect() 387 mReleaseButton.setEnabled(true); in getEffect() 390 mOnOffButton.setEnabled(true); in getEffect() 396 mOnOffButton.setEnabled(false); in putEffect()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UserDetailItemView.java | 100 mAvatar.setEnabled(enabled); in setAvatarEnabled() 105 mName.setEnabled(!disabled); in setDisabledByAdmin() 106 mAvatar.setEnabled(!disabled); in setDisabledByAdmin() 109 public void setEnabled(boolean enabled) { in setEnabled() method in UserDetailItemView 110 mName.setEnabled(enabled); in setEnabled() 111 mAvatar.setEnabled(enabled); in setEnabled()
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | Writer.h | 76 virtual bool setEnabled(bool enabled); // but won't enable if no shared memory 77 bool enable() { return setEnabled(true); } in enable() 78 bool disable() { return setEnabled(false); } in disable() 127 bool setEnabled(bool enabled) override;
|
/frameworks/av/media/libcpustats/include/cpustats/ |
D | ThreadCpuUsage.h | 63 bool enable() { return setEnabled(true); } in enable() 68 bool disable() { return setEnabled(false); } in disable() 72 bool setEnabled(bool isEnabled);
|
/frameworks/base/core/java/android/widget/ |
D | MediaController.java | 344 mPauseButton.setEnabled(false); in disableUnsupportedButtons() 347 mRewButton.setEnabled(false); in disableUnsupportedButtons() 350 mFfwdButton.setEnabled(false); in disableUnsupportedButtons() 360 mProgress.setEnabled(false); in disableUnsupportedButtons() 638 public void setEnabled(boolean enabled) { in setEnabled() method in MediaController 640 mPauseButton.setEnabled(enabled); in setEnabled() 643 mFfwdButton.setEnabled(enabled); in setEnabled() 646 mRewButton.setEnabled(enabled); in setEnabled() 649 mNextButton.setEnabled(enabled && mNextListener != null); in setEnabled() 652 mPrevButton.setEnabled(enabled && mPrevListener != null); in setEnabled() [all …]
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
D | BackupRestoreConfirmation.java | 229 mAllowButton.setEnabled(false); in setViews() 230 mDenyButton.setEnabled(false); in setViews() 238 mAllowButton.setEnabled(false); in setViews() 239 mDenyButton.setEnabled(false); in setViews() 247 mAllowButton.setEnabled(!mDidAcknowledge); in setViews() 248 mDenyButton.setEnabled(!mDidAcknowledge); in setViews() 270 mAllowButton.setEnabled(false); in monitorEncryptionPassword() 280 mAllowButton.setEnabled(mEncPassword.getText().length() > 0); in monitorEncryptionPassword()
|
/frameworks/base/core/java/com/android/internal/globalactions/ |
D | ToggleAction.java | 103 messageView.setEnabled(enabled); in create() 110 icon.setEnabled(enabled); in create() 116 statusView.setEnabled(enabled); in create() 118 v.setEnabled(enabled); in create()
|
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | LoadtestActivity.java | 541 mBurstText.setEnabled(!mPlacebo && !mStarted); in updateControlsEnabled() 542 mReplicationText.setEnabled(!mPlacebo && !mStarted); in updateControlsEnabled() 543 mPeriodText.setEnabled(!mStarted); in updateControlsEnabled() 544 mBucketSpinner.setEnabled(!mPlacebo && !mStarted); in updateControlsEnabled() 545 mDurationText.setEnabled(!mStarted); in updateControlsEnabled() 546 mPlaceboCheckBox.setEnabled(!mStarted); in updateControlsEnabled() 549 mCountMetricCheckBox.setEnabled(enabled); in updateControlsEnabled() 550 mDurationMetricCheckBox.setEnabled(enabled); in updateControlsEnabled() 551 mEventMetricCheckBox.setEnabled(enabled); in updateControlsEnabled() 552 mValueMetricCheckBox.setEnabled(enabled); in updateControlsEnabled() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/ |
D | DeveloperOptionsPreferenceController.java | 78 mPreference.setEnabled(true); in onDeveloperOptionsSwitchEnabled() 85 mPreference.setEnabled(false); in onDeveloperOptionsSwitchDisabled()
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/ |
D | ItemViewHolder.java | 43 public void setEnabled(boolean isEnabled) { in setEnabled() method in ItemViewHolder 46 itemView.setEnabled(isEnabled); in setEnabled()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | Disabled.java | 37 disabledButton.setEnabled(false); in onCreate() 46 disabledButtonB.setEnabled(!disabledButtonB.isEnabled()); in onClick()
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceSettings.java | 78 setEnabled(mCdsi.isDisplayWhiteBalanceEnabled()); in DisplayWhiteBalanceSettings() 151 private void setEnabled(boolean enabled) { in setEnabled() method in DisplayWhiteBalanceSettings 187 setEnabled(mCdsi.isDisplayWhiteBalanceEnabled()); in handleMessage()
|
D | DisplayWhiteBalanceController.java | 240 public boolean setEnabled(boolean enabled) { in setEnabled() method in DisplayWhiteBalanceController 486 mBrightnessSensor.setEnabled(true); in enable() 487 mColorTemperatureSensor.setEnabled(true); in enable() 499 mBrightnessSensor.setEnabled(false); in disable() 501 mColorTemperatureSensor.setEnabled(false); in disable()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnContextTest.java | 102 mApnContext.setEnabled(true); in testState() 195 mApnContext.setEnabled(true); in testEnableDisable() 197 mApnContext.setEnabled(false); in testEnableDisable() 242 mApnContext.setEnabled(true); in testIsReady() 245 mApnContext.setEnabled(false); in testIsReady()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | DatePicker.java | 193 setEnabled(false); in DatePicker() 198 public void setEnabled(boolean enabled) { in setEnabled() method in DatePicker 199 super.setEnabled(enabled); in setEnabled() 200 mDayPicker.setEnabled(enabled); in setEnabled() 201 mMonthPicker.setEnabled(enabled); in setEnabled() 202 mYearPicker.setEnabled(enabled); in setEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayManager.java | 155 setEnabled(categoryToPackage.get(category), category, userHandles, true); in applyCurrentUserOverlays() 157 setEnabled(overlaysToDisable.get(category), category, userHandles, false); in applyCurrentUserOverlays() 162 private void setEnabled( in setEnabled() method in ThemeOverlayManager 179 mOverlayManager.setEnabled(pkg, false, userHandle); in setEnabledAsync()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPinBasedInputView.java | 69 mPasswordEntry.setEnabled(enabled); in setPasswordEntryEnabled() 70 mOkButton.setEnabled(enabled); in setPasswordEntryEnabled() 78 mPasswordEntry.setEnabled(enabled); in setPasswordEntryInputEnabled() 79 mOkButton.setEnabled(enabled); in setPasswordEntryInputEnabled()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
D | DeveloperOptionsPreferenceControllerTest.java | 57 verify(mPreference).setEnabled(true); in onDeveloperOptionsEnabled_shouldEnablePreference() 64 verify(mPreference).setEnabled(false); in onDeveloperOptionsDisabled_shouldDisablePreference()
|