Home
last modified time | relevance | path

Searched refs:object1 (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java441 public int compare(AppOpEntry object1, AppOpEntry object2) {
442 if (object1.getSwitchOrder() != object2.getSwitchOrder()) {
443 return object1.getSwitchOrder() < object2.getSwitchOrder() ? -1 : 1;
445 if (object1.isRunning() != object2.isRunning()) {
447 return object1.isRunning() ? -1 : 1;
449 if (object1.getTime() != object2.getTime()) {
451 return object1.getTime() > object2.getTime() ? -1 : 1;
453 return sCollator.compare(object1.getAppEntry().getLabel(),
464 public int compare(AppOpEntry object1, AppOpEntry object2) {
465 return sCollator.compare(object1.getAppEntry().getLabel(),
DRunningState.java728 public int compare(ProcessItem object1, ProcessItem object2) { in compare() argument
729 if (object1.mUserId != object2.mUserId) { in compare()
730 if (object1.mUserId == mMyUserId) return -1; in compare()
732 return object1.mUserId < object2.mUserId ? -1 : 1; in compare()
734 if (object1.mIsStarted != object2.mIsStarted) { in compare()
736 return object1.mIsStarted ? -1 : 1; in compare()
738 if (object1.mIsSystem != object2.mIsSystem) { in compare()
740 return object1.mIsSystem ? 1 : -1; in compare()
742 if (object1.mActiveSince != object2.mActiveSince) { in compare()
745 return (object1.mActiveSince > object2.mActiveSince) ? -1 : 1; in compare()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DContactsSource.java149 public int compare(DataKind object1, DataKind object2) {
150 return object1.weight - object2.weight;
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountType.java305 public int compare(DataKind object1, DataKind object2) {
306 return object1.weight - object2.weight;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnEngineJAJP.java607 public int compare(Object object1, Object object2) { in compare() argument
608 WnnWord wnnWord1 = (WnnWord) object1; in compare()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java418 public int compare(GroupDelta object1, GroupDelta object2) {
419 final Long id1 = object1.getId();