Lines Matching refs:j
192 for (int j = 0; j < additionalProximitySize; ++j) { in calculateNearbyKeyCodes() local
193 const int32_t ac = additionalProximityChars[j]; in calculateNearbyKeyCodes()
235 for (int j = 0; j < MAX_PROXIMITY_CHARS_SIZE; ++j) { in setInputParams() local
236 int icc = mInputCodes[i * MAX_PROXIMITY_CHARS_SIZE + j]; in setInputParams()
237 int icfjc = inputCodes[i * MAX_PROXIMITY_CHARS_SIZE + j]; in setInputParams()
286 for (int j = 0; j < MAX_PROXIMITY_CHARS_SIZE && proximityChars[j] > 0; ++j) { in setInputParams() local
287 const int currentChar = proximityChars[j]; in setInputParams()
292 mNormalizedSquaredDistances[i * MAX_PROXIMITY_CHARS_SIZE + j] = in setInputParams()
295 mNormalizedSquaredDistances[i * MAX_PROXIMITY_CHARS_SIZE + j] = (j == 0) in setInputParams()
300 AKLOGI("--- Proximity (%d) = %c", j, currentChar); in setInputParams()
415 int j = 1; in getMatchedProximityId() local
416 while (j < MAX_PROXIMITY_CHARS_SIZE in getMatchedProximityId()
417 && currentChars[j] > ADDITIONAL_PROXIMITY_CHAR_DELIMITER_CODE) { in getMatchedProximityId()
418 const bool matched = (currentChars[j] == baseLowerC || currentChars[j] == c); in getMatchedProximityId()
421 *proximityIndex = j; in getMatchedProximityId()
425 ++j; in getMatchedProximityId()
427 if (j < MAX_PROXIMITY_CHARS_SIZE in getMatchedProximityId()
428 && currentChars[j] == ADDITIONAL_PROXIMITY_CHAR_DELIMITER_CODE) { in getMatchedProximityId()
429 ++j; in getMatchedProximityId()
430 while (j < MAX_PROXIMITY_CHARS_SIZE in getMatchedProximityId()
431 && currentChars[j] > ADDITIONAL_PROXIMITY_CHAR_DELIMITER_CODE) { in getMatchedProximityId()
432 const bool matched = (currentChars[j] == baseLowerC || currentChars[j] == c); in getMatchedProximityId()
435 *proximityIndex = j; in getMatchedProximityId()
439 ++j; in getMatchedProximityId()