Home
last modified time | relevance | path

Searched refs:hasSelection (Results 1 – 16 of 16) 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/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java153 boolean hasSelection = (getSelectedItemPosition() >= 0); in onPrepareOptionsMenu()
156 menu.findItem(MENU_EDIT).setVisible(hasSelection); in onPrepareOptionsMenu()
157 menu.findItem(MENU_DELETE).setVisible(hasSelection); in onPrepareOptionsMenu()
158 menu.findItem(MENU_DIAL).setVisible(hasSelection && mFdnDialDirectlySupported); in onPrepareOptionsMenu()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DSharedInputHandler.java118 if (mSelectionMgr.hasSelection()) { in onBack()
134 if (mSelectionMgr.hasSelection()) { in onEscape()
DDocsSelectionHelper.java63 public boolean hasSelection() { in hasSelection() method in DocsSelectionHelper
64 return mDelegate.hasSelection(); in hasSelection()
DDummySelectionTracker.java39 public boolean hasSelection() { in hasSelection() method in DummySelectionTracker
DFocusManager.java156 if (mSelectionMgr.hasSelection()) { in focusDirectoryList()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDocsSelectionHelperTest.java69 mSelectionMgr.hasSelection(); in testCallableBeforeReset()
134 public boolean hasSelection() { in hasSelection() method in DocsSelectionHelperTest.TestSelectionManager
/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/src/com/android/documentsui/dirlist/
DDragStartListener.java153 && mSelectionMgr.hasSelection() in getSelectionToBeCopied()
DDirectoryFragment.java770 if (mSelectionMgr.hasSelection()) { in onAccessibilityClick()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDragStartListenerTest.java160 assertFalse(mSelectionMgr.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.java3106 boolean hasSelection = mSelectionMode != SELECTION_HIDDEN; in doSingleTapUp()
3107 boolean pressedSelected = (hasSelection || mTouchExplorationEnabled) in doSingleTapUp()