Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DUtils.java836 DNASegment rhs = new DNASegment(); in createDNAStrands() local
837 rhs.endMinute = currSegment.endMinute; in createDNAStrands()
838 rhs.color = currSegment.color; in createDNAStrands()
839 rhs.startMinute = endMinute + 1; in createDNAStrands()
840 rhs.day = currSegment.day; in createDNAStrands()
842 segments.add(i + 1, rhs); in createDNAStrands()
843 strands.get(rhs.color).count++; in createDNAStrands()
871 DNASegment rhs = segments.get(i + 1); in createDNAStrands() local
872 if (rhs.color == CONFLICT_COLOR && currSegment.day == rhs.day in createDNAStrands()
873 && rhs.startMinute <= currSegment.endMinute + 1) { in createDNAStrands()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DAccountTypeTest.java106 private int compareDisplayLabel(AccountType lhs, AccountType rhs) {
107 return new AccountType.DisplayLabelComparator(getContext()).compare(lhs, rhs);
/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/Settings/src/com/android/settings/
DAppWidgetPickActivity.java214 public int compare(PickAdapter.Item lhs, PickAdapter.Item rhs) { in getItems()
215 return mCollator.compare(lhs.label, rhs.label); in getItems()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountType.java527 public int compare(AccountType lhs, AccountType rhs) { in compare() argument
528 return mCollator.compare(getDisplayLabel(lhs), getDisplayLabel(rhs)); in compare()
/packages/apps/Launcher2/src/com/android/launcher2/
DFolder.java324 public int compare(ShortcutInfo lhs, ShortcutInfo rhs) { in compare() argument
326 int rhIndex = rhs.cellY * mNumCols + rhs.cellX; in compare()
DLauncherModel.java1284 public int compare(ItemInfo lhs, ItemInfo rhs) { in bindWorkspace()
1291 long rr = (rhs.container * containerOffset + rhs.screen * screenOffset + in bindWorkspace()
1292 rhs.cellY * cellCountX + rhs.cellX); in bindWorkspace()
DFocusHelper.java578 public int compare(View lhs, View rhs) { in getCellLayoutChildrenSortedSpatially()
580 CellLayout.LayoutParams rlp = (CellLayout.LayoutParams) rhs.getLayoutParams(); in getCellLayoutChildrenSortedSpatially()
/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()