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

1 2

  /frameworks/ex/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
BaseFragmentPagerAdapter.java 18 package com.android.ex.photo.adapters;
  /frameworks/ex/photoviewer/src/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.util.ImageUtils;
31 * Loader for the bitmap of a photo.
  /frameworks/ex/photoviewer/src/com/android/ex/photo/provider/
PhotoContract.java 18 package com.android.ex.photo.provider;
  /frameworks/ex/photoviewer/src/com/android/ex/photo/views/
ProgressBarWrapper.java 18 package com.android.ex.photo.views;
  /frameworks/opt/photoviewer/src/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.util.ImageUtils;
31 * 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/views/
ProgressBarWrapper.java 18 package com.android.ex.photo.views;
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/
SaveCopyTask.java 36 * Asynchronous task for loading source photo in target dimensions and saving edits as a new copy.
38 public class SaveCopyTask extends AsyncTask<Photo, Void, Uri> {
74 * The task should be executed with one given photo to be saved.
77 protected Uri doInBackground(Photo... params) {
78 // TODO: Support larger dimensions for photo saving.
82 Photo photo = params[0]; local
83 File file = save(photo);
85 photo.clear();
98 private File save(Photo photo)
    [all...]
PhotoView.java 33 * Displays photo in the view. All its methods should be called from UI thread.
39 private Photo photo; field in class:PhotoView
51 if (photo != null) {
57 canvas.drawBitmap(photo.bitmap(), 0, 0, paint);
63 * Maps x and y to a percentage position relative to displayed photo.
66 if ((photo == null) || (photo.width() == 0) || (photo.height() == 0)) {
73 return new PointF(point[0] / photo.width(), point[1] / photo.height())
    [all...]
  /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
  /frameworks/ex/photoviewer/src/com/android/ex/photo/util/
Exif.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.util.Exif;
109 // Do nothing - the photo will appear to be missing
111 // Do nothing - the photo will appear to be missing
113 // Do nothing - the photo will appear to be missing
  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
Exif.java 17 package com.android.ex.photo.util;
  /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);
  /frameworks/ex/photoviewer/src/com/android/ex/photo/
Intents.java 18 package com.android.ex.photo;
24 import com.android.ex.photo.fragments.PhotoViewFragment;
39 * Gets a photo view intent builder to display the photos from phone activity.
49 * Gets a photo view intent builder to display the photo view fragment
58 /** Gets a new photo view intent builder */
64 /** Builder to create a photo view intent */
68 /** The index of the photo to show */
72 /** The URL of the photo to display */
76 /** The URI of a thumbnail of the photo to display *
    [all...]
PhotoViewPager.java 18 package com.android.ex.photo;
28 * View pager for photo view fragments. Define our own class so we can specify the
  /frameworks/opt/photoviewer/src/com/android/ex/photo/
Intents.java 18 package com.android.ex.photo;
24 import com.android.ex.photo.fragments.PhotoViewFragment;
40 * Gets a photo view intent builder to display the photos from phone activity.
50 * Gets a photo view intent builder to display the photo view fragment
59 /** Gets a new photo view intent builder */
65 /** Builder to create a photo view intent */
69 /** The index of the photo to show */
73 /** The URL of the photo to display */
77 /** The URI of a thumbnail of the photo to display *
    [all...]
PhotoViewPager.java 18 package com.android.ex.photo;
28 * View pager for photo view fragments. Define our own class so we can specify the
  /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/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoTable.java 224 for (View photo: mOnTable) {
225 if (photo == getSelected()) {
226 pickUp(photo);
228 dropOnTable(photo);
251 log("load a new photo");
256 View photo = inflater.inflate(R.layout.photo, null); local
257 ImageView image = (ImageView) photo;
264 photo = null;
274 photo.setTag(R.id.photo_width, new Integer(photoWidth))
    [all...]

Completed in 3098 milliseconds

1 2