Home
last modified time | relevance | path

Searched refs:AlbumPage (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DConfig.java81 public static class AlbumPage { class in Config
82 private static AlbumPage sInstance;
87 public static synchronized AlbumPage get(Context context) { in get()
89 sInstance = new AlbumPage(context); in get()
94 private AlbumPage(Context context) { in AlbumPage() method in Config.AlbumPage
DAlbumSetPage.java253 data.putIntArray(AlbumPage.KEY_SET_CENTER, center); in pickAlbum()
274 FilmstripPage.class, AlbumPage.REQUEST_PHOTO, data); in pickAlbum()
277 data.putString(AlbumPage.KEY_MEDIA_PATH, mediaPath); in pickAlbum()
280 boolean inAlbum = mActivity.getStateManager().hasStateClass(AlbumPage.class); in pickAlbum()
281 data.putBoolean(AlbumPage.KEY_SHOW_CLUSTER_MENU, !inAlbum); in pickAlbum()
283 AlbumPage.class, REQUEST_DO_ANIMATION, data); in pickAlbum()
408 result.putExtra(AlbumPage.KEY_EMPTY_ALBUM, true); in clearLoadingBit()
531 final boolean inAlbum = mActivity.getStateManager().hasStateClass(AlbumPage.class); in onCreateActionBar()
628 if (data != null && data.getBooleanExtra(AlbumPage.KEY_EMPTY_ALBUM, false)) { in onStateResult()
DAlbumPage.java63 public class AlbumPage extends ActivityState implements GalleryActionBar.ClusterRunner, class
471 Config.AlbumPage config = Config.AlbumPage.get(mActivity); in initializeViews()
480 AlbumPage.this.onDown(index); in initializeViews()
485 AlbumPage.this.onUp(followedByLongPress); in initializeViews()
490 AlbumPage.this.onSingleTapUp(slotIndex); in initializeViews()
495 AlbumPage.this.onLongTap(slotIndex); in initializeViews()
DPhotoPage.java899 data.putString(AlbumPage.KEY_MEDIA_PATH, mOriginalSetPathString); in onUpPressed()
900 data.putString(AlbumPage.KEY_PARENT_MEDIA_PATH, in onUpPressed()
903 mActivity.getStateManager().switchState(this, AlbumPage.class, data); in onUpPressed()
978 if (mActivity.getStateManager().hasStateClass(AlbumPage.class)) { in switchToGrid()
983 data.putString(AlbumPage.KEY_MEDIA_PATH, mOriginalSetPathString); in switchToGrid()
984 data.putString(AlbumPage.KEY_PARENT_MEDIA_PATH, in switchToGrid()
990 boolean inAlbum = mActivity.getStateManager().hasStateClass(AlbumPage.class); in switchToGrid()
991 data.putBoolean(AlbumPage.KEY_SHOW_CLUSTER_MENU, !inAlbum in switchToGrid()
1001 mActivity.getStateManager().startState(AlbumPage.class, data); in switchToGrid()
1003 mActivity.getStateManager().switchState(this, AlbumPage.class, data); in switchToGrid()
DGalleryActivity.java193 data.putString(AlbumPage.KEY_MEDIA_PATH, setPath.toString()); in startViewAction()
194 data.putString(AlbumPage.KEY_PARENT_MEDIA_PATH, in startViewAction()
196 getStateManager().startState(AlbumPage.class, data); in startViewAction()
DActivityState.java172 if (outgoing == SinglePhotoPage.class && incoming == AlbumPage.class) { in transitionOnNextPause()
174 } else if (outgoing == AlbumPage.class && incoming == SinglePhotoPage.class) { in transitionOnNextPause()