google/iosched — pull request #50 by pbirdsall (2014-09-18 19:23:21+00:00)
Title: Browse session image animation to Session Card

DroidCon NYC application modification.

Animate between when the user clicks on and selects a session to browse from BrowseSessionActivity until the Session card (SessionDetailFragment) is instantiated.
The animation will get and use the orignal photo for the selected session and translate it from a small image from with the just selected photo to an image approximately the size of the photo that will be used in the new Session card and position according to that.
The idea here is to give a better indication that the session was selected and to have the photo animation show the user where they are going to.

Peter Birdsall
peter.j.birdsall@gmail.com
201.394.3986

Revision Details
Resources changed/added:
java.main.res.layout
activity_browse_sessions.xml - modified - added ImageView	anim_ImageButton_Image
java.main.res.values
strings.xml - modified - added string formfactor
java.main.res.values-sw600dp, values-sw600dp-land, values-sw720dp, values-sw720dp-land, values-w720dp-land
strings.xml - added new file in above, just contains the string formfactor indicating device general formfactor

Java units changed:

ui.BrowseActivity.java - added above animation functionality described above.
class - Added - implements LoaderManager.LoaderCallbacks,
Added - Fields to support animation
onCreate - Added mAnim_ImageButton_Image - anim_ImageButton_Image
onSessonSelected - Modified as follows:

Added values,
Based on Build.Verson either animates or just calls the Session card (SessonDetailFragment) as in original.
onResume - Added - reset of anim_ImageButton_Image.
New Methods added:
onCreateLoader
onLoadFinished
onLoaderReset
onSessionQuery
check4mAnim_ImageButton_Image
animateOnSelectedItemImage
setSelectedItemImageAnim
deviceMetrics
justFireTheCard

P.S. //TODO - was used to comment the points of change to make it easier to review in IDE or search for me 'Peter Birdsall'.