Searched refs:version (Results 1 - 25 of 67) sorted by relevance

123

/packages/apps/Calculator/src/com/android/calculator2/
H A DPersist.java54 int version = in.readInt();
55 if (version > 1) {
57 } else if (version > LAST_VERSION) {
58 throw new IOException("data version " + version + "; expected " + LAST_VERSION);
60 history = new History(version, in);
H A DHistoryEntry.java33 HistoryEntry(int version, DataInput in) throws IOException { argument
34 if (version >= VERSION_1) {
39 throw new IOException("invalid version " + version);
H A DHistory.java37 History(int version, DataInput in) throws IOException { argument
38 if (version >= VERSION_1) {
41 mEntries.add(new HistoryEntry(version, in));
45 throw new IOException("invalid version " + version);
/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DEas.java42 // Define our default protocol version as 2.5 (Exchange 2003)
109 static public Double getProtocolVersionDouble(String version) { argument
110 if (SUPPORTED_PROTOCOL_EX2003.equals(version)) {
112 } else if (SUPPORTED_PROTOCOL_EX2007.equals(version)) {
114 } if (SUPPORTED_PROTOCOL_EX2007_SP1.equals(version)) {
116 } if (SUPPORTED_PROTOCOL_EX2010.equals(version)) {
118 } if (SUPPORTED_PROTOCOL_EX2010_SP1.equals(version)) {
121 throw new IllegalArgumentException("illegal protocol version");
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DFormatSpec.java227 public FormatOptions(final int version) { argument
228 this(version, false);
230 public FormatOptions(final int version, final boolean supportsDynamicUpdate) { argument
231 mVersion = version;
232 if (version < FIRST_VERSION_WITH_DYNAMIC_UPDATE && supportsDynamicUpdate) {
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumDataLoader.java75 // the data version on which last loading failed
237 public long version; field in class:AlbumDataLoader.UpdateInfo
248 public GetUpdateInfo(long version) { argument
249 mVersion = version;
259 long version = mVersion;
260 info.version = mSourceVersion;
265 if (setVersion[index] != version) {
286 mSourceVersion = info.version;
299 mFailedVersion = info.version;
309 mSetVersion[index] = info.version;
[all...]
H A DAlbumSetDataLoader.java235 public long version; field in class:AlbumSetDataLoader.UpdateInfo
248 public GetUpdateInfo(long version) { argument
249 mVersion = version;
252 private int getInvalidIndex(long version) { argument
257 if (setVersion[i % length] != version) return i;
267 info.version = mSourceVersion;
287 mSourceVersion = info.version;
297 mSetVersion[pos] = info.version;
354 long version = mSource.reload();
355 UpdateInfo info = executeAndWait(new GetUpdateInfo(version));
[all...]
H A DPackagesMonitor.java30 public static final String KEY_PACKAGES_VERSION = "packages-version";
58 int version = prefs.getInt(KEY_PACKAGES_VERSION, 1);
59 prefs.edit().putInt(KEY_PACKAGES_VERSION, version + 1).commit();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDebugSettings.java89 String version = "";
94 version = "Version " + info.versionName;
96 Log.e(TAG, "Could not find version info.");
99 mDebugMode.setTitle(version);
103 mDebugMode.setSummary(version);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DComboAlbumSet.java80 long version = mSets[i].reload();
81 if (version > mDataVersion) changed = true;
H A DComboAlbum.java87 long version = mSets[i].reload();
88 if (version > mDataVersion) changed = true;
H A DLocalMediaItem.java50 public LocalMediaItem(Path path, long version) { argument
51 super(path, version);
H A DMediaItem.java61 public MediaItem(Path path, long version) { argument
62 super(path, version);
H A DMediaObject.java78 public MediaObject(Path path, long version) { argument
81 mDataVersion = version;
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DCacheManager.java40 int maxEntries, int maxBytes, int version) {
52 version);
39 getCache(Context context, String filename, int maxEntries, int maxBytes, int version) argument
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
H A DNdefPushProtocol.java70 // Check version of protocol
71 byte version;
73 version = input.readByte();
75 Log.w(TAG, "Unable to read version");
76 throw new FormatException("Unable to read version");
79 if(version != VERSION) {
80 Log.w(TAG, "Got version " + version + ", expected " + VERSION);
81 throw new FormatException("Got version " + version
[all...]
/packages/apps/Email/src/com/beetstra/jutf7/
H A DUTF7StyleCharsetEncoder.java62 String version = System.getProperty("java.specification.version");
64 useUglyHackToForceCallToFlushInJava5 = "1.4".equals(version) || "1.5".equals(version);
130 * to indicate if a broken java version is used.
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DMediaSetSource.java86 long version = mSource.reload();
87 if (mSourceVersion != version) {
88 mSourceVersion = version;
/packages/apps/Camera/src/com/android/camera/
H A DCameraSettings.java339 int version;
341 version = pref.getInt(KEY_LOCAL_VERSION, 0);
343 version = 0;
345 if (version == CURRENT_LOCAL_VERSION) return;
348 if (version == 1) {
363 int version;
365 version = pref.getInt(KEY_VERSION, 0);
367 version = 0;
369 if (version == CURRENT_VERSION) return;
372 if (version
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DCameraSettings.java288 int version;
290 version = pref.getInt(KEY_LOCAL_VERSION, 0);
292 version = 0;
294 if (version == CURRENT_LOCAL_VERSION) return;
297 if (version == 1) {
307 int version;
309 version = pref.getInt(KEY_VERSION, 0);
311 version = 0;
313 if (version == CURRENT_VERSION) return;
316 if (version
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DAbstractInternalSource.java71 * Shortcuts from previous version are compatible with shortcuts from this version, so we just
73 * version code should be added here.
76 public boolean isVersionCodeCompatible(int version) { argument
H A DAbstractSource.java67 public boolean isVersionCodeCompatible(int version) { argument
68 return getVersionCode() == version;
/packages/apps/Mms/src/com/android/mms/util/
H A DCacheManager.java41 int maxEntries, int maxBytes, int version) {
55 version);
40 getCache(Context context, String filename, int maxEntries, int maxBytes, int version) argument
/packages/inputmethods/LatinIME/native/jni/
H A DAndroid.mk61 $(warning Making profiling version of native library)
65 $(warning Making debug version of native library)
84 $(warning Making profiling version of native library)
88 $(warning Making debug version of native library)
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
H A DPicasaSource.java60 public EmptyAlbumSet(Path path, long version) { argument
61 super(path, version);

Completed in 1580 milliseconds

123