Home
last modified time | relevance | path

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

1234

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListFragment.java484 public void setSectionHeaderDisplayEnabled(boolean flag) { in setSectionHeaderDisplayEnabled() argument
485 if (mSectionHeaderDisplayEnabled != flag) { in setSectionHeaderDisplayEnabled()
486 mSectionHeaderDisplayEnabled = flag; in setSectionHeaderDisplayEnabled()
488 mAdapter.setSectionHeaderDisplayEnabled(flag); in setSectionHeaderDisplayEnabled()
498 public void setVisibleScrollbarEnabled(boolean flag) { in setVisibleScrollbarEnabled() argument
499 if (mVisibleScrollbarEnabled != flag) { in setVisibleScrollbarEnabled()
500 mVisibleScrollbarEnabled = flag; in setVisibleScrollbarEnabled()
538 public void setPhotoLoaderEnabled(boolean flag) { in setPhotoLoaderEnabled() argument
539 mPhotoLoaderEnabled = flag; in setPhotoLoaderEnabled()
554 public void setSelectionVisible(boolean flag) { in setSelectionVisible() argument
[all …]
DContactEntryListAdapter.java216 public void setSearchMode(boolean flag) { in setSearchMode() argument
217 mSearchMode = flag; in setSearchMode()
290 public void setEmptyListEnabled(boolean flag) { in setEmptyListEnabled() argument
291 mEmptyListEnabled = flag; in setEmptyListEnabled()
298 public void setSelectionVisible(boolean flag) { in setSelectionVisible() argument
299 this.mSelectionVisible = flag; in setSelectionVisible()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
DMessage.java126 public final void setFlagDirectlyForTest(Flag flag, boolean set) throws MessagingException { in setFlagDirectlyForTest() argument
128 getFlagSet().add(flag); in setFlagDirectlyForTest()
130 getFlagSet().remove(flag); in setFlagDirectlyForTest()
134 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag() argument
135 setFlagDirectlyForTest(flag, set); in setFlag()
144 for (Flag flag : flags) { in setFlags()
145 setFlag(flag, set); in setFlags()
149 public boolean isSet(Flag flag) { in isSet() argument
150 return getFlagSet().contains(flag); in isSet()
/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/Contacts/src/com/android/contacts/list/
DContactsRequest.java166 public void setValid(boolean flag) { in setValid() argument
167 mValid = flag; in setValid()
198 public void setSearchMode(boolean flag) { in setSearchMode() argument
199 mSearchMode = flag; in setSearchMode()
222 public void setLegacyCompatibilityMode(boolean flag) { in setLegacyCompatibilityMode() argument
223 mLegacyCompatibilityMode = flag; in setLegacyCompatibilityMode()
234 public void setDirectorySearchEnabled(boolean flag) { in setDirectorySearchEnabled() argument
235 mDirectorySearchEnabled = flag; in setDirectorySearchEnabled()
DContactPickerFragment.java68 public void setCreateContactEnabled(boolean flag) { in setCreateContactEnabled() argument
69 this.mCreateContactEnabled = flag; in setCreateContactEnabled()
76 public void setEditMode(boolean flag) { in setEditMode() argument
77 mEditMode = flag; in setEditMode()
80 public void setShortcutRequested(boolean flag) { in setShortcutRequested() argument
81 mShortcutRequested = flag; in setShortcutRequested()
DContactBrowseListFragment.java185 protected void setSearchMode(boolean flag) { in setSearchMode() argument
186 if (isSearchMode() != flag) { in setSearchMode()
187 if (!flag) { in setSearchMode()
190 super.setSearchMode(flag); in setSearchMode()
DDefaultContactBrowseListFragment.java129 protected void setSearchMode(boolean flag) { in setSearchMode() argument
130 super.setSearchMode(flag); in setSearchMode()
132 if (!flag) showSearchProgress(false); in setSearchMode()
/packages/apps/Email/src/com/android/email/mail/store/
DImapFolder.java606 final ImapString flag = flags.getStringOrEmpty(i); in fetchInternal() local
607 if (flag.is(ImapConstants.FLAG_DELETED)) { in fetchInternal()
609 } else if (flag.is(ImapConstants.FLAG_ANSWERED)) { in fetchInternal()
611 } else if (flag.is(ImapConstants.FLAG_SEEN)) { in fetchInternal()
613 } else if (flag.is(ImapConstants.FLAG_FLAGGED)) { in fetchInternal()
931 Flag flag = flags[i]; in appendMessages() local
932 if (flag == Flag.SEEN) { in appendMessages()
934 } else if (flag == Flag.FLAGGED) { in appendMessages()
1030 Flag flag = flags[i]; in setFlags() local
1031 if (flag == Flag.SEEN) { in setFlags()
[all …]
DImapStore.java601 public void setFlagInternal(Flag flag, boolean set) throws MessagingException { in setFlagInternal() argument
602 super.setFlag(flag, set); in setFlagInternal()
606 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag() argument
607 super.setFlag(flag, set); in setFlag()
608 mFolder.setFlags(new Message[] { this }, new Flag[] { flag }, set); in setFlag()
/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/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/Exchange/exchange2/src/com/android/exchange/adapter/
DEmailSyncAdapter.java963 final Boolean flag;
969 flag = _flag;
1010 Boolean flag = null;
1018 flag = flagParser();
1037 ((flag != null) && !oldFlag.equals(flag)) || (flags != null)) {
1038 changes.add(new ServerChange(id, read, flag, flags));
1202 if (change.flag != null) {
1203 cv.put(MessageColumns.FLAG_FAVORITE, change.flag);
1527 int flag = 0;
1529 flag = currentCursor.getInt(UPDATES_FLAG_COLUMN);
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java852 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
860 return service.connectSocket(device, type, uuid, port, flag); in connectSocket()
864 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
872 return service.createSocketChannel(type, serviceName, uuid, port, flag); in createSocketChannel()
1302 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
1305 type, Utils.uuidToByteArray(uuid), port, flag); in connectSocket()
1314 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
1317 Utils.uuidToByteArray(uuid), port, flag); in createSocketChannel()
1395 byte[] uuid, int port, int flag); in connectSocketNative() argument
1397 byte[] uuid, int port, int flag); in createSocketChannelNative() argument
/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/Phone/src/com/android/phone/
DPhoneUtils.java1796 /* package */ static void turnOnSpeaker(Context context, boolean flag, boolean store) { in turnOnSpeaker() argument
1797 if (DBG) log("turnOnSpeaker(flag=" + flag + ", store=" + store + ")..."); in turnOnSpeaker()
1801 audioManager.setSpeakerphoneOn(flag); in turnOnSpeaker()
1805 sIsSpeakerEnabled = flag; in turnOnSpeaker()
1809 app.notificationMgr.updateSpeakerNotification(flag); in turnOnSpeaker()
1820 app.mCM.setEchoSuppressionEnabled(flag); in turnOnSpeaker()
1842 static void turnOnNoiseSuppression(Context context, boolean flag, boolean store) { in turnOnNoiseSuppression() argument
1843 if (DBG) log("turnOnNoiseSuppression: " + flag); in turnOnNoiseSuppression()
1850 if (flag) { in turnOnNoiseSuppression()
1858 sIsNoiseSuppressionEnabled = flag; in turnOnNoiseSuppression()
/packages/apps/Gallery2/jni_mosaic/
Dmosaic_renderer_jni.cpp495 JNIEnv * env, jobject obj, jboolean flag);
764 JNIEnv * env, jobject obj, jboolean flag) in Java_com_android_camera_MosaicRenderer_setWarping() argument
767 if(gWarpImage != (bool) flag) //switching from viewfinder to capture or vice-versa in Java_com_android_camera_MosaicRenderer_setWarping()
787 if ((bool) flag) { in Java_com_android_camera_MosaicRenderer_setWarping()
792 gWarpImage = (bool)flag; in Java_com_android_camera_MosaicRenderer_setWarping()
/packages/apps/Camera/jni/
Dmosaic_renderer_jni.cpp495 JNIEnv * env, jobject obj, jboolean flag);
764 JNIEnv * env, jobject obj, jboolean flag) in Java_com_android_camera_MosaicRenderer_setWarping() argument
767 if(gWarpImage != (bool) flag) //switching from viewfinder to capture or vice-versa in Java_com_android_camera_MosaicRenderer_setWarping()
787 if ((bool) flag) { in Java_com_android_camera_MosaicRenderer_setWarping()
792 gWarpImage = (bool)flag; in Java_com_android_camera_MosaicRenderer_setWarping()
/packages/inputmethods/PinyinIME/jni/share/
Duserdict.cpp131 int flag = 1; in utf16le_atoll() local
134 flag = -1; in utf16le_atoll()
144 return ret * flag; in utf16le_atoll()
178 inline void UserDict::set_lemma_flag(uint32 offset, uint8 flag) { in set_lemma_flag() argument
180 lemmas_[offset] |= flag; in set_lemma_flag()
1596 unsigned char flag = get_lemma_flag(dst); in _get_lpis() local
1598 if ((flag & kUserDictLemmaFlagRemove) == 0) { in _get_lpis()
1614 unsigned char flag = get_lemma_flag(begin); in _get_lpis() local
1616 if (flag & kUserDictLemmaFlagRemove) { in _get_lpis()
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java350 public void setSearchMode(boolean flag) { in setSearchMode() argument
351 if (mSearchMode != flag) { in setSearchMode()
352 mSearchMode = flag; in setSearchMode()
362 } else if (flag) { in setSearchMode()
/packages/apps/LegacyCamera/jni/
Dmosaic_renderer_jni.cpp476 JNIEnv * env, jobject obj, jboolean flag);
727 JNIEnv * env, jobject obj, jboolean flag) in Java_com_android_camera_panorama_MosaicRenderer_setWarping() argument
730 if(gWarpImage != (bool) flag) //switching from viewfinder to capture or vice-versa in Java_com_android_camera_panorama_MosaicRenderer_setWarping()
749 gWarpImage = (bool)flag; in Java_com_android_camera_panorama_MosaicRenderer_setWarping()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp828 jbyteArray uuidObj, jint channel, jint flag) { in connectSocketNative() argument
848 (const uint8_t*) uuid, channel, &socket_fd, flag)) != BT_STATUS_SUCCESS) { in connectSocketNative()
870 … jstring name_str, jbyteArray uuidObj, jint channel, jint flag) { in createSocketChannelNative() argument
885 ALOGE("SOCK FLAG = %x ***********************",flag); in createSocketChannelNative()
887 (const uint8_t*) uuid, channel, &socket_fd, flag)) != BT_STATUS_SUCCESS) { in createSocketChannelNative()
/packages/apps/Email/src/com/android/email/
DMessagingController.java692 int flag = EmailContent.Message.FLAG_LOADED_COMPLETE; in searchMailboxImpl() local
698 flag = EmailContent.Message.FLAG_LOADED_PARTIAL; in searchMailboxImpl()
700 copyOneMessageToProvider(message, localMessage, flag, mContext); in searchMailboxImpl()
872 for (Flag flag : remoteFolder.getPermanentFlags()) { in synchronizeMailboxGeneric()
873 if (flag == Flag.SEEN) { in synchronizeMailboxGeneric()
876 if (flag == Flag.FLAGGED) { in synchronizeMailboxGeneric()
879 if (flag == Flag.ANSWERED) { in synchronizeMailboxGeneric()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java234 int flag = View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN in showSystemUi() local
239 flag |= View.STATUS_BAR_HIDDEN | View.SYSTEM_UI_FLAG_FULLSCREEN in showSystemUi()
242 mVideoView.setSystemUiVisibility(flag); in showSystemUi()
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java934 int flag = 0;
936 flag |= ImageManager.isImage(image) ? FLAG_IMAGE : FLAG_VIDEO;
938 return flag == FLAG_IMAGE
940 : flag == FLAG_VIDEO ? "video/*" : "*/*";

1234