Searched defs:keyId (Results 1 - 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | proximity_info.h | 43 const int keyId, const int x, const int y) const; 110 int getKeyCenterXOfKeyIdG(int keyId) const; 111 int getKeyCenterYOfKeyIdG(int keyId) const; 122 int squaredDistanceToEdge(const int keyId, const int x, const int y) const; 123 bool isOnKey(const int keyId, const int x, const int y) const { argument 124 if (keyId < 0) return true; // NOT_A_ID is -1, but return whenever < 0 just in case 125 const int left = mKeyXCoordinates[keyId]; 126 const int top = mKeyYCoordinates[keyId]; 127 const int right = left + mKeyWidths[keyId] + 1; 128 const int bottom = top + mKeyHeights[keyId]; [all...] |
H A D | proximity_info.cpp | 138 const int keyId, const int x, const int y) const { 142 ? getSweetSpotCenterXAt(keyId) 143 : getKeyCenterXOfKeyIdG(keyId)); 144 const float visualKeyCenterY = static_cast<float>(getKeyCenterYOfKeyIdG(keyId)); 147 const float sweetSpotCenterY = static_cast<float>(getSweetSpotCenterYAt(keyId)); 159 int ProximityInfo::squaredDistanceToEdge(const int keyId, const int x, const int y) const { argument 160 if (keyId < 0) return true; // NOT_A_ID is -1, but return whenever < 0 just in case 161 const int left = mKeyXCoordinates[keyId]; 162 const int top = mKeyYCoordinates[keyId]; 163 const int right = left + mKeyWidths[keyId]; 137 getNormalizedSquaredDistanceFromCenterFloatG( const int keyId, const int x, const int y) const argument [all...] |
H A D | proximity_info_state.cpp | 457 const int keyId = mProximityInfo->getKeyIndexOf(nodeChar); local 458 if (keyId >= 0) { 459 x = mProximityInfo->getKeyCenterXOfKeyIdG(keyId); 460 y = mProximityInfo->getKeyCenterYOfKeyIdG(keyId); 508 const int keyId = mProximityInfo->getKeyIndexOf(codePoint); local 509 if (keyId != NOT_AN_INDEX) { 510 const int index = inputIndex * mProximityInfo->getKeyCount() + keyId; 521 const int keyId = mProximityInfo->getKeyIndexOf(' '); local 522 return mProximityInfo->getKeyCenterYOfKeyIdG(keyId);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | SkbTemplate.java | 40 int keyId; field in class:KeyRecord 177 public void addDefaultKey(int keyId, SoftKey softKey) { argument 181 keyRecord.keyId = keyId; 187 if (mKeyRecords.get(pos).keyId >= keyId) break; 193 public SoftKey getDefaultKey(int keyId) { argument 198 if (keyRecord.keyId < keyId) { 202 if (keyRecord.keyId [all...] |
Completed in 82 milliseconds