Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
DOrientationEventListener.java36 private boolean mEnabled = false; field in OrientationEventListener
91 if (mEnabled == false) { in enable()
94 mEnabled = true; in enable()
106 if (mEnabled == true) { in disable()
109 mEnabled = false; in disable()
DWindowOrientationListener.java51 private boolean mEnabled; field in WindowOrientationListener
97 if (mEnabled == false) { in enable()
102 mEnabled = true; in enable()
114 if (mEnabled == true) { in disable()
119 mEnabled = false; in disable()
141 if (mEnabled) { in getProposedRotation()
DHardwareRenderer.java164 private boolean mEnabled; field in HardwareRenderer
546 return mEnabled; in isEnabled()
555 mEnabled = enabled; in setEnabled()
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java91 boolean mEnabled = true; field in AbstractInputMethodService.AbstractInputMethodSessionImpl
99 return mEnabled; in isEnabled()
117 mEnabled = enabled; in setEnabled()
127 mEnabled = false; in revokeSelf()
/frameworks/base/core/java/android/text/method/
DAllCapsTransformationMethod.java33 private boolean mEnabled; field in AllCapsTransformationMethod
42 if (mEnabled) { in getTransformation()
56 mEnabled = allowLengthChanges; in setLengthChangesAllowed()
/frameworks/base/services/sensorservice/
DSensorFusion.cpp28 mEnabled(false), mGyroTime(0) in ANDROID_SINGLETON_STATIC_INSTANCE()
99 if (newState != mEnabled) { in activate()
100 mEnabled = newState; in activate()
133 mEnabled ? "enabled" : "disabled", in dump()
DSensorFusion.h46 bool mEnabled; variable
58 bool isEnabled() const { return mEnabled; } in isEnabled()
/frameworks/wilhelm/src/itf/
DIBassBoost.c44 thiz->mEnabled = (SLboolean) enabled; in IBassBoost_SetEnabled()
51 android::status_t status = thiz->mBassBoostEffect->setEnabled((bool) thiz->mEnabled); in IBassBoost_SetEnabled()
70 SLboolean enabled = thiz->mEnabled; in IBassBoost_IsEnabled()
189 thiz->mEnabled = SL_BOOLEAN_FALSE; in IBassBoost_init()
DIVirtualizer.c44 thiz->mEnabled = (SLboolean) enabled; in IVirtualizer_SetEnabled()
52 thiz->mVirtualizerEffect->setEnabled((bool) thiz->mEnabled); in IVirtualizer_SetEnabled()
72 SLboolean enabled = thiz->mEnabled; in IVirtualizer_IsEnabled()
191 thiz->mEnabled = SL_BOOLEAN_FALSE; in IVirtualizer_init()
DIAndroidEffectSend.c50 thiz->mEnabled = enable; in IAndroidEffectSend_EnableEffectSend()
71 SLboolean enable = thiz->mEnabled; in IAndroidEffectSend_IsEnabled()
234 thiz->mEnabled = SL_BOOLEAN_FALSE; in IAndroidEffectSend_init()
DIEqualizer.c61 thiz->mEnabled = (SLboolean) enabled; in IEqualizer_SetEnabled()
69 thiz->mEqEffect->setEnabled((bool) thiz->mEnabled); in IEqualizer_SetEnabled()
88 SLboolean enabled = thiz->mEnabled; in IEqualizer_IsEnabled()
481 thiz->mEnabled = SL_BOOLEAN_FALSE; in IEqualizer_init()
/frameworks/base/services/java/com/android/server/location/
DMockProvider.java55 private boolean mEnabled; field in MockProvider
82 mEnabled = false; in disable()
86 mEnabled = true; in enable()
90 return mEnabled; in isEnabled()
DLocationProviderProxy.java57 private boolean mEnabled = false; field in LocationProviderProxy
130 if (mEnabled) { in run()
291 mEnabled = true; in enable()
304 mEnabled = false; in disable()
317 return mEnabled; in isEnabled()
DGpsLocationProvider.java201 private volatile boolean mEnabled; field in GpsLocationProvider
732 if (mEnabled) return; in handleEnable()
733 mEnabled = native_init(); in handleEnable()
735 if (mEnabled) { in handleEnable()
761 if (!mEnabled) return; in handleDisable()
763 mEnabled = false; in handleDisable()
771 return mEnabled; in isEnabled()
/frameworks/av/media/libmedia/
DAudioEffect.cpp145 mEnabled = (volatile int32_t)enabled; in set()
162 …t() %p OK effect: %s id: %d status %d enabled %d", this, mDescriptor.name, mId, mStatus, mEnabled); in set()
199 return (mEnabled != 0); in getEnabled()
211 if (enabled != mEnabled) { in setEnabled()
220 mEnabled = enabled; in setEnabled()
238 if (mEnabled == (cmdCode == EFFECT_CMD_ENABLE)) { in command()
254 mEnabled = (cmdCode == EFFECT_CMD_ENABLE); in command()
375 mEnabled = enabled; in enableStatusChanged()
DVisualizer.cpp98 if (mEnabled) { in setCaptureCallBack()
133 if (mEnabled) { in setCaptureSize()
197 if (mEnabled) { in getWaveForm()
221 if (mEnabled) { in getFft()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothController.java39 private boolean mEnabled = false; field in BluetoothController
77 mEnabled = (adapterState == BluetoothAdapter.STATE_ON); in handleAdapterStateChange()
96 v.setVisibility(mEnabled ? View.VISIBLE : View.GONE); in refreshViews()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTargetDrawable.java46 private boolean mEnabled = true; field in TargetDrawable
143 return mDrawable != null && mEnabled; in isEnabled()
241 if (mDrawable == null || !mEnabled) { in draw()
254 mEnabled = enabled; in setEnabled()
/frameworks/base/core/java/com/android/internal/widget/
DPasswordEntryKeyboard.java221 private boolean mEnabled = true; field in PasswordEntryKeyboard.LatinKey
233 mEnabled = enabled; in setEnabled()
254 if (!mEnabled) { in isInside()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp277 : mHwc(hwc), mEnabled(false), in VSyncThread()
285 mEnabled = enabled; in setEnabled()
296 while (!mEnabled) { in threadLoop()
DHWComposer.h97 bool mEnabled; variable
/frameworks/wilhelm/src/
Ditfstruct.h219 SLboolean mEnabled; member
338 SLboolean mEnabled; member
571 SLboolean mEnabled; member
655 SLboolean mEnabled; member
/frameworks/base/core/java/android/preference/
DPreference.java104 private boolean mEnabled = true; field in Preference
244 mEnabled = a.getBoolean(attr, true); in Preference()
713 if (mEnabled != enabled) { in setEnabled()
714 mEnabled = enabled; in setEnabled()
729 return mEnabled && mDependencyMet; in isEnabled()
/frameworks/av/include/media/
DAudioEffect.h394 bool mEnabled; // enable state
/frameworks/base/services/java/com/android/server/
DBackupManagerService.java197 boolean mEnabled; // access to this is synchronized on 'this' field in BackupManagerService
275 if (mProvisioned && !wasProvisioned && mEnabled) { in onChange()
875 if (mEnabled && mProvisioned) { in onReceive()
890 Slog.w(TAG, "Backup pass but e=" + mEnabled + " p=" + mProvisioned); in onReceive()
5155 boolean wasEnabled = mEnabled; in setBackupEnabled()
5159 mEnabled = enable; in setBackupEnabled()
5232 return mEnabled; // no need to synchronize just to read it in isBackupEnabled()
5750 pw.println("Backup Manager is " + (mEnabled ? "enabled" : "disabled") in dumpInternal()

12