Home
last modified time | relevance | path

Searched refs:mEnabled (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/TV/common/src/com/android/tv/common/feature/
DSharedPreferencesFeature.java30 private boolean mEnabled; field in SharedPreferencesFeature
57 mEnabled = mSharedPreferences.getBoolean(mKey, mDefaultValue); in isEnabled()
59 if (DEBUG) Log.d(TAG, mKey + " is " + mEnabled); in isEnabled()
60 return mEnabled; in isEnabled()
65 return "SharedPreferencesFeature:key=" + mKey + ",value=" + mEnabled; in toString()
74 mEnabled = enable; in setEnabled()
76 } else if (mEnabled != enable) { in setEnabled()
77 mEnabled = enable; in setEnabled()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DItem.java26 private boolean mEnabled = true; field in Item
30 if (mEnabled != enabled) { in setEnabled()
31 mEnabled = enabled; in setEnabled()
48 return mEnabled; in isEnabled()
73 setEnabledInternal(mItemView, mEnabled); in onUpdate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DTouchPositionCorrection.java25 private boolean mEnabled; field in TouchPositionCorrection
57 mEnabled = dataLength > 0; in load()
63 mEnabled = false; in load()
72 mEnabled = enabled; in setEnabled()
76 return mEnabled; in isValid()
DUniqueKeysCache.java50 private boolean mEnabled; field in UniqueKeysCache.UniqueKeysCacheImpl
58 mEnabled = enabled; in setEnabled()
68 if (!mEnabled) { in getUniqueKey()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DAction.java58 private boolean mEnabled; field in Action
75 private boolean mEnabled = true; field in Action.Builder
90 mEnabled); in build()
149 mEnabled = enabled; in enabled()
168 mEnabled = enabled; in Action()
253 return mEnabled; in isEnabled()
261 mEnabled = enabled; in setEnabled()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java45 private boolean mEnabled; field in PieItem
60 mEnabled = true; in PieItem()
107 mEnabled = enabled; in setEnabled()
109 if (mEnabled) { in setEnabled()
118 return mEnabled; in isEnabled()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleOptionsItemData.java57 private boolean mEnabled; field in PeopleOptionsItemData
77 mEnabled = true; in bind()
102 mEnabled = notificationEnabled; in bind()
108 mEnabled = notificationEnabled; in bind()
141 return mEnabled; in getEnabled()
/packages/apps/TV/src/com/android/tv/features/
DTvFeatures.java83 private Boolean mEnabled;
87 if (mEnabled == null) {
88 mEnabled =
94 return mEnabled;
/packages/apps/TV/src/com/android/tv/menu/
DMenuAction.java71 private boolean mEnabled = true; field in MenuAction
82 boolean changed = action.mEnabled != enabled; in setEnabled()
83 action.mEnabled = enabled; in setEnabled()
128 return mEnabled; in isEnabled()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DChooseLockPatternFragment.java253 setSecondaryButtonEnabled(stage.mSecondaryButtonState.mEnabled); in updateStage()
257 setPrimaryButtonEnabled(stage.mPrimaryButtonState.mEnabled); in updateStage()
543 final boolean mEnabled; field in ChooseLockPatternFragment.PrimaryButtonState
551 this.mEnabled = enabled; in PrimaryButtonState()
566 final boolean mEnabled; field in ChooseLockPatternFragment.SecondaryButtonState
574 this.mEnabled = enabled; in SecondaryButtonState()
/packages/services/Car/service/src/com/android/car/
DCarDiagnosticService.java573 protected boolean mEnabled = false; field in CarDiagnosticService.DiagnosticRecord
588 return mEnabled; in isEnabled()
592 mEnabled = true; in enable()
609 if (!mEnabled) return false; in disableIfNeeded()
610 mEnabled = false; in disableIfNeeded()
638 if (!mEnabled) return false; in disableIfNeeded()
639 mEnabled = false; in disableIfNeeded()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/voice/
DRecognizerView.java48 private boolean mEnabled; field in RecognizerView
178 if (!mEnabled) { in refreshUi()
206 if (mEnabled) { in setMicFocused()
218 mEnabled = enabled; in setMicEnabled()
/packages/apps/Settings/src/com/android/settings/users/
DUserCapabilities.java31 boolean mEnabled = true; field in UserCapabilities
51 caps.mEnabled = false; in create()
112 "mEnabled=" + mEnabled + in toString()
DUserSettings.java258 if (!mUserCaps.mEnabled) { in onCreate()
291 if (!mUserCaps.mEnabled) { in onResume()
314 if (mUserCaps == null || !mUserCaps.mEnabled) { in onDestroy()
1226 return userCaps.mEnabled;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserCapabilities.java31 boolean mEnabled = true; field in UserCapabilities
51 caps.mEnabled = false; in create()
112 "mEnabled=" + mEnabled + in toString()
DUserSettings.java258 if (!mUserCaps.mEnabled) { in onCreate()
287 if (!mUserCaps.mEnabled) { in onResume()
310 if (mUserCaps == null || !mUserCaps.mEnabled) { in onDestroy()
1225 return userCaps.mEnabled;
DMultiUserFooterPreferenceController.java49 return (mUserCaps.mEnabled && !mUserCaps.mUserSwitcherEnabled) in getAvailabilityStatus()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java208 private boolean mEnabled = true; field in Key
233 mEnabled = (code != CODE_UNSPECIFIED); in Key()
441 mEnabled = key.mEnabled; in Key()
816 final int iconId = mEnabled ? getIconId() : disabledIconId; in getIcon()
910 return mEnabled; in isEnabled()
914 mEnabled = enabled; in setEnabled()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsDefaultAudioTrackRenderer.java129 private boolean mEnabled = true; field in MpegTsDefaultAudioTrackRenderer
671 if (mEnabled) { in handleMessage()
676 if (mEnabled) { in handleMessage()
683 mEnabled = (Integer) message == 1; in handleMessage()
684 setStatus(mEnabled); in handleMessage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DMultiUserFooterPreferenceControllerTest.java48 mController.mUserCaps.mEnabled = true; in getAvailabilityStatus_multiUserOff_shouldReturnEnabled()
56 mController.mUserCaps.mEnabled = true; in getAvailabilityStatus_multiUserOn_shouldReturnDisabled()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexData.java94 enabled = builder.mEnabled; in IndexData()
166 private boolean mEnabled; field in IndexData.Builder
250 mEnabled = enabled; in setEnabled()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java119 private boolean mEnabled = true; field in ContactEntryListFragment
217 if (mEnabled != enabled) { in setEnabled()
218 mEnabled = enabled; in setEnabled()
220 if (mEnabled) { in setEnabled()
432 if (!mEnabled) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java755 private boolean mEnabled = false; field in SlotView.IntegerAnimation
758 mEnabled = enabled; in setEnabled()
762 if (!mEnabled) { in startAnimateTo()
785 if (progress == 1f) mEnabled = false; in onCalculate()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java375 private boolean mEnabled = true; field in ContactEditorFragment
519 mEnabled = savedState.getBoolean(KEY_ENABLED); in onCreate()
644 outState.putBoolean(KEY_ENABLED, mEnabled); in onSaveInstanceState()
791 menu.getItem(i).setEnabled(mEnabled); in onPrepareOptionsMenu()
1230 if (mEnabled != enabled) { in setEnabled()
1231 mEnabled = enabled; in setEnabled()
1330 editorView.setEnabled(mEnabled); in bindEditors()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java151 protected boolean mEnabled = true; field in AbstractContactAggregator
404 mEnabled = enabled; in setEnabled()
408 return mEnabled; in isEnabled()
503 if (!mEnabled) { in triggerAggregation()
674 if (!mEnabled) { in aggregateContact()
700 if (!mEnabled) { in updateAggregateData()

12