/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | UndoBarView.java | 28 import com.android.gallery3d.util.GalleryUtils; 63 mBarHeight = GalleryUtils.dpToPixel(48); in UndoBarView() 64 mBarMargin = GalleryUtils.dpToPixel(4); in UndoBarView() 65 mUndoTextMargin = GalleryUtils.dpToPixel(16); in UndoBarView() 66 mIconMargin = GalleryUtils.dpToPixel(8); in UndoBarView() 67 mIconSize = GalleryUtils.dpToPixel(32); in UndoBarView() 68 mSeparatorRightMargin = GalleryUtils.dpToPixel(12); in UndoBarView() 69 mSeparatorTopMargin = GalleryUtils.dpToPixel(10); in UndoBarView() 70 mSeparatorBottomMargin = GalleryUtils.dpToPixel(10); in UndoBarView() 71 mSeparatorWidth = GalleryUtils.dpToPixel(1); in UndoBarView() [all …]
|
D | MenuExecutor.java | 42 import com.android.gallery3d.util.GalleryUtils; 362 return GalleryUtils.MIME_TYPE_IMAGE; in getMimeType() 364 return GalleryUtils.MIME_TYPE_VIDEO; in getMimeType() 365 default: return GalleryUtils.MIME_TYPE_ALL; in getMimeType() 400 if (GalleryUtils.isValidLocation(latlng[0], latlng[1])) { in execute() 401 GalleryUtils.showOnMap(mActivity, latlng[0], latlng[1]); in execute()
|
D | ActionModeHandler.java | 45 import com.android.gallery3d.util.GalleryUtils; 299 if (!GalleryUtils.isEditorAvailable(mActivity, mimeType)) { in computeMenuOptions() 337 intent.setType(GalleryUtils.MIME_TYPE_PANORAMA360); in computePanoramaSharingIntent() 341 intent.setType(GalleryUtils.MIME_TYPE_PANORAMA360); in computePanoramaSharingIntent()
|
D | DetailsAddressResolver.java | 28 import com.android.gallery3d.util.GalleryUtils; 80 return GalleryUtils.formatLatitudeLongitude("(%f,%f)", latlng[0], latlng[1]); in resolveAddress()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | 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/photos/ |
D | SelectionManager.java | 30 import com.android.gallery3d.util.GalleryUtils; 120 mShareIntent.setType(GalleryUtils.MIME_TYPE_IMAGE); in onItemSelectedStateChanged() 122 mShareIntent.setType(GalleryUtils.MIME_TYPE_VIDEO); in onItemSelectedStateChanged() 124 mShareIntent.setType(GalleryUtils.MIME_TYPE_ALL); in onItemSelectedStateChanged()
|
D | MultiChoiceManager.java | 39 import com.android.gallery3d.util.GalleryUtils; 100 return GalleryUtils.MIME_TYPE_IMAGE; in getItemMimetype() 102 return GalleryUtils.MIME_TYPE_VIDEO; in getItemMimetype() 104 return GalleryUtils.MIME_TYPE_ALL; in getItemMimetype()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | DialogPicker.java | 22 import com.android.gallery3d.util.GalleryUtils; 30 int typeBits = GalleryUtils.determineTypeBits(this, getIntent()); in onCreate() 31 setTitle(GalleryUtils.getSelectionModePrompt(typeBits)); in onCreate()
|
D | AlbumPage.java | 59 import com.android.gallery3d.util.GalleryUtils; 168 GalleryUtils.setViewPointMatrix(mMatrix, 227 GalleryUtils.startGalleryActivity(mActivity); in onUpPressed() 367 mUserDistance = GalleryUtils.meterToPixel(USER_DISTANCE_METER); in onCreate() 549 actionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits)); in onCreateActionBar() 559 && GalleryUtils.isCameraAvailable(mActivity)); in onCreateActionBar() 624 GalleryUtils.startCameraActivity(mActivity); in onItemSelected()
|
D | AlbumSetPage.java | 59 import com.android.gallery3d.util.GalleryUtils; 151 GalleryUtils.setViewPointMatrix(mMatrix, 357 if (!GalleryUtils.isCameraAvailable(mActivity)) return false; in setupCameraButton() 368 GalleryUtils.startCameraActivity(mActivity); in setupCameraButton() 538 mActionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits)); in onCreateActionBar() 553 cameraItem.setVisible(GalleryUtils.isCameraAvailable(activity)); in onCreateActionBar() 602 GalleryUtils.startCameraActivity(activity); in onItemSelected()
|
D | GalleryActivity.java | 40 import com.android.gallery3d.util.GalleryUtils; 119 int typeBits = GalleryUtils.determineTypeBits(this, intent); in startGetContent() 129 return GalleryUtils.MIME_TYPE_PANORAMA360.equals(type) in getContentType() 173 int typeBits = GalleryUtils.determineTypeBits(this, intent); in startViewAction()
|
D | GalleryAppImpl.java | 28 import com.android.gallery3d.util.GalleryUtils; 50 GalleryUtils.initialize(this); in onCreate()
|
D | PhotoPage.java | 73 import com.android.gallery3d.util.GalleryUtils; 436 } else if (inCameraRoll && GalleryUtils.isCameraAvailable(mActivity)) { in onCreate() 650 .setType(GalleryUtils.MIME_TYPE_PANORAMA360) in createSharePanoramaIntent() 675 GalleryUtils.startCameraActivity(mActivity); in launchCamera() 905 GalleryUtils.startGalleryActivity(mActivity); in onUpPressed() 949 mHaveImageEditor = GalleryUtils.isEditorAvailable(mActivity, "image/*"); in onCreateActionBar() 1414 boolean haveImageEditor = GalleryUtils.isEditorAvailable(mActivity, "image/*"); in onResume()
|
D | EyePosition.java | 30 import com.android.gallery3d.util.GalleryUtils; 73 mUserDistance = GalleryUtils.meterToPixel(USER_DISTANCE_METER); in EyePosition()
|
D | ActivityState.java | 40 import com.android.gallery3d.util.GalleryUtils; 126 mBackgroundColor = GalleryUtils.intColorToFloatARGBArray( in onCreate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/ |
D | GalleryWidgetMigrator.java | 34 import com.android.gallery3d.util.GalleryUtils; 139 int oldBucketId = GalleryUtils.getBucketId(oldPath); in updatePath() 142 int newBucketId = GalleryUtils.getBucketId(path); in updatePath() 161 int newBucketId = GalleryUtils.getBucketId(newPath); in updateEntryUsingRelativePath()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | TimeClustering.java | 24 import com.android.gallery3d.util.GalleryUtils; 323 if (!GalleryUtils.isValidLocation(itemA.lat, itemA.lng) in isGeographicallySeparated() 324 || !GalleryUtils.isValidLocation(itemB.lat, itemB.lng)) { in isGeographicallySeparated() 328 double distance = GalleryUtils.fastDistanceMeters( in isGeographicallySeparated() 333 return (GalleryUtils.toMile(distance) > GEOGRAPHIC_DISTANCE_CUTOFF_IN_MILES); in isGeographicallySeparated()
|
D | LocalAlbum.java | 34 import com.android.gallery3d.util.GalleryUtils; 120 GalleryUtils.assertNotInRenderThread(); in getMediaItem() 270 GalleryUtils.assertNotInRenderThread(); in delete() 314 String path = GalleryUtils.searchDirForPath(extStorage, bucketId); in getRelativePath()
|
D | LocalImage.java | 40 import com.android.gallery3d.util.GalleryUtils; 249 if (GalleryUtils.isValidLocation(latitude, longitude)) { in getSupportedOperations() 267 GalleryUtils.assertNotInRenderThread(); in delete() 277 GalleryUtils.assertNotInRenderThread(); in rotate()
|
D | LocalVideo.java | 29 import com.android.gallery3d.util.GalleryUtils; 190 GalleryUtils.assertNotInRenderThread(); in delete() 222 details.addDetail(MediaDetails.INDEX_DURATION, GalleryUtils.formatDuration( in getDetails()
|
D | LocalMediaItem.java | 21 import com.android.gallery3d.util.GalleryUtils; 93 if (GalleryUtils.isValidLocation(latitude, longitude)) { in getDetails()
|
D | LocationClustering.java | 25 import com.android.gallery3d.util.GalleryUtils; 91 if (GalleryUtils.isValidLocation(s.lat, s.lng)) { in run() 255 float distance = (float) GalleryUtils.fastDistanceMeters( in kMeans()
|
D | ImageCacheService.java | 26 import com.android.gallery3d.util.GalleryUtils; 108 return GalleryUtils.getBytes(path.toString() + "+" + timeModified + "+" + type); in makeKey()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | LocalPhotoSource.java | 35 import com.android.gallery3d.util.GalleryUtils; 198 return GalleryUtils.getBucketId(downloadsPath); in getDownloadBucketId()
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
D | GalleryProvider.java | 39 import com.android.gallery3d.util.GalleryUtils; 141 boolean isValidLatlong = GalleryUtils.isValidLocation(latitude, longitude); in queryPicasaItem()
|