Home
last modified time | relevance | path

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

/packages/apps/Camera/src/com/android/camera/ui/
DMoreSettingPopup.java47 private boolean[] mEnabled; field in MoreSettingPopup
95 if (position >= 0 && position < mEnabled.length) { in getView()
96 view.setEnabled(mEnabled[position]); in getView()
98 Log.w(TAG, "Invalid input: enabled list length, " + mEnabled.length in getView()
106 if (position >= 0 && position < mEnabled.length) { in isEnabled()
107 return mEnabled[position]; in isEnabled()
133 mEnabled = new boolean[mListItem.size()]; in initialize()
134 for (int i = 0; i < mEnabled.length; i++) { in initialize()
135 mEnabled[i] = true; in initialize()
143 int count = mEnabled == null ? 0 : mEnabled.length; in setPreferenceEnabled()
[all …]
DPieItem.java46 private boolean mEnabled; field in PieItem
61 mEnabled = true; in PieItem()
108 mEnabled = enabled; in setEnabled()
110 if (mEnabled) { in setEnabled()
119 return mEnabled; in isEnabled()
/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/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DAction.java59 private boolean mEnabled; field in Action
77 private boolean mEnabled = true; field in Action.Builder
93 action.mEnabled = mEnabled; in build()
158 mEnabled = enabled; in enabled()
180 mEnabled = true; in Action()
295 return mEnabled; in isEnabled()
303 mEnabled = enabled; in setEnabled()
/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/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()
/packages/apps/Browser/src/com/android/browser/view/
DPieItem.java40 private boolean mEnabled; field in PieItem
46 mEnabled = true; in PieItem()
55 mEnabled = false; in PieItem()
95 mEnabled = enabled; in setEnabled()
153 if (mEnabled) { in getPieView()
/packages/apps/PhoneCommon/src/com/android/phone/common/
DHapticFeedback.java73 private boolean mEnabled; field in HapticFeedback
88 mEnabled = enabled; in init()
103 if (!mEnabled) { in checkSystemSetting()
123 if (!mEnabled || !mSettingEnabled) { in vibrate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DLayout.java75 private boolean mEnabled; field in Layout.LayoutRow
109 return mEnabled; in isEnabled()
165 mEnabled = true; in LayoutRow()
168 mEnabled = true; in LayoutRow()
171 mEnabled = true; in LayoutRow()
174 mEnabled = false; in LayoutRow()
DDialogFragment.java1008 private boolean mEnabled = true; field in DialogFragment.Action.Builder
1024 action.mEnabled = mEnabled; in build()
1089 mEnabled = enabled; in enabled()
1112 private boolean mEnabled; field in DialogFragment.Action
1172 return mEnabled; in isEnabled()
1180 mEnabled = enabled; in setEnabled()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java191 private boolean mEnabled = true; field in Key
214 mEnabled = (code != CODE_UNSPECIFIED); in Key()
403 mEnabled = key.mEnabled; in Key()
762 final int iconId = mEnabled ? getIconId() : disabledIconId; in getIcon()
821 return mEnabled; in isEnabled()
825 mEnabled = enabled; in setEnabled()
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
DTargetDrawable.java46 private boolean mEnabled = true; field in TargetDrawable
115 return mDrawable != null && mEnabled; in isEnabled()
218 if (mDrawable == null || !mEnabled) { in draw()
231 mEnabled = enabled; in setEnabled()
/packages/apps/Camera/src/com/android/camera/
DPreviewGestures.java59 private boolean mEnabled; field in PreviewGestures
84 mEnabled = true; in PreviewGestures()
97 mEnabled = enabled; in setEnabled()
121 if (!mEnabled) { in dispatchTouch()
/packages/apps/Settings/src/com/android/settings/
DPrivacySettings.java68 private boolean mEnabled; field in PrivacySettings
77 mEnabled = Process.myUserHandle().isOwner(); in onCreate()
78 if (!mEnabled) { in onCreate()
121 if (mEnabled) { in onResume()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListFragment.java108 private boolean mEnabled = true; field in ContactEntryListFragment
188 if (mEnabled != enabled) { in setEnabled()
189 mEnabled = enabled; in setEnabled()
191 if (mEnabled) { in setEnabled()
389 if (!mEnabled) { in onLoadFinished()
/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.java346 private boolean mEnabled = true; field in ContactEditorFragment
356 if (mEnabled != enabled) { in setEnabled()
357 mEnabled = enabled; in setEnabled()
515 mEnabled = savedState.getBoolean(KEY_ENABLED); in onCreate()
861 editor.setEnabled(mEnabled); in bindEditors()
1146 menu.getItem(i).setEnabled(mEnabled); in onPrepareOptionsMenu()
1827 outState.putBoolean(KEY_ENABLED, mEnabled);
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java132 private boolean mEnabled = true; field in UserSettings
197 mEnabled = false; in onCreate()
241 if (!mEnabled) return; in onResume()
251 if (!mEnabled) return; in onDestroy()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java160 private boolean mEnabled = true; field in ContactAggregator
407 mEnabled = enabled; in setEnabled()
411 return mEnabled; in isEnabled()
505 if (!mEnabled) { in triggerAggregation()
673 if (!mEnabled) { in aggregateContact()
700 if (!mEnabled) { in updateAggregateData()