Home
last modified time | relevance | path

Searched refs:object2 (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DApplicationsState.java166 public int compare(AppEntry object1, AppEntry object2) {
169 final boolean normal2 = object2.info.enabled
170 && (object2.info.flags&ApplicationInfo.FLAG_INSTALLED) != 0;
174 return sCollator.compare(object1.label, object2.label);
182 public int compare(AppEntry object1, AppEntry object2) {
183 if (object1.size < object2.size) return 1;
184 if (object1.size > object2.size) return -1;
185 return sCollator.compare(object1.label, object2.label);
193 public int compare(AppEntry object1, AppEntry object2) {
194 if (object1.internalSize < object2.internalSize) return 1;
[all …]
DRunningState.java676 public int compare(ProcessItem object1, ProcessItem object2) { in compare() argument
677 if (object1.mUserId != object2.mUserId) { in compare()
679 if (object2.mUserId == mMyUserId) return 1; in compare()
680 return object1.mUserId < object2.mUserId ? -1 : 1; in compare()
682 if (object1.mIsStarted != object2.mIsStarted) { in compare()
686 if (object1.mIsSystem != object2.mIsSystem) { in compare()
690 if (object1.mActiveSince != object2.mActiveSince) { in compare()
693 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/Contacts/src/com/android/contacts/model/account/
DAccountType.java311 public int compare(DataKind object1, DataKind object2) {
312 return object1.weight - object2.weight;
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DWorldClockAdapter.java145 public int compare(Object object1, Object object2) { in sortList()
147 CityObj city2 = (CityObj) object2; in sortList()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnEngineJAJP.java607 public int compare(Object object1, Object object2) { in compare() argument
609 WnnWord wnnWord2 = (WnnWord) object2; in compare()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DShortcutRepositoryTest.java952 public int compare(Entry<A, B> object1, Entry<A, B> object2) { in sortByValues()
953 int diff = object1.getValue().compareTo(object2.getValue()); in sortByValues()
957 return object1.getKey().compareTo(object2.getKey()); in sortByValues()
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java416 public int compare(GroupDelta object1, GroupDelta object2) {
418 final Long id2 = object2.getId();
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DApiService.java1577 VideoEditorProject object2) { in processIntent()
1578 if (object1.getLastSaved() > object2.getLastSaved()) { in processIntent()
1580 … } else if (object1.getLastSaved() == object2.getLastSaved()) { in processIntent()