Searched defs:conditions (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/service/notification/
H A DConditionProviderService.java33 * A service that provides conditions about boolean state.
83 public final void notifyConditions(Condition... conditions) { argument
84 if (!isBound() || conditions == null) return;
86 getNotificationInterface().notifyConditions(getPackageName(), mProvider, conditions);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DZenModeController.java42 public void onConditionsChanged(Condition[] conditions) {} argument
H A DZenModeControllerImpl.java192 private void fireConditionsChanged(Condition[] conditions) { argument
194 cb.onConditionsChanged(conditions);
210 private void updateConditions(Condition[] conditions) { argument
211 if (conditions == null || conditions.length == 0) return;
212 for (Condition c : conditions) {
233 public void onConditionsReceived(Condition[] conditions) {
235 + (conditions == null ? 0 : conditions.length) + " mRequesting=" + mRequesting);
237 updateConditions(conditions);
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DResizingTextView.java27 * to certain trigger conditions, such as text that wraps over multiple lines.</p>
37 private int mTriggerConditions; // Union of trigger conditions
89 * @return the trigger conditions used to determine whether resize occurs
96 * Set the trigger conditions used to determine whether resize occurs. Pass
99 * @param conditions A union of trigger condition constants
101 public void setTriggerConditions(int conditions) { argument
102 if (mTriggerConditions != conditions) {
103 mTriggerConditions = conditions;
104 // Always request a layout when trigger conditions change
/frameworks/base/services/core/java/com/android/server/notification/
H A DConditionProviders.java187 private Condition[] validateConditions(String pkg, Condition[] conditions) { argument
188 if (conditions == null || conditions.length == 0) return null;
189 final int N = conditions.length;
192 final Uri id = conditions[i].id;
201 valid.put(id, conditions[i]);
204 if (valid.size() == N) return conditions;
229 public void notifyConditions(String pkg, ManagedServiceInfo info, Condition[] conditions) { argument
231 if (DEBUG) Slog.d(TAG, "notifyConditions pkg=" + pkg + " info=" + info + " conditions="
232 + (conditions
[all...]

Completed in 3292 milliseconds