Home
last modified time | relevance | path

Searched refs:o1 (Results 1 – 23 of 23) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSuggestionResults.java78 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/
DContactSortingInfo.java42 (o1, o2) -> o1.compareBySortKeyPrimary(o2);
53 (o1, o2) -> o1.compareBySortKeyAlt(o2);
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMessageDateComparator.java22 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/
Dmove3.dot26 o1 [label="{o:object|}", fillcolor=3]
29 c1 -> o1 [style="dashed", constraint=false, label="AddMember"]
33 o1 -> ghost [style=invis]
Dmove2.dot25 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/
DSpeedDialAdapter.java175 (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/
DContactFilterCursor.java130 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/
DSelectWifiState.java240 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()
DSelectFromListWizardFragment.java65 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/
DNetworkAttributes.java178 @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/
DSelfParticipantsData.java69 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/
DAccountInfo.java143 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/
DTelephonyConnectionService.java2161 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/
DCellBroadcastAlertDialog.java638 (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/
DWearHistory.java81 mWearHistory.sort((WearEstimateRecord o1, WearEstimateRecord o2) -> in add()
82 Long.valueOf(o1.getTotalCarServiceUptime()).compareTo( in add()
/packages/services/Telecomm/src/com/android/server/telecom/
DCarModeTracker.java81 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/
DContactResultsLiveData.java156 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/
DDatabaseResultTask.java310 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/
DAppsAsyncLoader.java198 (UsageStats o1, UsageStats o2) -> in getLatestUsageStatsByPackageName()
200 o1.getLastTimeUsed(), in getLatestUsageStatsByPackageName()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java636 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/
DBaseContactsProvider2Test.java816 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/
Dimages_tar1151 <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/
Dcapture_kqed.ts4232 pj"�o1Ⓓ9qYq�Qʓ LY}���;̫�#�vM:!��Y���A����5`�D�D��:�8H��L��`!�2b�����
43398 …����������������G�Q4�A,����G�^۰�B�Z-}7 A��y�jO3`�t\�?�A/��7����!.��|o1����6�JN~�����B�i��-�
53179 …)��H��F��\-��o����`���z�C�o2Cycѻ`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�G�1�-�������e>�I…
62733 …U����av����� _��jC���A4��L�-_�@�t��)��J�xD�'I�k��0�nB,� �s�G�QJ#��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���M�bY�…
83045 …�x(�H�&�����VIx��㧀Z��C�V D0C����C�@�����j?�� ѿ[XC3\����&�s�}�N�M��S���o1��x0
97702 5F��04$7��G�1��o1���@M�\*�~���_2���ڏ������ ��a%������7��+���$���F��0�����!,�{…
105716 ���I�B`��� 0B9�D�-��Ma�90�R�D����/�����I@�h7p���%��0��ѧ��/s��JG�Q���)�ry� 8����o1�…
[all …]