Lines Matching refs:Adjustment
23 import android.service.notification.Adjustment;
52 public Adjustment onNotificationEnqueued(StatusBarNotification sbn, int importance,
168 signals.putBoolean(Adjustment.NEEDS_AUTOGROUPING_KEY, true);
169 signals.putString(Adjustment.GROUP_KEY_OVERRIDE_KEY, AUTOBUNDLE_KEY);
171 signals.putBoolean(Adjustment.NEEDS_AUTOGROUPING_KEY, false);
173 Adjustment adjustment = new Adjustment(packageName, key, IMPORTANCE_UNSPECIFIED, signals,
181 adjustNotification(adjustment);
183 Slog.e(TAG, "Adjustment failed", e);
189 List<Adjustment> adjustments = new ArrayList<>();
192 if (DEBUG) Log.i(TAG, "Sending bundling adjustment for: " + key);
201 private Adjustment createBundlingAdjustment(String packageName, String key, boolean bundle,
205 signals.putString(Adjustment.GROUP_KEY_OVERRIDE_KEY, AUTOBUNDLE_KEY);
207 signals.putString(Adjustment.GROUP_KEY_OVERRIDE_KEY, null);
209 return new Adjustment(packageName, key, IMPORTANCE_UNSPECIFIED, signals,