Home | History | Annotate | Download | only in preference

Lines Matching defs:dependent

723             // Enabled state can change dependent preferences' states, so notify
1190 * Adds a dependent Preference on this Preference so we can notify it.
1191 * Usually, the dependent Preference registers itself (it's good for it to
1193 * {@link Preference#setDependency(String)} on the dependent Preference.
1195 * @param dependent The dependent Preference that will be enabled/disabled
1198 private void registerDependent(Preference dependent) {
1203 mDependents.add(dependent);
1205 dependent.onDependencyChanged(this, shouldDisableDependents());
1209 * Removes a dependent Preference on this Preference.
1211 * @param dependent The dependent Preference that will be enabled/disabled
1216 private void unregisterDependent(Preference dependent) {
1218 mDependents.remove(dependent);
1252 // Enabled state can change dependent preferences' states, so notify