Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java143 public int compare(MergedItem lhs, MergedItem rhs) {
145 Log.i(TAG, "Comparing " + lhs + " with " + rhs);
146 Log.i(TAG, " Proc " + lhs.mProcess + " with " + rhs.mProcess);
147 Log.i(TAG, " UserId " + lhs.mUserId + " with " + rhs.mUserId);
149 if (lhs.mUserId != rhs.mUserId) {
151 if (rhs.mUserId == mMyUserId) return 1;
152 return lhs.mUserId < rhs.mUserId ? -1 : 1;
154 if (lhs.mProcess == rhs.mProcess) {
155 if (lhs.mLabel == rhs.mLabel) {
158 return lhs.mLabel != null ? lhs.mLabel.compareTo(rhs.mLabel) : -1;
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java1029 DNASegment rhs = new DNASegment(); in createDNAStrands() local
1030 rhs.endMinute = currSegment.endMinute; in createDNAStrands()
1031 rhs.color = currSegment.color; in createDNAStrands()
1032 rhs.startMinute = endMinute + 1; in createDNAStrands()
1033 rhs.day = currSegment.day; in createDNAStrands()
1035 segments.add(i + 1, rhs); in createDNAStrands()
1036 strands.get(rhs.color).count++; in createDNAStrands()
1064 DNASegment rhs = segments.get(i + 1); in createDNAStrands() local
1065 if (rhs.color == CONFLICT_COLOR && currSegment.day == rhs.day in createDNAStrands()
1066 && rhs.startMinute <= currSegment.endMinute + 1) { in createDNAStrands()
[all …]
/packages/apps/Browser/src/com/android/browser/homepages/
DRequestHandler.java150 public int compare(File lhs, File rhs) {
151 if (lhs.isDirectory() != rhs.isDirectory()) {
154 return lhs.getName().compareTo(rhs.getName());
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java1546 public int compare(ItemInfo lhs, ItemInfo rhs) { in filterCurrentWorkspaceItems()
1547 return (int) (lhs.container - rhs.container); in filterCurrentWorkspaceItems()
1625 public int compare(ItemInfo lhs, ItemInfo rhs) { in sortWorkspaceItemsSpatially()
1632 long rr = (rhs.container * containerOffset + rhs.screen * screenOffset + in sortWorkspaceItemsSpatially()
1633 rhs.cellY * cellCountX + rhs.cellX); in sortWorkspaceItemsSpatially()
DFolder.java325 public int compare(ShortcutInfo lhs, ShortcutInfo rhs) { in compare() argument
327 int rhIndex = rhs.cellY * mNumCols + rhs.cellX; in compare()
DFocusHelper.java578 public int compare(View lhs, View rhs) { in getCellLayoutChildrenSortedSpatially()
580 CellLayout.LayoutParams rlp = (CellLayout.LayoutParams) rhs.getLayoutParams(); in getCellLayoutChildrenSortedSpatially()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/
DAccountTypeTest.java106 private int compareDisplayLabel(AccountType lhs, AccountType rhs) {
107 return new AccountType.DisplayLabelComparator(getContext()).compare(lhs, rhs);
/packages/apps/Settings/src/com/android/settings/
DAppWidgetLoader.java163 public int compare(Item lhs, Item rhs) { in getItems()
164 return mCollator.compare(lhs.getLabel(), rhs.getLabel()); in getItems()
DDreamBackend.java299 public int compare(DreamInfo lhs, DreamInfo rhs) { in compare() argument
300 return sortKey(lhs).compareTo(sortKey(rhs)); in compare()
DNotificationStation.java96 HistoricalNotificationInfo rhs) {
97 return (int)(rhs.timestamp - lhs.timestamp);
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountType.java527 public int compare(AccountType lhs, AccountType rhs) { in compare() argument
528 return mCollator.compare(getDisplayLabel(lhs), getDisplayLabel(rhs)); in compare()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DSmartDialCache.java344 public int compare(ContactNumber lhs, ContactNumber rhs) { in compare() argument
348 return Integer.compare(lhs.affinity, rhs.affinity); in compare()
/packages/apps/Settings/src/com/android/settings/tts/
DTtsEngineSettingsFragment.java225 public int compare(Pair<String, String> lhs, Pair<String, String> rhs) { in updateDefaultLocalePref()
226 return lhs.first.compareToIgnoreCase(rhs.first); in updateDefaultLocalePref()
/packages/apps/Email/src/com/android/email/
DMessagingController.java649 public int compare(SortableMessage lhs, SortableMessage rhs) { in searchMailboxImpl()
650 return lhs.mUid > rhs.mUid ? -1 : lhs.mUid < rhs.mUid ? 1 : 0; in searchMailboxImpl()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java664 public int compare(SelectableAppInfo lhs, SelectableAppInfo rhs) { in compare() argument
666 String rhsLabel = rhs.activityName.toString(); in compare()
/packages/inputmethods/LatinIME/dictionaries/
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1355802858, ...