HomeSort by relevance Sort by last modified time
    Searched full:photocursor (Results 1 - 3 of 3) sorted by null

  /packages/apps/Email/tests/src/com/android/email/activity/
ContactStatusLoaderTest.java 150 MatrixCursor cursor2 = new PhotoCursor(createJpegData(10, 20));
171 private static class PhotoCursor extends MatrixCursor {
174 public PhotoCursor(byte[] blob) {
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 162 Cursor photoCursor = null;
166 photoCursor = context.getContentResolver().query(
171 if (photoCursor.moveToFirst() && !photoCursor.isNull(0)) {
172 byte[] photoData = photoCursor.getBlob(0);
177 if (photoCursor != null) {
178 photoCursor.close();
  /frameworks/ex/chips/src/com/android/ex/chips/
BaseRecipientAdapter.java 720 final Cursor photoCursor = mContentResolver.query(
722 if (photoCursor != null) {
724 if (photoCursor.moveToFirst()) {
725 final byte[] photoBytes = photoCursor.getBlob(PhotoQuery.PHOTO);
737 photoCursor.close();
752 final Cursor photoCursor = mContentResolver.query(photoThumbnailUri, PhotoQuery.PROJECTION,
754 if (photoCursor != null) {
756 if (photoCursor.moveToFirst()) {
757 photoBytes = photoCursor.getBlob(PhotoQuery.PHOTO);
762 photoCursor.close()
    [all...]

Completed in 222 milliseconds