HomeSort by relevance Sort by last modified time
    Searched defs:photo (Results 1 - 25 of 46) sorted by null

1 2

  /packages/apps/UnifiedEmail/src/com/android/mail/
ContactInfo.java 27 public final Bitmap photo; field in class:ContactInfo
37 public ContactInfo(Uri contactUri, Integer status, Bitmap photo) {
38 this(contactUri, status, null, photo);
41 private ContactInfo(Uri contactUri, Integer status, byte[] photoBytes, Bitmap photo) {
45 this.photo = photo;
50 return "{status=" + status + " photo=" + photo + "}";
SenderInfoLoader.java 34 import android.provider.ContactsContract.Contacts.Photo;
44 * A {@link Loader} to look up presence, contact URI, and photo data for a set of email
62 private static final String[] PHOTO_COLS = new String[] { Photo._ID, Photo.PHOTO };
104 * {@link ContactInfo}. Otherwise, just put the raw bytes of the photo
163 // based on photo batch-select code in ContactPhotoManager
166 query.append(Photo._ID).append(" IN (");
190 Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0, photoBytes.length); local
191 // overwrite existing photo-less resul
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
PhotoBitmapLoaderInterface.java 1 package com.android.ex.photo.loaders;
PhotoPagerLoader.java 18 package com.android.ex.photo.loaders;
25 import com.android.ex.photo.provider.PhotoContract;
28 * Loader for a set of photo IDs.
PhotoBitmapLoader.java 18 package com.android.ex.photo.loaders;
27 import com.android.ex.photo.fragments.PhotoViewFragment;
28 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
29 import com.android.ex.photo.util.ImageUtils;
32 * Loader for the bitmap of a photo.
  /frameworks/opt/photoviewer/src/com/android/ex/photo/provider/
PhotoContract.java 18 package com.android.ex.photo.provider;
  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
Trace.java 17 package com.android.ex.photo.util;
Exif.java 17 package com.android.ex.photo.util;
InputStreamBuffer.java 17 package com.android.ex.photo.util;
ImageUtils.java 18 package com.android.ex.photo.util;
31 import com.android.ex.photo.PhotoViewActivity;
32 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
117 // Do nothing - the photo will appear to be missing
121 // Do nothing - the photo will appear to be missing
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
ProgressBarWrapper.java 18 package com.android.ex.photo.views;
  /frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
PhotoPagerAdapter.java 18 package com.android.ex.photo.adapters;
25 import com.android.ex.photo.Intents;
26 import com.android.ex.photo.Intents.PhotoViewIntentBuilder;
27 import com.android.ex.photo.fragments.PhotoViewFragment;
28 import com.android.ex.photo.provider.PhotoContract;
31 * Pager adapter for the photo view
BaseCursorPagerAdapter.java 18 package com.android.ex.photo.adapters;
28 import com.android.ex.photo.provider.PhotoContract;
BaseFragmentPagerAdapter.java 18 package com.android.ex.photo.adapters;
  /frameworks/opt/photoviewer/src/com/android/ex/photo/
PhotoViewCallbacks.java 1 package com.android.ex.photo;
8 import com.android.ex.photo.adapters.PhotoPagerAdapter;
9 import com.android.ex.photo.fragments.PhotoViewFragment;
10 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
54 * Called when the cursor that contains the photo list data
57 * @param cursor the cursor containing the photo list data
PhotoViewPager.java 18 package com.android.ex.photo;
28 * View pager for photo view fragments. Define our own class so we can specify the
Intents.java 18 package com.android.ex.photo;
25 import com.android.ex.photo.fragments.PhotoViewFragment;
55 * Gets a photo view intent builder to display the photos from phone activity.
65 * Gets a photo view intent builder to display the photo view fragment
74 /** Gets a new photo view intent builder */
80 /** Builder to create a photo view intent */
84 /** The index of the photo to show */
86 /** The URI of the initial photo to show */
92 /** The URL of the photo to display *
    [all...]
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 85 Bitmap photo = ((BitmapDrawable) drawable).getBitmap(); local
86 final int size = photo.getWidth() * photo.getHeight() * 4;
90 photo.compress(Bitmap.CompressFormat.PNG, 100, out);
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoTable.java 347 private double[] getCenter(View photo) {
348 float width = (float) ((Integer) photo.getTag(R.id.photo_width)).intValue();
349 float height = (float) ((Integer) photo.getTag(R.id.photo_height)).intValue();
350 double[] center = { photo.getX() + width / 2f,
351 - (photo.getY() + height / 2f) };
437 for (View photo: mOnTable) {
438 if (photo != getSelection()) {
439 dropOnTable(photo);
465 View photo = inflater.inflate(R.layout.photo, null) local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionView.java 84 ImageView photo = (ImageView) findViewById(R.id.aggregation_suggestion_photo); local
85 if (suggestion.photo != null) {
86 photo.setImageBitmap(BitmapFactory.decodeByteArray(
87 suggestion.photo, 0, suggestion.photo.length));
89 photo.setImageResource(R.drawable.ic_contact_picture_holo_light);
PhotoEditorView.java 22 import android.provider.ContactsContract.CommonDataKinds.Photo;
36 * Simple editor for {@link Photo}.
66 // Never called, since the user never adds a new photo-editor;
75 mPhotoImageView = (ImageView) findViewById(R.id.photo);
103 // Try decoding photo if actual entry
104 final byte[] photoBytes = values.getAsByteArray(Photo.PHOTO);
106 final Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0, local
109 mPhotoImageView.setImageBitmap(photo);
122 * Return true if a valid {@link Photo} has been set
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
ContactStatusLoader.java 27 import android.provider.ContactsContract.CommonDataKinds.Photo;
38 * Loader to load presence statuses and the contact photo.
44 /** email address -> photo id, presence */
52 /** photo id -> photo data */
54 Photo.PHOTO
67 /** Contact photo. Null if unknown */
76 public Result(Bitmap photo, int presenceResId, Uri lookupUri) {
77 mPhoto = photo;
128 Bitmap photo = null; local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
Contact.java 22 import android.provider.ContactsContract.CommonDataKinds.Photo;
421 // If the photo was loaded using the URI, create an entry for the photo
424 ContentValues photo = new ContentValues(); local
425 photo.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE);
426 photo.put(Photo.PHOTO, mPhotoBinaryData);
427 result.add(photo);
    [all...]
  /packages/apps/InCallUI/src/com/android/incallui/
ContactsAsyncHelper.java 36 * Helper class for loading contacts photo asynchronously.
49 * @param photo Drawable object obtained by the async load.
55 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon,
72 args.listener.onImageLoadComplete(msg.what, args.photo, args.photoIcon,
81 /** Handler run on a worker thread to load photo asynchronously. */
95 public Drawable photo; field in class:ContactsAsyncHelper.WorkerArgs
147 * representing the Photo file recorded in the attached
159 * Simple setter for the Photo state.
166 * Simple getter for the Photo state.
194 Log.e(this, "Error opening photo input stream", e)
    [all...]
  /packages/services/Telephony/src/com/android/phone/
ContactsAsyncHelper.java 40 * Helper class for loading contacts photo asynchronously.
56 * @param photo Drawable object obtained by the async load.
62 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon,
81 args.listener.onImageLoadComplete(msg.what, args.photo, args.photoIcon,
90 /** Handler run on a worker thread to load photo asynchronously. */
104 public Drawable photo; field in class:ContactsAsyncHelper.WorkerArgs
174 * representing the Photo file recorded in the attached
186 * Simple setter for the Photo state.
193 * Simple getter for the Photo state.
221 Log.e(LOG_TAG, "Error opening photo input stream", e)
    [all...]

Completed in 155 milliseconds

1 2