Lines Matching defs:importance
119 int importance = IMPORTANCE_DEFAULT;
128 importance = IMPORTANCE_MIN;
131 importance = IMPORTANCE_LOW;
134 importance = IMPORTANCE_DEFAULT;
137 importance = IMPORTANCE_HIGH;
140 importance = IMPORTANCE_MAX;
143 stats.requestedImportance = importance;
151 if (!isNoisy && importance > IMPORTANCE_LOW) {
152 importance = IMPORTANCE_LOW;
156 if (importance < IMPORTANCE_DEFAULT) {
157 importance = IMPORTANCE_DEFAULT;
162 importance = IMPORTANCE_MAX;
165 stats.naturalImportance = importance;
166 return importance;
182 // Don't copy importance information or mGlobalSortKey, recompute them.
312 "NotificationRecord(0x%08x: pkg=%s user=%s id=%d tag=%s importance=%d key=%s: %s)",
355 public void setUserImportance(int importance) {
356 mUserImportance = importance;
387 public void setImportance(int importance, CharSequence explanation) {
388 if (importance != NotificationListenerService.Ranking.IMPORTANCE_UNSPECIFIED) {
389 mImportance = importance;