Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DKeyboardDragAndDropView.java78 private VirtualNodeInfo mCurrentSelection; field in KeyboardDragAndDropView
125 if (mCurrentSelection != null) { in onStateTransitionComplete()
126 setCurrentSelection(mCurrentSelection); in onStateTransitionComplete()
131 mCurrentSelection = nodeInfo; in setCurrentSelection()
198 int index = mNodes.indexOf(mCurrentSelection); in getNextSelection()
199 if (mCurrentSelection == null || index < 0) { in getNextSelection()
232 mCurrentSelection.populate(mTempNodeInfo).getBoundsInScreen(mTempRect); in getNextSelection()
259 if (keyCode == KeyEvent.KEYCODE_ENTER && mCurrentSelection != null) { in onKeyUp()
260 mCurrentSelection.delegate.onPerformActionForVirtualView( in onKeyUp()
261 mCurrentSelection.id, AccessibilityNodeInfoCompat.ACTION_CLICK, null); in onKeyUp()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java130 private int mCurrentSelection = INDEX_NONE; field in GridViewSpecial
379 return mCurrentSelection; in getCurrentSelection()
401 if (mCurrentSelection == index) { in setSelectedIndex()
405 mCurrentSelection = Math.min(index, mCount - 1); in setSelectedIndex()
407 if (mCurrentSelection != INDEX_NONE) { in setSelectedIndex()
408 ensureVisible(mCurrentSelection); in setSelectedIndex()
473 mCurrentSelection = INDEX_NONE; in stop()
581 int sel = mCurrentSelection; in onKeyDown()
650 mListener.onImageClicked(mCurrentSelection); in onKeyUp()
694 if (mCurrentSelection == INDEX_NONE) return; in paintSelection()
[all …]