Searched defs:enabled (Results 1 - 25 of 227) sorted by relevance

12345678910

/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DPowerHAL.cpp41 status_t PowerHAL::vsyncHint(bool enabled) { argument
47 if (mVSyncHintEnabled != bool(enabled)) {
49 POWER_HINT_VSYNC, (void*)enabled);
50 mVSyncHintEnabled = bool(enabled);
/frameworks/base/core/java/android/content/pm/
H A DPackageUserState.java31 public int enabled; field in class:PackageUserState
38 enabled = COMPONENT_ENABLED_STATE_DEFAULT;
45 enabled = o.enabled;
H A DComponentInfo.java56 public boolean enabled = true; field in class:ComponentInfo
74 enabled = orig.enabled;
103 * Return whether this component and its enclosing application are enabled.
106 return enabled && applicationInfo.enabled;
122 pw.println(prefix + "enabled=" + enabled + " exported=" + exported
144 dest.writeInt(enabled ? 1 : 0);
153 enabled
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DBaseErrorDialog.java57 private void setEnabled(boolean enabled) { argument
60 b.setEnabled(enabled);
64 b.setEnabled(enabled);
68 b.setEnabled(enabled);
/frameworks/native/services/sensorservice/
H A DCorrectedGyroSensor.cpp59 status_t CorrectedGyroSensor::activate(void* ident, bool enabled) { argument
60 mSensorDevice.activate(this, mGyro.getHandle(), enabled);
61 return mSensorFusion.activate(this, enabled);
H A DOrientationSensor.cpp65 status_t OrientationSensor::activate(void* ident, bool enabled) { argument
66 return mSensorFusion.activate(this, enabled);
H A DRotationVectorSensor.cpp55 status_t RotationVectorSensor::activate(void* ident, bool enabled) { argument
56 return mSensorFusion.activate(this, enabled);
104 status_t GyroDriftSensor::activate(void* ident, bool enabled) { argument
105 return mSensorFusion.activate(this, enabled);
H A DGravitySensor.cpp69 status_t GravitySensor::activate(void* ident, bool enabled) { argument
70 return mSensorFusion.activate(this, enabled);
H A DLinearAccelerationSensor.cpp53 status_t LinearAccelerationSensor::activate(void* ident, bool enabled) { argument
54 return mGravitySensor.activate(this, enabled);
H A DSensorInterface.cpp49 status_t HardwareSensor::activate(void* ident, bool enabled) { argument
50 return mSensorDevice.activate(ident, mSensor.getHandle(), enabled);
H A DSensorDevice.cpp114 status_t SensorDevice::activate(void* ident, int handle, int enabled) argument
124 "SensorDevice::activate: ident=%p, handle=0x%08x, enabled=%d, count=%d",
125 ident, handle, enabled, info.rates.size());
127 if (enabled) {
151 // sensor wasn't enabled for this ident
158 err = mSensorDevice->activate(mSensorDevice, handle, enabled);
160 enabled ? "activating" : "disabling",
H A DSensorFusion.cpp77 status_t SensorFusion::activate(void* ident, bool enabled) { argument
80 "SensorFusion::activate(ident=%p, enabled=%d)",
81 ident, enabled);
84 if (enabled) {
94 mSensorDevice.activate(ident, mAcc.getHandle(), enabled);
95 mSensorDevice.activate(ident, mMag.getHandle(), enabled);
96 mSensorDevice.activate(ident, mGyro.getHandle(), enabled);
133 mEnabled ? "enabled" : "disabled",
/frameworks/wilhelm/src/
H A Dtrace.c27 void slTraceSetEnabled(unsigned enabled) argument
29 slTraceEnabled = enabled;
150 void slTraceSetEnabled(unsigned enabled) argument
/frameworks/base/core/java/com/android/internal/view/
H A DRotationPolicy.java65 * Returns true if rotation lock is enabled.
77 public static void setRotationLock(Context context, final boolean enabled) { argument
87 if (enabled) {
105 public static void setRotationLockForAccessibility(Context context, final boolean enabled) { argument
107 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, enabled ? 1 : 0,
115 if (enabled) {
/frameworks/native/libs/gui/
H A DISensorEventConnection.cpp55 virtual status_t enableDisable(int handle, bool enabled) argument
60 data.writeInt32(enabled);
93 int enabled = data.readInt32(); local
94 status_t result = enableDisable(handle, enabled);
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityManagerCompatIcs.java31 public void onAccessibilityStateChanged(boolean enabled); argument
38 public void onAccessibilityStateChanged(boolean enabled) {
39 bridge.onAccessibilityStateChanged(enabled);
/frameworks/wilhelm/src/itf/
H A DIAndroidEffect.cpp62 SLInterfaceID effectImplementationId, SLboolean enabled) {
67 result = android_genericFx_setEnabled(thiz, effectImplementationId, enabled);
61 IAndroidEffect_SetEnabled(SLAndroidEffectItf self, SLInterfaceID effectImplementationId, SLboolean enabled) argument
/frameworks/av/media/libmedia/
H A DIEffectClient.cpp50 void enableStatusChanged(bool enabled) argument
55 data.writeInt32((uint32_t)enabled);
108 bool enabled = (bool)data.readInt32(); local
109 enableStatusChanged(enabled);
/frameworks/base/core/java/android/app/
H A DIntentService.java84 * <p>If enabled is true,
91 * <p>If enabled is false (the default),
96 public void setIntentRedelivery(boolean enabled) { argument
97 mRedelivery = enabled;
/frameworks/base/core/java/android/view/textservice/
H A DTextServicesManager.java102 * @param referToSpellCheckerLanguageSettings if true, the session for one of enabled
226 // Passing null as a locale until we support multiple enabled spell checker subtypes.
254 public void setSpellCheckerEnabled(boolean enabled) { argument
256 sService.setSpellCheckerEnabled(enabled);
/frameworks/base/core/java/android/widget/
H A DZoomButton.java84 public void setEnabled(boolean enabled) { argument
85 if (!enabled) {
93 super.setEnabled(enabled);
/frameworks/base/core/java/com/android/internal/os/
H A DSamplingProfilerIntegration.java47 private static final boolean enabled; field in class:SamplingProfilerIntegration
71 enabled = true;
72 Log.i(TAG, "Profiling enabled. Sampling interval ms: "
76 enabled = true;
81 enabled = false;
90 * Is profiling enabled?
93 return enabled;
97 * Starts the profiler if profiling is enabled.
100 if (!enabled) {
116 * Writes a snapshot if profiling is enabled
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuView.java73 * Sets the enabled state of the item view.
74 * @param enabled Whether the item view should be enabled.
76 public void setEnabled(boolean enabled); argument
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/
H A DAccessibilityManager.java51 * @param enabled Whether accessibility is enabled.
53 public void onAccessibilityStateChanged(boolean enabled); argument
74 * Returns if the {@link AccessibilityManager} is enabled.
76 * @return True if this {@link AccessibilityManager} is enabled, false otherwise.
84 * enabled the call is a NOOP.
89 * while accessibility is not enabled.
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityManagerCompat.java85 public void onAccessibilityStateChanged(boolean enabled) {
86 listener.onAccessibilityStateChanged(enabled);
171 * Returns the {@link AccessibilityServiceInfo}s of the enabled accessibility services
190 * Returns if the touch exploration in the system is enabled.
193 * @return True if touch exploration is enabled, false otherwise.
212 * @param enabled Whether accessibility is enabled.
214 public abstract void onAccessibilityStateChanged(boolean enabled); argument

Completed in 268 milliseconds

12345678910