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

1 2 3 4

  /frameworks/base/packages/Keyguard/scripts/
copy_profile_icons.sh 7 for photo in `adb $* shell ls /data/system/users | grep -v xml`
9 photo=${photo/$'\r'/}
10 adb shell mkdir /data/user/${user}/users/${photo}
11 adb pull /data/system/users/${photo}/photo.png
12 adb push photo.png /data/user/${user}/users/${photo}
  /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 + "}";
  /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...]
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...]
  /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/
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
  /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/opt/photoviewer/sample/src/com/example/photoviewersample/
MainActivity.java 8 import com.android.ex.photo.Intents;
9 import com.android.ex.photo.Intents.PhotoViewIntentBuilder;
  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
Trace.java 17 package com.android.ex.photo.util;
  /packages/apps/Contacts/src/com/android/contacts/editor/
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...]
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);
  /external/chromium_org/chrome/common/extensions/docs/examples/tutorials/getstarted/
popup.js 54 var kittens = e.target.responseXML.querySelectorAll('photo');
64 * Given a photo, construct a URL using the method outlined at
71 constructKittenURL_: function (photo) {
72 return "http://farm" + photo.getAttribute("farm") +
73 ".static.flickr.com/" + photo.getAttribute("server") +
74 "/" + photo.getAttribute("id") +
75 "_" + photo.getAttribute("secret") +
  /packages/apps/InCallUI/src/com/android/incallui/
ContactInfoCache.java 240 entry.photo = mContext.getResources().getDrawable(R.drawable.business_unknown);
266 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) {
279 Log.d(this, "setting photo for entry: ", entry);
282 if (photo != null) {
283 Log.v(this, "direct drawable: ", photo);
284 entry.photo = photo;
286 Log.v(this, "photo icon: ", photoIcon);
287 entry.photo = new BitmapDrawable(mContext.getResources(), photoIcon);
289 Log.v(this, "unknown photo");
308 Drawable photo = null; local
506 public Drawable photo; field in class:ContactInfoCache.ContactCacheEntry
    [all...]
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...]
  /external/chromium_org/chrome/browser/resources/options/chromeos/
change_picture_options.css 52 * .camera: camera (live or photo) is selected;
53 * .live: camera is in live mode (no photo taken yet/last photo removed).
138 #flip-photo {
151 html[dir=rtl] #flip-photo {
156 /* "Flip photo" button is hidden during flip animation. */
157 .camera.online:not(.animation) #flip-photo,
158 .camera:not(.live):not(.animation) #flip-photo {
162 #discard-photo,
163 #take-photo {
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/provider/
PhotoContract.java 18 package com.android.ex.photo.provider;
  /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...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
PhotoStoreTest.java 69 byte[] photo = loadPhotoFromResource(R.drawable.earth_small, PhotoSize.ORIGINAL);
71 // Since the photo is already thumbnail-sized, no file will be stored.
72 assertEquals(0, mPhotoStore.insert(newPhotoProcessor(photo, false)));
76 // As 200 is below the full photo size, we don't want to see it upscaled
86 // As 300x200 is below the full photo size, we don't want to see it upscaled
92 // As 600x400 is above the full photo size, we expect the picture to be cropped and then
114 * - Loads the given photo resource.
115 * - Inserts it into the photo store.
116 * - Checks that the photo has a photo file ID
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/login/
oobe_screen_user_image.css 59 * .camera: camera (live or photo) is selected;
60 * .live: camera is in live mode (no photo taken yet/last photo removed).
166 #flip-photo {
179 html[dir=rtl] #flip-photo {
184 /* "Flip photo" button is hidden during flip animation. */
185 .camera.online:not(.animation) #flip-photo {
189 #discard-photo,
190 #take-photo {
198 .camera:not(.live) #discard-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...]
  /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...]
  /external/chromium_org/chrome/browser/resources/file_manager/css/
photo_import.css 5 .photo-import {
18 .photo-import[loading] grid,
19 .photo-import:not([loading]) .spinner {
83 .photo-import grid {
90 .photo-import grid::-webkit-scrollbar {
95 .photo-import grid::-webkit-scrollbar-thumb {
  /frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
PhotoViewFragment.java 18 package com.android.ex.photo.fragments;
43 import com.android.ex.photo.Intents;
44 import com.android.ex.photo.PhotoViewCallbacks;
45 import com.android.ex.photo.PhotoViewCallbacks.CursorChangedListener;
46 import com.android.ex.photo.PhotoViewCallbacks.OnScreenListener;
47 import com.android.ex.photo.R;
48 import com.android.ex.photo.adapters.PhotoPagerAdapter;
49 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
50 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface;
51 import com.android.ex.photo.util.ImageUtils
    [all...]

Completed in 1587 milliseconds

1 2 3 4