Searched refs:version (Results 51 - 75 of 99) sorted by relevance

1234

/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DMediaSetSource.java177 long version = mSource.reload();
178 if (mSourceVersion != version) {
179 mSourceVersion = version;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DBinaryDictionaryGetter.java65 // The key considered to read the version attribute in a dictionary file.
66 private static String VERSION_KEY = "version";
198 // ## HACK ## we prevent usage of a dictionary before version 18. The reason for this is, since
199 // those do not include whitelist entries, the new code with an old version of the dictionary
207 // Read the version of the file
209 final String version = header.mDictionaryOptions.mAttributes.get(VERSION_KEY);
210 if (null == version) {
211 // No version in the options : the format is unexpected
216 return Integer.parseInt(version) >= 18;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DDebugSettingsFragment.java142 final String version = getString(
145 mDebugMode.setTitle(version);
149 mDebugMode.setSummary(version);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
H A Dheader_read_write_utils.cpp105 BufferWithExtendableBuffer *const buffer, const FormatUtils::FORMAT_VERSION version,
111 switch (version) {
120 return buffer->writeUintAndAdvancePosition(version /* data */,
104 writeDictionaryVersion( BufferWithExtendableBuffer *const buffer, const FormatUtils::FORMAT_VERSION version, int *const writingPos) argument
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DDictionaryMaker.java110 + " Binary version 2 (Jelly Bean), 3, 4, and\n"
123 int outputBinaryFormatVersion = FormatSpec.VERSION202; // the default version is 202.
281 * @param version the binary format version to use.
287 final FusionDictionary dict, final int version, final int codePointTableMode)
290 final FormatSpec.FormatOptions formatOptions = new FormatSpec.FormatOptions(version);
292 if (version == FormatSpec.VERSION4) {
286 writeBinaryDictionary(final String outputFilename, final FusionDictionary dict, final int version, final int codePointTableMode) argument
/packages/services/Telephony/src/com/android/phone/
H A DCarrierConfigLoader.java446 * and the current version of the specified package.
463 final String version = getPackageVersion(packageName);
464 if (version == null) {
465 loge("Failed to get package version for: " + packageName);
478 out.text(version);
502 * In case of errors, or if the saved config is from a different package version than the
503 * current version, then null will be returned.
508 * version does not match, or reading config fails.
511 final String version = getPackageVersion(packageName);
512 if (version
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndapi.c583 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/apps/Gallery/src/com/android/camera/
H A DPhotoAppWidgetProvider.java110 int version = oldVersion;
112 if (version != DATABASE_VERSION) {
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMediaSet.java57 public MediaSet(Path path, long version) { argument
58 super(path, version);
173 // Reload the content. Return the current data version. reload() should be called
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A Dvignette.rs17 #pragma version(1)
H A Dgrad.rs17 #pragma version(1)
H A Dsaturation.rs17 #pragma version(1)
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DWordListPreference.java54 // The metadata word list id and version of this word list.
71 final String wordlistId, final int version, final Locale locale,
76 mVersion = version;
69 WordListPreference(final Context context, final DictionaryListInterfaceState dictionaryListInterfaceState, final String clientId, final String wordlistId, final int version, final Locale locale, final String description, final int status, final int filesize) argument
H A DDictionaryProvider.java214 * This version dispatches the query according to the protocol version found in the
240 // In protocol version 2, we return null if the client is unknown. Otherwise
372 // is a newer version of which word list. We do however return the full id
459 final int version = wordList.getAsInteger(MetadataDbHelper.VERSION_COLUMN);
461 UpdateHandler.markAsDeleted(getContext(), clientId, wordlistId, version, status);
471 UpdateHandler.markAsBrokenOrRetrying(getContext(), clientId, wordlistId, version);
525 "Insertion in the dictionary is not supported in this version");
H A DDictionarySettingsFragment.java289 // Need to use version 2 to get this client's list
317 final int version = cursor.getInt(versionIndex);
333 && oldPreference.mVersion == version
349 mClientId, wordlistId, version, locale, description, status,
/packages/apps/Email/provider_src/com/android/email/mail/store/
H A DImapStore.java184 * os-version "version; model; build-id"
250 * @param version Build.VERSION.RELEASE
259 static String makeCommonImapId(String packageName, String version, argument
264 // version, model, and vendor strings: a-z A-Z 0-9 - _ + = ; : . , / <space>
269 version = p.matcher(version).replaceAll("");
284 // "os-version" "version; build-id"
285 sb.append(" \"os-version\" \"");
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/
H A DPhoneAccountRegistrar.java807 * The version number of the State data.
943 public abstract T readFromXml(XmlPullParser parser, int version, Context context) argument
1053 private static final String VERSION = "version";
1079 public State readFromXml(XmlPullParser parser, int version, Context context)
1158 public PhoneAccount readFromXml(XmlPullParser parser, int version, Context context)
1180 accountHandle = sPhoneAccountHandleXml.readFromXml(parser, version,
1230 if (version < 2) {
1248 if (version < 5) {
1254 if (version < 6) {
1255 // Always enable all SIP accounts on upgrade to version
[all...]
/packages/apps/Gallery2/src/com/android/photos/views/
H A DBlockingGLTextureView.java166 int[] version = new int[2];
167 if (!mEgl.eglInitialize(mEglDisplay, version)) {
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
H A DSnepBasicTests.java244 byte version = (0xF0 & (SnepMessage.VERSION_MAJOR << 4)) |
250 version, SnepMessage.REQUEST_PUT, ndef.toByteArray().length, 0, ndef);
/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColorsGLRenderer.java163 int[] version = new int[2];
164 if (!mEgl.eglInitialize(mEglDisplay, version)) {
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DPduComposer.java493 final int version = mPduHeader.getOctet(field);
494 if (0 == version) {
497 appendShortInteger(version);
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasSyncCalendar.java82 /** The column used to track the Event version sequence number. */
150 // synced with an older version of the sync adapter before serverId's were
298 * Get the version number of the current event, incrementing it if it's already there.
300 * @return The new version number for this event (i.e. 0 if it's a new event, or the old version
304 final String version = entityValues.getAsString(EVENT_SYNC_VERSION);
307 if (version != null) {
310 return Integer.toString((Integer.parseInt(version) + 1));
701 // Copy version so the ics attachment shows the proper sequence #
983 final String version
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBlobCache.java139 int version) throws IOException {
143 mVersion = version;
208 Log.w(TAG, "version mismatch");
419 // This method is for one-off lookup. For repeated lookup, use the version
138 BlobCache(String path, int maxEntries, int maxBytes, boolean reset, int version) argument
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DFireflyRenderer.java301 int[] version = new int[2];
302 if (!mEgl.eglInitialize(mEglDisplay, version)) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DSearchIndexManager.java261 // We do a version check again, because the version might have been modified after
405 private void setSearchIndexVersion(int version) { argument
406 mDbHelper.setProperty(PROPERTY_SEARCH_INDEX_VERSION, String.valueOf(version));

Completed in 826 milliseconds

1234