Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 194) sorted by relevance

12345678

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumDataLoader.java236 public long version; field in AlbumDataLoader.UpdateInfo
247 public GetUpdateInfo(long version) { in GetUpdateInfo() argument
248 mVersion = version; in GetUpdateInfo()
258 long version = mVersion; in call() local
259 info.version = mSourceVersion; in call()
264 if (setVersion[index] != version) { in call()
285 mSourceVersion = info.version; in call()
298 mFailedVersion = info.version; in call()
308 mSetVersion[index] = info.version; in call()
371 long version = mSource.reload(); in run() local
[all …]
DAlbumSetDataLoader.java235 public long version; field in AlbumSetDataLoader.UpdateInfo
248 public GetUpdateInfo(long version) { in GetUpdateInfo() argument
249 mVersion = version; in GetUpdateInfo()
252 private int getInvalidIndex(long version) { in getInvalidIndex() argument
257 if (setVersion[i % length] != version) return i; in getInvalidIndex()
267 info.version = mSourceVersion; in call()
287 mSourceVersion = info.version; in call()
297 mSetVersion[pos] = info.version; in call()
354 long version = mSource.reload(); in run() local
355 UpdateInfo info = executeAndWait(new GetUpdateInfo(version)); in run()
[all …]
DPhotoDataAdapter.java777 long version = item.getDataVersion(); in startTaskIfNeeded() local
780 && entry.requestedScreenNail == version) { in startTaskIfNeeded()
783 && entry.requestedFullImage == version) { in startTaskIfNeeded()
787 if (which == BIT_SCREEN_NAIL && entry.requestedScreenNail != version) { in startTaskIfNeeded()
788 entry.requestedScreenNail = version; in startTaskIfNeeded()
795 if (which == BIT_FULL_IMAGE && entry.requestedFullImage != version in startTaskIfNeeded()
798 entry.requestedFullImage = version; in startTaskIfNeeded()
926 public long version; field in PhotoDataAdapter.UpdateInfo
951 info.version = mSourceVersion; in call()
972 mSourceVersion = info.version; in call()
[all …]
DSlideshowPage.java274 long version = mMediaSet.reload(); in reload() local
275 if (version != mSourceVersion) { in reload()
276 mSourceVersion = version; in reload()
280 return version; in reload()
348 long version = mMediaSet.reload(); in reload() local
349 if (version != mDataVersion) { in reload()
350 mDataVersion = version; in reload()
/packages/apps/Camera2/src/com/android/camera/
DCameraSettings.java348 int version; in upgradeLocalPreferences() local
350 version = pref.getInt(KEY_LOCAL_VERSION, 0); in upgradeLocalPreferences()
352 version = 0; in upgradeLocalPreferences()
354 if (version == CURRENT_LOCAL_VERSION) return; in upgradeLocalPreferences()
357 if (version == 1) { in upgradeLocalPreferences()
372 int version; in upgradeOldVersion() local
374 version = pref.getInt(KEY_VERSION, 0); in upgradeOldVersion()
376 version = 0; in upgradeOldVersion()
378 if (version == CURRENT_VERSION) return; in upgradeOldVersion()
381 if (version == 0) { in upgradeOldVersion()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java288 int version; in upgradeLocalPreferences() local
290 version = pref.getInt(KEY_LOCAL_VERSION, 0); in upgradeLocalPreferences()
292 version = 0; in upgradeLocalPreferences()
294 if (version == CURRENT_LOCAL_VERSION) return; in upgradeLocalPreferences()
297 if (version == 1) { in upgradeLocalPreferences()
307 int version; in upgradeGlobalPreferences() local
309 version = pref.getInt(KEY_VERSION, 0); in upgradeGlobalPreferences()
311 version = 0; in upgradeGlobalPreferences()
313 if (version == CURRENT_VERSION) return; in upgradeGlobalPreferences()
316 if (version == 0) { in upgradeGlobalPreferences()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataDbHelper.java413 final String checksum, final long filesize, final int version, in makeContentValues() argument
427 result.put(VERSION_COLUMN, version); in makeContentValues()
620 final String id, final int version) { in getContentValuesByWordListId() argument
624 new String[] { id, Integer.toString(version) }, null, null, null); in getContentValuesByWordListId()
933 public static void deleteEntry(final SQLiteDatabase db, final String id, final int version) { in deleteEntry() argument
935 new String[] { id, Integer.toString(version) }); in deleteEntry()
948 final int version, final int status, final long downloadId) { in markEntryAs() argument
949 final ContentValues values = MetadataDbHelper.getContentValuesByWordListId(db, id, version); in markEntryAs()
956 new String[] { id, Integer.toString(version) }); in markEntryAs()
968 final int version) { in markEntryAsEnabled() argument
[all …]
DWordListMetadata.java54 final int version, final int formatVersion, final int flags, final String locale) { in WordListMetadata() argument
63 mVersion = version; in WordListMetadata()
83 final Integer version = values.getAsInteger(MetadataDbHelper.VERSION_COLUMN); in createFromContentValues() local
95 || null == version in createFromContentValues()
102 localFilename, remoteFilename, version, formatVersion, flags, locale); in createFromContentValues()
DUpdateHandler.java334 final SQLiteDatabase db, final String id, final int version) { in registerDownloadRequest() argument
335 DebugLogUtils.l("RegisterDownloadRequest for word list id : ", id, ", version ", version); in registerDownloadRequest()
340 MetadataDbHelper.markEntryAsDownloading(db, id, version, downloadId); in registerDownloadRequest()
989 final String wordlistId, final int version, in markAsUsed() argument
1025 final String wordlistId, final int version, final int status) { in markAsUnused() argument
1054 final String wordlistId, final int version, final int status) { in markAsDeleting() argument
1079 final String wordlistId, final int version, final int status) { in markAsDeleted() argument
1104 final String wordlistId, final int version) { in markAsBroken() argument
1107 wordlistId, version); in markAsBroken() local
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dexpected_raw_contacts.txt8 8 version=1
26 26 version=1
44 44 version=1
62 62 version=1
80 80 version=1
98 98 version=1
116 116 version=1
134 134 version=1
152 152 version=1
170 170 version=1
[all …]
/packages/apps/Camera/src/com/android/camera/
DCameraSettings.java344 int version; in upgradeLocalPreferences() local
346 version = pref.getInt(KEY_LOCAL_VERSION, 0); in upgradeLocalPreferences()
348 version = 0; in upgradeLocalPreferences()
350 if (version == CURRENT_LOCAL_VERSION) return; in upgradeLocalPreferences()
353 if (version == 1) { in upgradeLocalPreferences()
368 int version; in upgradeOldVersion() local
370 version = pref.getInt(KEY_VERSION, 0); in upgradeOldVersion()
372 version = 0; in upgradeOldVersion()
374 if (version == CURRENT_VERSION) return; in upgradeOldVersion()
377 if (version == 0) { in upgradeOldVersion()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java618 int version = oldVersion; in onUpgrade() local
619 if (version < 3) { in onUpgrade()
627 version = 3; in onUpgrade()
636 if (version == 3) { in onUpgrade()
641 if (version < 4) { in onUpgrade()
642 version = 4; in onUpgrade()
653 if (version < 6) { in onUpgrade()
668 version = 6; in onUpgrade()
672 if (version < 7) { in onUpgrade()
675 version = 7; in onUpgrade()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFormatSpec.java338 public FormatOptions(final int version) { in FormatOptions() argument
339 this(version, false); in FormatOptions()
343 public FormatOptions(final int version, final boolean supportsDynamicUpdate) { in FormatOptions() argument
344 this(version, supportsDynamicUpdate, false /* hasTimestamp */); in FormatOptions()
347 public FormatOptions(final int version, final boolean supportsDynamicUpdate, in FormatOptions() argument
349 mVersion = version; in FormatOptions()
350 if (version < FIRST_VERSION_WITH_DYNAMIC_UPDATE && supportsDynamicUpdate) { in FormatOptions()
355 mHasTerminalId = (version >= FIRST_VERSION_WITH_TERMINAL_ID); in FormatOptions()
DBinaryDictDecoderUtils.java530 final int version = getFormatVersion(dictBuffer); in checkFormatVersion() local
531 if (version < FormatSpec.MINIMUM_SUPPORTED_VERSION in checkFormatVersion()
532 || version > FormatSpec.MAXIMUM_SUPPORTED_VERSION) { in checkFormatVersion()
533 throw new UnsupportedFormatException("This file has version " + version in checkFormatVersion()
537 return version; in checkFormatVersion()
606 final int version = getFormatVersion(new ByteBufferDictBuffer(buffer)); in isBinaryDictionary() local
607 return (version >= FormatSpec.MINIMUM_SUPPORTED_VERSION in isBinaryDictionary()
608 && version <= FormatSpec.MAXIMUM_SUPPORTED_VERSION); in isBinaryDictionary()
DAbstractDictDecoder.java41 final int version = HeaderReader.readVersion(dictBuffer); in readHeader() local
42 if (version < FormatSpec.MINIMUM_SUPPORTED_VERSION in readHeader()
43 || version > FormatSpec.MAXIMUM_SUPPORTED_VERSION) { in readHeader()
44 throw new UnsupportedFormatException("Unsupported version : " + version); in readHeader()
62 new FormatOptions(version, in readHeader()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java435 int version = oldVersion; in onUpgrade() local
436 if (version < 3) { in onUpgrade()
444 version = 3; in onUpgrade()
453 if (version == 3) { in onUpgrade()
458 if (version < 4) { in onUpgrade()
459 version = 4; in onUpgrade()
470 if (version < 6) { in onUpgrade()
485 version = 6; in onUpgrade()
489 if (version < 7) { in onUpgrade()
492 version = 7; in onUpgrade()
[all …]
/packages/apps/Exchange/src/com/android/exchange/
DEas.java145 static public Double getProtocolVersionDouble(String version) { in getProtocolVersionDouble() argument
146 if (SUPPORTED_PROTOCOL_EX2003.equals(version)) { in getProtocolVersionDouble()
148 } else if (SUPPORTED_PROTOCOL_EX2007.equals(version)) { in getProtocolVersionDouble()
150 } if (SUPPORTED_PROTOCOL_EX2007_SP1.equals(version)) { in getProtocolVersionDouble()
152 } if (SUPPORTED_PROTOCOL_EX2010.equals(version)) { in getProtocolVersionDouble()
154 } if (SUPPORTED_PROTOCOL_EX2010_SP1.equals(version)) { in getProtocolVersionDouble()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndapi.c583 NJ_UINT32 version; in njd_check_dic() local
596 version = NJ_INT32_READ(addr); in njd_check_dic()
597 if ((version != NJ_DIC_VERSION1) && (version != NJ_DIC_VERSION2) && in njd_check_dic()
598 (version != NJ_DIC_VERSION2_1) && (version != NJ_DIC_VERSION3)) { in njd_check_dic()
641 if (version != (NJ_UINT32)NJ_DIC_VERSION2) { in njd_check_dic()
648 if (version != (NJ_UINT32)NJ_DIC_VERSION2_1) { in njd_check_dic()
655 if (version != (NJ_UINT32)NJ_DIC_VERSION1) { in njd_check_dic()
662 if (version != (NJ_UINT32)NJ_DIC_VERSION2) { in njd_check_dic()
/packages/apps/Calculator/src/com/android/calculator2/
DPersist.java54 int version = in.readInt(); in load() local
55 if (version > 1) { in load()
57 } else if (version > LAST_VERSION) { in load()
58 throw new IOException("data version " + version + "; expected " + LAST_VERSION); in load()
60 history = new History(version, in); in load()
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dexpected_raw_contacts.txt8 8 version=1
26 26 version=1
44 44 version=1
62 62 version=1
80 80 version=1
/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_raw_contacts.txt8 8 version=1
26 26 version=1
44 44 version=1
62 62 version=1
80 80 version=1
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushProtocol.java71 byte version; in NdefPushProtocol()
73 version = input.readByte(); in NdefPushProtocol()
79 if(version != VERSION) { in NdefPushProtocol()
80 Log.w(TAG, "Got version " + version + ", expected " + VERSION); in NdefPushProtocol()
81 throw new FormatException("Got version " + version + ", expected " + VERSION); in NdefPushProtocol()
/packages/inputmethods/LatinIME/native/jni/
DAndroid.mk108 $(warning Making profiling version of native library)
112 $(warning Making debug version of native library)
115 $(warning Making full debug version of native library)
135 $(warning Making profiling version of native library)
139 $(warning Making debug version of native library)
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java204 int version = PackagesMonitor.getPackagesVersion(context); in isEditorAvailable() local
210 if (prefs.getInt(updateKey, 0) != version) { in isEditorAvailable()
214 prefs.edit().putInt(updateKey, version) in isEditorAvailable()
223 int version = PackagesMonitor.getPackagesVersion(context); in isAnyCameraAvailable() local
225 if (prefs.getInt(KEY_CAMERA_UPDATE, 0) != version) { in isAnyCameraAvailable()
229 prefs.edit().putInt(KEY_CAMERA_UPDATE, version) in isAnyCameraAvailable()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessage.java66 private String version; field in BluetoothMapbMessage.vCard
84 this.version = "3.0"; in vCard()
102 this.version = "2.1"; in vCard()
117 this.version = "3.0"; in vCard()
132 this.version = "2.1"; in vCard()
163 sb.append("VERSION:").append(version).append("\r\n"); in encode()
164 if(version.equals("3.0") && formattedName != null) in encode()

12345678