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

1 2

  /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 27 import com.android.gallery3d.util.GalleryUtils;
47 GalleryUtils.initialize(this);
Gallery.java 41 import com.android.gallery3d.util.GalleryUtils;
114 int typeBits = GalleryUtils.determineTypeBits(this, intent);
165 int typeBits = GalleryUtils.determineTypeBits(this, intent);
EyePosition.java 31 import com.android.gallery3d.util.GalleryUtils;
73 mUserDistance = GalleryUtils.meterToPixel(USER_DISTANCE_METER);
AlbumSetPage.java 56 import com.android.gallery3d.util.GalleryUtils;
143 GalleryUtils.setViewPointMatrix(mMatrix,
449 switchCamera.setVisible(GalleryUtils.isCameraAvailable(activity));
487 GalleryUtils.startCameraActivity(activity);
AlbumPage.java 59 import com.android.gallery3d.util.GalleryUtils;
164 GalleryUtils.setViewPointMatrix(mMatrix,
338 mUserDistance = GalleryUtils.meterToPixel(USER_DISTANCE_METER);
514 actionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits));
535 && GalleryUtils.isCameraAvailable(activity));
581 GalleryUtils.startCameraActivity((Activity) mActivity);
ManageCachePage.java 48 import com.android.gallery3d.util.GalleryUtils;
126 GalleryUtils.setViewPointMatrix(mMatrix,
MoviePlayer.java 42 import com.android.gallery3d.util.GalleryUtils;
227 GalleryUtils.formatDuration(context, bookmark / 1000)));
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
MediaSetUtils.java 29 public static final int CAMERA_BUCKET_ID = GalleryUtils.getBucketId(
31 public static final int DOWNLOAD_BUCKET_ID = GalleryUtils.getBucketId(
34 public static final int IMPORTED_BUCKET_ID = GalleryUtils.getBucketId(
37 public static final int SNAPSHOT_BUCKET_ID = GalleryUtils.getBucketId(
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
UndoBarView.java 24 import com.android.gallery3d.util.GalleryUtils;
58 mBarHeight = (int) GalleryUtils.dpToPixel(48);
59 mBarMargin = (int) GalleryUtils.dpToPixel(4);
60 mUndoTextMargin = (int) GalleryUtils.dpToPixel(16);
61 mIconMargin = (int) GalleryUtils.dpToPixel(8);
62 mIconSize = (int) GalleryUtils.dpToPixel(32);
63 mSeparatorRightMargin = (int) GalleryUtils.dpToPixel(12);
64 mSeparatorTopMargin = (int) GalleryUtils.dpToPixel(10);
65 mSeparatorBottomMargin = (int) GalleryUtils.dpToPixel(10);
66 mSeparatorWidth = (int) GalleryUtils.dpToPixel(1)
    [all...]
DetailsAddressResolver.java 28 import com.android.gallery3d.util.GalleryUtils;
77 return GalleryUtils.formatLatitudeLongitude("(%f,%f)", latlng[0], latlng[1]);
MenuExecutor.java 41 import com.android.gallery3d.util.GalleryUtils;
353 if (GalleryUtils.isValidLocation(latlng[0], latlng[1])) {
354 GalleryUtils.showOnMap((Context) mActivity, latlng[0], latlng[1]);
ActionModeHandler.java 46 import com.android.gallery3d.util.GalleryUtils;
216 if (!GalleryUtils.isEditorAvailable((Context) mActivity, mimeType)) {
AlbumSlidingWindow.java 29 import com.android.gallery3d.util.GalleryUtils;
247 entry.isPanorama = GalleryUtils.isPanorama(entry.item);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalMediaItem.java 21 import com.android.gallery3d.util.GalleryUtils;
90 if (GalleryUtils.isValidLocation(latitude, longitude)) {
MtpContext.java 14 import com.android.gallery3d.util.GalleryUtils;
104 if (GalleryUtils.hasSpaceForSize(objInfo.getCompressedSize())) {
128 if (!GalleryUtils.hasSpaceForSize(child.getCompressedSize())) continue;
ImageCacheService.java 26 import com.android.gallery3d.util.GalleryUtils;
95 return GalleryUtils.getBytes(path.toString() + "+" + type);
LocalImage.java 33 import com.android.gallery3d.util.GalleryUtils;
222 if (GalleryUtils.isValidLocation(latitude, longitude)) {
230 GalleryUtils.assertNotInRenderThread();
254 GalleryUtils.assertNotInRenderThread();
LocalVideo.java 29 import com.android.gallery3d.util.GalleryUtils;
186 GalleryUtils.assertNotInRenderThread();
219 details.addDetail(MediaDetails.INDEX_DURATION, GalleryUtils.formatDuration(
TimeClustering.java 24 import com.android.gallery3d.util.GalleryUtils;
320 if (!GalleryUtils.isValidLocation(itemA.lat, itemA.lng)
321 || !GalleryUtils.isValidLocation(itemB.lat, itemB.lng)) {
325 double distance = GalleryUtils.fastDistanceMeters(
330 return (GalleryUtils.toMile(distance) > GEOGRAPHIC_DISTANCE_CUTOFF_IN_MILES);
LocalAlbum.java 32 import com.android.gallery3d.util.GalleryUtils;
112 GalleryUtils.assertNotInRenderThread();
260 GalleryUtils.assertNotInRenderThread();
LocationClustering.java 26 import com.android.gallery3d.util.GalleryUtils;
90 if (GalleryUtils.isValidLocation(s.lat, s.lng)) {
253 float distance = (float) GalleryUtils.fastDistanceMeters(
  /packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
GalleryWidgetMigrator.java 33 import com.android.gallery3d.util.GalleryUtils;
114 int oldBucketId = GalleryUtils.getBucketId(oldPath);
117 int newBucketId = GalleryUtils.getBucketId(path);
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
LocalPhotoSource.java 35 import com.android.gallery3d.util.GalleryUtils;
195 return GalleryUtils.getBucketId(downloadsPath);
  /packages/apps/Gallery2/src/com/android/gallery3d/provider/
GalleryProvider.java 39 import com.android.gallery3d.util.GalleryUtils;
167 boolean isValidLatlong = GalleryUtils.isValidLocation(latitude, longitude);

Completed in 260 milliseconds

1 2