Home
last modified time | relevance | path

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

1234

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListFragment.java485 public void setSectionHeaderDisplayEnabled(boolean flag) { in setSectionHeaderDisplayEnabled() argument
486 if (mSectionHeaderDisplayEnabled != flag) { in setSectionHeaderDisplayEnabled()
487 mSectionHeaderDisplayEnabled = flag; in setSectionHeaderDisplayEnabled()
489 mAdapter.setSectionHeaderDisplayEnabled(flag); in setSectionHeaderDisplayEnabled()
499 public void setVisibleScrollbarEnabled(boolean flag) { in setVisibleScrollbarEnabled() argument
500 if (mVisibleScrollbarEnabled != flag) { in setVisibleScrollbarEnabled()
501 mVisibleScrollbarEnabled = flag; in setVisibleScrollbarEnabled()
539 public void setPhotoLoaderEnabled(boolean flag) { in setPhotoLoaderEnabled() argument
540 mPhotoLoaderEnabled = flag; in setPhotoLoaderEnabled()
555 public void setSelectionVisible(boolean flag) { in setSelectionVisible() argument
[all …]
DContactEntryListAdapter.java233 public void setSearchMode(boolean flag) { in setSearchMode() argument
234 mSearchMode = flag; in setSearchMode()
312 public void setEmptyListEnabled(boolean flag) { in setEmptyListEnabled() argument
313 mEmptyListEnabled = flag; in setEmptyListEnabled()
320 public void setSelectionVisible(boolean flag) { in setSelectionVisible() argument
321 this.mSelectionVisible = flag; in setSelectionVisible()
DPhoneNumberPickerFragment.java90 public void setDirectorySearchEnabled(boolean flag) { in setDirectorySearchEnabled() argument
91 setDirectorySearchMode(flag ? DirectoryListLoader.SEARCH_MODE_DEFAULT in setDirectorySearchEnabled()
123 protected void setSearchMode(boolean flag) { in setSearchMode() argument
124 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/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/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()
/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/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/Mms/src/com/android/mms/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/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/Camera2/src/com/android/camera/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/Email/src/com/android/email/mail/store/
DImapFolder.java699 final ImapString flag = flags.getStringOrEmpty(i); in fetchInternal() local
700 if (flag.is(ImapConstants.FLAG_DELETED)) { in fetchInternal()
702 } else if (flag.is(ImapConstants.FLAG_ANSWERED)) { in fetchInternal()
704 } else if (flag.is(ImapConstants.FLAG_SEEN)) { in fetchInternal()
706 } else if (flag.is(ImapConstants.FLAG_FLAGGED)) { in fetchInternal()
1045 Flag flag = flags[i]; in appendMessages() local
1046 if (flag == Flag.SEEN) { in appendMessages()
1048 } else if (flag == Flag.FLAGGED) { in appendMessages()
1144 Flag flag = flags[i]; in setFlags() local
1145 if (flag == Flag.SEEN) { in setFlags()
[all …]
DImapStore.java595 public void setFlagInternal(Flag flag, boolean set) throws MessagingException { in setFlagInternal() argument
596 super.setFlag(flag, set); in setFlagInternal()
600 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag() argument
601 super.setFlag(flag, set); in setFlag()
602 mFolder.setFlags(new Message[] { this }, new Flag[] { 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/Exchange/src/com/android/exchange/adapter/
DEmailSyncAdapter.java968 final Boolean flag;
974 flag = _flag;
1015 Boolean flag = null;
1023 flag = flagParser();
1042 ((flag != null) && !oldFlag.equals(flag)) || (flags != null)) {
1043 changes.add(new ServerChange(id, read, flag, flags));
1194 if (change.flag != null) {
1195 cv.put(MessageColumns.FLAG_FAVORITE, change.flag);
1459 int flag = 0;
1461 flag = currentCursor.getInt(UPDATES_FLAG_COLUMN);
[all …]
DEmailSyncParser.java586 final Boolean flag; field in EmailSyncParser.ServerChange
592 flag = _flag; in ServerChange()
634 Boolean flag = null; in changeApplicationDataParser() local
642 flag = flagParser(); in changeApplicationDataParser()
662 ((flag != null) && !oldFlag.equals(flag)) || (flags != null)) { in changeApplicationDataParser()
663 changes.add(new ServerChange(id, read, flag, flags)); in changeApplicationDataParser()
857 if (change.flag != null) { in commitImpl()
858 cv.put(EmailContent.MessageColumns.FLAG_FAVORITE, change.flag); in commitImpl()
/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/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java854 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
862 return service.connectSocket(device, type, uuid, port, flag); in connectSocket()
866 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
874 return service.createSocketChannel(type, serviceName, uuid, port, flag); in createSocketChannel()
1322 ParcelUuid uuid, int port, int flag) { in connectSocket() argument
1325 type, Utils.uuidToByteArray(uuid), port, flag); in connectSocket()
1334 ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
1337 Utils.uuidToByteArray(uuid), port, flag); in createSocketChannel()
1420 byte[] uuid, int port, int flag); in connectSocketNative() argument
1422 byte[] uuid, int port, int flag); in createSocketChannelNative() argument
/packages/apps/Exchange/src/com/android/exchange/service/
DEasMeetingResponder.java163 final int flag; in sendMeetingResponseMail() local
166 flag = Message.FLAG_OUTGOING_MEETING_ACCEPT; in sendMeetingResponseMail()
169 flag = Message.FLAG_OUTGOING_MEETING_DECLINE; in sendMeetingResponseMail()
173 flag = Message.FLAG_OUTGOING_MEETING_TENTATIVE; in sendMeetingResponseMail()
177 CalendarUtilities.createMessageForEntity(mContext, entity, flag, in sendMeetingResponseMail()
/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/src/com/android/email/service/
DPop3Service.java180 int flag = EmailContent.Message.FLAG_LOADED_COMPLETE; in loadUnsyncedMessages() local
187 flag = EmailContent.Message.FLAG_LOADED_PARTIAL; in loadUnsyncedMessages()
194 Utilities.copyOneMessageToProvider(context, message, account, toMailbox, flag); in loadUnsyncedMessages()
421 int flag = EmailContent.Message.FLAG_LOADED_COMPLETE; in synchronizePop3Mailbox() local
426 context, popMessage, account, mailbox, flag); in synchronizePop3Mailbox()
/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/apps/Camera2/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/services/Telephony/src/com/android/phone/
DPhoneUtils.java1939 /* package */ static void turnOnSpeaker(Context context, boolean flag, boolean store) { in turnOnSpeaker() argument
1940 if (DBG) log("turnOnSpeaker(flag=" + flag + ", store=" + store + ")..."); in turnOnSpeaker()
1944 audioManager.setSpeakerphoneOn(flag); in turnOnSpeaker()
1948 sIsSpeakerEnabled = flag; in turnOnSpeaker()
1952 app.notificationMgr.updateSpeakerNotification(flag); in turnOnSpeaker()
1960 app.mCM.setEchoSuppressionEnabled(flag); in turnOnSpeaker()
1982 static void turnOnNoiseSuppression(Context context, boolean flag, boolean store) { in turnOnNoiseSuppression() argument
1983 if (DBG) log("turnOnNoiseSuppression: " + flag); in turnOnNoiseSuppression()
1990 if (flag) { in turnOnNoiseSuppression()
1998 sIsNoiseSuppressionEnabled = flag; in turnOnNoiseSuppression()

1234