HomeSort by relevance Sort by last modified time
    Searched refs:Photo (Results 26 - 50 of 83) sorted by null

12 3 4

  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DataItem.java 30 import android.provider.ContactsContract.CommonDataKinds.Photo;
89 } else if (Photo.CONTENT_ITEM_TYPE.equals(mimeType)) {
  /external/opencv3/samples/winrt/ImageManipulations/
AdvancedCapture.xaml.cpp 295 Windows::Media::MediaProperties::IMediaEncodingProperties ^props = mediaCapture->VideoDeviceController->GetMediaStreamProperties(Windows::Media::Capture::MediaStreamType::Photo);
299 Windows::Foundation::Collections::IVectorView<Windows::Media::MediaProperties::IMediaEncodingProperties^>^ supportedPropsList = mediaCapture->VideoDeviceController->GetAvailableMediaStreamProperties(Windows::Media::Capture::MediaStreamType::Photo);
309 task<void>(mediaCapture->VideoDeviceController->SetMediaStreamPropertiesAsync(Windows::Media::Capture::MediaStreamType::Photo,props)).then([this](task<void> changeTypeTask)
314 ShowStatusMessage("Change type on photo stream successful");
316 task<void>(m_mediaCaptureMgr->AddEffectAsync(Windows::Media::Capture::MediaStreamType::Photo,"OcvTransform.OcvImageManipulations", nullptr)).then([this](task<void> effectTask3)
322 ShowStatusMessage("Adding effect to photo stream successful");
351 task<void>(mediaCapture->AddEffectAsync(Windows::Media::Capture::MediaStreamType::Photo,"OcvTransform.OcvImageManipulations", nullptr)).then([this](task<void> effectTask3)
357 ShowStatusMessage("Adding effect to photo stream successful");
420 properties->Insert("System.Photo.Orientation",
  /development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactDetailFragment.java 32 import android.provider.ContactsContract.Contacts.Photo;
62 * contact's display photo, name and all its mailing addresses. You can also modify this fragment
158 // Shows the contact photo ImageView and hides the empty view
512 * set a maximum size limit on the contact photo that is retrieved from the Contacts Provider.
543 // added to an activity. If so, no need to spend resources loading the contact photo.
557 // is available from Photo.DISPLAY_PHOTO.
560 Uri displayImageUri = Uri.withAppendedPath(contactUri, Photo.DISPLAY_PHOTO);
575 // when a contact is legitimately missing a contact photo (which will be quite
577 Log.d(TAG, "Contact photo not found for contact " + contactUri.toString()
599 // Contacts.Photo tabl
    [all...]
ContactsListFragment.java 32 import android.provider.ContactsContract.Contacts.Photo;
71 * shows the contact's thumbnail photo and display name. On devices with large screens, this
571 // added to an activity. If so, no need to spend resources loading the contact photo.
592 // Appends the content Uri for the Contacts.Photo table to the previously
594 thumbUri = Uri.withAppendedPath(contactUri, Photo.CONTENT_DIRECTORY);
616 Log.d(TAG, "Contact photo thumbnail not found for contact " + photoData
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ShortcutIntentBuilder.java 36 import android.provider.ContactsContract.CommonDataKinds.Photo;
83 Photo.PHOTO,
88 private static final String PHOTO_SELECTION = Photo._ID + "=?";
145 * An asynchronous task that loads name, photo and other data from the database.
343 private Bitmap generateQuickContactIcon(Drawable photo) {
349 // Copy in the photo
351 photo.setBounds(dst);
352 photo.draw(canvas);
370 * number, and if there is a photo also adds the call action icon
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionEngine.java 32 import android.provider.ContactsContract.CommonDataKinds.Photo;
81 public byte[] photo; field in class:AggregationSuggestionEngine.Suggestion
88 + nickname + (photo != null ? " [has photo]" : "");
289 + Photo.CONTENT_ITEM_TYPE + "')"
302 Photo.PHOTO,
317 public static final int PHOTO = 9;
472 } else if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) {
475 if (dataId == photoId && !mDataCursor.isNull(DataQuery.PHOTO)) {
    [all...]
BaseRawContactEditorView.java 23 import android.provider.ContactsContract.CommonDataKinds.Photo;
109 * Assign the given photo {@link Uri} to UI of the {@link PhotoEditorView}, so that it can
110 * display a full sized photo.
121 * Return true if internal {@link PhotoEditorView} has a {@link Photo} set.
ContactEditorFragment.java 25 import android.provider.ContactsContract.CommonDataKinds.Photo;
74 * The raw contact for which we started "take photo" or "choose photo from gallery" most
80 * The {@link PhotoHandler} for the photo editor for the {@link #mRawContactIdRequestingPhoto}
83 * A {@link PhotoHandler} is created for each photo editor in {@link #bindPhotoHandler}, but
241 // Set up the photo handler.
244 // If a new photo was chosen but not yet saved, we need to update the UI to
339 * If we've stashed a temporary file containing a contact's new photo, return its URI.
341 * @return Uru of photo for specified raw-contact, or null
363 // Read-only and either no photo or the only photo ==> no option
    [all...]
  /developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java 237 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
269 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
  /developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java 237 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
269 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
  /development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
OtherMetadataFragment.java 237 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
269 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
  /packages/apps/Contacts/src/com/android/contacts/activities/
AttachPhotoActivity.java 32 import android.provider.ContactsContract.CommonDataKinds.Photo;
81 // Height and width (in pixels) to request for the photo - queried from the provider.
83 // Default photo dimension to use if unable to query the provider.
112 // Load the photo dimension to request. mPhotoDim is a static class
191 // No activity supports the crop action. So skip cropping and set the photo
214 // Delete the temporary photo from cache now that we have a cropped version.
263 * If prerequisites have been met, attach the photo to a raw-contact and save.
265 * - photo has been cropped
280 // We can't directly insert this photo since no raw contacts exist in the contact.
318 // full-res photo would fail to be saved to the non-existent contact
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
PhotoSelectionHandler.java 28 import android.provider.ContactsContract.CommonDataKinds.Photo;
54 * Handles displaying a photo selection popup for a given photo view and dealing with the results
65 // Height and width (in pixels) to request for the photo - queried from the provider.
67 // Default photo dimension to use if unable to query the provider.
128 // Cropped photo was returned
138 // delete the original temporary photo if it exists
147 // Photo was successfully taken or selected from gallery, now crop it.
206 * This will attach the photo to the first contact-writable account that provided data to the
209 * or null if the photo could not be parsed or none of the accounts associated with th
    [all...]
  /frameworks/opt/vcard/java/com/android/vcard/
VCardComposer.java 34 import android.provider.ContactsContract.CommonDataKinds.Photo;
611 builder.appendPhotos(contentValuesListMap.get(Photo.CONTENT_ITEM_TYPE));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
ExternalAccountType.java 28 import android.provider.ContactsContract.CommonDataKinds.Photo;
139 checkKindExists(Photo.CONTENT_ITEM_TYPE);
141 // Bring in name and photo from fallback source, which are non-optional
ExchangeAccountType.java 28 import android.provider.ContactsContract.CommonDataKinds.Photo;
293 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1));
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 37 import android.provider.ContactsContract.CommonDataKinds.Photo;
125 * Opens an InputStream for the person's photo and returns the photo as a Bitmap.
126 * If the person's photo isn't present returns null.
128 * @param aggCursor the Cursor pointing to the data record containing the photo.
129 * @param bitmapColumnIndex the column index where the photo Uri is stored.
131 * @return the photo Bitmap
144 * Loads a placeholder photo.
168 new String[] { Photo.PHOTO },
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandler.java 115 // For photo, use data15 column instead of data1 and data2 to generate hash_id.
203 if (ContactsContract.CommonDataKinds.Photo.CONTENT_ITEM_TYPE.equals(mMimetype)) {
219 * If this is not a photo field, and one of data1 and data2 changed, re-compute hash_id with new
221 * If this is a photo field, no need to change hash_id.
224 if (!ContactsContract.CommonDataKinds.Photo.CONTENT_ITEM_TYPE.equals(mMimetype)
LegacyApiSupport.java 43 import android.provider.ContactsContract.CommonDataKinds.Photo;
237 Photo.CONTENT_ITEM_TYPE
255 * A custom data row that is used to store legacy photo data fields no
318 matcher.addURI(authority, "people/#/photo", PEOPLE_PHOTO);
319 // matcher.addURI(authority, "people/#/photo/data", PEOPLE_PHOTO_DATA);
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
FallbackSource.java 34 import android.provider.ContactsContract.CommonDataKinds.Photo;
372 DataKind kind = getKindForMimetype(Photo.CONTENT_ITEM_TYPE);
374 kind = addKind(new DataKind(Photo.CONTENT_ITEM_TYPE, -1, -1, -1, true));
379 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1));
ExchangeSource.java 30 import android.provider.ContactsContract.CommonDataKinds.Photo;
275 kind.fieldList.add(new EditField(Photo.PHOTO, -1, -1));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
RawContactModifier.java 34 import android.provider.ContactsContract.CommonDataKinds.Photo;
125 if (kind.mimeType.equals(Photo.CONTENT_ITEM_TYPE)) {
432 // Test and remove this row if empty and it isn't a photo from google
435 final boolean isPhoto = TextUtils.equals(Photo.CONTENT_ITEM_TYPE, kind.mimeType);
479 if (Photo.CONTENT_ITEM_TYPE.equals(kind.mimeType)) {
480 return values.isInsert() && values.getAsByteArray(Photo.PHOTO) == null;
    [all...]
ValuesDelta.java 494 put(ContactsContract.CommonDataKinds.Photo.PHOTO, value);
498 return getAsByteArray(ContactsContract.CommonDataKinds.Photo.PHOTO);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 33 import android.provider.ContactsContract.CommonDataKinds.Photo;
377 } else if (mimeType.equals(Photo.CONTENT_ITEM_TYPE)) {
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
ContactHeaderWidget.java 40 import android.provider.ContactsContract.CommonDataKinds.Photo;
125 Photo.PHOTO
128 int PHOTO = 0;
178 mPhotoView = (QuickContactBadge) findViewById(R.id.photo);
185 // Set the photo with a random "no contact" image
242 //Set the photo
245 && !cursor.isNull(PhotoQuery.PHOTO)) {
246 byte[] photoData = cursor.getBlob(PhotoQuery.PHOTO);
367 * Manually set the photo to display in the header. This doesn't change th
    [all...]

Completed in 868 milliseconds

12 3 4