Home
last modified time | relevance | path

Searched refs:mLastPosition (Results 1 – 2 of 2) sorted by relevance

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DLocalSource.java40 private int mLastPosition; field in LocalSource
47 mLastPosition = INVALID; in LocalSource()
212 if (cursor.getCount() > howMany && mLastPosition == INVALID) { in findImages()
213 mLastPosition = pickRandomStart(cursor.getCount(), howMany); in findImages()
215 cursor.moveToPosition(mLastPosition); in findImages()
224 mLastPosition = cursor.getPosition(); in findImages()
227 mLastPosition = -1; in findImages()
230 mLastPosition = INVALID; in findImages()
DPicasaSource.java76 private int mLastPosition; field in PicasaSource
82 mLastPosition = INVALID; in PicasaSource()
221 if (cursor.getCount() > howMany && mLastPosition == INVALID) { in findImages()
222 mLastPosition = pickRandomStart(cursor.getCount(), howMany); in findImages()
225 log(TAG, "moving to position: " + mLastPosition); in findImages()
226 cursor.moveToPosition(mLastPosition); in findImages()
238 mLastPosition = cursor.getPosition(); in findImages()
241 mLastPosition = -1; in findImages()
244 mLastPosition = INVALID; in findImages()