Home
last modified time | relevance | path

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

12345678

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java671 int version = oldVersion; in onUpgrade() local
672 if (version < 3) { in onUpgrade()
680 version = 3; in onUpgrade()
689 if (version == 3) { in onUpgrade()
694 if (version < 4) { in onUpgrade()
695 version = 4; in onUpgrade()
706 if (version < 6) { in onUpgrade()
721 version = 6; in onUpgrade()
725 if (version < 7) { in onUpgrade()
728 version = 7; in onUpgrade()
[all …]
/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/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.java455 final String rawChecksum, final String checksum, final long filesize, final int version, in makeContentValues() argument
470 result.put(VERSION_COLUMN, version); in makeContentValues()
676 final String id, final int version) { in getContentValuesByWordListId() argument
680 new String[] { id, Integer.toString(version) }, null, null, null); in getContentValuesByWordListId()
999 public static void deleteEntry(final SQLiteDatabase db, final String id, final int version) { in deleteEntry() argument
1001 new String[] { id, Integer.toString(version) }); in deleteEntry()
1014 final int version, final int status, final long downloadId) { in markEntryAs() argument
1015 final ContentValues values = MetadataDbHelper.getContentValuesByWordListId(db, id, version); in markEntryAs()
1022 new String[] { id, Integer.toString(version) }); in markEntryAs()
1034 final int version) { in markEntryAsEnabled() argument
[all …]
DUpdateHandler.java329 final Request request, final SQLiteDatabase db, final String id, final int version) { in registerDownloadRequest() argument
330 DebugLogUtils.l("RegisterDownloadRequest for word list id : ", id, ", version ", version); in registerDownloadRequest()
335 MetadataDbHelper.markEntryAsDownloading(db, id, version, downloadId); in registerDownloadRequest()
988 final String wordlistId, final int version, in markAsUsed() argument
1024 final String wordlistId, final int version, final int status) { in markAsUnused() argument
1053 final String wordlistId, final int version, final int status) { in markAsDeleting() argument
1078 final String wordlistId, final int version, final int status) { in markAsDeleted() argument
1103 final String wordlistId, final int version) { in markAsBroken() argument
1106 wordlistId, version); in markAsBroken() local
DWordListMetadata.java55 final String remoteFilename, final int version, final int formatVersion, in WordListMetadata() argument
66 mVersion = version; in WordListMetadata()
87 final Integer version = values.getAsInteger(MetadataDbHelper.VERSION_COLUMN); in createFromContentValues() local
99 || null == version in createFromContentValues()
106 checksum, localFilename, remoteFilename, version, formatVersion, flags, locale); in createFromContentValues()
/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 …]
DMosaicPreviewRenderer.java130 int[] version = new int[2]; in doInitGL() local
131 if (!mEgl.eglInitialize(mEglDisplay, version)) { in doInitGL()
134 Log.v(TAG, "EGL version: " + version[0] + '.' + version[1]); in doInitGL()
/packages/apps/Exchange/src/com/android/exchange/
DEas.java129 static public Double getProtocolVersionDouble(String version) { in getProtocolVersionDouble() argument
130 if (SUPPORTED_PROTOCOL_EX2003.equals(version)) { in getProtocolVersionDouble()
132 } else if (SUPPORTED_PROTOCOL_EX2007.equals(version)) { in getProtocolVersionDouble()
134 } if (SUPPORTED_PROTOCOL_EX2007_SP1.equals(version)) { in getProtocolVersionDouble()
136 } if (SUPPORTED_PROTOCOL_EX2010.equals(version)) { in getProtocolVersionDouble()
138 } if (SUPPORTED_PROTOCOL_EX2010_SP1.equals(version)) { in getProtocolVersionDouble()
144 static public boolean isProtocolEas14(String version) { in isProtocolEas14() argument
145 if (version == null) { in isProtocolEas14()
148 return getProtocolVersionDouble(version) >= SUPPORTED_PROTOCOL_EX2010_DOUBLE; in isProtocolEas14()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java442 int version = oldVersion; in onUpgrade() local
443 if (version < 3) { in onUpgrade()
451 version = 3; in onUpgrade()
460 if (version == 3) { in onUpgrade()
465 if (version < 4) { in onUpgrade()
466 version = 4; in onUpgrade()
477 if (version < 6) { in onUpgrade()
492 version = 6; in onUpgrade()
496 if (version < 7) { in onUpgrade()
499 version = 7; in onUpgrade()
[all …]
/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/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictUtils.java38 public static DictionaryOptions makeDictionaryOptions(final String id, final String version, in makeDictionaryOptions() argument
43 options.mAttributes.put(DictionaryHeader.DICTIONARY_VERSION_KEY, version); in makeDictionaryOptions()
53 public static File getDictFile(final String name, final String version, in getDictFile() argument
56 return new File(directory, name + "." + version + TEST_DICT_FILE_EXTENSION); in getDictFile()
58 return new File(directory, name + "." + version); in getDictFile()
DBinaryDictEncoderUtils.java825 final int version = formatOptions.mVersion; in writeDictionaryHeader() local
826 if (version < FormatSpec.MINIMUM_SUPPORTED_VERSION in writeDictionaryHeader()
827 || version > FormatSpec.MAXIMUM_SUPPORTED_VERSION) { in writeDictionaryHeader()
828 throw new UnsupportedFormatException("Requested file format version " + version in writeDictionaryHeader()
843 headerBuffer.write((byte) (0xFF & (version >> 8))); in writeDictionaryHeader()
844 headerBuffer.write((byte) (0xFF & version)); in writeDictionaryHeader()
/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
Dexpected_groups.txt12 12 version=1
29 29 version=1
46 46 version=1
63 63 version=1
/packages/inputmethods/LatinIME/native/jni/
DAndroid.mk50 $(warning Making profiling version of native library)
54 $(warning Making debug version of native library)
57 $(warning Making full debug version of native library)
78 $(warning Making profiling version of native library)
82 $(warning Making debug version of native library)
/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFormatSpec.java322 public FormatOptions(final int version) { in FormatOptions() argument
323 this(version, false /* hasTimestamp */); in FormatOptions()
326 public FormatOptions(final int version, final boolean hasTimestamp) { in FormatOptions() argument
327 mVersion = version; in FormatOptions()
/packages/apps/Camera2/src/com/android/camera/
DSurfaceTextureRenderer.java121 int[] version = new int[2]; in initialize()
122 if (!mEgl.eglInitialize(mEglDisplay, version)) { in initialize()
125 Log.v(TAG, "EGL version: " + version[0] + '.' + version[1]); in initialize()

12345678