Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 102) sorted by relevance

12345

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListFragment.java506 public void setSectionHeaderDisplayEnabled(boolean flag) {
507 if (mSectionHeaderDisplayEnabled != flag) {
508 mSectionHeaderDisplayEnabled = flag;
510 mAdapter.setSectionHeaderDisplayEnabled(flag);
520 public void setVisibleScrollbarEnabled(boolean flag) {
521 if (mVisibleScrollbarEnabled != flag) {
522 mVisibleScrollbarEnabled = flag;
549 public void setPhotoLoaderEnabled(boolean flag) {
550 mPhotoLoaderEnabled = flag;
565 public void setSelectionVisible(boolean flag) {
[all …]
DContactEntryListAdapter.java247 public void setSearchMode(boolean flag) { in setSearchMode() argument
248 mSearchMode = flag; in setSearchMode()
334 public void setEmptyListEnabled(boolean flag) { in setEmptyListEnabled() argument
335 mEmptyListEnabled = flag; in setEmptyListEnabled()
342 public void setSelectionVisible(boolean flag) { in setSelectionVisible() argument
343 this.mSelectionVisible = flag; in setSelectionVisible()
DPhoneNumberPickerFragment.java94 public void setDirectorySearchEnabled(boolean flag) { in setDirectorySearchEnabled() argument
95 setDirectorySearchMode(flag ? DirectoryListLoader.SEARCH_MODE_DEFAULT in setDirectorySearchEnabled()
127 protected void setSearchMode(boolean flag) { in setSearchMode() argument
128 super.setSearchMode(flag); in setSearchMode()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
DJPEGInputStream.java112 int flag = JpegConfig.J_ERROR_FATAL; in read() local
114 flag = readDecodedBytes(buffer, offset, count); in read()
116 if (flag < 0) { in read()
120 if (flag < 0) { in read()
121 switch (flag) { in read()
128 return flag; in read()
142 int flag = skipDecodedBytes((int) (0x7FFFFFFF & byteCount)); in skip() local
143 if (flag < 0) { in skip()
144 switch (flag) { in skip()
151 return flag; in skip()
[all …]
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dlanguage_model_dict_content_test.cpp32 const int flag = 0xF0; in TEST() local
35 const ProbabilityEntry probabilityEntry(flag, probability); in TEST()
39 EXPECT_EQ(flag, entry.getFlags()); in TEST()
53 const int flag = 0xF0; in TEST() local
58 const ProbabilityEntry probabilityEntry(flag, &historicalInfo); in TEST()
61 EXPECT_EQ(flag, entry.getFlags()); in TEST()
94 const int flag = 0xFF; in TEST() local
102 const ProbabilityEntry probabilityEntry(flag, probability); in TEST()
104 const ProbabilityEntry bigramProbabilityEntry(flag, bigramProbability); in TEST()
110 const ProbabilityEntry trigramProbabilityEntry(flag, trigramProbability); in TEST()
Dprobability_entry_test.cpp27 const int flag = 0xFF; in TEST() local
30 const ProbabilityEntry entry(flag, probability); in TEST()
35 EXPECT_EQ(flag, decodedEntry.getFlags()); in TEST()
40 const int flag = 0xF0; in TEST() local
45 const ProbabilityEntry entry(flag, &historicalInfo); in TEST()
52 EXPECT_EQ(flag, decodedEntry.getFlags()); in TEST()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DMessage.java113 public final void setFlagDirectlyForTest(Flag flag, boolean set) throws MessagingException { in setFlagDirectlyForTest() argument
115 getFlagSet().add(flag); in setFlagDirectlyForTest()
117 getFlagSet().remove(flag); in setFlagDirectlyForTest()
121 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag() argument
122 setFlagDirectlyForTest(flag, set); in setFlag()
131 for (Flag flag : flags) { in setFlags()
132 setFlag(flag, set); in setFlags()
136 public boolean isSet(Flag flag) { in isSet() argument
137 return getFlagSet().contains(flag); in isSet()
/packages/services/Telephony/src/com/android/phone/common/mail/
DMessage.java112 private final void setFlagDirectlyForTest(String flag, boolean set) throws MessagingException { in setFlagDirectlyForTest() argument
114 getFlagSet().add(flag); in setFlagDirectlyForTest()
116 getFlagSet().remove(flag); in setFlagDirectlyForTest()
120 public void setFlag(String flag, boolean set) throws MessagingException { in setFlag() argument
121 setFlagDirectlyForTest(flag, set); in setFlag()
130 for (String flag : flags) { in setFlags()
131 setFlag(flag, set); in setFlags()
135 public boolean isSet(String flag) { in isSet() argument
136 return getFlagSet().contains(flag); in isSet()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsRequest.java111 public void setValid(boolean flag) { in setValid() argument
112 mValid = flag; in setValid()
135 public void setSearchMode(boolean flag) { in setSearchMode() argument
136 mSearchMode = flag; in setSearchMode()
159 public void setLegacyCompatibilityMode(boolean flag) { in setLegacyCompatibilityMode() argument
160 mLegacyCompatibilityMode = flag; in setLegacyCompatibilityMode()
171 public void setDirectorySearchEnabled(boolean flag) { in setDirectorySearchEnabled() argument
172 mDirectorySearchEnabled = flag; in setDirectorySearchEnabled()
DContactPickerFragment.java67 public void setCreateContactEnabled(boolean flag) { in setCreateContactEnabled() argument
68 this.mCreateContactEnabled = flag; in setCreateContactEnabled()
75 public void setEditMode(boolean flag) { in setEditMode() argument
76 mEditMode = flag; in setEditMode()
79 public void setShortcutRequested(boolean flag) { in setShortcutRequested() argument
80 mShortcutRequested = flag; in setShortcutRequested()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c323 work->flag = NJ_JNI_FLAG_NONE; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearDictionaryParameters()
370 work->flag = NJ_JNI_FLAG_NONE; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
403 work->flag &= ~NJ_JNI_FLAG_ENABLE_CURSOR; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
404 work->flag &= ~NJ_JNI_FLAG_ENABLE_RESULT; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
431 work->flag |= NJ_JNI_FLAG_ENABLE_CURSOR; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
433 work->flag &= ~NJ_JNI_FLAG_ENABLE_CURSOR; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
435 work->flag &= ~NJ_JNI_FLAG_ENABLE_RESULT; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
459 if( work->flag & NJ_JNI_FLAG_ENABLE_CURSOR ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord()
476 work->flag |= NJ_JNI_FLAG_ENABLE_RESULT; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord()
478 work->flag &= ~NJ_JNI_FLAG_ENABLE_RESULT; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord()
[all …]
/packages/apps/Camera2/src/com/android/camera/exif/
DExifModifier.java73 int flag = 0; in commit() local
83 flag |= ExifParser.OPTION_IFD_0; in commit()
86 flag |= ExifParser.OPTION_IFD_1; in commit()
89 flag |= ExifParser.OPTION_IFD_EXIF; in commit()
92 flag |= ExifParser.OPTION_IFD_GPS; in commit()
95 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; in commit()
98 ExifParser parser = ExifParser.parse(is, flag, mInterface); in commit()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifModifier.java74 int flag = 0; in commit() local
84 flag |= ExifParser.OPTION_IFD_0; in commit()
87 flag |= ExifParser.OPTION_IFD_1; in commit()
90 flag |= ExifParser.OPTION_IFD_EXIF; in commit()
93 flag |= ExifParser.OPTION_IFD_GPS; in commit()
96 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; in commit()
99 ExifParser parser = ExifParser.parse(is, flag, mInterface); in commit()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifModifier.java74 int flag = 0; in commit() local
84 flag |= ExifParser.OPTION_IFD_0; in commit()
87 flag |= ExifParser.OPTION_IFD_1; in commit()
90 flag |= ExifParser.OPTION_IFD_EXIF; in commit()
93 flag |= ExifParser.OPTION_IFD_GPS; in commit()
96 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; in commit()
99 ExifParser parser = ExifParser.parse(is, flag, mInterface); in commit()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifModifier.java73 int flag = 0; in commit() local
83 flag |= ExifParser.OPTION_IFD_0; in commit()
86 flag |= ExifParser.OPTION_IFD_1; in commit()
89 flag |= ExifParser.OPTION_IFD_EXIF; in commit()
92 flag |= ExifParser.OPTION_IFD_GPS; in commit()
95 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; in commit()
98 ExifParser parser = ExifParser.parse(is, flag, mInterface); in commit()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java704 final ImapString flag = flags.getStringOrEmpty(i); in fetchInternal() local
705 if (flag.is(ImapConstants.FLAG_DELETED)) { in fetchInternal()
707 } else if (flag.is(ImapConstants.FLAG_ANSWERED)) { in fetchInternal()
709 } else if (flag.is(ImapConstants.FLAG_SEEN)) { in fetchInternal()
711 } else if (flag.is(ImapConstants.FLAG_FLAGGED)) { in fetchInternal()
1071 for (final Flag flag : flags) { in appendMessage()
1072 if (flag == Flag.SEEN) { in appendMessage()
1074 } else if (flag == Flag.FLAGGED) { in appendMessage()
1181 Flag flag = flags[i]; in setFlags() local
1182 if (flag == Flag.SEEN) { in setFlags()
[all …]
DImapStore.java650 public void setFlagInternal(Flag flag, boolean set) throws MessagingException { in setFlagInternal() argument
651 super.setFlag(flag, set); in setFlagInternal()
655 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag() argument
656 super.setFlag(flag, set); in setFlag()
657 mFolder.setFlags(new Message[] { this }, new Flag[] { flag }, set); in setFlag()
/packages/services/Telephony/src/com/android/phone/common/mail/store/
DImapFolder.java354 final ImapString flag = flags.getStringOrEmpty(i); in fetchInternal() local
355 if (flag.is(ImapConstants.FLAG_DELETED)) { in fetchInternal()
357 } else if (flag.is(ImapConstants.FLAG_ANSWERED)) { in fetchInternal()
359 } else if (flag.is(ImapConstants.FLAG_SEEN)) { in fetchInternal()
361 } else if (flag.is(ImapConstants.FLAG_FLAGGED)) { in fetchInternal()
688 String flag = flags[i]; in setFlags() local
689 if (flag == Flag.SEEN) { in setFlags()
691 } else if (flag == Flag.DELETED) { in setFlags()
693 } else if (flag == Flag.FLAGGED) { in setFlags()
695 } else if (flag == Flag.ANSWERED) { in setFlags()
DImapStore.java111 public void setFlagInternal(String flag, boolean set) throws MessagingException { in setFlagInternal() argument
112 super.setFlag(flag, set); in setFlagInternal()
116 public void setFlag(String flag, boolean set) throws MessagingException { in setFlag() argument
117 super.setFlag(flag, set); in setFlag()
118 mFolder.setFlags(new Message[] { this }, new String[] { flag }, set); in setFlag()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousContactsProvider2.java56 public void setDataWipeEnabled(boolean flag) { in setDataWipeEnabled() argument
57 mDataWipeEnabled = flag; in setDataWipeEnabled()
75 public void setIsPhone(boolean flag) { in setIsPhone() argument
76 mIsPhone = flag; in setIsPhone()
84 public void setIsVoiceCapable(boolean flag) { in setIsVoiceCapable() argument
85 mIsVoiceCapable = flag; in setIsVoiceCapable()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DInstallFlowAnalytics.java547 private void setFlagState(int flag, boolean set) { in setFlagState() argument
549 mFlags |= flag; in setFlagState()
551 mFlags &= ~flag; in setFlagState()
558 private boolean isFlagSet(int flag) { in isFlagSet() argument
559 return (mFlags & flag) == flag; in isFlagSet()
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java294 public void setSearchMode(boolean flag) { in setSearchMode() argument
295 if (mSearchMode != flag) { in setSearchMode()
296 mSearchMode = flag; in setSearchMode()
309 } else if (flag) { in setSearchMode()
315 public void setSelectionMode(boolean flag) { in setSelectionMode() argument
316 if (mSelectionMode != flag) { in setSelectionMode()
317 mSelectionMode = flag; in setSelectionMode()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DQueryParameterUtils.java25 final String flag = getQueryParameter(uri, name); in readBooleanQueryParameter() local
26 return flag == null in readBooleanQueryParameter()
28 : (!"false".equals(flag.toLowerCase()) && !"0".equals(flag.toLowerCase())); in readBooleanQueryParameter()
/packages/apps/Email/provider_src/com/android/email/service/
DPop3Service.java184 int flag = EmailContent.Message.FLAG_LOADED_COMPLETE; in loadUnsyncedMessages() local
191 flag = EmailContent.Message.FLAG_LOADED_PARTIAL; in loadUnsyncedMessages()
198 Utilities.copyOneMessageToProvider(context, message, account, toMailbox, flag); in loadUnsyncedMessages()
425 int flag = EmailContent.Message.FLAG_LOADED_COMPLETE; in synchronizePop3Mailbox() local
430 context, popMessage, account, mailbox, flag); in synchronizePop3Mailbox()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1225 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
1233 return service.connectSocket(device, type, uuid, port, flag); in connectSocket()
1237 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
1245 return service.createSocketChannel(type, serviceName, uuid, port, flag); in createSocketChannel()
1859 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
1862 type, Utils.uuidToByteArray(uuid), port, flag); in connectSocket()
1871 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
1874 Utils.uuidToByteArray(uuid), port, flag); in createSocketChannel()
2187 byte[] uuid, int port, int flag); in connectSocketNative() argument
2189 byte[] uuid, int port, int flag); in createSocketChannelNative() argument

12345