/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
H A D | dynamic_patricia_trie_reading_utils.h | 49 static AK_FORCE_INLINE bool isMoved(const NodeFlags flags) { argument 50 return FLAG_IS_MOVED == (MASK_MOVED & flags); 53 static AK_FORCE_INLINE bool isDeleted(const NodeFlags flags) { argument 54 return FLAG_IS_DELETED == (MASK_MOVED & flags); 59 NodeFlags flags = originalFlags; local 60 flags = isMoved ? ((flags & (~MASK_MOVED)) | FLAG_IS_MOVED) : flags; 61 flags = isDeleted ? ((flags [all...] |
H A D | patricia_trie_policy.cpp | 89 const PatriciaTrieReadingUtils::NodeFlags flags = local 97 if (PatriciaTrieReadingUtils::hasMultipleChars(flags)) { 116 if (PatriciaTrieReadingUtils::hasMultipleChars(flags)) { 117 PatriciaTrieReadingUtils::skipCharacters(mDictRoot, flags, MAX_WORD_LENGTH, &pos); 119 if (PatriciaTrieReadingUtils::isTerminal(flags)) { 125 const bool hasChildren = PatriciaTrieReadingUtils::hasChildrenInFlags(flags); 135 ::readChildrenPositionAndAdvancePosition(mDictRoot, flags, ¤tPos); 197 if (PatriciaTrieReadingUtils::hasChildrenInFlags(flags)) { 199 mDictRoot, flags, &pos); 201 if (PatriciaTrieReadingUtils::hasShortcutTargets(flags)) { 253 const PatriciaTrieReadingUtils::NodeFlags flags = local 339 const PatriciaTrieReadingUtils::NodeFlags flags = local 361 const PatriciaTrieReadingUtils::NodeFlags flags = local 381 const PatriciaTrieReadingUtils::NodeFlags flags = local 402 const PatriciaTrieReadingUtils::NodeFlags flags = local [all...] |
H A D | patricia_trie_reading_utils.h | 37 static int getCharsAndAdvancePosition(const uint8_t *const buffer, const NodeFlags flags, 41 static int skipCharacters(const uint8_t *const buffer, const NodeFlags flags, 47 const NodeFlags flags, int *const pos); 52 static AK_FORCE_INLINE bool isBlacklisted(const NodeFlags flags) { argument 53 return (flags & FLAG_IS_BLACKLISTED) != 0; 56 static AK_FORCE_INLINE bool isNotAWord(const NodeFlags flags) { argument 57 return (flags & FLAG_IS_NOT_A_WORD) != 0; 60 static AK_FORCE_INLINE bool isTerminal(const NodeFlags flags) { argument 61 return (flags & FLAG_IS_TERMINAL) != 0; 64 static AK_FORCE_INLINE bool hasShortcutTargets(const NodeFlags flags) { argument 68 hasBigrams(const NodeFlags flags) argument 72 hasMultipleChars(const NodeFlags flags) argument 76 hasChildrenInFlags(const NodeFlags flags) argument [all...] |
H A D | patricia_trie_reading_utils.cpp | 68 const NodeFlags flags, const int maxLength, int *const outBuffer, int *const pos) { 70 if (hasMultipleChars(flags)) { 92 /* static */ int PtReadingUtils::skipCharacters(const uint8_t *const buffer, const NodeFlags flags, argument 94 if (hasMultipleChars(flags)) { 112 const uint8_t *const buffer, const NodeFlags flags, int *const pos) { 115 switch (MASK_CHILDREN_POSITION_TYPE & flags) { 67 getCharsAndAdvancePosition(const uint8_t *const buffer, const NodeFlags flags, const int maxLength, int *const outBuffer, int *const pos) argument 111 readChildrenPositionAndAdvancePosition( const uint8_t *const buffer, const NodeFlags flags, int *const pos) argument
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/bigram/ |
H A D | bigram_list_read_write_utils.h | 37 static AK_FORCE_INLINE int getProbabilityFromFlags(const BigramFlags flags) { argument 38 return flags & MASK_ATTRIBUTE_PROBABILITY; 41 static AK_FORCE_INLINE bool hasNext(const BigramFlags flags) { argument 42 return (flags & FLAG_ATTRIBUTE_HAS_NEXT) != 0; 48 // Returns the size of the bigram position field that is stored in bigram flags. 49 static AK_FORCE_INLINE int attributeAddressSize(const BigramFlags flags) { argument 50 return (flags & MASK_ATTRIBUTE_ADDRESS_TYPE) >> ATTRIBUTE_ADDRESS_SHIFT; 53 switch (flags * BinaryFormat::MASK_ATTRIBUTE_ADDRESS_TYPE) { 65 static AK_FORCE_INLINE BigramFlags setProbabilityInFlags(const BigramFlags flags, argument 67 return (flags 92 isOffsetNegative(const BigramFlags flags) argument [all...] |
H A D | bigram_list_policy.h | 36 BigramListReadWriteUtils::BigramFlags flags; local 37 BigramListReadWriteUtils::getBigramEntryPropertiesAndAdvancePosition(mBigramsBuf, &flags, 39 *outProbability = BigramListReadWriteUtils::getProbabilityFromFlags(flags); 40 *outHasNext = BigramListReadWriteUtils::hasNext(flags);
|
H A D | bigram_list_read_write_utils.cpp | 38 // Mask for attribute probability, stored on 4 bits inside the flags byte. 60 BigramFlags flags; local 62 getBigramEntryPropertiesAndAdvancePosition(bigramsBuf, &flags, 0 /* outTargetPtNodePos */, 64 } while(hasNext(flags)); 68 const uint8_t *const bigramsBuf, const BigramFlags flags, int *const pos) { 71 switch (MASK_ATTRIBUTE_ADDRESS_TYPE & flags) { 87 if (isOffsetNegative(flags)) { 115 BigramFlags flags; local 116 if (!createAndGetBigramFlags(*writingPos, targetPos, probability, hasNext, &flags)) { 119 return writeBigramEntry(buffer, flags, targetPo 67 getBigramAddressAndAdvancePosition( const uint8_t *const bigramsBuf, const BigramFlags flags, int *const pos) argument 122 writeBigramEntry( BufferWithExtendableBuffer *const bufferToWrite, const BigramFlags flags, const int targetPtNodePos, int *const writingPos) argument 141 BigramFlags flags = probability & MASK_ATTRIBUTE_PROBABILITY; local [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | LegacyPolicySet.java | 21 * Legacy class for policy storage as a bit field of flags 25 // Security (provisioning) flags 64 * Convert legacy policy flags to a Policy 65 * @param flags legacy policy flags 68 public static Policy flagsToPolicy(long flags) { argument 70 policy.mPasswordMode = ((int) (flags & PASSWORD_MODE_MASK)) >> PASSWORD_MODE_SHIFT; 71 policy.mPasswordMinLength = (int) ((flags & PASSWORD_LENGTH_MASK) >> PASSWORD_LENGTH_SHIFT); 73 (int) ((flags & PASSWORD_MAX_FAILS_MASK) >> PASSWORD_MAX_FAILS_SHIFT); 75 (int) ((flags [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/shortcut/ |
H A D | shortcut_list_reading_utils.h | 32 static AK_FORCE_INLINE int getProbabilityFromFlags(const ShortcutFlags flags) { argument 33 return flags & MASK_ATTRIBUTE_PROBABILITY; 36 static AK_FORCE_INLINE bool hasNext(const ShortcutFlags flags) { argument 37 return (flags & FLAG_ATTRIBUTE_HAS_NEXT) != 0; 53 static AK_FORCE_INLINE bool isWhitelist(const ShortcutFlags flags) { argument 54 return getProbabilityFromFlags(flags) == WHITELIST_SHORTCUT_PROBABILITY;
|
H A D | shortcut_list_policy.h | 47 const ShortcutListReadingUtils::ShortcutFlags flags = local 50 *outHasNext = ShortcutListReadingUtils::hasNext(flags); 53 *outIsWhitelist = ShortcutListReadingUtils::isWhitelist(flags);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | EditorInfoCompatUtils.java | 66 final StringBuilder flags = new StringBuilder(); 68 flags.append("flagNoEnterAction|"); 71 flags.append("flagNavigateNext|"); 74 flags.append("flagNavigatePrevious|"); 77 flags.append("flagForceAscii|"); 79 return (action != null) ? flags + action : flags.toString();
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/ |
H A D | header_read_write_utils.h | 40 static AK_FORCE_INLINE bool supportsDynamicUpdate(const DictionaryFlags flags) { argument 41 return (flags & SUPPORTS_DYNAMIC_UPDATE_FLAG) != 0; 44 static AK_FORCE_INLINE bool requiresGermanUmlautProcessing(const DictionaryFlags flags) { argument 45 return (flags & GERMAN_UMLAUT_PROCESSING_FLAG) != 0; 48 static AK_FORCE_INLINE bool requiresFrenchLigatureProcessing(const DictionaryFlags flags) { argument 49 return (flags & FRENCH_LIGATURE_PROCESSING_FLAG) != 0; 67 const DictionaryFlags flags, int *const writingPos); 106 // Those *must* match the flags in makedict (FormatSpec#*_PROCESSING_FLAGS) or
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/exchange/ |
H A D | ExchangeAttachment.java | 28 public int flags; field in class:ExchangeAttachment 38 flags = in.readInt(); 48 public void writeToParcel(Parcel dest, int flags) { argument 49 super.writeToParcel(dest, flags); 55 dest.writeInt(flags);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
H A D | RegexFileFilter.java | 66 * Construct a new regular expression filter with the specified flags case sensitivity.
76 int flags = 0;
78 flags = Pattern.CASE_INSENSITIVE;
80 this.pattern = Pattern.compile(pattern, flags);
84 * Construct a new regular expression filter with the specified flags.
87 * @param flags pattern flags - e.g. {@link Pattern#CASE_INSENSITIVE}
90 public RegexFileFilter(String pattern, int flags) {
argument 94 this.pattern = Pattern.compile(pattern, flags);
|
/packages/apps/Provision/ |
H A D | Android.mk | 11 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
/packages/providers/UserDictionaryProvider/ |
H A D | Android.mk | 13 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
H A D | TrafficFlags.java | 50 * Get flags indicating sync of the passed-in account; note that, by default, these flags 56 * @return flags for syncing this account 63 * Get flags indicating attachment loading from the passed-in account 67 * @return flags for loading an attachment in this account 74 * Get flags indicating sending SMTP email from the passed-in account 78 * @return flags for sending SMTP email from this account 84 public static String toString(int flags) { argument 87 sb.append(flags & ACCOUNT_MASK); 89 sb.append(REASONS[(flags [all...] |
/packages/apps/OneTimeInitializer/ |
H A D | Android.mk | 30 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
/packages/wallpapers/Basic/ |
H A D | Android.mk | 27 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
/packages/wallpapers/MagicSmoke/ |
H A D | Android.mk | 27 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
/packages/wallpapers/MusicVisualization/ |
H A D | Android.mk | 27 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | AppInfo.java | 57 int flags = 0; field in class:AppInfo 81 flags = initFlags(pi); 91 int appFlags = pi.applicationInfo.flags; 92 int flags = 0; 94 flags |= DOWNLOADED_FLAG; 97 flags |= UPDATED_SYSTEM_APP_FLAG; 100 return flags; 112 flags = info.flags; 117 * Creates the application intent based on a component name and various launch flags [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | Ver3DictDecoder.java | 118 final int flags = PtNodeReader.readPtNodeOptionFlags(mDictBuffer); 127 if (0 != (flags & FormatSpec.FLAG_HAS_MULTIPLE_CHARS)) { 146 if (0 != (FormatSpec.FLAG_IS_TERMINAL & flags)) { 152 int childrenAddress = PtNodeReader.readChildrenAddress(mDictBuffer, flags, options); 156 addressPointer += BinaryDictIOUtils.getChildrenAddressSize(flags, options); 158 if (0 != (flags & FormatSpec.FLAG_HAS_SHORTCUT_TARGETS)) { 167 if (0 != (flags & FormatSpec.FLAG_HAS_BIGRAMS)) { 178 return new PtNodeInfo(ptNodePos, addressPointer, flags, characters, frequency, 238 final int flags = PtNodeReader.readPtNodeOptionFlags(mDictBuffer); 241 (flags [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | ApplicationInfo.java | 56 int flags = 0; field in class:ApplicationInfo 75 int appFlags = pm.getApplicationInfo(packageName, 0).flags; 77 flags |= DOWNLOADED_FLAG; 80 flags |= UPDATED_SYSTEM_APP_FLAG; 96 flags = info.flags; 101 * Creates the application intent based on a component name and various launch flags. 105 * @param launchFlags the launch flags
|
/packages/apps/PackageInstaller/ |
H A D | Android.mk | 15 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|