Searched refs:flags (Results 1 - 25 of 200) sorted by relevance

12345678

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DLegacyPolicySet.java21 * 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/apps/Email/emailcommon/src/org/apache/james/mime4j/
H A DEOLConvertingInputStream.java44 private int flags = CONVERT_BOTH; field in class:EOLConvertingInputStream
61 * @param flags one of <code>CONVERT_CR</code>, <code>CONVERT_LF</code> or
64 public EOLConvertingInputStream(InputStream in, int flags) { argument
68 this.flags = flags;
90 if ((flags & CONVERT_CR) != 0 && b == '\r') {
98 } else if ((flags & CONVERT_LF) != 0 && b == '\n' && previous != '\r') {
/packages/inputmethods/LatinIME/native/src/
H A Dbinary_format.h42 static int skipChildrenPosition(const uint8_t flags, const int pos);
43 static int skipFrequency(const uint8_t flags, const int pos);
44 static int skipAllAttributes(const uint8_t* const dict, const uint8_t flags, const int pos);
45 static int skipChildrenPosAndAttributes(const uint8_t* const dict, const uint8_t flags,
47 static int readChildrenPosition(const uint8_t* const dict, const uint8_t flags, const int pos);
48 static bool hasChildrenInFlags(const uint8_t flags);
49 static int getAttributeAddressAndForwardPointer(const uint8_t* const dict, const uint8_t flags,
107 static inline int attributeAddressSize(const uint8_t flags) { argument
109 return (flags & UnigramDictionary::MASK_ATTRIBUTE_ADDRESS_TYPE) >> ATTRIBUTE_ADDRESS_SHIFT;
112 switch (flags * UnigramDictionar
123 uint8_t flags = getFlagsAndForwardPointer(dict, &currentPos); local
132 childrenAddressSize(const uint8_t flags) argument
138 skipChildrenPosition(const uint8_t flags, const int pos) argument
142 skipFrequency(const uint8_t flags, const int pos) argument
146 skipAllAttributes(const uint8_t* const dict, const uint8_t flags, const int pos) argument
159 skipChildrenPosAndAttributes(const uint8_t* const dict, const uint8_t flags, const int pos) argument
167 readChildrenPosition(const uint8_t* const dict, const uint8_t flags, const int pos) argument
191 hasChildrenInFlags(const uint8_t flags) argument
196 getAttributeAddressAndForwardPointer(const uint8_t* const dict, const uint8_t flags, int *pos) argument
242 const uint8_t flags = BinaryFormat::getFlagsAndForwardPointer(root, &pos); local
330 const uint8_t flags = getFlagsAndForwardPointer(root, &pos); local
[all...]
H A Dunigram_dictionary.cpp90 const int codesBufferSize, const int flags, const int* codesSrc, const int codesRemain,
106 codesBuffer, codesBufferSize, flags,
117 codesBuffer, codesBufferSize, flags, codesSrc + i * MAX_PROXIMITY_CHARS,
136 flags);
140 const int *ycoordinates, const int *codes, const int codesSize, const int flags,
143 if (REQUIRES_GERMAN_UMLAUT_PROCESSING & flags)
147 codesSize, flags, codes, codesSize, 0, codesBuffer, outWords, frequencies);
150 outWords, frequencies, flags);
179 unsigned short *outWords, int *frequencies, const int flags) {
191 const bool useFullEditDistance = USE_FULL_EDIT_DISTANCE & flags;
88 getWordWithDigraphSuggestionsRec(ProximityInfo *proximityInfo, const int *xcoordinates, const int* ycoordinates, const int *codesBuffer, const int codesBufferSize, const int flags, const int* codesSrc, const int codesRemain, const int currentDepth, int* codesDest, unsigned short* outWords, int* frequencies) argument
139 getSuggestions(ProximityInfo *proximityInfo, const int *xcoordinates, const int *ycoordinates, const int *codes, const int codesSize, const int flags, unsigned short *outWords, int *frequencies) argument
177 getWordSuggestions(ProximityInfo *proximityInfo, const int *xcoordinates, const int *ycoordinates, const int *codes, const int codesSize, unsigned short *outWords, int *frequencies, const int flags) argument
466 testCharGroupForContinuedLikeness(const uint8_t flags, const uint8_t* const root, const int startPos, const uint16_t* const inWord, const int startInputIndex, int32_t* outNewWord, int* outInputIndex, int* outPos) argument
532 const uint8_t flags = BinaryFormat::getFlagsAndForwardPointer(root, &pos); local
614 const uint8_t flags = BinaryFormat::getFlagsAndForwardPointer(DICT_ROOT, &pos); local
[all...]
H A Dbigram_dictionary.cpp118 const int flags = BinaryFormat::getFlagsAndForwardPointer(root, &pos); local
119 if (0 == (flags & UnigramDictionary::FLAG_HAS_BIGRAMS)) return 0;
120 if (0 == (flags & UnigramDictionary::FLAG_HAS_MULTIPLE_CHARS)) {
125 pos = BinaryFormat::skipChildrenPosition(flags, pos);
126 pos = BinaryFormat::skipFrequency(flags, pos);
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/
H A DCharGroupInfo.java34 public CharGroupInfo(final int originalAddress, final int endAddress, final int flags, argument
39 mFlags = flags;
/packages/apps/Email/emailcommon/src/org/apache/commons/io/filefilter/
H A DRegexFileFilter.java66 * 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DFlag.java53 // If context/switcher are null, set all related flags in flagArray to on.
55 int flags = 0;
61 flags |= entry.mMask;
66 flags |= entry.mMask;
69 flags |= entry.mMask;
73 return flags;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGLPaint.java33 public void setFlags(int flags) { argument
34 mFlags = flags;
/packages/apps/Provision/
H A DAndroid.mk11 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/providers/UserDictionaryProvider/
H A DAndroid.mk13 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/wallpapers/Basic/
H A DAndroid.mk27 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/wallpapers/MagicSmoke/
H A DAndroid.mk27 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/wallpapers/MusicVisualization/
H A DAndroid.mk27 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
H A DTrafficFlags.java62 * Get flags indicating sync of the passed-in account; note that, by default, these flags
68 * @return flags for syncing this account
76 * Get flags indicating attachment loading from the passed-in account
80 * @return flags for loading an attachment in this account
88 * Get flags indicating sending SMTP email from the passed-in account
92 * @return flags for sending SMTP email from this account
98 public static String toString(int flags) { argument
101 sb.append(flags & ACCOUNT_MASK);
103 sb.append(REASONS[(flags
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DApplicationInfo.java61 int flags = 0; field in class:ApplicationInfo
80 int appFlags = pm.getApplicationInfo(packageName, 0).flags;
82 flags |= DOWNLOADED_FLAG;
85 flags |= UPDATED_SYSTEM_APP_FLAG;
101 flags = info.flags;
106 * Creates the application intent based on a component name and various launch flags.
110 * @param launchFlags the launch flags
/packages/apps/VideoEditor/
H A DAndroid.mk11 LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
/packages/wallpapers/LivePicker/
H A DAndroid.mk50 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DFormatDateRangeTest.java35 public int flags; field in class:FormatDateRangeTest.DateTest
40 int flags, String output) {
41 if ((flags & DateUtils.FORMAT_UTC) != 0) {
61 this.flags = flags;
67 int flags, String output) {
70 flags, output);
163 // Tests that year isn't shown by default with no year flags when time is the current year:
168 // Tests that the year is shown by default with no year flags when time isn't the current year:
187 int flags
38 DateTest(int year1, int month1, int day1, int hour1, int minute1, int year2, int month2, int day2, int hour2, int minute2, int flags, String output) argument
66 DateTest(int year1, int month1, int day1, int hour1, int minute1, int flags, String output) argument
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DHostAuth.java49 public static final int FLAG_NONE = 0x00; // No flags
105 * Returns the scheme for the specified flags.
107 public static String getSchemeString(String protocol, int flags) { argument
108 return getSchemeString(protocol, flags, null);
115 public static String getSchemeString(String protocol, int flags, String clientAlias) { argument
117 switch (flags & USER_CONFIG_MASK) {
147 * Returns the flags for the specified scheme.
151 int flags = HostAuth.FLAG_NONE;
155 flags |= HostAuth.FLAG_SSL;
157 flags |
241 setConnection(String protocol, String address, int port, int flags) argument
255 setConnection(String protocol, String address, int port, int flags, String clientCertAlias) argument
335 writeToParcel(Parcel dest, int flags) argument
[all...]
/packages/apps/Launcher2/
H A DAndroid.mk32 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/apps/QuickSearchBox/
H A DAndroid.mk37 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
H A DImsFrameworkService.java37 public int onStartCommand(Intent intent, int flags, int startId) { argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsMockPackageManager.java69 public ApplicationInfo getApplicationInfo(String packageName, int flags) { argument
81 public List<PackageInfo> getInstalledPackages(int flags) { argument
86 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { argument
101 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags) { argument
/packages/apps/BasicSmsReceiver/
H A DAndroid.mk15 LOCAL_PROGUARD_FLAG_FILES := proguard.flags

Completed in 637 milliseconds

12345678