Home
last modified time | relevance | path

Searched refs:setEnabled (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/base/services/java/com/android/server/am/
DBaseErrorDialog.java42 setEnabled(false); in onStart()
55 private void setEnabled(boolean enabled) { in setEnabled() method in BaseErrorDialog
58 b.setEnabled(enabled); in setEnabled()
62 b.setEnabled(enabled); in setEnabled()
66 b.setEnabled(enabled); in setEnabled()
74 setEnabled(true);
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
DProfileActivity.java101 mCaptureButton.setEnabled(false); in onItemSelected()
102 mVelocitySpinner.setEnabled(true); in onItemSelected()
106 mCaptureButton.setEnabled(true); in onItemSelected()
107 mVelocitySpinner.setEnabled(false); in onItemSelected()
173 mInspectButton.setEnabled(true); in setTestingState()
174 mMovementSpinner.setEnabled(true); in setTestingState()
177 mInspectButton.setEnabled(false); in setTestingState()
178 mMovementSpinner.setEnabled(false); in setTestingState()
182 mInspectButton.setEnabled(false); in setTestingState()
183 mMovementSpinner.setEnabled(false); in setTestingState()
[all …]
/frameworks/base/include/cpustats/
DThreadCpuUsage.h58 bool enable() { return setEnabled(true); } in enable()
63 bool disable() { return setEnabled(false); } in disable()
67 bool setEnabled(bool isEnabled);
/frameworks/base/core/java/android/widget/
DMediaController.java306 mPauseButton.setEnabled(false); in disableUnsupportedButtons()
309 mRewButton.setEnabled(false); in disableUnsupportedButtons()
312 mFfwdButton.setEnabled(false); in disableUnsupportedButtons()
572 public void setEnabled(boolean enabled) { in setEnabled() method in MediaController
574 mPauseButton.setEnabled(enabled); in setEnabled()
577 mFfwdButton.setEnabled(enabled); in setEnabled()
580 mRewButton.setEnabled(enabled); in setEnabled()
583 mNextButton.setEnabled(enabled && mNextListener != null); in setEnabled()
586 mPrevButton.setEnabled(enabled && mPrevListener != null); in setEnabled()
589 mProgress.setEnabled(enabled); in setEnabled()
[all …]
DTimePicker.java246 setEnabled(false); in TimePicker()
254 public void setEnabled(boolean enabled) { in setEnabled() method in TimePicker
258 super.setEnabled(enabled); in setEnabled()
259 mMinuteSpinner.setEnabled(enabled); in setEnabled()
261 mDivider.setEnabled(enabled); in setEnabled()
263 mHourSpinner.setEnabled(enabled); in setEnabled()
265 mAmPmSpinner.setEnabled(enabled); in setEnabled()
267 mAmPmButton.setEnabled(enabled); in setEnabled()
DZoomButton.java82 public void setEnabled(boolean enabled) { in setEnabled() method in ZoomButton
91 super.setEnabled(enabled); in setEnabled()
DZoomControls.java98 mZoomIn.setEnabled(isEnabled); in setIsZoomInEnabled()
102 mZoomOut.setEnabled(isEnabled); in setIsZoomOutEnabled()
DDatePicker.java360 public void setEnabled(boolean enabled) { in setEnabled() method in DatePicker
364 super.setEnabled(enabled); in setEnabled()
365 mDaySpinner.setEnabled(enabled); in setEnabled()
366 mMonthSpinner.setEnabled(enabled); in setEnabled()
367 mYearSpinner.setEnabled(enabled); in setEnabled()
368 mCalendarView.setEnabled(enabled); in setEnabled()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java91 setEnabled(itemData.isEnabled()); in initialize()
95 public void setEnabled(boolean enabled) { in setEnabled() method in ActionMenuItemView
96 super.setEnabled(enabled); in setEnabled()
97 mImageButton.setEnabled(enabled); in setEnabled()
98 mTextButton.setEnabled(enabled); in setEnabled()
DMenuView.java76 public void setEnabled(boolean enabled); in setEnabled() method
/frameworks/base/core/java/android/preference/
DPreferenceGroup.java207 preference.setEnabled(false); in onPrepareAddPreference()
286 public void setEnabled(boolean enabled) { in setEnabled() method in PreferenceGroup
287 super.setEnabled(enabled); in setEnabled()
292 getPreference(i).setEnabled(enabled); in setEnabled()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java211 mAllowButton.setEnabled(false); in onCreate()
212 mDenyButton.setEnabled(false); in onCreate()
220 mAllowButton.setEnabled(false); in onCreate()
221 mDenyButton.setEnabled(false); in onCreate()
228 mAllowButton.setEnabled(!mDidAcknowledge); in onCreate()
229 mDenyButton.setEnabled(!mDidAcknowledge); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DDisabled.java38 disabledButton.setEnabled(false); in onCreate()
47 disabledButtonB.setEnabled(!disabledButtonB.isEnabled()); in onClick()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DEnergyProbe.java66 mVisualizer.setEnabled(true); in capture()
89 mVisualizer.setEnabled(false); in capture()
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java72 ((AbstractInputMethodSessionImpl)session).setEnabled(enabled); in setSessionEnabled()
115 public void setEnabled(boolean enabled) { in setEnabled() method in AbstractInputMethodService.AbstractInputMethodSessionImpl
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
DLargeAssetTest.java54 mValidateButton.setEnabled(false);
101 mValidateButton.setEnabled(true); in onPostExecute()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPasswordUnlockScreen.java307 mPasswordEntry.setEnabled(false); in handleAttemptLockout()
308 mKeyboardView.setEnabled(false); in handleAttemptLockout()
323 mPasswordEntry.setEnabled(true); in handleAttemptLockout()
324 mKeyboardView.setEnabled(true); in handleAttemptLockout()
DPatternUnlockScreen.java273 mLockPatternView.setEnabled(true); in onResume()
386 mLockPatternView.setEnabled(false); in handleAttemptLockout()
401 mLockPatternView.setEnabled(true); in handleAttemptLockout()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaPresetReverbTest.java215 vc.setEnabled(true); in test2_0AuxiliarySoundModification()
223 mReverb.setEnabled(true); in test2_0AuxiliarySoundModification()
283 vc.setEnabled(true); in test2_1InsertSoundModification()
298 rvb.setEnabled(true); in test2_1InsertSoundModification()
DMediaEnvReverbTest.java370 vc.setEnabled(true); in test2_0AuxiliarySoundModification()
380 mReverb.setEnabled(true); in test2_0AuxiliarySoundModification()
440 vc.setEnabled(true); in test2_1InsertSoundModification()
457 rvb.setEnabled(true); in test2_1InsertSoundModification()
DMediaVisualizerTest.java216 vc.setEnabled(true); in test2_0PollingCapture()
222 mVisualizer.setEnabled(true); in test2_0PollingCapture()
292 vc.setEnabled(true); in test2_1ListenerCapture()
309 mVisualizer.setEnabled(true); in test2_1ListenerCapture()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java40 public void setEnabled(Object record, boolean isEnabled); in setEnabled() method
204 public void setEnabled(Object record, boolean isEnabled) { in setEnabled() method in AccessibilityRecordCompat.AccessibilityRecordStubImpl
388 public void setEnabled(Object record, boolean isEnabled) { in setEnabled() method in AccessibilityRecordCompat.AccessibilityRecordIcsImpl
389 AccessibilityRecordCompatIcs.setEnabled(record, isEnabled); in setEnabled()
566 public void setEnabled(boolean isEnabled) { in setEnabled() method in AccessibilityRecordCompat
567 IMPL.setEnabled(mRecord, isEnabled); in setEnabled()
DAccessibilityNodeInfoCompat.java66 public void setEnabled(Object info, boolean enabled); in setEnabled() method
223 public void setEnabled(Object info, boolean enabled) { in setEnabled() method in AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl
449 public void setEnabled(Object info, boolean enabled) { in setEnabled() method in AccessibilityNodeInfoCompat.AccessibilityNodeInfoIcsImpl
450 AccessibilityNodeInfoCompatIcs.setEnabled(info, enabled); in setEnabled()
982 public void setEnabled(boolean enabled) { in setEnabled() method in AccessibilityNodeInfoCompat
983 IMPL.setEnabled(mInfo, enabled); in setEnabled()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java82 mButton.setEnabled(false); in onResume()
100 mButton.setEnabled(checked); in onCheckedChanged()
/frameworks/base/core/java/android/view/
DHardwareRenderer.java341 void setEnabled(boolean enabled) { in setEnabled() method in HardwareRenderer
476 setEnabled(true); in initialize()
669 setEnabled(false); in destroy()
674 setEnabled(false); in destroy()
697 setEnabled(false); in invalidate()
705 setEnabled(true); in invalidate()

1234