/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.loaders.PhotoBitmapLoader.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/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; 24 import com.android.ex.photo.Intents; 25 import com.android.ex.photo.Intents.PhotoViewIntentBuilder; 26 import com.android.ex.photo.fragments.PhotoViewFragment; 27 import com.android.ex.photo.provider.PhotoContract; 30 * 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; 6 import com.android.ex.photo.adapters.PhotoPagerAdapter; 7 import com.android.ex.photo.fragments.PhotoViewFragment; 46 * Called when the cursor that contains the photo list data 49 * @param cursor the cursor containing the photo list data
|
Intents.java | 18 package com.android.ex.photo; 25 import com.android.ex.photo.fragments.PhotoViewFragment; 41 * Gets a photo view intent builder to display the photos from phone activity. 51 * Gets a photo view intent builder to display the photo view fragment 60 /** Gets a new photo view intent builder */ 66 /** Builder to create a photo view intent */ 70 /** The index of the photo to show */ 72 /** The URI of the initial photo to show */ 76 /** The URL 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
|
PhotoViewActivity.java | 18 package com.android.ex.photo; 41 import com.android.ex.photo.PhotoViewPager.InterceptType; 42 import com.android.ex.photo.PhotoViewPager.OnInterceptTouchListener; 43 import com.android.ex.photo.adapters.PhotoPagerAdapter; 44 import com.android.ex.photo.fragments.PhotoViewFragment; 45 import com.android.ex.photo.loaders.PhotoPagerLoader; 46 import com.android.ex.photo.provider.PhotoContract; 71 /** Count used when the real photo count is unknown [but, may be determined] */ 81 /** The URI of the initial photo to display */ 83 /** The index of the currently viewed photo */ [all...] |
/frameworks/opt/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.loaders.PhotoBitmapLoader.BitmapResult; 124 // Do nothing - the photo will appear to be missing 128 // Do nothing - the photo will appear to be missing
|
/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 | 342 private double[] getCenter(View photo) { 343 float width = (float) ((Integer) photo.getTag(R.id.photo_width)).intValue(); 344 float height = (float) ((Integer) photo.getTag(R.id.photo_height)).intValue(); 345 double[] center = { photo.getX() + width / 2f, 346 - (photo.getY() + height / 2f) }; 430 for (View photo: mOnTable) { 431 if (photo != getSelection()) { 432 dropOnTable(photo); 458 View photo = inflater.inflate(R.layout.photo, null) local [all...] |
PhotoCarousel.java | 149 public void onPostExecute(Bitmap photo) { 150 if (photo != null) { 151 mBitmapQueue.offer(photo); 184 Bitmap photo = mBitmapQueue.poll(); local 185 if (photo != null) { 187 int width = photo.getWidth(); 188 int height = photo.getHeight(); 191 destination.setImageBitmap(photo); 197 Bitmap old = mBitmapStore.put(destination, photo); 206 private void setScaleType(View photo) { [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...] |
AggregationSuggestionEngine.java | 31 import android.provider.ContactsContract.CommonDataKinds.Photo; 78 public byte[] photo; field in class:AggregationSuggestionEngine.Suggestion 85 + nickname + (photo != null ? " [has photo]" : ""); 266 + Photo.CONTENT_ITEM_TYPE + "')" 279 Photo.PHOTO, 294 public static final int PHOTO = 9; 421 } else if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) { 424 if (dataId == photoId && !mDataCursor.isNull(DataQuery.PHOTO)) { [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/Contacts/src/com/android/contacts/model/ |
Contact.java | 22 import android.provider.ContactsContract.CommonDataKinds.Photo; 433 // If the photo was loaded using the URI, create an entry for the photo 436 ContentValues photo = new ContentValues(); local 437 photo.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); 438 photo.put(Photo.PHOTO, mPhotoBinaryData); 439 result.add(photo); [all...] |
ContactLoader.java | 412 * Looks for the photo data item in entities. If found, creates a new Bitmap instance. If 417 // If we have a photo URI, try loading that first. 445 // No photo ID 456 final PhotoDataItem photo = (PhotoDataItem) dataItem; local 457 contactData.setPhotoBinaryData(photo.getPhoto()); 746 // Now retrieve any photo records associated with the stream items. [all...] |
/packages/apps/Phone/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...] |
/external/smack/src/org/jivesoftware/smackx/provider/ |
VCardProvider.java | 134 NodeList photo = document.getElementsByTagName("PHOTO"); local 135 if (photo.getLength() != 1) 138 Node photoNode = photo.item(0);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PresentationActivity.java | 201 Log.d(TAG, "Showing presentation photo #" + contents.photo 227 final int photo = mNextImageNumber; local 229 return photo; 418 final int photo = mContents.photo; local 423 photo, displayId, display.getName())); 427 image.setImageDrawable(r.getDrawable(PHOTOS[photo])); 446 final int photo; field in class:PresentationActivity.PresentationContents 462 public PresentationContents(int photo) { [all...] |