Home
last modified time | relevance | path

Searched refs:getPosition (Results 1 – 25 of 120) sorted by relevance

12345

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSuggestionProviderCursor.java42 return mRows.get(getPosition()).get(column); in get()
57 return mRows.get(getPosition()).getDouble(column); in getDouble()
62 return mRows.get(getPosition()).getFloat(column); in getFloat()
67 return mRows.get(getPosition()).getInt(column); in getInt()
72 return mRows.get(getPosition()).getLong(column); in getLong()
77 return mRows.get(getPosition()).getShort(column); in getShort()
82 return mRows.get(getPosition()).getString(column); in getString()
87 return mRows.get(getPosition()).isNull(column); in isNull()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncCursorPair.java285 return mLocalCursorIterator.getPosition(); in getLocalPosition()
289 return mRemoteCursorsIterator.getPosition(); in getRemotePosition()
317 public int getPosition(); in getPosition() method
411 public int getPosition() { in getPosition() method in SyncCursorPair.LocalCursorIterator
412 return (mCursor == null ? 0 : mCursor.getPosition()); in getPosition()
528 public int getPosition() { in getPosition() method in SyncCursorPair.RemoteCursorsIterator
529 return (mSmsCursor == null ? 0 : mSmsCursor.getPosition()) + in getPosition()
530 (mMmsCursor == null ? 0 : mMmsCursor.getPosition()) - 1; in getPosition()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DClippedFolderIconLayoutRule.java51 getPosition(index, curNumItems, mTmpPoint); in computePreviewItemDrawingParams()
75 getPosition(0, 4, result); in getGridPosition()
79 getPosition(3, 4, result); in getGridPosition()
87 private void getPosition(int index, int curNumItems, float[] result) { in getPosition() method in ClippedFolderIconLayoutRule
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java97 if (dictDecoder.getPosition() != p.mAddress) dictDecoder.setPosition(p.mAddress); in readUnigramsAndBigramsBinaryInner()
102 p.mAddress = dictDecoder.getPosition(); in readUnigramsAndBigramsBinaryInner()
127 p.mAddress = dictDecoder.getPosition(); in readUnigramsAndBigramsBinaryInner()
183 final int ptNodePos = dictDecoder.getPosition(); in getTerminalPosition()
DBinaryDictEncoderUtils.java662 if (dictEncoder.getPosition() != ptNode.mCachedAddressAfterUpdate) { in writePlacedPtNodeArray()
664 + "of the node : " + dictEncoder.getPosition() + " <> " in writePlacedPtNodeArray()
675 if (dictEncoder.getPosition() != ptNodeArray.mCachedAddressAfterUpdate in writePlacedPtNodeArray()
678 + (dictEncoder.getPosition() - ptNodeArray.mCachedAddressAfterUpdate) in writePlacedPtNodeArray()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java417 innerUriString, getPosition(), i, in UnderlyingCursorWrapper()
423 convId, getPosition(), i, idPositionMap.get(convId)); in UnderlyingCursorWrapper()
507 public int getPosition(long conversationId) { in getPosition() method in ConversationCursor.UnderlyingCursorWrapper
512 public int getPosition(String conversationUri) { in getPosition() method in ConversationCursor.UnderlyingCursorWrapper
518 return mRowCache.get(getPosition()).innerUri; in getInnerUri()
522 return mRowCache.get(getPosition()).conversation; in getConversation()
526 final UnderlyingRowData rowData = mRowCache.get(getPosition()); in cacheConversation()
533 Utils.notifyCursorUIPositionChange(this, getPosition()); in notifyConversationUIPositionChange()
766 return mUnderlyingCursor.getPosition(conversationId); in getUnderlyingPosition()
774 final int underlyingPosition = mUnderlyingCursor.getPosition(conversationId); in getConversationPosition()
[all …]
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailMessageCursor.java67 final int position = cursor.getPosition(); in EmailMessageCursor()
107 return mHtmlParts.get(getPosition()); in getString()
109 return mTextParts.get(getPosition()); in getString()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFaceClustering.java55 mCoverRegion = face.getPosition(); in add()
58 Rect region = face.getPosition(); in add()
62 mCoverRegion = face.getPosition(); in add()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1109 int centerY = mPositionController.getPosition(mTouchBoxIndex) in flingImages()
1282 Rect r = mPositionController.getPosition(mTouchBoxIndex);
1461 Rect r = mPositionController.getPosition(i);
1501 Rect curr = mPositionController.getPosition(0);
1505 Rect prev = mPositionController.getPosition(-1);
1512 Rect next = mPositionController.getPosition(1);
1527 Rect r = mPositionController.getPosition(-1);
1535 Rect r = mPositionController.getPosition(1);
1585 Rect r = mPositionController.getPosition(0);
1813 return mPositionController.getPosition(index); in getPhotoRect()
DScrollerHelper.java57 public int getPosition() { in getPosition() method in ScrollerHelper
75 int currX = getPosition(); in fling()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionCursorBackedCursor.java94 mCursor.moveTo(getPosition()); in get()
111 return getPosition(); in getInt()
126 return String.valueOf(getPosition()); in getString()
DSuggestionPosition.java31 this(cursor, cursor.getPosition()); in SuggestionPosition()
52 public int getPosition() { in getPosition() method in SuggestionPosition
DSuggestionCursorWrapper.java45 public int getPosition() { in getPosition() method in SuggestionCursorWrapper
46 return mCursor == null ? 0 : mCursor.getPosition(); in getPosition()
DCursorBackedSuggestionCursor.java151 public int getPosition() { in getPosition() method in CursorBackedSuggestionCursor
156 return mCursor.getPosition(); in getPosition()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocsStableIdProvider.java41 public int getPosition(String id) { in getPosition() method in DocsStableIdProvider
42 return mAdapter.getPosition(id); in getPosition()
DKeyInputHandler.java80 mSelectionHelper.startRange(details.getPosition()); in onKey()
82 mSelectionHelper.extendRange(details.getPosition()); in onKey()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DCarTabLayout.java167 return mCarTabAdapter.getPosition(carTab); in getCarTabPosition()
263 private int getPosition(CarTab carTab) { in getPosition() method in CarTabLayout.CarTabAdapter
293 selectCarTab(getPosition(carTab)); in selectCarTab()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DCursorPhotoSource.java53 data.position = current.cursor.getPosition(); in naturalNext()
71 data.position = current.cursor.getPosition(); in naturalPrevious()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DProgressLiveData.java83 if (mPlaybackState.getPosition() == PlaybackStateCompat.PLAYBACK_POSITION_UNKNOWN) { in getProgress()
92 return Math.min(posDiff + mPlaybackState.getPosition(), mMaxProgress); in getProgress()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DLevenshteinDistanceTest.java52 assertEquals(source[ops[i].getPosition()], target[i]); in verifyTargetOperations()
54 assertFalse(source[ops[i].getPosition()].equals(target[i])); in verifyTargetOperations()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleLinearLayoutManager.java82 final int position = this.getPosition(host); in onInitializeAccessibilityNodeInfoForItem()
117 final int position = this.getPosition(host); in performAccessibilityActionForItem()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/
DLocaleLinearLayoutManager.java82 final int position = this.getPosition(host); in onInitializeAccessibilityNodeInfoForItem()
117 final int position = this.getPosition(host); in performAccessibilityActionForItem()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilder.java91 int oldPosition = mFrequentContactsCursor.getPosition(); in build()
107 oldPosition = mAllContactsCursor.getPosition(); in build()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java809 final int position = getChildViewHolder(getChildAt(index)).getPosition(); in notifyChildrenAboutProximity()
877 int position = getPosition(getChildAt(index)); in onLayoutChildren()
884 position = getPosition(child); in onLayoutChildren()
892 position = getPosition(child); in onLayoutChildren()
948 setAbsoluteScroll(child.getTop() - getCentralViewTop() + getPosition(child) * in onLayoutChildren()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DContactFilterCursor.java118 contactIdsToPosition.put(contact.contactId(), cursor.getPosition()); in createCursor()
253 int position = cursor.getPosition(); in buildContactSearchTree()
367 public int getPosition() { in getPosition() method in ContactFilterCursor

12345