Home
last modified time | relevance | path

Searched refs:new_photo (Results 1 – 21 of 21) sorted by relevance

/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_profile/
H A Dmod_profile.lua169 local new_photo = item:get_child_text("data", "urn:xmpp:avatar:data");
170 new_photo = new_photo and { name = "PHOTO"; ENCODING = { "b" }; new_photo } or nil;
172 if new_photo then
173 data[i or #data+1] = new_photo;
/dports/databases/evolution-data-server/evolution-data-server-3.42.1/tests/libebook-contacts/
H A Dtest-contact-types.c163 EContactPhoto *photo, *new_photo; in test_photo() local
179 new_photo = e_contact_get (fixture->contact, E_CONTACT_PHOTO); in test_photo()
182 g_assert_cmpint (new_photo->data.inlined.length, ==, photo->data.inlined.length); in test_photo()
184 if (memcmp (new_photo->data.inlined.data, photo->data.inlined.data, photo->data.inlined.length)) in test_photo()
188 e_contact_photo_free (new_photo); in test_photo()
/dports/databases/evolution-data-server/evolution-data-server-3.42.1/src/addressbook/backends/file/
H A De-book-backend-file.c168 if (new_photo == NULL || in check_remove_uri_for_field()
176 e_contact_photo_free (new_photo); in check_remove_uri_for_field()
483 EContactPhoto *new_photo; in maybe_transform_vcard_field_for_photo() local
501 new_photo = e_contact_photo_new (); in maybe_transform_vcard_field_for_photo()
502 new_photo->type = E_CONTACT_PHOTO_TYPE_URI; in maybe_transform_vcard_field_for_photo()
503 new_photo->data.uri = g_strdup (uri); in maybe_transform_vcard_field_for_photo()
505 e_contact_set (contact, field, new_photo); in maybe_transform_vcard_field_for_photo()
511 e_contact_photo_free (new_photo); in maybe_transform_vcard_field_for_photo()
579 new_photo = e_contact_photo_new (); in maybe_transform_vcard_field_for_photo()
581 new_photo->data.uri = new_uri; in maybe_transform_vcard_field_for_photo()
[all …]
/dports/graphics/shotwell/shotwell-0.30.14/src/
H A DPhotoMonitor.vala501 LibraryPhoto? new_photo = get_photo_state_by_file(new_file, out new_state);
515 if (old_photo != null && new_photo == null) {
541 } else if (old_photo == null && new_photo != null) {
548 update_reimport_master(new_photo);
553 update_reimport_editable(new_photo);
558 update_reimport_raw_developments(new_photo);
564 } else if (old_photo == null && new_photo == null) {
568 assert(old_photo != null && new_photo != null);
599 update_reimport_master(new_photo);
604 update_reimport_editable(new_photo);
[all …]
H A DPhotoPage.vala817 protected virtual void photo_changing(Photo new_photo) {
820 if (new_photo.get_file_format() == PhotoFileFormat.RAW)
1044 ViewCollection new_controller, Photo new_photo) {
1170 private Gdk.Pixbuf get_zoom_pixbuf(Photo new_photo) {
1171 Gdk.Pixbuf? pixbuf = cache.get_ready_pixbuf(new_photo);
1186 private void replace_photo(Photo new_photo) {
1192 zoom_buffer = new ZoomBuffer(this, new_photo, get_zoom_pixbuf(new_photo));
1198 if (!confirm_replace_photo(get_photo(), new_photo))
1206 set_photo(new_photo);
1207 set_page_name(new_photo.get_name());
[all …]
/dports/graphics/elementary-photos/photos-2.7.1/src/
H A DPhotoMonitor.vala514 LibraryPhoto? new_photo = get_photo_state_by_file (new_file, out new_state);
528 if (old_photo != null && new_photo == null) {
554 } else if (old_photo == null && new_photo != null) {
561 update_reimport_master (new_photo);
566 update_reimport_editable (new_photo);
571 update_reimport_raw_developments (new_photo);
577 } else if (old_photo == null && new_photo == null) {
581 assert (old_photo != null && new_photo != null);
612 update_reimport_master (new_photo);
617 update_reimport_editable (new_photo);
[all …]
/dports/graphics/elementary-photos/photos-2.7.1/src/Views/
H A DEditingHostPage.vala438 protected virtual void photo_changing (Photo new_photo) {
441 if (new_photo.get_file_format () == PhotoFileFormat.RAW)
795 private Gdk.Pixbuf get_zoom_pixbuf (Photo new_photo) {
796 Gdk.Pixbuf? pixbuf = cache.get_ready_pixbuf (new_photo);
818 private void replace_photo (Photo new_photo) {
824 zoom_buffer = new ZoomBuffer (this, new_photo, get_zoom_pixbuf (new_photo));
830 if (!confirm_replace_photo (get_photo (), new_photo))
838 set_photo (new_photo);
839 page_name = new_photo.get_name ();
845 set_photo_missing (!new_photo.get_file ().query_exists ());
[all …]
H A DDirectPhotoPage.vala120 protected override void photo_changing (Photo new_photo) {
121 ((DirectPhoto) new_photo).demand_load ();
467 protected override bool confirm_replace_photo (Photo? old_photo, Photo new_photo) {
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_pep_vcard_png_avatar/
H A Dmod_pep_vcard_png_avatar.lua151 local new_photo = st.stanza("PHOTO", { xmlns = "vcard-temp" })
155 replace_tag(vcard, new_photo);
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_pep_vcard_avatar/
H A Dmod_pep_vcard_avatar.lua139 local new_photo = st.stanza("PHOTO", { xmlns = "vcard-temp" })
143 replace_tag(vcard, new_photo);
/dports/graphics/shotwell/shotwell-0.30.14/src/direct/
H A DDirectPhotoPage.vala126 protected override void photo_changing(Photo new_photo) {
135 ((DirectPhoto) new_photo).demand_load();
137 DirectPhoto tmp = new_photo as DirectPhoto;
348 protected override bool confirm_replace_photo(Photo? old_photo, Photo new_photo) {
/dports/mail/evolution-ews/evolution-ews-3.42.1/src/EWS/addressbook/
H A De-book-backend-ews.c1421 EContactPhoto *new_photo; in ebb_ews_photo_changed() local
1427 if (!old_photo && new_photo) in ebb_ews_photo_changed()
1430 if (old_photo && !new_photo) in ebb_ews_photo_changed()
1435 if (!changed && old_photo && new_photo && in ebb_ews_photo_changed()
1447 if (old_photo && new_photo && in ebb_ews_photo_changed()
1456 new_data = new_photo->data.inlined.data; in ebb_ews_photo_changed()
1459 new_length = new_photo->data.inlined.length; in ebb_ews_photo_changed()
1467 e_contact_photo_free (new_photo); in ebb_ews_photo_changed()
1482 EContactPhoto *new_photo = NULL; in ebews_set_photo_changes() local
1542 if (new_photo) { in ebews_set_photo_changes()
[all …]
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/telegram/
H A DDialogEventLog.cpp132 auto new_photo = get_photo(file_manager, std::move(action->new_photo_), DialogId(channel_id)); in get_chat_event_action_object() local
134 … get_chat_photo_object(file_manager, new_photo)); in get_chat_event_action_object()
H A DMessageContent.cpp3110 Photo *new_photo = &new_->photo; in merge_message_contents() local
3111 if (old_photo->date != new_photo->date) { in merge_message_contents()
3117 if (old_photo->minithumbnail != new_photo->minithumbnail) { in merge_message_contents()
3120 if (old_photo->photos != new_photo->photos) { in merge_message_contents()
3123 auto new_photos_size = new_photo->photos.size(); in merge_message_contents()
3131 new_photo->photos.push_back(old_photo->photos[0]); in merge_message_contents()
3133 new_photo->photos.push_back(old_photo->photos.back()); in merge_message_contents()
3141 new_photo->photos.push_back(old_photo->photos.back()); in merge_message_contents()
3144 if (old_photo->photos != new_photo->photos) { in merge_message_contents()
3145 new_photo->photos.resize( in merge_message_contents()
[all …]
H A DInlineQueriesManager.cpp1561 Photo new_photo; in on_get_inline_query_results() local
1562 new_photo.id = 0; in on_get_inline_query_results()
1566 new_photo.photos.push_back(std::move(thumbnail)); in on_get_inline_query_results()
1568 new_photo.photos.push_back(std::move(photo_size)); in on_get_inline_query_results()
1570 photo->photo_ = get_photo_object(td_->file_manager_.get(), new_photo); in on_get_inline_query_results()
1576 allow_invoice, &new_photo)) { in on_get_inline_query_results()
H A DContactsManager.h1190 …void do_update_user_photo(User *u, UserId user_id, ProfilePhoto &&new_photo, bool invalidate_photo…
H A DContactsManager.cpp11061 …ProfilePhoto new_photo = get_profile_photo(td_->file_manager_.get(), user_id, u->access_hash, std:… in do_update_user_photo() local
11063 new_photo.minithumbnail.clear(); in do_update_user_photo()
11065 do_update_user_photo(u, user_id, std::move(new_photo), true, source); in do_update_user_photo()
11068 void ContactsManager::do_update_user_photo(User *u, UserId user_id, ProfilePhoto &&new_photo, in do_update_user_photo() argument
11071 if (new_photo != u->photo) { in do_update_user_photo()
11072 LOG_IF(ERROR, u->access_hash == -1 && new_photo.small_file_id.is_valid()) in do_update_user_photo()
11074 u->photo = new_photo; in do_update_user_photo()
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/
H A DCHANGELOG.md99 …- Changed the type of the fields `old_photo` and `new_photo` in the class `chatEventPhotoChanged` …
582 * Changed type of the fields `old_photo` and `new_photo` in the class `chatEventPhotoChanged` from …
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/generate/scheme/
H A Dtelegram_api.tl880 channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEv…
H A Dtd_api.tl2588 …at photo was changed @old_photo Previous chat photo value; may be null @new_photo New chat photo v…
2589 chatEventPhotoChanged old_photo:chatPhoto new_photo:chatPhoto = ChatEventAction;
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/Resources/tl/
H A Dapi.tl885 channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEv…