Home
last modified time | relevance | path

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

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
H A DKeyboardDragAndDropView.java77 private VirtualNodeInfo mCurrentSelection; field in KeyboardDragAndDropView
124 if (mCurrentSelection != null) { in onStateTransitionComplete()
125 setCurrentSelection(mCurrentSelection); in onStateTransitionComplete()
130 mCurrentSelection = nodeInfo; in setCurrentSelection()
197 int index = mNodes.indexOf(mCurrentSelection); in getNextSelection()
198 if (mCurrentSelection == null || index < 0) { in getNextSelection()
231 mCurrentSelection.populate(mTempNodeInfo).getBoundsInScreen(mTempRect); in getNextSelection()
258 if (keyCode == KeyEvent.KEYCODE_ENTER && mCurrentSelection != null) { in onKeyUp()
259 mCurrentSelection.delegate.onPerformActionForVirtualView( in onKeyUp()
260 mCurrentSelection.id, AccessibilityNodeInfoCompat.ACTION_CLICK, null); in onKeyUp()
/aosp12/packages/apps/Gallery/src/com/android/camera/
H A 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()
694 if (mCurrentSelection == INDEX_NONE) return; in paintSelection()
696 int row = mCurrentSelection / mColumns; in paintSelection()
[all …]