/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SuggestionResults.java | 78 public int compare(final SuggestedWordInfo o1, final SuggestedWordInfo o2) { in compare() argument 79 if (o1.mScore > o2.mScore) return -1; in compare() 80 if (o1.mScore < o2.mScore) return 1; in compare() 81 if (o1.mCodePointCount < o2.mCodePointCount) return -1; in compare() 82 if (o1.mCodePointCount > o2.mCodePointCount) return 1; in compare() 83 return o1.mWord.compareTo(o2.mWord); in compare()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/ |
D | ContactSortingInfo.java | 42 (o1, o2) -> o1.compareBySortKeyPrimary(o2); 53 (o1, o2) -> o1.compareBySortKeyAlt(o2);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | MessageDateComparator.java | 22 public int compare(Message o1, Message o2) { in compare() argument 24 if (o1.getSentDate() == null) { in compare() 29 return o2.getSentDate().compareTo(o1.getSentDate()); in compare()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | move3.dot | 26 o1 [label="{o:object|}", fillcolor=3] 29 c1 -> o1 [style="dashed", constraint=false, label="AddMember"] 33 o1 -> ghost [style=invis]
|
D | move2.dot | 25 o1 [label="{o:object|}", fillcolor=3] 28 c1 -> o1 [style="dashed", label="AddMember", constraint=false] 32 o1 -> ghost [style=invis]
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | SpeedDialAdapter.java | 175 (o1, o2) -> { in setSpeedDialUiItems() argument 176 if (o1.isStarred() && o2.isStarred()) { in setSpeedDialUiItems() 177 return Integer.compare(o1.pinnedPosition().or(-1), o2.pinnedPosition().or(-1)); in setSpeedDialUiItems() 179 return Boolean.compare(o2.isStarred(), o1.isStarred()); in setSpeedDialUiItems()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | ContactFilterCursor.java | 130 Collections.sort(coalescedContacts, (o1, o2) -> compare(contactIdsToPosition, o1, o2)); in createCursor() 171 Map<Integer, Integer> contactIdsToPosition, Cp2Contact o1, Cp2Contact o2) { in compare() argument 172 int position1 = contactIdsToPosition.get(o1.contactId()); in compare()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectWifiState.java | 240 public int compare(WifiGuidedAction o1, WifiGuidedAction o2) { in compare() argument 241 int levelDiff = o2.getIconLevel() - o1.getIconLevel(); in compare() 245 return o1.getTitle().toString().compareTo(o2.getTitle().toString()); in compare()
|
D | SelectFromListWizardFragment.java | 65 public int compare(ListItem o1, ListItem o2) { in compare() argument 66 int pinnedPos1 = o1.getPinnedPosition(); in compare() 81 PinnedListItem po1 = (PinnedListItem) o1; in compare() 90 ScanResult o1ScanResult = o1.getScanResult(); in compare()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/ |
D | NetworkAttributes.java | 178 @Nullable final Object o1, @Nullable final Object o2) { in samenessContribution() argument 179 if (null == o1) { in samenessContribution() 182 return Objects.equals(o1, o2) ? weight : 0f; in samenessContribution()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | SelfParticipantsData.java | 69 public int compare(Object o1, Object o2) { in getSelfParticipants() 70 int slotId1 = ((ParticipantData) o1).getSlotId(); in getSelfParticipants()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountInfo.java | 143 public int compare(AccountInfo o1, AccountInfo o2) { in sourceComparator() 144 return accountComparator.compare(o1.getAccount(), o2.getAccount()); in sourceComparator()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 2161 Collections.sort(phoneSlotStatus, (o1, o2) -> { in getFirstPhoneForEmergencyCall() 2162 if (!o1.hasDialedEmergencyNumber && o2.hasDialedEmergencyNumber) { in getFirstPhoneForEmergencyCall() 2165 if (o1.hasDialedEmergencyNumber && !o2.hasDialedEmergencyNumber) { in getFirstPhoneForEmergencyCall() 2169 if (o1.simState == TelephonyManager.SIM_STATE_ABSENT in getFirstPhoneForEmergencyCall() 2174 && o1.simState != TelephonyManager.SIM_STATE_ABSENT) { in getFirstPhoneForEmergencyCall() 2180 if (o1.isLocked && !o2.isLocked) { in getFirstPhoneForEmergencyCall() 2183 if (o2.isLocked && !o1.isLocked) { in getFirstPhoneForEmergencyCall() 2187 int compare = RadioAccessFamily.compare(o1.capabilities, o2.capabilities); in getFirstPhoneForEmergencyCall() 2193 if (o1.slotId == firstOccupiedSlot.getPhoneId()) { in getFirstPhoneForEmergencyCall() 2201 if (o1.slotId == defaultPhoneId) { in getFirstPhoneForEmergencyCall()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertDialog.java | 638 (Comparator) (o1, o2) -> { in onNewIntent() 640 ((SmsCbMessage) o1).isCmasMessage() in onNewIntent() 641 && ((SmsCbMessage) o1).getCmasWarningInfo() in onNewIntent() 653 new Long(((SmsCbMessage) o1).getReceivedTime()); in onNewIntent()
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | WearHistory.java | 81 mWearHistory.sort((WearEstimateRecord o1, WearEstimateRecord o2) -> in add() 82 Long.valueOf(o1.getTotalCarServiceUptime()).compareTo( in add()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CarModeTracker.java | 81 public int compare(CarModeApp o1, CarModeApp o2) { in compare() argument 83 return Integer.compare(o2.getPriority(), o1.getPriority()); in compare()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | ContactResultsLiveData.java | 156 Collections.sort(contactResults, (o1, o2) -> ContactSortingInfo.getSortingInfo( in setValue() 157 mContext, mSortOrderPreferenceLiveData).first.compare(o1.mContact, in setValue()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | DatabaseResultTask.java | 310 public int compare(SearchResult o1, SearchResult o2) { in getDynamicRankedResults() 311 final float score1 = getRankingScoreByKey(searchRankScores, o1.dataKey); in getDynamicRankedResults()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoader.java | 198 (UsageStats o1, UsageStats o2) -> in getLatestUsageStatsByPackageName() 200 o1.getLastTimeUsed(), in getLatestUsageStatsByPackageName()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManager.java | 636 sortedMetadata.sort((o1, o2) -> Long.compare(o2.last_active_time, o1.last_active_time)); in getMostRecentlyConnectedDevices()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 816 public int compare(ContentValues o1, ContentValues o2) { in compare() argument 817 long id1 = o1.getAsLong(ContactsContract.Data._ID); in compare()
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 1151 <9Q�<��]�+�"eI��c�Z�o1� 1516 …1, $�����8@X�8����,��rH�$����HȐ�@<7jP�X��#'4F�pf�l<����C�BG ���2�\��/�o1��!�܂z�J>`|� 2605 …�6C�Dž'�dzd�9=8�}�x���,子�c��{�����ǩ��5��/�=n�㍜*c�ӈ#�K(~];��˿��̈a����o1�x�8��xd{m��z�[��w)… 3754 …'8fݐO�����c��n0=)�1��h3ҘY#$�Ĝ�w��JŖ2"�<���0�B���?���eK1$���? ��2{�o1��=�g�+��*�3��23r�… 4445 �9�?�n��P����o1@�w��]����� {K���:�o��5X�͂i�ţ;�`Q���ޗ+C�Чm㏱L��# 5502 …�2es�ט���_�Kq"��y�>��c76C�x���hwϘi�~��ۍ\���U[�9=8�yG��S}��W.�o1����9�O�I,�j�>[pʑ�… 6068 …�����J�/���i^����a���d�I'�T9 �O�v&��z�{��w7S���%�,e$����ڽk���x���o1仴)<lrK�ǦO��y���+[… 6330 …���>M[�,�����'c�(��#��ʕ��=j��$�f�������iw�c��9-�B�'�� u��\�[[�%��o1���,������Њ�/��ׇt>d… 7405 �n�C��L1?*���R�o1$� 7459 …)R2OQԚO-�9�h���>���X�U��s�=�˒Iϰ���b,LYA��})�LAY_s+�?���\A �azP�o1��}�ݍ"��A�b�*3��{�L… [all …]
|
/packages/apps/TV/tuner/tests/assets/ |
D | capture_kqed.ts | 4232 pj"�o1Ⓓ9qYq�QʓLY}���;̫�#vM:!��Y���A���5`�D�D��:�8H��L��`!2b���� 43398 …GQ4�A,����G�^۰�B�Z-}7 A��y�jO3`�t\?�A/��7����!.��|o1���6�JN~�����Bi��-� 53179 …)��H��F��\-��o��`���z�Co2Cycѻ`V�h���mSZ�mƸSaKo��U����@p�{aC��ረo1�+�+u��r57���+V.… 57709 R��8!�|� -�MU"��W�o1���3�S�Y��2�����+�5D��_���S&�����^R 62275 �(/������l�/�����1�|�ͩ�E����H��FaH����o1�E��<�F:�d&0DC:���X@�u�G1�-�������e>�I… 62733 …U����av����� _��jC��A4��L�-_�@�t��)��J�xD�'I�k��0�nB,�s�GQJ#�Y�K-ag��c�>�P`o1���g 69023 …0~�i���D4Q���a���0t\Y�l�~a)V��1D���lf� ���vYi!x��������c�o1P�D�C��MbY�… 83045 …�x(�H�&����VIx��㧀Z��CV D0C����C�@�����j?��ѿ[XC3\����&�s�}�N�M��S���o1��x0 97702 5F��04$7��G1��o1���@M�\*�~���_2���ڏ���� ��a%������7�+���$���F��0�����!,{… 105716 ��I�B`��0B9�D�-��Ma�90�R�D����/����I@�h7p���%��0��ѧ��/s��JGQ���)�ry� 8����o1�… [all …]
|