/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockSuggestionProviderCursor.java | 42 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/ |
D | SyncCursorPair.java | 285 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/ |
D | ClippedFolderIconLayoutRule.java | 51 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/ |
D | BinaryDictIOUtils.java | 97 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()
|
D | BinaryDictEncoderUtils.java | 662 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/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiSnapHelper.java | 129 final int currentPosition = layoutManager.getPosition(currentView); in findTargetSnapPosition() 233 layoutManager.getPosition(lastVisibleChild) == layoutManager.getItemCount() - 1; in findSnapView() 457 >= orientationHelper.getStartAfterPadding() && layoutManager.getPosition(firstChild) in isAtStart() 478 return layoutManager.getPosition(lastVisibleChild) == (layoutManager.getItemCount() - 1) in isAtEnd() 552 int pos = layoutManager.getPosition(child); in computeDistancePerChild()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | FaceClustering.java | 55 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/ |
D | PhotoView.java | 1109 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()
|
D | ScrollerHelper.java | 57 public int getPosition() { in getPosition() method in ScrollerHelper 75 int currX = getPosition(); in fling()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SuggestionCursorBackedCursor.java | 94 mCursor.moveTo(getPosition()); in get() 111 return getPosition(); in getInt() 126 return String.valueOf(getPosition()); in getString()
|
D | SuggestionPosition.java | 31 this(cursor, cursor.getPosition()); in SuggestionPosition() 52 public int getPosition() { in getPosition() method in SuggestionPosition
|
D | SuggestionCursorWrapper.java | 45 public int getPosition() { in getPosition() method in SuggestionCursorWrapper 46 return mCursor == null ? 0 : mCursor.getPosition(); in getPosition()
|
D | CursorBackedSuggestionCursor.java | 151 public int getPosition() { in getPosition() method in CursorBackedSuggestionCursor 156 return mCursor.getPosition(); in getPosition()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DocsStableIdProvider.java | 41 public int getPosition(String id) { in getPosition() method in DocsStableIdProvider 42 return mAdapter.getPosition(id); in getPosition()
|
D | KeyInputHandler.java | 80 mSelectionHelper.startRange(details.getPosition()); in onKey() 82 mSelectionHelper.extendRange(details.getPosition()); in onKey()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/ |
D | TabLayout.java | 134 return mTabAdapter.getPosition(tab); in getTabPosition() 209 private int getPosition(Tab tab) { in getPosition() method in TabLayout.TabAdapter 239 selectTab(getPosition(tab)); in selectTab()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | CursorPhotoSource.java | 53 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/ |
D | ProgressLiveData.java | 83 if (mPlaybackState.getPosition() == PlaybackStateCompat.PLAYBACK_POSITION_UNKNOWN) { in getProgress() 92 return Math.min(posDiff + mPlaybackState.getPosition(), mMaxProgress); in getProgress()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | CarTabLayout.java | 170 return mCarTabAdapter.getPosition(carTab); in getCarTabPosition() 264 private int getPosition(CarTab carTab) { in getPosition() method in CarTabLayout.CarTabAdapter 294 selectCarTab(getPosition(carTab)); in selectCarTab()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | LevenshteinDistanceTest.java | 52 assertEquals(source[ops[i].getPosition()], target[i]); in verifyTargetOperations() 54 assertFalse(source[ops[i].getPosition()].equals(target[i])); in verifyTargetOperations()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/ |
D | LocaleLinearLayoutManager.java | 82 final int position = this.getPosition(host); in onInitializeAccessibilityNodeInfoForItem() 117 final int position = this.getPosition(host); in performAccessibilityActionForItem()
|
/packages/apps/Settings/src/com/android/settings/localepicker/ |
D | LocaleLinearLayoutManager.java | 82 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/ |
D | FrequentContactsCursorBuilder.java | 91 int oldPosition = mFrequentContactsCursor.getPosition(); in build() 107 oldPosition = mAllContactsCursor.getPosition(); in build()
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | WearableListView.java | 809 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/ |
D | ContactFilterCursor.java | 118 contactIdsToPosition.put(contact.contactId(), cursor.getPosition()); in createCursor() 253 int position = cursor.getPosition(); in buildContactSearchTree() 367 public int getPosition() { in getPosition() method in ContactFilterCursor
|