Home
last modified time | relevance | path

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

/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardView.java73 private int mFocusIndex; field in LeanbackKeyboardView
135 mFocusIndex = -1; in LeanbackKeyboardView()
178 return mFocusIndex == -1 ? null : mKeys[mFocusIndex].key; in getFocusedKey()
450 if (index != mFocusIndex || clicked != mFocusClicked) { in setFocus()
451 if (index != mFocusIndex) { in setFocus()
452 if (mFocusIndex != NOT_A_KEY) { in setFocus()
453 LeanbackUtils.sendAccessibilityEvent(mKeyImageViews[mFocusIndex], false); in setFocus()
475 mFocusIndex = index; in setFocus()
490 int popupResId = mKeys[mFocusIndex].key.popupResId; in onKeyLongPress()
497 int baseIndex = mFocusIndex; in onKeyLongPress()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumPage.java99 private int mFocusIndex = 0; field in AlbumPage
638 mFocusIndex = data.getIntExtra(SlideshowPage.KEY_PHOTO_INDEX, 0); in onStateResult()
639 mSlotView.setCenterIndex(mFocusIndex); in onStateResult()
644 mFocusIndex = data.getIntExtra(PhotoPage.KEY_RETURN_INDEX_HINT, 0); in onStateResult()
645 mSlotView.makeSlotVisible(mFocusIndex); in onStateResult()