/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | CacheManager.java | 40 int maxEntries, int maxBytes, int version) { 52 version); 39 getCache(Context context, String filename, int maxEntries, int maxBytes, int version) argument
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | HistoryEntry.java | 33 HistoryEntry(int version, DataInput in) throws IOException { argument 34 if (version >= VERSION_1) { 39 throw new IOException("invalid version " + version);
|
H A D | History.java | 37 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/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | AbstractInternalSource.java | 71 * 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 D | AbstractSource.java | 67 public boolean isVersionCodeCompatible(int version) { argument 68 return getVersionCode() == version;
|
H A D | Source.java | 44 * Gets the version code of the source. This is expected to change when the app that 50 * Indicates if shortcuts from the given version of this source are compatible with the 51 * currently installed version. The version code given will only differ from the currently 52 * installed version after the source has been upgraded. 54 * @param version version of the source (as returned by {@link #getVersionCode} which originally 57 boolean isVersionCodeCompatible(int version); argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocalMediaItem.java | 48 public LocalMediaItem(Path path, long version) { argument 49 super(path, version);
|
H A D | MediaItem.java | 47 public MediaItem(Path path, long version) { argument 48 super(path, version);
|
H A D | MediaObject.java | 64 public MediaObject(Path path, long version) { argument 67 mDataVersion = version;
|
H A D | MediaSet.java | 56 public MediaSet(Path path, long version) { argument 57 super(path, version); 164 // Reload the content. Return the current data version. reload() should be called
|
/packages/apps/Exchange/src/com/android/exchange/ |
H A D | Eas.java | 42 // 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/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/ |
H A D | PicasaSource.java | 60 public EmptyAlbumSet(Path path, long version) { argument 61 super(path, version);
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
H A D | SnepMessage.java | 105 SnepMessage(byte version, byte field, int length, int acceptableLength, argument 107 mVersion = version;
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | MockSource.java | 83 public boolean isVersionCodeCompatible(int version) { argument 84 return version == mVersionCode;
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | EntityDeltaListTests.java | 121 static EntityDelta buildBeforeEntity(long rawContactId, long version, argument 125 contact.put(RawContacts.VERSION, version); 229 static ContentProviderOperation buildAssertVersion(long version) { argument 231 values.put(RawContacts.VERSION, version); 365 // Merge in second version, verify they match 386 // Merge in the second version, verify diff matches 411 // Merge in the second version, verify that our update changed to 437 // Merge in the second version, verify that our delete remains 461 // Merge in the second version, verify that our insert remains 490 // Merge in the second version, verif [all...] |
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | ImapStore.java | 171 * os-version "version; model; build-id" 237 * @param version Build.VERSION.RELEASE 246 static String makeCommonImapId(String packageName, String version, argument 251 // version, model, and vendor strings: a-z A-Z 0-9 - _ + = ; : . , / <space> 256 version = p.matcher(version).replaceAll(""); 271 // "os-version" "version; build-id" 272 sb.append(" \"os-version\" \""); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | AlbumDataAdapter.java | 217 public long version; field in class:AlbumDataAdapter.UpdateInfo 228 public GetUpdateInfo(long version) { argument 229 mVersion = version; 234 long version = mVersion; 235 info.version = mSourceVersion; 240 if (setVersion[index] != version) { 261 mSourceVersion = info.version; 277 mSetVersion[index] = info.version; 332 long version; 334 version [all...] |
H A D | AlbumSetDataAdapter.java | 218 public long version; field in class:AlbumSetDataAdapter.UpdateInfo 230 public GetUpdateInfo(long version) { argument 231 mVersion = version; 234 private int getInvalidIndex(long version) { argument 239 if (setVersion[i % length] != version) return i; 249 info.version = mSourceVersion; 268 mSourceVersion = info.version; 278 mSetVersion[pos] = info.version; 332 long version; 334 version [all...] |
H A D | PhotoDataAdapter.java | 116 * The ImageCache is a version-to-ImageEntry map. It only holds 130 // mChanges keeps the version number (of MediaItem) about the previous, 131 // current, and next image. If the version number changes, we invalidate 148 public void onPhotoAvailable(long version, boolean fullImage); argument 218 private void updateScreenNail(long version, Future<Bitmap> future) { argument 219 ImageEntry entry = mImageCache.get(version); 233 mDataListener.onPhotoAvailable(version, false); 236 if (version == getVersion(mCurrentIndex + i)) { 245 private void updateFullImage(long version, Future<BitmapRegionDecoder> future) { argument 246 ImageEntry entry = mImageCache.get(version); 590 FullImageListener(long version) argument 612 ScreenNailListener(long version) argument 659 public long version; field in class:PhotoDataAdapter.UpdateInfo [all...] |
/packages/apps/Mms/src/com/android/mms/dom/ |
H A D | NodeImpl.java | 161 public boolean isSupported(String feature, String version) { argument 261 public Object getFeature(String feature, String version) { argument
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndapi.c | 583 NJ_UINT32 version; local 596 version = NJ_INT32_READ(addr); 597 if ((version != NJ_DIC_VERSION1) && (version != NJ_DIC_VERSION2) && 598 (version != NJ_DIC_VERSION2_1) && (version != NJ_DIC_VERSION3)) { 641 if (version != (NJ_UINT32)NJ_DIC_VERSION2) { 648 if (version != (NJ_UINT32)NJ_DIC_VERSION2_1) { 655 if (version != (NJ_UINT32)NJ_DIC_VERSION1) { 662 if (version ! [all...] |
/packages/inputmethods/PinyinIME/jni/include/ |
H A D | userdict.h | 124 uint32 version; member in struct:ime_pinyin::UserDict::UserDictStat
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | SearchIndexManager.java | 356 private void setSearchIndexVersion(int version) { argument 357 mDbHelper.setProperty(PROPERTY_SEARCH_INDEX_VERSION, String.valueOf(version));
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BlobCache.java | 138 int version) throws IOException { 142 mVersion = version; 207 Log.w(TAG, "version mismatch"); 408 // This method is for one-off lookup. For repeated lookup, use the version 137 BlobCache(String path, int maxEntries, int maxBytes, boolean reset, int version) argument
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadProvider.java | 62 /** Current database version */ 201 * initialized and upgrade it when a new version of the provider needs 202 * an updated version of the database. 234 // no logic to upgrade from these older version, just recreate the DB 235 Log.i(Constants.TAG, "Upgrading downloads database from version " + oldV 236 + " to version " + newV + ", which will destroy all old data"); 241 Log.i(Constants.TAG, "Downgrading downloads database from version " + oldV 242 + " (current version is " + newV + "), destroying all old data"); 246 for (int version = oldV + 1; version < 254 upgradeTo(SQLiteDatabase db, int version) argument [all...] |