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

1 2

  /packages/apps/Gallery2/src/com/android/gallery3d/util/
MediaSetUtils.java 31 public static final int CAMERA_BUCKET_ID = GalleryUtils.getBucketId(
34 public static final int DOWNLOAD_BUCKET_ID = GalleryUtils.getBucketId(
37 public static final int EDITED_ONLINE_PHOTOS_BUCKET_ID = GalleryUtils.getBucketId(
40 public static final int IMPORTED_BUCKET_ID = GalleryUtils.getBucketId(
43 public static final int SNAPSHOT_BUCKET_ID = GalleryUtils.getBucketId(
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
DialogPicker.java 22 import com.android.gallery3d.util.GalleryUtils;
30 int typeBits = GalleryUtils.determineTypeBits(this, getIntent());
31 setTitle(GalleryUtils.getSelectionModePrompt(typeBits));
GalleryAppImpl.java 28 import com.android.gallery3d.util.GalleryUtils;
50 GalleryUtils.initialize(this);
GalleryActivity.java 40 import com.android.gallery3d.util.GalleryUtils;
119 int typeBits = GalleryUtils.determineTypeBits(this, intent);
129 return GalleryUtils.MIME_TYPE_PANORAMA360.equals(type)
173 int typeBits = GalleryUtils.determineTypeBits(this, intent);
ActivityState.java 40 import com.android.gallery3d.util.GalleryUtils;
126 mBackgroundColor = GalleryUtils.intColorToFloatARGBArray(
EyePosition.java 31 import com.android.gallery3d.util.GalleryUtils;
74 mUserDistance = GalleryUtils.meterToPixel(USER_DISTANCE_METER);
AlbumPage.java 59 import com.android.gallery3d.util.GalleryUtils;
168 GalleryUtils.setViewPointMatrix(mMatrix,
227 GalleryUtils.startGalleryActivity(mActivity);
367 mUserDistance = GalleryUtils.meterToPixel(USER_DISTANCE_METER);
549 actionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits));
559 && GalleryUtils.isCameraAvailable(mActivity));
624 GalleryUtils.startCameraActivity(mActivity);
AlbumSetPage.java 59 import com.android.gallery3d.util.GalleryUtils;
151 GalleryUtils.setViewPointMatrix(mMatrix,
357 if (!GalleryUtils.isCameraAvailable(mActivity)) return false;
368 GalleryUtils.startCameraActivity(mActivity);
538 mActionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits));
553 cameraItem.setVisible(GalleryUtils.isCameraAvailable(activity));
602 GalleryUtils.startCameraActivity(activity);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
UndoBarView.java 28 import com.android.gallery3d.util.GalleryUtils;
63 mBarHeight = GalleryUtils.dpToPixel(48);
64 mBarMargin = GalleryUtils.dpToPixel(4);
65 mUndoTextMargin = GalleryUtils.dpToPixel(16);
66 mIconMargin = GalleryUtils.dpToPixel(8);
67 mIconSize = GalleryUtils.dpToPixel(32);
68 mSeparatorRightMargin = GalleryUtils.dpToPixel(12);
69 mSeparatorTopMargin = GalleryUtils.dpToPixel(10);
70 mSeparatorBottomMargin = GalleryUtils.dpToPixel(10);
71 mSeparatorWidth = GalleryUtils.dpToPixel(1)
    [all...]
DetailsAddressResolver.java 28 import com.android.gallery3d.util.GalleryUtils;
80 return GalleryUtils.formatLatitudeLongitude("(%f,%f)", latlng[0], latlng[1]);
MenuExecutor.java 42 import com.android.gallery3d.util.GalleryUtils;
362 return GalleryUtils.MIME_TYPE_IMAGE;
364 return GalleryUtils.MIME_TYPE_VIDEO;
365 default: return GalleryUtils.MIME_TYPE_ALL;
400 if (GalleryUtils.isValidLocation(latlng[0], latlng[1])) {
401 GalleryUtils.showOnMap(mActivity, latlng[0], latlng[1]);
ActionModeHandler.java 45 import com.android.gallery3d.util.GalleryUtils;
299 if (!GalleryUtils.isEditorAvailable(mActivity, mimeType)) {
337 intent.setType(GalleryUtils.MIME_TYPE_PANORAMA360);
341 intent.setType(GalleryUtils.MIME_TYPE_PANORAMA360);
  /packages/apps/Gallery2/src/com/android/photos/
SelectionManager.java 30 import com.android.gallery3d.util.GalleryUtils;
120 mShareIntent.setType(GalleryUtils.MIME_TYPE_IMAGE);
122 mShareIntent.setType(GalleryUtils.MIME_TYPE_VIDEO);
124 mShareIntent.setType(GalleryUtils.MIME_TYPE_ALL);
MultiChoiceManager.java 39 import com.android.gallery3d.util.GalleryUtils;
100 return GalleryUtils.MIME_TYPE_IMAGE;
102 return GalleryUtils.MIME_TYPE_VIDEO;
104 return GalleryUtils.MIME_TYPE_ALL;
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalMediaItem.java 21 import com.android.gallery3d.util.GalleryUtils;
93 if (GalleryUtils.isValidLocation(latitude, longitude)) {
ImageCacheService.java 26 import com.android.gallery3d.util.GalleryUtils;
108 return GalleryUtils.getBytes(path.toString() + "+" + timeModified + "+" + type);
LocalAlbum.java 34 import com.android.gallery3d.util.GalleryUtils;
120 GalleryUtils.assertNotInRenderThread();
270 GalleryUtils.assertNotInRenderThread();
314 String path = GalleryUtils.searchDirForPath(extStorage, bucketId);
LocalVideo.java 29 import com.android.gallery3d.util.GalleryUtils;
190 GalleryUtils.assertNotInRenderThread();
222 details.addDetail(MediaDetails.INDEX_DURATION, GalleryUtils.formatDuration(
TimeClustering.java 24 import com.android.gallery3d.util.GalleryUtils;
323 if (!GalleryUtils.isValidLocation(itemA.lat, itemA.lng)
324 || !GalleryUtils.isValidLocation(itemB.lat, itemB.lng)) {
328 double distance = GalleryUtils.fastDistanceMeters(
333 return (GalleryUtils.toMile(distance) > GEOGRAPHIC_DISTANCE_CUTOFF_IN_MILES);
LocationClustering.java 26 import com.android.gallery3d.util.GalleryUtils;
92 if (GalleryUtils.isValidLocation(s.lat, s.lng)) {
256 float distance = (float) GalleryUtils.fastDistanceMeters(
LocalImage.java 40 import com.android.gallery3d.util.GalleryUtils;
249 if (GalleryUtils.isValidLocation(latitude, longitude)) {
267 GalleryUtils.assertNotInRenderThread();
277 GalleryUtils.assertNotInRenderThread();
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/
ImportTask.java 25 import com.android.gallery3d.util.GalleryUtils;
74 if (GalleryUtils.hasSpaceForSize(object.getCompressedSize())) {
  /packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
GalleryWidgetMigrator.java 34 import com.android.gallery3d.util.GalleryUtils;
139 int oldBucketId = GalleryUtils.getBucketId(oldPath);
142 int newBucketId = GalleryUtils.getBucketId(path);
161 int newBucketId = GalleryUtils.getBucketId(newPath);
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
LocalPhotoSource.java 35 import com.android.gallery3d.util.GalleryUtils;
198 return GalleryUtils.getBucketId(downloadsPath);
  /packages/apps/Gallery2/src/com/android/gallery3d/provider/
GalleryProvider.java 39 import com.android.gallery3d.util.GalleryUtils;
141 boolean isValidLatlong = GalleryUtils.isValidLocation(latitude, longitude);

Completed in 108 milliseconds

1 2