Lines Matching refs:position
386 * Gets a {@link Ringtone} for the ringtone at the given position in the
389 * @param position The position (in the {@link Cursor}) of the ringtone.
392 public Ringtone getRingtone(int position) {
397 mPreviousRingtone = getRingtone(mContext, getRingtoneUri(position), inferStreamType());
402 * Gets a {@link Uri} for the ringtone at the given position in the {@link Cursor}.
404 * @param position The position (in the {@link Cursor}) of the ringtone.
407 public Uri getRingtoneUri(int position) {
409 // cause position to shuffle.
410 if (mCursor == null || !mCursor.moveToPosition(position)) {
423 * Gets the position of a {@link Uri} within this {@link RingtoneManager}.
425 * @param ringtoneUri The {@link Uri} to retreive the position of.
426 * @return The position of the {@link Uri}, or -1 if it cannot be found.