Home
last modified time | relevance | path

Searched refs:isGeometric (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state.cpp45 const int *const pointerIds, const bool isGeometric, const std::vector<int> *locale) { in initInputParams() argument
46 ASSERT(isGeometric || (inputSize < MAX_WORD_LENGTH)); in initInputParams()
47 mIsContinuousSuggestionPossible = (mHasBeenUpdatedByGeometricInput != isGeometric) ? in initInputParams()
67 if (!isGeometric && pointerId == 0) { in initInputParams()
110 pointerIds, inputSize, isGeometric, pointerId, in initInputParams()
115 if (mSampledInputSize > 0 && isGeometric) { in initInputParams()
128 lastSavedInputSize, isGeometric, &mSampledInputXs, &mSampledInputYs, in initInputParams()
130 if (isGeometric) { in initInputParams()
148 ProximityInfoStateUtils::dump(isGeometric, inputSize, xCoordinates, yCoordinates, in initInputParams()
157 if (!isGeometric && pointerId == 0) { in initInputParams()
[all …]
Dproximity_info_state_utils.cpp49 const int inputSize, const bool isGeometric, const int pointerId, in updateTouchPoints() argument
73 const bool proximityOnly = !isGeometric in updateTouchPoints()
103 const int c = isGeometric ? in updateTouchPoints()
119 isGeometric, isGeometric /* doSampling */, i == lastInputIndex, in updateTouchPoints()
189 const int lastSavedInputSize, const bool isGeometric, in initGeometricDistanceInfos() argument
202 k, x, y, isGeometric); in initGeometricDistanceInfos()
316 const int y, const bool isGeometric, NearKeysDistanceMap *const currentNearKeysDistances) { in updateNearKeysDistances() argument
322 isGeometric); in updateNearKeysDistances()
403 const int time, const bool isGeometric, const bool doSampling, in pushTouchPoint() argument
417 isGeometric, currentNearKeysDistances); in pushTouchPoint()
[all …]
Dproximity_info.cpp130 const int keyId, const int x, const int y, const bool isGeometric) const { in getNormalizedSquaredDistanceFromCenterFloatG()
131 const float centerX = static_cast<float>(getKeyCenterXOfKeyIdG(keyId, x, isGeometric)); in getNormalizedSquaredDistanceFromCenterFloatG()
132 const float centerY = static_cast<float>(getKeyCenterYOfKeyIdG(keyId, y, isGeometric)); in getNormalizedSquaredDistanceFromCenterFloatG()
196 const int keyId, const int referencePointX, const bool isGeometric) const { in getKeyCenterXOfKeyIdG()
222 const int keyId, const int referencePointY, const bool isGeometric) const { in getKeyCenterYOfKeyIdG()
230 } else if (isGeometric) { in getKeyCenterYOfKeyIdG()
Dproximity_info_state_utils.h42 const bool isGeometric, const int pointerId, const int pushTouchPointStartIndex,
86 const int sampledInputSize, const int lastSavedInputSize, const bool isGeometric,
92 static void dump(const bool isGeometric, const int inputSize,
116 const bool isGeometric,
129 int y, const int time, const bool isGeometric,
Dproximity_info.h41 const int keyId, const int x, const int y, const bool isGeometric) const;
68 const int keyId, const int referencePointX, const bool isGeometric) const;
70 const int keyId, const int referencePointY, const bool isGeometric) const;
Dproximity_info_state.h40 const int *const times, const int *const pointerIds, const bool isGeometric,