Home
last modified time | relevance | path

Searched refs:getVersion (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java194 private long getVersion(int index) { in getVersion() method in PhotoDataAdapter
205 long current = getVersion(mCurrentIndex + i); in fireModelInvalidated()
236 if (version == getVersion(mCurrentIndex + i)) { in updateScreenNail()
259 if (version == getVersion(mCurrentIndex)) { in updateFullImage()
299 ImageEntry entry = mImageCache.get(getVersion(index)); in getImage()
360 ImageEntry entry = mImageCache.get(getVersion(mCurrentIndex)); in getImageRotation()
404 ImageEntry entry = mImageCache.get(getVersion(mCurrentIndex)); in updateTileProvider()
516 ImageEntry entry = mImageCache.get(getVersion(index)); in startTaskIfNeeded()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DVoiceSearch.java95 public int getVersion() { in getVersion() method in VoiceSearch
/packages/apps/Contacts/tests/src/com/android/contacts/
DEntityDeltaListTests.java284 static Long getVersion(EntityDeltaList set, Long rawContactId) { in getVersion() method in EntityDeltaListTests
558 assertEquals((Long)VER_FIRST, getVersion(first, CONTACT_BOB)); in testMergeUsesNewVersion()
559 assertEquals((Long)VER_SECOND, getVersion(second, CONTACT_BOB)); in testMergeUsesNewVersion()
562 assertEquals((Long)VER_SECOND, getVersion(merged, CONTACT_BOB)); in testMergeUsesNewVersion()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java155 public byte getVersion() { in getVersion() method in SnepMessage
DSnepServer.java137 if (((request.getVersion() & 0xF0) >> 4) != SnepMessage.VERSION_MAJOR) { in handleRequest()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGroupsTest.java213 long version = getVersion(uri); in testGroupVersionUpdates()
217 assertEquals(version + 1, getVersion(uri)); in testGroupVersionUpdates()
DLegacyContactImporterTest.java111 database.getVersion() != 0); in createSQLiteDatabaseFromDumpFile()
DContactsProvider2Test.java4507 long version = getVersion(uri); in testRawContactDirtyAndVersion()
4516 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
4525 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
4534 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
4541 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
4548 long version = getVersion(uri); in testRawContactClearDirty()
4552 assertEquals(version, getVersion(uri)); in testRawContactClearDirty()
4556 assertEquals(version, getVersion(uri)); in testRawContactClearDirty()
4563 long version = getVersion(uri); in testRawContactDeletionSetsDirty()
4572 assertEquals(version, getVersion(uri)); in testRawContactDeletionSetsDirty()
DBaseContactsProvider2Test.java779 protected long getVersion(Uri uri) { in getVersion() method in BaseContactsProvider2Test
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java102 super(context, DATABASE_NAME, null, getVersion(context)); in DatabaseHelper()
106 private static int getVersion(Context context) { in getVersion() method in TelephonyProvider.DatabaseHelper
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyContactImporter.java158 int version = mSourceDb.getVersion(); in importContactsFromLegacyDb()