Searched refs:object1 (Results 1 – 10 of 10) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/ |
D | AppOpsState.java | 440 public int compare(AppOpEntry object1, AppOpEntry object2) { 441 if (object1.getSwitchOrder() != object2.getSwitchOrder()) { 442 return object1.getSwitchOrder() < object2.getSwitchOrder() ? -1 : 1; 444 if (object1.isRunning() != object2.isRunning()) { 446 return object1.isRunning() ? -1 : 1; 448 if (object1.getTime() != object2.getTime()) { 450 return object1.getTime() > object2.getTime() ? -1 : 1; 452 return sCollator.compare(object1.getAppEntry().getLabel(), 463 public int compare(AppOpEntry object1, AppOpEntry object2) { 464 return sCollator.compare(object1.getAppEntry().getLabel(),
|
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
D | AppOpsState.java | 440 public int compare(AppOpEntry object1, AppOpEntry object2) { 441 if (object1.getSwitchOrder() != object2.getSwitchOrder()) { 442 return object1.getSwitchOrder() < object2.getSwitchOrder() ? -1 : 1; 444 if (object1.isRunning() != object2.isRunning()) { 446 return object1.isRunning() ? -1 : 1; 448 if (object1.getTime() != object2.getTime()) { 450 return object1.getTime() > object2.getTime() ? -1 : 1; 452 return sCollator.compare(object1.getAppEntry().getLabel(), 463 public int compare(AppOpEntry object1, AppOpEntry object2) { 464 return sCollator.compare(object1.getAppEntry().getLabel(),
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateNotificationBridge.java | 290 public int compare(AppEntry object1, AppEntry object2) { 291 NotificationsSentState state1 = getNotificationsSentState(object1); 299 return ApplicationsState.ALPHA_COMPARATOR.compare(object1, object2); 306 public int compare(AppEntry object1, AppEntry object2) { 307 NotificationsSentState state1 = getNotificationsSentState(object1); 315 return ApplicationsState.ALPHA_COMPARATOR.compare(object1, object2);
|
D | RunningState.java | 727 public int compare(ProcessItem object1, ProcessItem object2) { in compare() argument 728 if (object1.mUserId != object2.mUserId) { in compare() 729 if (object1.mUserId == mMyUserId) return -1; in compare() 731 return object1.mUserId < object2.mUserId ? -1 : 1; in compare() 733 if (object1.mIsStarted != object2.mIsStarted) { in compare() 735 return object1.mIsStarted ? -1 : 1; in compare() 737 if (object1.mIsSystem != object2.mIsSystem) { in compare() 739 return object1.mIsSystem ? 1 : -1; in compare() 741 if (object1.mActiveSince != object2.mActiveSince) { in compare() 744 return (object1.mActiveSince > object2.mActiveSince) ? -1 : 1; in compare()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateNotificationBridge.java | 292 public int compare(AppEntry object1, AppEntry object2) { 293 NotificationsSentState state1 = getNotificationsSentState(object1); 301 return ApplicationsState.ALPHA_COMPARATOR.compare(object1, object2); 308 public int compare(AppEntry object1, AppEntry object2) { 309 NotificationsSentState state1 = getNotificationsSentState(object1); 317 return ApplicationsState.ALPHA_COMPARATOR.compare(object1, object2);
|
D | RunningState.java | 727 public int compare(ProcessItem object1, ProcessItem object2) { in compare() argument 728 if (object1.mUserId != object2.mUserId) { in compare() 729 if (object1.mUserId == mMyUserId) return -1; in compare() 731 return object1.mUserId < object2.mUserId ? -1 : 1; in compare() 733 if (object1.mIsStarted != object2.mIsStarted) { in compare() 735 return object1.mIsStarted ? -1 : 1; in compare() 737 if (object1.mIsSystem != object2.mIsSystem) { in compare() 739 return object1.mIsSystem ? 1 : -1; in compare() 741 if (object1.mActiveSince != object2.mActiveSince) { in compare() 744 return (object1.mActiveSince > object2.mActiveSince) ? -1 : 1; in compare()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoader.java | 292 public int compare(PackageInfo object1, PackageInfo object2) { 293 if (object1.size < object2.size) return 1; 294 if (object1.size > object2.size) return -1; 295 int compareResult = sCollator.compare(object1.label, object2.label); 299 compareResult = sCollator.compare(object1.packageName, object2.packageName); 303 return object1.userId - object2.userId;
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
D | AccountType.java | 55 public int compare(DataKind object1, DataKind object2) { 56 return object1.weight - object2.weight;
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountType.java | 302 public int compare(DataKind object1, DataKind object2) { 303 return object1.weight - object2.weight;
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | CustomContactListFilterActivity.java | 418 public int compare(GroupDelta object1, GroupDelta object2) { 419 final Long id1 = object1.getId();
|