Home | History | Annotate | Download | only in media

Lines Matching defs:enabled

637      * Returns whether a feature is to be enabled ({@code true}) or disabled
642 * @throws IllegalArgumentException if the feature was neither set to be enabled
646 Integer enabled = (Integer)mMap.get(KEY_FEATURE_ + feature);
647 if (enabled == null) {
650 return enabled != 0;
689 * Sets whether a feature is to be enabled ({@code true}) or disabled
692 * If {@code enabled} is {@code true}, the feature is requested to be present.
701 public void setFeatureEnabled(String feature, boolean enabled) {
702 setInteger(KEY_FEATURE_ + feature, enabled ? 1 : 0);