Home
last modified time | relevance | path

Searched refs:getPosition (Results 1 – 25 of 109) 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/Launcher3/src/com/android/launcher3/folder/
DClippedFolderIconLayoutRule.java52 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/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/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/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/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/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DPlayStatus.java44 ret.position = (state.getPosition() > 0) ? state.getPosition() : 0; in fromPlaybackState()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DScrollerHelper.java57 public int getPosition() { in getPosition() method in ScrollerHelper
75 int currX = getPosition(); in fling()
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()
/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/WallpaperPicker2/src/com/android/wallpaper/widget/
DSeparatedTabLayout.java59 if (viewPager != null && viewPager.getCurrentItem() != tab.getPosition()) { in onTabSelected()
60 viewPager.setCurrentItem(tab.getPosition()); in onTabSelected()
/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/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarPopupController.java313 .log(getLogEventForPosition(getPosition().stagePosition)); in onClick()
320 getPosition().stagePosition, in onClick()
331 getPosition().stagePosition, in onClick()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilder.java91 int oldPosition = mFrequentContactsCursor.getPosition(); in build()
107 oldPosition = mAllContactsCursor.getPosition(); in build()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactViewHolder.java72 position = cursor.getPosition(); in bind()
107 int currentPosition = cursor.getPosition(); in shouldShowPhoto()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSuggestClient.java201 return mSuggestions.getString(getPosition()); in getSuggestionQuery()
211 return mPopularity.getString(getPosition()); in getSuggestionText2()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
DDirectoryAddonsAdapterTest.java77 assertEquals(0, mAdapter.getPosition(ModelId.build(mEnv.model.mUserId, AUTHORITY, "1"))); in testGetPosition()
80 assertEquals(2, mAdapter.getPosition(ModelId.build(mEnv.model.mUserId, AUTHORITY, "2"))); in testGetPosition()
/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