Home
last modified time | relevance | path

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

123

/frameworks/native/services/surfaceflinger/
DColorizer.h27 bool mEnabled; variable
40 : mEnabled(enabled) { in Colorizer()
44 if (mEnabled) { in colorize()
50 if (mEnabled) { in bold()
56 if (mEnabled) { in reset()
/frameworks/base/core/java/android/app/
DRemoteAction.java44 private boolean mEnabled; field in RemoteAction
51 mEnabled = in.readBoolean(); in RemoteAction()
64 mEnabled = true; in RemoteAction()
71 mEnabled = enabled; in setEnabled()
78 return mEnabled; in isEnabled()
112 action.setEnabled(mEnabled); in clone()
127 out.writeBoolean(mEnabled); in writeToParcel()
133 pw.print(" enabled=" + mEnabled); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeUI.java38 private boolean mEnabled; field in VolumeUI
43 mEnabled = mContext.getResources().getBoolean(R.bool.enable_volume_ui); in start()
44 if (!mEnabled) return; in start()
57 if (!mEnabled) return; in onConfigurationChanged()
63 pw.print("mEnabled="); pw.println(mEnabled); in dump()
64 if (!mEnabled) return; in dump()
/frameworks/native/services/sensorservice/
DSensorFusion.cpp35 mEnabled[FUSION_9AXIS] = false; in ANDROID_SINGLETON_STATIC_INSTANCE()
36 mEnabled[FUSION_NOMAG] = false; in ANDROID_SINGLETON_STATIC_INSTANCE()
37 mEnabled[FUSION_NOGYRO] = false; in ANDROID_SINGLETON_STATIC_INSTANCE()
88 if (mEnabled[i]) { in process()
98 if (mEnabled[i]) { in process()
110 if (mEnabled[i]) { in process()
141 if (newState != mEnabled[mode]) { in activate()
142 mEnabled[mode] = newState; in activate()
191 mEnabled[FUSION_9AXIS] ? "enabled" : "disabled", in dump()
208 mEnabled[FUSION_NOMAG] ? "enabled" : "disabled", in dump()
[all …]
DSensorFusion.h48 bool mEnabled[NUM_FUSION_MODE]; variable
67 return mEnabled[FUSION_9AXIS] || in isEnabled()
68 mEnabled[FUSION_NOMAG] || in isEnabled()
69 mEnabled[FUSION_NOGYRO]; in isEnabled()
/frameworks/base/libs/hwui/renderstate/
DScissor.cpp26 : mEnabled(false) in Scissor()
34 if (mEnabled != enabled) { in setEnabled()
40 mEnabled = enabled; in setEnabled()
47 if (mEnabled && (x != mScissorX || y != mScissorY in set()
101 mEnabled = glIsEnabled(GL_SCISSOR_TEST); in invalidate()
108 mEnabled, mScissorX, mScissorY, mScissorWidth, mScissorHeight); in dump()
DBlend.cpp95 : mEnabled(false) in Blend()
107 if (mEnabled) { in syncEnabled()
123 if (mEnabled) { in setFactors()
125 mEnabled = false; in setFactors()
129 if (!mEnabled) { in setFactors()
131 mEnabled = true; in setFactors()
143 ALOGD("Blend: enabled %d, func src %d, dst %d", mEnabled, mSrcMode, mDstMode); in dump()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLatencyTracker.java90 private boolean mEnabled; field in LatencyTracker
110 mEnabled = SystemProperties.getBoolean("debug.systemui.latency_tracking", false); in reloadProperty()
114 return Build.IS_DEBUGGABLE && getInstance(ctx).mEnabled; in isEnabled()
123 if (!mEnabled) { in onActionStart()
136 if (!mEnabled) { in onActionEnd()
/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()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DButtonItem.java41 private boolean mEnabled = true; field in ButtonItem
55 mEnabled = a.getBoolean(R.styleable.SuwButtonItem_android_enabled, true); in ButtonItem()
93 mEnabled = enabled; in setEnabled()
103 return mEnabled; in isEnabled()
141 mButton.setEnabled(mEnabled); in createButton()
DItem.java35 private boolean mEnabled = true; field in Item
50 mEnabled = a.getBoolean(R.styleable.SuwItem_android_enabled, true); in Item()
65 mEnabled = enabled; in setEnabled()
76 return mEnabled; in isEnabled()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerTest.java53 boolean mEnabled; field in VisualizerTest
205 mEnabled = isChecked; in onCheckedChanged()
206 mCallbackButton.setEnabled(!mEnabled); in onCheckedChanged()
207 if (mCallbackOn && mEnabled) { in onCheckedChanged()
213 mVisualizer.setEnabled(mEnabled); in onCheckedChanged()
215 if (!mEnabled) { in onCheckedChanged()
275 mEnabled = mVisualizer.getEnabled(); in getEffect()
276 mOnOffButton.setChecked(mEnabled); in getEffect()
279 mCallbackButton.setEnabled(!mEnabled); in getEffect()
/frameworks/base/services/core/java/com/android/server/location/
DMockProvider.java52 private boolean mEnabled; field in MockProvider
78 mEnabled = false; in disable()
83 mEnabled = true; in enable()
88 return mEnabled; in isEnabled()
110 if (mEnabled) { in setLocation()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java60 private boolean mEnabled; field in FusionEngine
98 if (!mEnabled) { in enable()
99 mEnabled = true; in enable()
106 if (mEnabled) { in disable()
107 mEnabled = false; in disable()
115 mEnabled = request.getReportLocation(); in setRequest()
157 if (!mEnabled || mRequest == null) { in updateRequirements()
287 s.append("mEnabled=").append(mEnabled).append(' ').append(mRequest).append('\n'); in dump()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListViewCompat.java365 private boolean mEnabled; field in ListViewCompat.GateKeeperDrawable
369 mEnabled = true; in GateKeeperDrawable()
373 mEnabled = enabled; in setEnabled()
378 if (mEnabled) { in setState()
386 if (mEnabled) { in draw()
393 if (mEnabled) { in setHotspot()
400 if (mEnabled) { in setHotspotBounds()
407 if (mEnabled) { in setVisible()
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java94 boolean mEnabled = true; field in AbstractInputMethodService.AbstractInputMethodSessionImpl
102 return mEnabled; in isEnabled()
120 mEnabled = enabled; in setEnabled()
130 mEnabled = false; in revokeSelf()
/frameworks/av/media/libnbaio/
DNBLog.cpp369 : mShared(NULL), mFifo(NULL), mFifoWriter(NULL), mEnabled(false), mPidTag(NULL), mPidTagSize(0) in Writer()
379 mEnabled(mFifoWriter != NULL) in Writer()
410 if (!mEnabled) { in log()
423 if (!mEnabled) { in logf()
434 if (!mEnabled) { in logvf()
451 if (!mEnabled) { in logTimestamp()
464 if (!mEnabled) { in logTimestamp()
472 if (!mEnabled) { in logInteger()
480 if (!mEnabled) { in logFloat()
488 if (!mEnabled) { in logPID()
[all …]
/frameworks/base/core/java/android/text/method/
DAllCapsTransformationMethod.java38 private boolean mEnabled; field in AllCapsTransformationMethod
47 if (!mEnabled) { in getTransformation()
74 mEnabled = allowLengthChanges; in setLengthChangesAllowed()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp39 snprintf(buffer, SIZE, " %s\n", mEnabled ? "Enabled" : "Disabled"); in dump()
78 effectDesc->mEnabled = false; in registerEffect()
126 if (enabled == effectDesc->mEnabled) { in setEffectEnabled()
149 effectDesc->mEnabled = enabled; in setEffectEnabled()
157 if (effectDesc->mEnabled && (effectDesc->mStrategy == STRATEGY_MEDIA) && in isNonOffloadableEffectEnabled()
/frameworks/wilhelm/src/itf/
DIAutomaticGainControl.cpp36 thiz->mEnabled = (SLboolean) enabled; in IAndroidAutomaticGainControl_SetEnabled()
40 android::status_t status = thiz->mAGCEffect->setEnabled((bool) thiz->mEnabled); in IAndroidAutomaticGainControl_SetEnabled()
78 thiz->mEnabled = SL_BOOLEAN_FALSE; in IAndroidAutomaticGainControl_init()
DINoiseSuppression.cpp34 thiz->mEnabled = (SLboolean) enabled; in IAndroidNoiseSuppression_SetEnabled()
38 android::status_t status = thiz->mNSEffect->setEnabled((bool) thiz->mEnabled); in IAndroidNoiseSuppression_SetEnabled()
75 thiz->mEnabled = SL_BOOLEAN_FALSE; in IAndroidNoiseSuppression_init()
DIAcousticEchoCancellation.cpp37 thiz->mEnabled = (SLboolean) enabled; in IAndroidAcousticEchoCancellation_SetEnabled()
41 android::status_t status = thiz->mAECEffect->setEnabled((bool) thiz->mEnabled); in IAndroidAcousticEchoCancellation_SetEnabled()
81 thiz->mEnabled = SL_BOOLEAN_FALSE; in IAndroidAcousticEchoCancellation_init()
DIVirtualizer.cpp44 thiz->mEnabled = (SLboolean) enabled; in IVirtualizer_SetEnabled()
52 thiz->mVirtualizerEffect->setEnabled((bool) thiz->mEnabled); in IVirtualizer_SetEnabled()
73 SLboolean enabled = thiz->mEnabled; in IVirtualizer_IsEnabled()
191 thiz->mEnabled = SL_BOOLEAN_FALSE; in IVirtualizer_init()
DIBassBoost.cpp44 thiz->mEnabled = (SLboolean) enabled; in IBassBoost_SetEnabled()
51 android::status_t status = thiz->mBassBoostEffect->setEnabled((bool) thiz->mEnabled); in IBassBoost_SetEnabled()
71 SLboolean enabled = thiz->mEnabled; in IBassBoost_IsEnabled()
189 thiz->mEnabled = SL_BOOLEAN_FALSE; in IBassBoost_init()
/frameworks/base/services/core/java/com/android/server/hdmi/
DSetArcTransmissionStateAction.java36 private final boolean mEnabled; field in SetArcTransmissionStateAction
51 mEnabled = enabled; in SetArcTransmissionStateAction()
57 if (mEnabled) { in start()

123