Home
last modified time | relevance | path

Searched refs:otherGroup (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMessagingLayoutTransformState.java248 private int transformGroups(MessagingGroup ownGroup, MessagingGroup otherGroup, in transformGroups() argument
251 otherGroup.getIsolatedMessage() == null && !mTransformInfo.isAnimating(); in transformGroups()
253 TextView otherSenderView = otherGroup.getSenderView(); in transformGroups()
261 otherGroup.getAvatar(), true /* sameAsAny */, useLinearTransformation); in transformGroups()
263 List<MessagingMessage> otherMessages = otherGroup.getMessages(); in transformGroups()
292 boolean otherIsIsolated = otherGroup.getIsolatedMessage() == otherChild; in transformGroups()
294 && (otherIsIsolated || otherGroup.isSingleLine())) { in transformGroups()
382 MessagingGroup otherGroup = otherGroups.get(j); in findPairs() local
383 int compatibility = ownGroup.calculateGroupCompatibility(otherGroup); in findPairs()
386 bestMatch = otherGroup; in findPairs()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingGroup.java602 public int calculateGroupCompatibility(MessagingGroup otherGroup) { in calculateGroupCompatibility() argument
603 if (TextUtils.equals(getSenderName(),otherGroup.getSenderName())) { in calculateGroupCompatibility()
605 for (int i = 0; i < mMessages.size() && i < otherGroup.mMessages.size(); i++) { in calculateGroupCompatibility()
607 MessagingMessage otherMessage = otherGroup.mMessages.get( in calculateGroupCompatibility()
608 otherGroup.mMessages.size() - 1 - i); in calculateGroupCompatibility()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java676 final AppUsageLimitGroup otherGroup = usageLimitGroups.valueAt(i); in getAppUsageLimit() local
677 if (otherGroup.getUsageRemaining() < smallestGroup.getUsageRemaining()) { in getAppUsageLimit()
678 smallestGroup = otherGroup; in getAppUsageLimit()