/packages/apps/Settings/src/com/android/settings/ |
D | DreamSettings.java | 140 boolean isEnabled = mBackend.isEnabled(); in onCreateOptionsMenu() 145 isEnabled, new Runnable(){ in onCreateOptionsMenu() 155 isEnabled, in onCreateOptionsMenu() 169 int titleRes, int actionEnum, boolean isEnabled, final Runnable onClick) { in createMenuItem() argument 172 item.setEnabled(isEnabled); in createMenuItem() 239 boolean isEnabled = backend.isEnabled(); 243 return !isEnabled ? R.string.screensaver_settings_summary_off 252 boolean isEnabled = backend.isEnabled(); 253 if (!isEnabled) { 263 boolean dreamsEnabled = mBackend.isEnabled();
|
D | CryptKeeper.java | 495 private final void setBackFunctionality(boolean isEnabled) { in setBackFunctionality() argument 496 mIgnoreBack = !isEnabled; in setBackFunctionality() 497 if (isEnabled) { in setBackFunctionality()
|
/packages/apps/Contacts/tests/src/com/android/contacts/widget/ |
D | CompositeListAdapterTest.java | 61 public boolean isEnabled(int position) { in isEnabled() method in CompositeListAdapterTest.MockAdapter 301 assertFalse(adapter.isEnabled(0)); in testIsEnabled() 302 assertTrue(adapter.isEnabled(1)); in testIsEnabled() 303 assertTrue(adapter.isEnabled(2)); in testIsEnabled() 304 assertTrue(adapter.isEnabled(3)); in testIsEnabled() 305 assertTrue(adapter.isEnabled(4)); in testIsEnabled() 318 assertFalse(adapter.isEnabled(0)); in testIsEnabledWhenAllEnabledAtLeastOneAdapter() 319 assertTrue(adapter.isEnabled(1)); in testIsEnabledWhenAllEnabledAtLeastOneAdapter() 320 assertFalse(adapter.isEnabled(2)); in testIsEnabledWhenAllEnabledAtLeastOneAdapter() 321 assertTrue(adapter.isEnabled(3)); in testIsEnabledWhenAllEnabledAtLeastOneAdapter() [all …]
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 1030 final boolean isEnabled = prefs.getBoolean(Key.virt_enabled.toString(), in openSession() 1043 virtualizerEffect.setEnabled(isEnabled); in openSession() 1050 Log.v(TAG, "Parameters: " + settings.toString() + ";enabled=" + isEnabled); in openSession() 1053 editor.putBoolean(Key.virt_enabled.toString(), isEnabled); in openSession() local 1076 final boolean isEnabled = prefs.getBoolean(Key.bb_enabled.toString(), in openSession() 1089 bassBoostEffect.setEnabled(isEnabled); in openSession() 1096 Log.v(TAG, "Parameters: " + settings.toString() + ";enabled=" + isEnabled); in openSession() 1099 editor.putBoolean(Key.bb_enabled.toString(), isEnabled); in openSession() local 1186 final boolean isEnabled = prefs.getBoolean(Key.eq_enabled.toString(), in openSession() 1188 editor.putBoolean(Key.eq_enabled.toString(), isEnabled); in openSession() local [all …]
|
D | ActivityMusic.java | 565 final boolean isEnabled = ControlPanelEffect.getParameterBoolean(mContext, in updateUI() 567 mToggleSwitch.setChecked(isEnabled); in updateUI() 568 setEnabledAllChildren((ViewGroup) findViewById(R.id.contentSoundEffects), isEnabled); in updateUI() local 585 sw.setChecked(sw.isEnabled() && strength != 0); in updateUI()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | RawContactEditorView.java | 256 getPhotoEditor().setEnabled(isEnabled()); in setState() 257 mName.setEnabled(isEnabled()); in setState() 259 mPhoneticName.setEnabled(isEnabled()); in setState() 271 mGroupMembershipView.setEnabled(isEnabled()); in setState() 302 section.setEnabled(isEnabled()); in setState() 333 section.setEnabled(isEnabled()); in setState() 350 mAddFieldButton.setEnabled(isEnabled()); in setState()
|
D | PhotoEditorView.java | 110 mFrameView.setEnabled(isEnabled()); in setValues() 141 mFrameView.setEnabled(isEnabled()); in setPhotoBitmap() 170 mFrameView.setEnabled(!mReadOnly && isEnabled()); in resetDefault()
|
D | LabeledEditorView.java | 204 mLabel.setEnabled(!mReadOnly && isEnabled()); in setupLabelButton() 217 mDelete.setEnabled(!mReadOnly && isEnabled()); in setupDeleteButton() 363 mLabel.setEnabled(!readOnly && isEnabled()); in setValues()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartSweepView.java | 365 if (isEnabled()) { in getPoint() 416 if (!isEnabled()) return false; in onTouchEvent() 569 return dynamic != null && dynamic.isEnabled() ? dynamic.getValue() : Long.MIN_VALUE; 574 return dynamic != null && dynamic.isEnabled() ? dynamic.getValue() : Long.MAX_VALUE; 631 if (isEnabled() && mLabelLayout != null) { 703 if (isEnabled() && mLabelLayout != null) {
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | PhoneFavoriteMergedAdapter.java | 255 && mAccountFilterHeaderContainer.isEnabled() in areAllItemsEnabled() 260 public boolean isEnabled(int position) { in isEnabled() method in PhoneFavoriteMergedAdapter 264 return mContactTileAdapter.isEnabled(position); in isEnabled() 274 return mContactEntryListAdapter.isEnabled(localPosition); in isEnabled()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | PointerTracker.java | 456 key.isEnabled() ? "" : " disabled")); in callListenerOnPressAndCheckKeyboardLayoutChange() 461 if (key.isEnabled()) { in callListenerOnPressAndCheckKeyboardLayoutChange() 483 altersCode ? " altersCode" : "", key.isEnabled() ? "" : " disabled")); in callListenerOnCodeInput() 493 if (key.isEnabled() || altersCode) { in callListenerOnCodeInput() 516 key.isEnabled() ? "": " disabled")); in callListenerOnRelease() 525 if (key.isEnabled()) { in callListenerOnRelease() 633 final boolean needsToUpdateGraphics = key.isEnabled() || altersCode; in setPressedKeyGraphics()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | HandoverService.java | 163 if (mBluetoothAdapter.isEnabled()) { in doOutgoingTransfer() 185 if (!mBluetoothAdapter.isEnabled() && !enableBluetooth()) { in doIncomingTransfer() 200 if (mBluetoothAdapter.isEnabled()) { in doHeadsetHandover() 242 if (!mBluetoothAdapter.isEnabled()) { in enableBluetooth()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | InputMethodAndSubtypeUtil.java | 315 boolean isEnabled = enabledSubtypes.containsKey(imiId); in loadInputMethodSubtypeList() 316 checkBoxPreference.setChecked(isEnabled); in loadInputMethodSubtypeList() 319 childPref.setEnabled(isEnabled); in loadInputMethodSubtypeList() 322 setSubtypesPreferenceEnabled(context, inputMethodInfos, imiId, isEnabled); in loadInputMethodSubtypeList()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | AccessibilityUtils.java | 89 return ENABLE_ACCESSIBILITY && mAccessibilityManager.isEnabled(); in isAccessibilityEnabled() 152 if (!mAccessibilityManager.isEnabled()) { in announceForAccessibility() 208 if (mAccessibilityManager.isEnabled()) { in requestSendAccessibilityEvent()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiEnabler.java | 97 boolean isEnabled = wifiState == WifiManager.WIFI_STATE_ENABLED; in setSwitch() 99 mSwitch.setChecked(isEnabled); in setSwitch() 100 mSwitch.setEnabled(isEnabled || isDisabled); in setSwitch()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDetailFragment.java | 1076 protected boolean isEnabled = false; field in ContactDetailFragment.ViewEntry 1090 boolean isEnabled(){ in isEnabled() method in ContactDetailFragment.ViewEntry 1091 return isEnabled; in isEnabled() 1170 this.isEnabled = false; in NetworkTitleViewEntry() 1196 this.isEnabled = true; in AddConnectionViewEntry() 1269 isEnabled = true; in DetailViewEntry() 1854 public boolean isEnabled(int position) { in isEnabled() method in ContactDetailFragment.ViewAdapter 1855 return getItem(position).isEnabled(); in isEnabled()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | ZoomControl.java | 129 mThumb.setAlpha(isEnabled() ? 255 : 100); in onDraw() 138 if (isEnabled()) { in onTouchEvent() 145 if (isEnabled()) { in onTouchEvent()
|
D | HorizontalScrollView.java | 740 if (!isEnabled()) { in performAccessibilityAction() 751 if (!isEnabled()) { in performAccessibilityAction() 772 if (isEnabled() && mScrollX > 0) { in onInitializeAccessibilityNodeInfo() 775 if (isEnabled() && mScrollX < scrollRange) { in onInitializeAccessibilityNodeInfo()
|
D | HandleView.java | 129 if (isEnabled()) { in onTouchEvent() 147 if (mMoveStarted && isEnabled()) { in onTouchEvent()
|
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
D | AbsSeekBar.java | 207 progressDrawable.setAlpha(isEnabled() ? NO_ALPHA : (int) (NO_ALPHA * mDisabledAlpha)); 399 if (!mIsUserSeekable || !isEnabled()) { 539 if (isEnabled()) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | AccessibilityUtils.java | 42 if (!am.isEnabled()) return; in makeAnnouncement() 49 event.setEnabled(view.isEnabled()); in makeAnnouncement()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
D | ResearchSettings.java | 51 final boolean isEnabled) { in writeResearchLoggerEnabledFlag() argument 52 prefs.edit().putBoolean(PREF_RESEARCH_LOGGER_ENABLED_FLAG, isEnabled).apply(); in writeResearchLoggerEnabledFlag()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
D | GlowPadView.java | 375 if (accessibilityManager.isEnabled()) { in switchToState() 868 if (target.isEnabled()) { in handleMove() 908 if (accessibilityManager.isEnabled()) { in handleMove() 1106 if (accessibilityManager.isEnabled()) {
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | LocalBluetoothAdapter.java | 121 boolean isEnabled() { in isEnabled() method in LocalBluetoothAdapter 122 return mAdapter.isEnabled(); in isEnabled()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | AbstractIndicatorButton.java | 75 if (!isEnabled()) return false; in onTouchEvent() 102 if (isEnabled() ^ enabled) { in setEnabled()
|