Home
last modified time | relevance | path

Searched refs:resultLength (Results 1 – 2 of 2) sorted by relevance

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DSearchQueryUtils.java51 final int resultLength = resultTokens.length; in getWordDifference() local
52 if (queryTokens.length > resultLength) { in getWordDifference()
59 while (i < resultLength) { in getWordDifference()
62 while ((i + j < resultLength) && (queryTokens[j] == resultTokens[i + j])) { in getWordDifference()
67 return resultLength - queryTokens.length; in getWordDifference()
74 if (queryTokens.length > resultLength - i) { in getWordDifference()
80 while ((i < resultLength) && (!Character.isWhitespace(resultTokens[i++]))) ; in getWordDifference()
83 while ((i < resultLength) && !(Character.isLetter(resultTokens[i]) in getWordDifference()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAdvtFilterOnFoundOnLostInfo.java114 int resultLength = mAdvPkt.length + ((mScanRsp != null) ? mScanRsp.length : 0); in getResult() local
115 byte[] result = new byte[resultLength]; in getResult()