Searched refs:sKey (Results 1 – 3 of 3) sorted by relevance
316 SoftKey sKey = softKeys.get(i); in mapToKey() local317 if (sKey.mLeft <= x && sKey.mTop <= y && sKey.mRight > x in mapToKey()318 && sKey.mBottom > y) { in mapToKey()319 return sKey; in mapToKey()337 SoftKey sKey = softKeys.get(i); in mapToKey() local338 int disx = (sKey.mLeft + sKey.mRight) / 2 - x; in mapToKey()339 int disy = (sKey.mTop + sKey.mBottom) / 2 - y; in mapToKey()343 nearestKey = sKey; in mapToKey()359 SoftKey sKey = softKeys.get(i); in switchQwertyMode() local360 if (sKey instanceof SoftKeyToggle) { in switchQwertyMode()[all …]
311 private void responseKeyEvent(SoftKey sKey) { in responseKeyEvent() argument312 if (null == sKey) return; in responseKeyEvent()313 ((PinyinIME) mService).responseSoftKeyEvent(sKey); in responseKeyEvent()
963 public void responseSoftKeyEvent(SoftKey sKey) { in responseSoftKeyEvent() argument964 if (null == sKey) return; in responseSoftKeyEvent()969 int keyCode = sKey.getKeyCode(); in responseSoftKeyEvent()972 if (sKey.isKeyCodeKey()) { in responseSoftKeyEvent()976 if (sKey.isUserDefKey()) { in responseSoftKeyEvent()981 if (sKey.isKeyCodeKey()) { in responseSoftKeyEvent()989 } else if (sKey.isUniStrKey()) { in responseSoftKeyEvent()991 String keyLabel = sKey.getKeyLabel(); in responseSoftKeyEvent()