Home
last modified time | relevance | path

Searched refs:hasSelection (Results 1 – 17 of 17) sorted by relevance

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java182 public boolean hasSelection() { in hasSelection() method in PhotoTable
191 if (hasSelection()) { in clearSelection()
226 if (hasSelection() && mOnDeck[NEXT] != null) { in selectNext()
240 if (hasSelection() && mOnDeck[PREV] != null) { in selectPrevious()
252 if (hasSelection()) { in promoteSelection()
412 if (hasSelection()) { in onTouchEvent()
442 if (hasSelection()) { in onLayout()
521 if (hasSelection() && getSelection() == mParent) { in onPostExecute()
571 if (table.hasSelection()) { in onPostExecute()
601 if (!hasSelection()) { in launch()
DPhotoTouchListener.java184 if (!mTable.hasSelection()) { in onTouch()
210 if (mTable.hasSelection()) { in onTouch()
DEdgeSwipeDetector.java66 } else if (mTable.hasSelection()) { in onTouchEvent()
DKeyboardInterpreter.java40 if (mTable.hasSelection()) { in onKeyDown()
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
DSelectionManager.java160 public boolean hasSelection() { in hasSelection() method in SelectionManager
237 if (!hasSelection()) { in clearSelection()
252 if (!hasSelection()) { in clearSelectionQuietly()
416 if (mSingleSelect && hasSelection()) { in attemptSelect()
503 if (mSingleSelect && hasSelection()) { in updateForRegularRange()
DGestureSelector.java77 return mStarted && mSelectionMgr.hasSelection(); in GestureSelector()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java154 boolean hasSelection = (getSelectedItemPosition() >= 0); in onPrepareOptionsMenu()
157 menu.findItem(MENU_EDIT).setVisible(hasSelection); in onPrepareOptionsMenu()
158 menu.findItem(MENU_DELETE).setVisible(hasSelection); in onPrepareOptionsMenu()
159 menu.findItem(MENU_DIAL).setVisible(hasSelection && mFdnDialDirectlySupported); in onPrepareOptionsMenu()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DSharedInputHandler.java106 if (mSelectionMgr.hasSelection()) { in onBack()
120 if (mSelectionMgr.hasSelection()) { in onEscape()
DFocusManager.java148 if (mSelectionMgr.hasSelection()) { in focusDirectoryList()
DBaseActivity.java649 public boolean hasSelection() { in hasSelection() method in BaseActivity.RetainedState
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DUserInputHandler.java237 if (mSelectionMgr.hasSelection()) { in onSingleTapUp()
347 if (mSelectionMgr.hasSelection()) { in onSingleTapUp()
371 if (mSelectionMgr.hasSelection()) { in onSingleTapConfirmed()
DDragStartListener.java159 && mSelectionMgr.hasSelection()) { in getSelectionToBeCopied()
DDirectoryFragment.java286 if (retained != null && retained.hasSelection()) { in onActivityCreated()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java1095 if (mConnection.hasSelection()) { in handleBackspaceEvent()
1193 if (!mConnection.hasSelection() in getWordAtCursor()
1392 if (!mConnection.hasSelection() || !mRecapitalizeStatus.mIsEnabled()) { in performRecapitalization()
1532 || mConnection.hasSelection() in restartSuggestionsOnWordTouchedByCursor()
2225 final boolean shouldFinishComposition = mConnection.hasSelection() in retryResetCachesAndReturnSuccess()
2336 if (!mConnection.isCursorPositionKnown() || mConnection.hasSelection()) { in getComposingStart()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDragStartListenerTest.java157 assertFalse(mMultiSelectManager.hasSelection()); in testDragStart_newNonSelectedItem()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java984 public boolean hasSelection() { in hasSelection() method in RichInputConnection
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java3890 boolean hasSelection = mSelectionMode != SELECTION_HIDDEN; in doSingleTapUp()
3891 boolean pressedSelected = (hasSelection || mTouchExplorationEnabled) in doSingleTapUp()