Home
last modified time | relevance | path

Searched refs:index1 (Results 1 – 15 of 15) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/
Ddamerau_levenshtein_edit_distance_policy.h33 AK_FORCE_INLINE float getSubstitutionCost(const int index0, const int index1) const { in getSubstitutionCost() argument
35 const int c1 = CharUtils::toBaseLowerCase(mString1[index1]); in getSubstitutionCost()
39 AK_FORCE_INLINE float getDeletionCost(const int index0, const int index1) const { in getDeletionCost() argument
43 AK_FORCE_INLINE float getInsertionCost(const int index0, const int index1) const { in getInsertionCost() argument
47 AK_FORCE_INLINE bool allowTransposition(const int index0, const int index1) const { in allowTransposition() argument
49 const int c1 = CharUtils::toBaseLowerCase(mString1[index1]); in allowTransposition()
50 if (index0 > 0 && index1 > 0 && c0 == CharUtils::toBaseLowerCase(mString1[index1 - 1]) in allowTransposition()
57 AK_FORCE_INLINE float getTranspositionCost(const int index0, const int index1) const { in getTranspositionCost() argument
58 return getSubstitutionCost(index0, index1); in getTranspositionCost()
Dedit_distance_policy.h26 virtual float getSubstitutionCost(const int index0, const int index1) const = 0;
27 virtual float getDeletionCost(const int index0, const int index1) const = 0;
28 virtual float getInsertionCost(const int index0, const int index1) const = 0;
29 virtual bool allowTransposition(const int index0, const int index1) const = 0;
30 virtual float getTranspositionCost(const int index0, const int index1) const = 0;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp296 const std::vector<int> *const sampledInputYs, const int index0, const int index1) { in getDirection() argument
302 if (index1 < 0 || index1 > sampledInputSize - 1) { in getDirection()
307 const int x2 = (*sampledInputXs)[index1]; in getDirection()
308 const int y2 = (*sampledInputYs)[index1]; in getDirection()
578 const int index0, const int index1, const int index2) { in getPointsAngle() argument
586 if (index1 < 0 || index1 > sampledInputSize - 1) { in getPointsAngle()
592 const float previousDirection = getDirection(sampledInputXs, sampledInputYs, index0, index1); in getPointsAngle()
593 const float nextDirection = getDirection(sampledInputXs, sampledInputYs, index1, index2); in getPointsAngle()
866 const int index0, const int index1, in suppressCharProbabilities() argument
869 ASSERT(0 <= index1 && index1 < sampledInputSize); in suppressCharProbabilities()
[all …]
Dproximity_info_state_utils.h66 const std::vector<int> *const sampledInputYs, const int index0, const int index1);
146 const std::vector<int> *const sampledInputYs, const int index0, const int index1,
150 const int index1, std::vector<std::unordered_map<int, float>> *charProbabilities);
Dproximity_info_state.cpp282 float ProximityInfoState::getDirection(const int index0, const int index1) const { in getDirection()
284 &mSampledInputXs, &mSampledInputYs, index0, index1); in getDirection()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPreviewItemAnim.java67 PreviewItemDrawingParams params, int index0, int items0, int index1, int items1, in FolderPreviewItemAnim() argument
71 mParams.index = index1; in FolderPreviewItemAnim()
73 mItemManager.computePreviewItemDrawingParams(index1, items1, sTmpParams); in FolderPreviewItemAnim()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogGroupBuilder.java226 int index1 = number1.indexOf('@'); in compareSipAddresses() local
229 if (index1 != -1) { in compareSipAddresses()
230 userinfo1 = number1.substring(0, index1); in compareSipAddresses()
231 rest1 = number1.substring(index1); in compareSipAddresses()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpParser.java291 final int index1 = header.indexOf("-"); in getChunkSize() local
293 if ((index1 != -1) && (index2 != -1)) { in getChunkSize()
294 final String lowByteValue = header.substring(0, index1); in getChunkSize()
295 final String highByteValue = header.substring(index1 + 1, index2); in getChunkSize()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/data/
DLogAggregatorsTest.java52 int index1, int count1, int index2, int count2) { in indexHistogramAggregate() argument
56 .addBuckets(Bucket.newBuilder().setIndex(index1).setCount(count1)) in indexHistogramAggregate()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDeltaList.java264 private Builder buildSplitContactDiffHelper(int index1, int index2, int[] backRefs) { in buildSplitContactDiffHelper() argument
269 Long rawContactId1 = get(index1).getValues().getAsLong(RawContacts._ID); in buildSplitContactDiffHelper()
270 int backRef1 = backRefs[index1]; in buildSplitContactDiffHelper()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DAtPhonebook.java330 int index1; in handleCpbrCommand() local
344 index1 = Integer.parseInt(indices[0]); in handleCpbrCommand()
346 index2 = index1; in handleCpbrCommand()
357 mCpbrIndex1 = index1; in handleCpbrCommand()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/
DDatabaseTestUtils.java430 IndexInfo index1 = indexInfoPreviousVersion.get(indexName); in checkIndexModification() local
435 index1.checkIndexDiff(index2, modificationOfIndex, tableName); in checkIndexModification()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java155 int index1 = MIME_TYPE_ORDER.indexOf(mimeType1); in compare() local
159 if (index1 < 0 && index2 < 0) return mimeType1.compareTo(mimeType2); in compare()
160 if (index1 < 0) return 1; in compare()
163 return index1 < index2 ? -1 : 1; in compare()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1215 Landroid/icu/impl/Trie2Writable;->index1:[I
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...