/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconNormalizer.java | 359 float[] xCoordinates, int direction, int topY, int bottomY) { in convertToConvexArray() argument 360 int total = xCoordinates.length; in convertToConvexArray() 370 if (xCoordinates[i] <= -1) { in convertToConvexArray() 378 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray() 385 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray() 394 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray() 398 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state.cpp | 44 const int *const xCoordinates, const int *const yCoordinates, const int *const times, in initInputParams() argument 49 inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, in initInputParams() 68 mProximityInfo->initializeProximities(inputCodes, xCoordinates, yCoordinates, in initInputParams() 107 if (xCoordinates && yCoordinates) { in initInputParams() 109 mMaxPointToKeyLength, mInputProximities, xCoordinates, yCoordinates, times, in initInputParams() 116 mAverageSpeed = ProximityInfoStateUtils::refreshSpeedRates(inputSize, xCoordinates, in initInputParams() 121 mAverageSpeed, inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, in initInputParams() 148 ProximityInfoStateUtils::dump(isGeometric, inputSize, xCoordinates, yCoordinates, in initInputParams() 156 && xCoordinates && yCoordinates; in initInputParams()
|
D | proximity_info_state_utils.cpp | 219 const int *const xCoordinates, const int *const yCoordinates, const int *const times, in refreshSpeedRates() argument 245 length += GeometryUtils::getDistanceInt(xCoordinates[j], yCoordinates[j], in refreshSpeedRates() 246 xCoordinates[j + 1], yCoordinates[j + 1]); in refreshSpeedRates() 256 length += GeometryUtils::getDistanceInt(xCoordinates[j], yCoordinates[j], in refreshSpeedRates() 257 xCoordinates[j + 1], yCoordinates[j + 1]); in refreshSpeedRates() 278 const float averageSpeed, const int inputSize, const int *const xCoordinates, in refreshBeelineSpeedRates() argument 289 mostCommonKeyWidth, averageSpeed, i, inputSize, xCoordinates, yCoordinates, times, in refreshBeelineSpeedRates() 476 const float averageSpeed, const int id, const int inputSize, const int *const xCoordinates, in calculateBeelineSpeedRate() argument 500 tempBeelineDistance = GeometryUtils::getDistanceInt(x0, y0, xCoordinates[start], in calculateBeelineSpeedRate() 514 tempBeelineDistance = GeometryUtils::getDistanceInt(x0, y0, xCoordinates[end], in calculateBeelineSpeedRate() [all …]
|
D | proximity_info_state_utils.h | 51 static float refreshSpeedRates(const int inputSize, const int *const xCoordinates, 60 const int inputSize, const int *const xCoordinates, const int *const yCoordinates, 100 const int *const xCoordinates, const int *const yCoordinates, const int *const times, 138 const int id, const int inputSize, const int *const xCoordinates,
|
D | proximity_info_state.h | 39 const int inputSize, const int *xCoordinates, const int *yCoordinates,
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | InputPointers.java | 100 @Nonnull final ResizableIntArray xCoordinates, in append() argument 105 mXCoordinates.append(xCoordinates, startPos, length); in append()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 200 int xCoordinates[inputSize]; in latinime_BinaryDictionary_getSuggestions() local 206 env->GetIntArrayRegion(xCoordinatesArray, 0, inputSize, xCoordinates); in latinime_BinaryDictionary_getSuggestions() 249 dictionary->getSuggestions(pInfo, traverseSession, xCoordinates, yCoordinates, in latinime_BinaryDictionary_getSuggestions()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | InputPointersTests.java | 52 final int[] xCoordinates = src.getXCoordinates(); in testReset() local 59 assertNotSame("xCoordinates after reset", xCoordinates, src.getXCoordinates()); in testReset()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 194 long traverseSession, int[] xCoordinates, int[] yCoordinates, int[] times, in getSuggestionsNative() argument
|