1. 12 Sep, 2018 1 commit
  2. 05 Jun, 2018 1 commit
  3. 09 Mar, 2018 1 commit
  4. 06 Dec, 2017 1 commit
  5. 03 Nov, 2017 1 commit
  6. 23 Sep, 2017 1 commit
  7. 16 May, 2017 1 commit
  8. 12 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Move Point to Offset (#9277) · bf017b79
      Ian Hickson authored
      * Manually fix every use of Point.x and Point.y
      
      Some of these were moved to dx/dy, but not all.
      
      * Manually convert uses of the old gradient API
      
      * Remove old reference to Point.
      
      * Mechanical changes
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
      git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
      git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
      git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
      git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
      git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
      git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
      git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
      git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
      git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'
      
      * Mechanical changes - dartdocs
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
      git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'
      
      * Further improvements and a test
      
      * Fix minor errors from rebasing...
      
      * Roll engine
      bf017b79
  9. 04 Mar, 2017 1 commit
  10. 01 Feb, 2017 1 commit
    • Adam Barth's avatar
      Refactor out some helper functions (#7774) · 906541c0
      Adam Barth authored
      These functions were previously hidden inside other functions but they
      are useful enough to expose directly. Specifically, I plan to use these
      when implementing Scrollable2.ensureVisible.
      906541c0
  11. 13 Oct, 2016 1 commit
    • Adam Barth's avatar
      Fix composited transform bounds calculations (#6302) · 3b56f122
      Adam Barth authored
      We weren't computing the bounds for composited transforms correctly. We
      need to conjugate the transform by the offset in order to get the
      correct paint bounds for the composited layer. We now also use the same
      math in the non-composited case for consistency.
      
      Also, don't scale the z-coordinate in RenderFittedBox.
      
      Fixes #6293
      3b56f122
  12. 28 Sep, 2016 1 commit
    • Ian Hickson's avatar
      Fix globalToLocal and update spinning_mixed (#6035) · e01592a0
      Ian Hickson authored
      * globalToLocal was just broken when there was a rotation and a
        translation at the same time. This fixes that and adds a test.
      
      * update graphic used by spinning_mixed since the old one went 404.
      
      * simplify some of the code in the demo.
      
      * fix MatrixUtils.transformPoint to be consistent with how we transform
        points elsewhere.
      
      * stop transforming points elsewhere, just use
        MatrixUtils.transformPoint.
      
      * make the Widget binding handle not having a root element.
      
      * make the spinning_mixed demo update its widget tree.
      e01592a0
  13. 18 May, 2016 1 commit
  14. 04 Feb, 2016 1 commit
  15. 27 Jan, 2016 1 commit
  16. 10 Dec, 2015 1 commit
  17. 22 Nov, 2015 1 commit