1. 11 Sep, 2013 1 commit
    • Mathias Agopian's avatar
      fix a few problems with BitTube · 90ed3e8d
      Mathias Agopian authored
      BitTube used to send objects one at a time and didn't
      handle errors properly.
      
      We now send all the objects in one call, which means they
      have to be read as a single batch as well. This changes the
      BitTube API.
      
      Update SensorService to the new API.
      
      Also added an API to set the size of the send buffer.
      
      Bug: 10641596
      Change-Id: I77c70d35e351fdba0416fae4b7ca3b1d56272251
      90ed3e8d
  2. 06 Sep, 2013 2 commits
  3. 05 Sep, 2013 2 commits
    • Mathias Agopian's avatar
      color blindness enhancement · ff2ed70f
      Mathias Agopian authored
      This is an attempt at improving the experience of
      users with color vision impairement.
      
      At this time this feature can only be enabled for
      debugging:
      
        adb shell service call SurfaceFlinger 1014 i32 PARAM
      
        with PARAM:
         0 : disabled
         1 : protanomaly/protanopia simulation
         2 : deuteranomaly/deuteranopia simulation
         3 : tritanopia/tritanomaly simulation
        11, 12, 13: same as above w/ attempted correction/enhancement
      
      The enhancement algorithm tries to spread the "error"
      such that tones that would otherwise appear similar can be
      distinguished.
      
      Bug: 9465644
      
      Change-Id: I860f7eed0cb81f54ef9cf24ad78155b6395ade48
      ff2ed70f
    • Dianne Hackborn's avatar
      Fix issue #10422349: Limit/change the battery history data in batterystats · 59b1516f
      Dianne Hackborn authored
      Use new compact option to include history when dumping battery stats.
      
      Change-Id: I3833a88db76d8791bd5c2e8f6ff414af65472a42
      59b1516f
  4. 04 Sep, 2013 4 commits
  5. 03 Sep, 2013 1 commit
  6. 31 Aug, 2013 1 commit
  7. 30 Aug, 2013 1 commit
  8. 29 Aug, 2013 3 commits
  9. 28 Aug, 2013 2 commits
  10. 27 Aug, 2013 2 commits
    • Mathias Agopian's avatar
      switch to use mat4 · a8c386f1
      Mathias Agopian authored
      Change-Id: I8283a989cfd2b74d53958150bc90298bc083fee7
      a8c386f1
    • Mathias Agopian's avatar
      vector and matrix classes for graphics use · 595ea77f
      Mathias Agopian authored
      - this implements vec2, vec3, vec4, which are float vectors
      of size 2, 3 and 4 respectively.
      
      the code allows easy instantiation of vectors of a different
      type via the tvec{2|3|4}<T> template classes.
      
      - this also implements mat4 which is a float 4x4 matrix. the
      tmat44<T> template class allows easy instantiation of a
      4x4 matrix of a different value_type.
      
      The vector types have some minimal support for the
      glsl style swizzled access; for instance:
      
        vec4 u;
        vec3 v = u.xyz;
      
      only .x, .xy, .xyz and their .stpq / .rgba equivalent are
      supported.
      
      most operators are supported on both vector and matrices:
      arithmetic, unary, compound assignment and comparison
      (bit-wise operators NOT supported).
      
      - operations available on vectors include:
      dot, length, distance, normalize and cross
      
      - operations available on matrices include:
      transpose, inverse, trace
      
      - and a few utilities to create matrices:
      ortho, frustum, lookAt
      
      Change-Id: I64add89ae90fa78d3f2f59985b63495575378635
      595ea77f
  11. 24 Aug, 2013 3 commits
  12. 23 Aug, 2013 2 commits
  13. 22 Aug, 2013 3 commits
  14. 21 Aug, 2013 11 commits
  15. 20 Aug, 2013 2 commits
    • Jesse Hall's avatar
      Provide HWC prepare with a valid output buffer · 028dc8f2
      Jesse Hall authored
      We weren't dequeing and setting the output buffer until just before
      set(). This didn't allow HWC to make decisions in prepare() based on
      the output buffer format, dimensions, etc.
      
      Now we dequeue the output buffer at the beginning of the composition
      loop and provide it to HWC in prepare. In GLES-only rendering, we may
      have to cancel the buffer and acquire a new one if GLES requests a
      buffer with properties different than the one we already dequeued.
      
      Bug: 10365313
      Change-Id: I96b4b0a851920e4334ef05080d58097d46467ab8
      028dc8f2
    • Jesse Hall's avatar
      Fix HWComposer dumping of float source crops · 353ddc6e
      Jesse Hall authored
      Change-Id: I45a9344b5fab17ccb54bebd01382d738a03860e6
      353ddc6e