/packages/inputmethods/LatinIME/native/jni/src/ |
D | binary_format.h | 55 static int skipChildrenPosition(const uint8_t flags, const int pos); 56 static int skipFrequency(const uint8_t flags, const int pos); 57 static int skipShortcuts(const uint8_t* const dict, const uint8_t flags, const int pos); 58 static int skipBigrams(const uint8_t* const dict, const uint8_t flags, const int pos); 59 static int skipAllAttributes(const uint8_t* const dict, const uint8_t flags, const int pos); 60 static int skipChildrenPosAndAttributes(const uint8_t* const dict, const uint8_t flags, 62 static int readChildrenPosition(const uint8_t* const dict, const uint8_t flags, const int pos); 63 static bool hasChildrenInFlags(const uint8_t flags); 64 static int getAttributeAddressAndForwardPointer(const uint8_t* const dict, const uint8_t flags, 173 static inline int attributeAddressSize(const uint8_t flags) { in attributeAddressSize() argument [all …]
|
D | unigram_dictionary.cpp | 44 int fullWordMultiplier, int maxWordLength, int maxWords, const unsigned int flags) in UnigramDictionary() argument 50 MAX_DIGRAPH_SEARCH_DEPTH(DEFAULT_MAX_DIGRAPH_SEARCH_DEPTH), FLAGS(flags) { in UnigramDictionary() 701 static inline bool testCharGroupForContinuedLikeness(const uint8_t flags, in testCharGroupForContinuedLikeness() argument 705 const bool hasMultipleChars = (0 != (UnigramDictionary::FLAG_HAS_MULTIPLE_CHARS & flags)); in testCharGroupForContinuedLikeness() 768 const uint8_t flags = BinaryFormat::getFlagsAndForwardPointer(root, &pos); in getMostFrequentWordLikeInner() local 773 const bool isAlike = testCharGroupForContinuedLikeness(flags, root, pos, inWord, in getMostFrequentWordLikeInner() 775 if (isAlike && (FLAG_IS_TERMINAL & flags) && (inputIndex == length)) { in getMostFrequentWordLikeInner() 779 pos = BinaryFormat::skipFrequency(flags, pos); in getMostFrequentWordLikeInner() 780 const int siblingPos = BinaryFormat::skipChildrenPosAndAttributes(root, flags, pos); in getMostFrequentWordLikeInner() 781 const int childrenNodePos = BinaryFormat::readChildrenPosition(root, flags, pos); in getMostFrequentWordLikeInner() [all …]
|
D | terminal_attributes.h | 37 ShortcutIterator(const uint8_t* dict, const int pos, const uint8_t flags) : mDict(dict), in ShortcutIterator() argument 39 mHasNextShortcutTarget = (0 != (flags & UnigramDictionary::FLAG_HAS_SHORTCUT_TARGETS)); in ShortcutIterator() 70 TerminalAttributes(const uint8_t* const dict, const uint8_t flags, const int pos) : in TerminalAttributes() argument 71 mDict(dict), mFlags(flags), mStartPos(pos) { in TerminalAttributes()
|
D | bigram_dictionary.cpp | 153 const int flags = BinaryFormat::getFlagsAndForwardPointer(root, &pos); in getBigramListPositionForWord() local 154 if (0 == (flags & UnigramDictionary::FLAG_HAS_BIGRAMS)) return 0; in getBigramListPositionForWord() 155 if (0 == (flags & UnigramDictionary::FLAG_HAS_MULTIPLE_CHARS)) { in getBigramListPositionForWord() 160 pos = BinaryFormat::skipFrequency(flags, pos); in getBigramListPositionForWord() 161 pos = BinaryFormat::skipChildrenPosition(flags, pos); in getBigramListPositionForWord() 162 pos = BinaryFormat::skipShortcuts(root, flags, pos); in getBigramListPositionForWord()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | LegacyPolicySet.java | 68 public static Policy flagsToPolicy(long flags) { in flagsToPolicy() argument 70 policy.mPasswordMode = ((int) (flags & PASSWORD_MODE_MASK)) >> PASSWORD_MODE_SHIFT; in flagsToPolicy() 71 policy.mPasswordMinLength = (int) ((flags & PASSWORD_LENGTH_MASK) >> PASSWORD_LENGTH_SHIFT); in flagsToPolicy() 73 (int) ((flags & PASSWORD_MAX_FAILS_MASK) >> PASSWORD_MAX_FAILS_SHIFT); in flagsToPolicy() 75 (int) ((flags & PASSWORD_COMPLEX_CHARS_MASK) >> PASSWORD_COMPLEX_CHARS_SHIFT); in flagsToPolicy() 76 policy.mPasswordHistory = (int) ((flags & PASSWORD_HISTORY_MASK) >> PASSWORD_HISTORY_SHIFT); in flagsToPolicy() 78 (int) ((flags & PASSWORD_EXPIRATION_MASK) >> PASSWORD_EXPIRATION_SHIFT); in flagsToPolicy() 80 (int) ((flags & SCREEN_LOCK_TIME_MASK) >> SCREEN_LOCK_TIME_SHIFT); in flagsToPolicy() 81 policy.mRequireRemoteWipe = 0 != (flags & REQUIRE_REMOTE_WIPE); in flagsToPolicy() 82 policy.mRequireEncryption = 0 != (flags & REQUIRE_ENCRYPTION); in flagsToPolicy() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | EditorInfoCompatUtils.java | 66 final StringBuilder flags = new StringBuilder(); in imeOptionsName() local 68 flags.append("flagNoEnterAction|"); in imeOptionsName() 71 flags.append("flagNavigateNext|"); in imeOptionsName() 74 flags.append("flagNavigatePrevious|"); in imeOptionsName() 77 flags.append("flagForceAscii|"); in imeOptionsName() 79 return (action != null) ? flags + action : flags.toString(); in imeOptionsName()
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
D | EOLConvertingInputStream.java | 44 private int flags = CONVERT_BOTH; field in EOLConvertingInputStream 64 public EOLConvertingInputStream(InputStream in, int flags) { in EOLConvertingInputStream() argument 68 this.flags = flags; in EOLConvertingInputStream() 90 if ((flags & CONVERT_CR) != 0 && b == '\r') { in read() 98 } else if ((flags & CONVERT_LF) != 0 && b == '\n' && previous != '\r') { in read()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | HostAuth.java | 107 public static String getSchemeString(String protocol, int flags) { in getSchemeString() argument 108 return getSchemeString(protocol, flags, null); in getSchemeString() 115 public static String getSchemeString(String protocol, int flags, String clientAlias) { in getSchemeString() argument 117 switch (flags & USER_CONFIG_MASK) { in getSchemeString() 151 int flags = HostAuth.FLAG_NONE; in getSchemeFlags() local 155 flags |= HostAuth.FLAG_SSL; in getSchemeFlags() 157 flags |= HostAuth.FLAG_TLS; in getSchemeFlags() 162 flags |= HostAuth.FLAG_TRUST_ALL; in getSchemeFlags() 166 return flags; in getSchemeFlags() 241 public void setConnection(String protocol, String address, int port, int flags) { in setConnection() argument [all …]
|
/packages/apps/Email/src/org/apache/commons/io/filefilter/ |
D | RegexFileFilter.java | 76 int flags = 0; in RegexFileFilter() local 78 flags = Pattern.CASE_INSENSITIVE; in RegexFileFilter() 80 this.pattern = Pattern.compile(pattern, flags); in RegexFileFilter() 90 public RegexFileFilter(String pattern, int flags) { in RegexFileFilter() argument 94 this.pattern = Pattern.compile(pattern, flags); in RegexFileFilter()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | FormatDateRangeTest.java | 35 public int flags; field in FormatDateRangeTest.DateTest 40 int flags, String output) { in DateTest() argument 41 if ((flags & DateUtils.FORMAT_UTC) != 0) { in DateTest() 61 this.flags = flags; in DateTest() 67 int flags, String output) { in DateTest() argument 70 flags, output); in DateTest() 187 int flags = dateTest.flags; in testAll() local 188 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags); in testAll()
|
D | WeekNumberTest.java | 212 int flags = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NUMERIC_DATE; in testAll() local 213 String output = DateUtils.formatDateTime(mContext, millis, flags); in testAll() 224 int flags = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NUMERIC_DATE; in testAll() local 225 String output = DateUtils.formatDateTime(mContext, millis, flags); in testAll()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | ApplicationInfo.java | 61 int flags = 0; field in ApplicationInfo 80 int appFlags = pm.getApplicationInfo(packageName, 0).flags; in ApplicationInfo() 82 flags |= DOWNLOADED_FLAG; in ApplicationInfo() 85 flags |= UPDATED_SYSTEM_APP_FLAG; in ApplicationInfo() 101 flags = info.flags; in ApplicationInfo()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
D | TrafficFlags.java | 98 public static String toString(int flags) { in toString() argument 101 sb.append(flags & ACCOUNT_MASK); in toString() 103 sb.append(REASONS[(flags & REASON_MASK) >> REASON_SHIFT]); in toString() 105 sb.append(PROTOCOLS[(flags & PROTOCOL_MASK) >> PROTOCOL_SHIFT]); in toString() 106 int maskedData = flags & DATA_MASK; in toString()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | NotificationControllerTest.java | 83 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set in testSetupSoundAndVibration() 96 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set in testSetupSoundAndVibration() 109 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set in testSetupSoundAndVibration() 125 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set in testSetupSoundAndVibration() 138 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set in testSetupSoundAndVibration() 151 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set in testSetupSoundAndVibration() 167 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set in testSetupSoundAndVibration() 180 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set in testSetupSoundAndVibration() 193 assertTrue((n.flags & Notification.FLAG_SHOW_LIGHTS) != 0); // always set in testSetupSoundAndVibration()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetModel.java | 361 int flags = DateUtils.FORMAT_ABBREV_ALL; in populateEventInfo() local 364 flags |= DateUtils.FORMAT_SHOW_DATE; in populateEventInfo() 365 whenString.append(Utils.formatDateRange(mContext, start, end, flags)); in populateEventInfo() 367 flags |= DateUtils.FORMAT_SHOW_TIME; in populateEventInfo() 369 flags |= DateUtils.FORMAT_24HOUR; in populateEventInfo() 372 flags |= DateUtils.FORMAT_SHOW_DATE; in populateEventInfo() 374 whenString.append(Utils.formatDateRange(mContext, start, end, flags)); in populateEventInfo() 409 int flags = DateUtils.FORMAT_ABBREV_ALL | DateUtils.FORMAT_SHOW_DATE; in populateDayInfo() local 414 Utils.formatDateRange(mContext, millis, millis, flags).toString()); in populateDayInfo() 416 flags |= DateUtils.FORMAT_SHOW_WEEKDAY; in populateDayInfo() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsMockPackageManager.java | 69 public ApplicationInfo getApplicationInfo(String packageName, int flags) { in getApplicationInfo() argument 81 public List<PackageInfo> getInstalledPackages(int flags) { in getInstalledPackages() argument 86 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() argument 101 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags) { in queryContentProviders() argument
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertUtils.java | 121 int flags = DateUtils.FORMAT_ABBREV_ALL; in formatTimeLocation() local 123 flags |= DateUtils.FORMAT_SHOW_TIME; in formatTimeLocation() 125 flags |= DateUtils.FORMAT_24HOUR; in formatTimeLocation() 128 flags |= DateUtils.FORMAT_UTC; in formatTimeLocation() 132 flags |= DateUtils.FORMAT_SHOW_DATE; in formatTimeLocation() 136 startMillis, flags)); in formatTimeLocation()
|
D | AlertAdapter.java | 112 int flags; in updateView() local 115 flags = DateUtils.FORMAT_UTC | DateUtils.FORMAT_SHOW_WEEKDAY | in updateView() 119 flags = DateUtils.FORMAT_SHOW_TIME | DateUtils.FORMAT_SHOW_DATE; in updateView() 122 flags |= DateUtils.FORMAT_24HOUR; in updateView() 129 Utils.formatDateRange(context, startMillis, endMillis, flags)); in updateView()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictInputOutput.java | 699 byte flags = 0; in makeCharGroupFlags() 700 if (group.mChars.length > 1) flags |= FLAG_HAS_MULTIPLE_CHARS; in makeCharGroupFlags() 702 flags |= FLAG_IS_TERMINAL; in makeCharGroupFlags() 707 flags |= FLAG_GROUP_ADDRESS_TYPE_ONEBYTE; in makeCharGroupFlags() 710 flags |= FLAG_GROUP_ADDRESS_TYPE_TWOBYTES; in makeCharGroupFlags() 713 flags |= FLAG_GROUP_ADDRESS_TYPE_THREEBYTES; in makeCharGroupFlags() 723 flags |= FLAG_HAS_SHORTCUT_TARGETS; in makeCharGroupFlags() 729 flags |= FLAG_HAS_BIGRAMS; in makeCharGroupFlags() 731 return flags; in makeCharGroupFlags() 867 byte flags = makeCharGroupFlags(group, groupAddress, childrenOffset); in writePlacedNode() [all …]
|
D | CharGroupInfo.java | 37 public CharGroupInfo(final int originalAddress, final int endAddress, final int flags, in CharGroupInfo() argument 43 mFlags = flags; in CharGroupInfo()
|
/packages/apps/Email/src/org/apache/commons/io/ |
D | FileSystemUtils.java | 312 String flags = "-"; in freeSpaceUnix() local 314 flags += "k"; in freeSpaceUnix() 317 flags += "P"; in freeSpaceUnix() 320 (flags.length() > 1 ? new String[] {"df", flags, path} : new String[] {"df", path}); in freeSpaceUnix()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClock.java | 192 winParams.flags |= (WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD in setWakeLock() 197 winParams.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in setWakeLock() 199 winParams.flags &= (~WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setWakeLock() 250 winParams.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN; in saveScreen() 357 winParams.flags |= (WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN); in doDim() 358 winParams.flags |= (WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS); in doDim() 361 winParams.flags |= (WindowManager.LayoutParams.FLAG_DIM_BEHIND); in doDim() 364 winParams.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN; in doDim() 373 winParams.flags &= (~WindowManager.LayoutParams.FLAG_FULLSCREEN); in doDim()
|
/packages/apps/Email/src/com/android/email/service/ |
D | EmailBroadcastProcessorService.java | 193 int flags = c.getInt(Account.CONTENT_FLAGS_COLUMN); in setImapDeletePolicy() local 194 flags &= ~Account.FLAGS_DELETE_POLICY_MASK; in setImapDeletePolicy() 195 flags |= Account.DELETE_POLICY_ON_DELETE << Account.FLAGS_DELETE_POLICY_SHIFT; in setImapDeletePolicy() 197 cv.put(AccountColumns.FLAGS, flags); in setImapDeletePolicy()
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | EmailBroadcastProcessorServiceTests.java | 72 Integer flags = Utility.getFirstRowInt(mMockContext, uri, in getAccountFlags() local 74 if (flags == null) { in getAccountFlags() 77 return flags; in getAccountFlags()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | TimeClustering.java | 408 int flags = DateUtils.FORMAT_ABBREV_MONTH | DateUtils.FORMAT_SHOW_DATE; in generateCaption() local 412 context, minTimestamp, flags); in generateCaption() 414 context, minTimestamp, flags | DateUtils.FORMAT_SHOW_YEAR); in generateCaption() 422 midTimestamp, DateUtils.FORMAT_SHOW_TIME | flags); in generateCaption() 428 int flags = DateUtils.FORMAT_NO_MONTH_DAY in generateCaption() local 431 maxTimestamp, flags); in generateCaption()
|