Home
last modified time | relevance | path

Searched refs:keyFocus (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardController.java334 private void commitKey(LeanbackKeyboardContainer.KeyFocus keyFocus) { in commitKey() argument
335 if (mContainer == null || keyFocus == null) { in commitKey()
339 switch (keyFocus.type) { in commitKey()
349 mContainer.getSuggestionText(keyFocus.index)); in commitKey()
352 Key key = mContainer.getKey(keyFocus.type, keyFocus.index); in commitKey()
550 KeyFocus keyFocus = mContainer.getCurrFocus(); in handleKeyUpEvent() local
551 if (keyFocus != null && keyFocus.type == KeyFocus.TYPE_SUGGESTION) { in handleKeyUpEvent()
553 mContainer.getSuggestionText(keyFocus.index)); in handleKeyUpEvent()
DLeanbackKeyboardContainer.java258 KeyFocus keyFocus = (KeyFocus) o; in equals() local
260 if (code != keyFocus.code) { in equals()
263 if (index != keyFocus.index) { in equals()
266 if (type != keyFocus.type) { in equals()
269 if (label != null ? !label.equals(keyFocus.label) : keyFocus.label != null) { in equals()
272 if (!rect.equals(keyFocus.rect)) { in equals()