Searched refs:mLastIndex (Results 1 – 2 of 2) sorted by relevance
43 private long mLastIndex; field in WatchedHistoryManager55 if (lastIndex <= mLastIndex) {64 for (long i = mLastIndex + 1; i <= lastIndex; ++i) {75 mLastIndex = lastIndex;115 mLastIndex = mSharedPreferences.getLong(PREF_KEY_LAST_INDEX, -1); in start()116 if (mLastIndex >= 0 && mLastIndex < mMaxHistorySize) { in start()117 for (int i = 0; i <= mLastIndex; ++i) { in start()125 } else if (mLastIndex >= mMaxHistorySize) { in start()126 for (long i = mLastIndex - mMaxHistorySize + 1; i <= mLastIndex; ++i) { in start()141 Log.d(TAG, "Loaded: size=" + mWatchedHistory.size() + " index=" + mLastIndex); in start()[all …]
246 private int mLastIndex = -1; field in SlideshowPage.ShuffleSource262 mLastIndex = mOrder[index % mOrder.length]; in getMediaItem()263 MediaItem item = findMediaItem(mMediaSet, mLastIndex); in getMediaItem()265 Log.w(TAG, "fail to find image: " + mLastIndex); in getMediaItem()266 mLastIndex = mRandom.nextInt(mOrder.length); in getMediaItem()267 item = findMediaItem(mMediaSet, mLastIndex); in getMediaItem()293 if (mOrder[0] == mLastIndex && totalCount > 1) { in generateOrderArray()