Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DUtils.java852 DNASegment lhs = new DNASegment(); in createDNAStrands() local
853 lhs.startMinute = currSegment.startMinute; in createDNAStrands()
854 lhs.color = currSegment.color; in createDNAStrands()
855 lhs.endMinute = startMinute - 1; in createDNAStrands()
856 lhs.day = currSegment.day; in createDNAStrands()
861 segments.add(i++, lhs); in createDNAStrands()
862 strands.get(lhs.color).count++; in createDNAStrands()
884 DNASegment lhs = segments.get(i - 1); in createDNAStrands() local
885 if (lhs.color == CONFLICT_COLOR && currSegment.day == lhs.day in createDNAStrands()
886 && lhs.endMinute >= currSegment.startMinute - 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()) {
152 return lhs.isDirectory() ? -1 : 1;
154 return lhs.getName().compareTo(rhs.getName());
/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/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
325 int lhIndex = lhs.cellY * mNumCols + lhs.cellX; in compare()
DLauncherModel.java1284 public int compare(ItemInfo lhs, ItemInfo rhs) { in bindWorkspace()
1289 long lr = (lhs.container * containerOffset + lhs.screen * screenOffset + in bindWorkspace()
1290 lhs.cellY * cellCountX + lhs.cellX); in bindWorkspace()
DFocusHelper.java578 public int compare(View lhs, View rhs) { in getCellLayoutChildrenSortedSpatially()
579 CellLayout.LayoutParams llp = (CellLayout.LayoutParams) lhs.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()