Home
last modified time | relevance | path

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

123

/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/QuickSearchBox/src/com/android/quicksearchbox/
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()
DSuggestionCursorBackedCursor.java94 mCursor.moveTo(getPosition()); in get()
111 return getPosition(); in getInt()
126 return String.valueOf(getPosition()); in getString()
DSearchActivity.java467 int position = pos.getPosition(); in getCurrentSuggestions()
511 getShortcutRepository().reportClick(suggestion.getCursor(), suggestion.getPosition()); in launchSuggestion()
514 launchSuggestion(suggestion.getCursor(), suggestion.getPosition()); in launchSuggestion()
548 removeFromHistory(suggestion.getCursor(), suggestion.getPosition()); in removeFromHistory()
576 if (DBG) Log.d(TAG, "Used suggestion " + suggestion.getPosition()); in clickedQuickContact()
584 getShortcutRepository().reportClick(suggestion.getCursor(), suggestion.getPosition()); in clickedQuickContact()
DRankAwarePromoter.java176 if (result.getPosition() == result.getCount()) { in roundRobin()
193 if (count < 1 || cursor.getPosition() >= cursor.getCount()) { in promote()
DSuggestionCursor.java59 int getPosition(); in getPosition() method
DCursorBackedSuggestionCursor.java151 public int getPosition() { in getPosition() method in CursorBackedSuggestionCursor
156 return mCursor.getPosition(); in getPosition()
DCursorBackedSourceResult.java67 return CursorBackedSuggestionExtras.createExtrasIfNecessary(mCursor, getPosition()); in getExtras()
/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()
DFace.java44 public Rect getPosition() { in getPosition() method in Face
/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.java1052 int centerY = mPositionController.getPosition(mTouchBoxIndex) in flingImages()
1215 Rect r = mPositionController.getPosition(mTouchBoxIndex);
1380 Rect r = mPositionController.getPosition(i);
1420 Rect curr = mPositionController.getPosition(0);
1424 Rect prev = mPositionController.getPosition(-1);
1431 Rect next = mPositionController.getPosition(1);
1446 Rect r = mPositionController.getPosition(-1);
1454 Rect r = mPositionController.getPosition(1);
1506 Rect r = mPositionController.getPosition(0);
1727 return mPositionController.getPosition(index); in getPhotoRect()
DPhotoFallbackEffect.java50 public Rect getPosition(int index); in getPosition() method
83 entry.dest = mPositionProvider.getPosition(entry.index); in draw()
/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/Mms/src/com/android/mms/ui/
DDivot.java68 public int getPosition(); in getPosition() method
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSuggestClient.java187 return mSuggestions.getString(getPosition()); in getSuggestionQuery()
197 return mPopularity.getString(getPosition()); in getSuggestionText2()
DAbstractGoogleSourceResult.java50 public int getPosition() { in getPosition() method in AbstractGoogleSourceResult
/packages/apps/Email/src/org/apache/james/mime4j/util/
DPositionInputStream.java36 public long getPosition() { in getPosition() method in PositionInputStream
/packages/apps/Contacts/src/com/android/contacts/activities/
DDialtactsActivity.java321 + ", to: " + tab.getPosition());
324 updateFakeMenuButtonsVisibility(tab.getPosition() == TAB_INDEX_DIALER);
329 if (mViewPager.getCurrentItem() != tab.getPosition()) {
330 mViewPager.setCurrentItem(tab.getPosition(), true);
338 mLastManuallySelectedFragment = tab.getPosition();
963 switch(tab.getPosition()) { in onPrepareOptionsMenu()
1103 mLastManuallySelectedFragment = tab.getPosition(); in enterSearchUi()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DQueryTextView.java96 mCommitCompletionListener.onCommitCompletion(completion.getPosition()); in onCommitCompletion()
/packages/apps/Email/src/org/apache/commons/io/input/
DNullReader.java105 public long getPosition() { in getPosition() method in NullReader
DNullInputStream.java105 public long getPosition() { in getPosition() method in NullInputStream
/packages/apps/Gallery/src/com/android/camera/gallery/
DDrmImageList.java101 return new DrmImage(this, mContentResolver, id, cursor.getPosition(), in loadImageFromCursor()
/packages/apps/Mms/src/com/android/mms/
DSuggestionsProvider.java167 int oldpos = getPosition(); in fillWindow()
360 public int getPosition() { in getPosition() method in SuggestionsProvider.SuggestionsCursor

123