1. 13 Jun, 2011 30 commits
  2. 12 Jun, 2011 4 commits
    • Jeff Brown's avatar
    • Jeff Sharkey's avatar
      Growable NetworkStats object instead of builder. · 4a97122e
      Jeff Sharkey authored
      NetworkStats now grows in place with arraycopy() instead of callers
      needing to know record count a priori.  Better growth calculation for
      both NetworkStats and NetworkStatsHistory; 50% each time.  Better
      estimates of buckets needed in calling services.
      
      Change-Id: I3adbffa0b7407612cc6349d9135a8b4eb63cd440
      4a97122e
    • Daniel Sandler's avatar
      Rebuilt notification list using a new custom layout. · d42497e5
      Daniel Sandler authored
      This will allow what is currently impossible with
      layoutTransition: smoothly animating container bounds.
      
      Current enter animation: alpha fade
      Current exit animation: fade + slide right
      
      Change-Id: Ib46b2d3ee982a276ca2142d360e62538e52b0897
      Next: replace "X" with swipe-to-cancel.
      d42497e5
    • Jeff Sharkey's avatar
      Persist UID stats, lazy loading, resize buckets. · 39ebc219
      Jeff Sharkey authored
      Persisting detailed UID stats in separate "netstats_detail.bin" file
      to enable different schedules for summary and detail polling.  Only
      load detailed UID history on demand, since it's not needed during
      boot.  Add test to verify UID stats are persisted across simulated
      reboot.
      
      Move external settings into well-named interface, which is still
      backed by Settings.Secure.  During periodic poll events, resize any
      history to match current bucket duration setting.  Test to verify.
      
      Change-Id: I6366f3583a591f8ba859b0e5987daf8cafa4e95a
      39ebc219
  3. 11 Jun, 2011 6 commits
    • Iliyan Malchev's avatar
      CameraService: return stide when dequeueing a buffer · 13010be7
      Iliyan Malchev authored
      
      Change-Id: I11c7f0b57f7d619cdc392b2d34c538ae898de7ac
      Signed-off-by: default avatarIliyan Malchev <malchev@google.com>
      13010be7
    • Jeff Brown's avatar
      Ensure the RemoteViewsAdapter cleans up its HandlerThread. · fc442bde
      Jeff Brown authored
      Using a finalizer for this is kind of gross but it is robust.
      We could try to hook onDetachedFromWindow() on the View
      but that would introduce additional lifecycle management to
      the adapter since a View could potentially be detached and then
      reattached, so we might need to recreate the handler, etc.
      
      Ideally this code should probably be changed to use AsyncTask.
      
      Change-Id: I9ad5fff388411619363e4a075ed0244966b38726
      fc442bde
    • Jeff Brown's avatar
      Fix LockScreen regression. · 854bbfd9
      Jeff Brown authored
      Seems to be an incorrect layout change.  The original change
      intended to modify the ID of the WaveView but instead a TextView
      was blasted away.
      
      Change-Id: I9039179a16c8bf7b322d8008b9c7e0e5ab47a629
      854bbfd9
    • Kenny Root's avatar
      No position information for outside touches · 7a9db181
      Kenny Root authored
      When a window registers to listen for outside touches, it doesn't need
      the position information for touches that land outside of its activity
      for normal use cases.
      
      This patch uses the foreground window's UID as a filter to determine
      whether to pass the position information. This will allow applications
      to continue to rely on touch information for inputs that were directed
      at one of its other windows.
      
      Bug: 4541250
      Change-Id: If16eb1ec8404b797d991859eef55ac0a20a355a3
      7a9db181
    • Jeff Brown's avatar
      Fix regression handling negative sizes. · 038b737c
      Jeff Brown authored
      Change-Id: Ib177af2fce9be4dabffa801f64580b1ea7adc673
      038b737c
    • Jeff Sharkey's avatar
      eaf7ce60