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.java232 private void transformGroups(MessagingGroup ownGroup, MessagingGroup otherGroup, in transformGroups() argument
235 otherGroup.getIsolatedMessage() == null && !mTransformInfo.isAnimating(); in transformGroups()
236 … transformView(transformationAmount, to, ownGroup.getSenderView(), otherGroup.getSenderView(), in transformGroups()
238 transformView(transformationAmount, to, ownGroup.getAvatar(), otherGroup.getAvatar(), in transformGroups()
241 List<MessagingMessage> otherMessages = otherGroup.getMessages(); in transformGroups()
268 boolean otherIsIsolated = otherGroup.getIsolatedMessage() == otherChild; in transformGroups()
324 MessagingGroup otherGroup = otherGroups.get(j); in findPairs() local
325 int compatibility = ownGroup.calculateGroupCompatibility(otherGroup); in findPairs()
328 bestMatch = otherGroup; in findPairs()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingGroup.java491 public int calculateGroupCompatibility(MessagingGroup otherGroup) { in calculateGroupCompatibility() argument
492 if (TextUtils.equals(getSenderName(),otherGroup.getSenderName())) { in calculateGroupCompatibility()
494 for (int i = 0; i < mMessages.size() && i < otherGroup.mMessages.size(); i++) { in calculateGroupCompatibility()
496 MessagingMessage otherMessage = otherGroup.mMessages.get( in calculateGroupCompatibility()
497 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()