Home
last modified time | relevance | path

Searched refs:mEnabled (Results 1 – 25 of 28) 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/UnifiedEmail/src/com/android/mail/perf/
DTimer.java79 private final boolean mEnabled; field in Timer
86 mEnabled = enable; in Timer()
91 return ENABLE_TIMER && mEnabled; in isEnabled()
99 if (ENABLE_TIMER && mEnabled) { in start()
116 if (ENABLE_TIMER && mEnabled) { in pause()
126 if (ENABLE_TIMER && mEnabled) { in count()
137 if (ENABLE_TIMER && mEnabled) { in clear()
148 if (ENABLE_TIMER && mEnabled) { in dumpResults()
DSimpleTimer.java34 private final boolean mEnabled; field in SimpleTimer
44 mEnabled = enabled; in SimpleTimer()
49 && mEnabled; in isEnabled()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DUiHandler.java38 private boolean mEnabled = true; field in UiHandler
45 if (mEnabled) { in post()
60 if (mEnabled) { in postDelayed()
79 mEnabled = enabled; in setEnabled()
80 if (!mEnabled) { in setEnabled()
94 return mEnabled; in isEnabled()
/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/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/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/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/TV/src/com/android/tv/features/
DTvFeatures.java96 private Boolean mEnabled;
100 if (mEnabled == null) {
101 mEnabled =
107 return mEnabled;
/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/apps/Car/Settings/src/com/android/car/settings/security/
DChooseLockPatternFragment.java261 setSecondaryButtonEnabled(stage.mSecondaryButtonState.mEnabled); in updateStage()
265 setPrimaryButtonEnabled(stage.mPrimaryButtonState.mEnabled); in updateStage()
551 final boolean mEnabled; field in ChooseLockPatternFragment.PrimaryButtonState
559 this.mEnabled = enabled; in PrimaryButtonState()
574 final boolean mEnabled; field in ChooseLockPatternFragment.SecondaryButtonState
582 this.mEnabled = enabled; in SecondaryButtonState()
/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()
1229 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;
/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
668 if (mEnabled) { in handleMessage()
673 if (mEnabled) { in handleMessage()
680 mEnabled = (Integer) message == 1; in handleMessage()
681 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()

12