1. 06 Feb, 2013 1 commit
    • Chris Banes's avatar
      Update bitmapfun sample to call recycle() · 4d6574e8
      Chris Banes authored
      
      A new sub-class of BitmapDrawable has been created which tracks
      when it is being used or cached when running on Gingerbread or
      older. A new ImageView subclass has been added to accomplish this,
      as well as changes to the LruCache.
      
      Change-Id: I95d3334684703aebb6b09fcd56194cf73e3c2dcf
      Signed-off-by: default avatarChris Banes <chrisbanes@google.com>
      4d6574e8
  2. 23 Aug, 2012 1 commit
    • Adam Koch's avatar
      Updating code sample for "displaying bitmaps efficiently" training class. · 03ceb37f
      Adam Koch authored
      Changes:
       -Use updated versions of ImageWorker & ImageCache from I/O 2012 app
       -Use copied DiskLruCache from system (rather than custom)
       -Use copied AsyncTask from system (to keep behavior consistent)
       -Ensure no strict mode violations or lint errors
       -Other misc bug fixes
       -Move single-use static methods in Utils to corresponding class
      
      Change-Id: If21e045db1e1a80391169f3c9c9258d48345ab6b
      03ceb37f
  3. 04 Apr, 2012 1 commit
  4. 06 Oct, 2011 1 commit
  5. 07 Sep, 2011 1 commit
    • Scott Main's avatar
      rewrite HC Gallery app to support phones. In summary, this change: · ddd0d0c6
      Scott Main authored
      - moves tablet-style layouts to layout-large* directories
      - adds ContentActivity to host the ContentFragment when on phones
      - adds an OnItemSelectedListener interface to TitlesFragment, which MainActivity
        implements in order to receive callbacks on click events to the list item and then
        pass the selected item to the ContentFragment in the manner appropriate for the
        current configuration... Specifically, when in two-pane mode, it updates the ContentFragment
        directly, and when in single-pane mode, it starts the ContentActivity with intent data
        about the selected item, which then updates the ContentFragment
      - Change CameraSample.java to CameraActivity.java for name conventions
      - Moves all menu strings into string resources
      - Fixes camera sample to properly handle front-facing camera on other devices (was broken
        on nexus s and on g-slate)
      - Fixes camera sample to handle resume state after the camera has changed (for example, when
        switched to a different camera, it would crash on resume)
      - Moves various code around between classes as appropriate for the fragment handling the
        action. For example, move the ActionBar.TabListener implementation to the TitlesFragment
        (was originally impemented by the MainActivity)
      - Adds logic to support devices without camera and properly declare the camera in manifest as such
      - Maintains the state of hidden titles list across restarts
      
      Change-Id: I27a39a68dee37325c0c3607aa0b56ab6c134d026
      ddd0d0c6
  6. 08 Feb, 2011 1 commit
  7. 20 Jan, 2011 1 commit
  8. 03 Nov, 2010 1 commit