Commit 5b37f875 authored by Adam Barth's avatar Adam Barth

Rename dart:sky to dart:ui

parent 28d769f3
...@@ -7,7 +7,7 @@ group("examples") { ...@@ -7,7 +7,7 @@ group("examples") {
deps = [ deps = [
"//examples/demo_launcher", "//examples/demo_launcher",
"//examples/fitness", #"//examples/fitness",
"//examples/game", "//examples/game",
"//examples/mine_digger", "//examples/mine_digger",
"//examples/rendering", "//examples/rendering",
......
...@@ -12,7 +12,7 @@ sky_app("demo_launcher") { ...@@ -12,7 +12,7 @@ sky_app("demo_launcher") {
apk_name = "SkyDemo" apk_name = "SkyDemo"
bundles = [ bundles = [
"//examples/fitness", #"//examples/fitness",
"//examples/game", "//examples/game",
"//examples/mine_digger", "//examples/mine_digger",
"//examples/rendering:interactive_flex", "//examples/rendering:interactive_flex",
......
...@@ -2,7 +2,7 @@ library game; ...@@ -2,7 +2,7 @@ library game;
import 'dart:async'; import 'dart:async';
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
import 'package:skysprites/skysprites.dart'; import 'package:skysprites/skysprites.dart';
......
import 'dart:sky'; import 'dart:ui';
import 'package:sky/material.dart'; import 'package:sky/material.dart';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
import 'dart:sky'; import 'dart:ui';
import 'package:sky/material.dart'; import 'package:sky/material.dart';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:math' as math; import 'dart:math' as math;
import 'package:sky/material.dart'; import 'package:sky/material.dart';
......
import 'dart:sky'; import 'dart:ui';
import 'package:sky/material.dart'; import 'package:sky/material.dart';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:math'; import 'dart:math';
import 'package:sky/material.dart'; import 'package:sky/material.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:typed_data'; import 'dart:typed_data';
void drawText(sky.Canvas canvas, String lh) { void drawText(sky.Canvas canvas, String lh) {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:typed_data'; import 'dart:typed_data';
sky.Color color; sky.Color color;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:typed_data'; import 'dart:typed_data';
const kMaxIterations = 100; const kMaxIterations = 100;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:typed_data'; import 'dart:typed_data';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:typed_data'; import 'dart:typed_data';
sky.Picture paint(sky.Rect paintBounds) { sky.Picture paint(sky.Rect paintBounds) {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:typed_data'; import 'dart:typed_data';
double timeBase = null; double timeBase = null;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:typed_data'; import 'dart:typed_data';
import 'package:sky/services.dart'; import 'package:sky/services.dart';
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:typed_data'; import 'dart:typed_data';
double timeBase = null; double timeBase = null;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
import 'solid_color_box.dart'; import 'solid_color_box.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:math' as math; import 'dart:math' as math;
import 'package:sky/services.dart'; import 'package:sky/services.dart';
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky'; import 'dart:ui';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
import 'package:sky/material.dart'; import 'package:sky/material.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky'; import 'dart:ui';
import 'package:cassowary/cassowary.dart' as al; import 'package:cassowary/cassowary.dart' as al;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/material.dart'; import 'package:sky/material.dart';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -6,7 +6,7 @@ library stocks; ...@@ -6,7 +6,7 @@ library stocks;
import 'dart:async'; import 'dart:async';
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/gestures.dart'; import 'package:sky/gestures.dart';
import 'package:sky/material.dart'; import 'package:sky/material.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/material.dart'; import 'package:sky/material.dart';
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/material.dart'; import 'package:sky/material.dart';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:sky/material.dart'; import 'package:sky/material.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' show Color, Rect; import 'dart:ui' show Color, Rect;
import 'curves.dart'; import 'curves.dart';
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:collection'; import 'dart:collection';
import 'dart:sky' as sky; import 'dart:ui' as sky;
/// Slows down animations by this factor to help in development. /// Slows down animations by this factor to help in development.
double timeDilation = 1.0; double timeDilation = 1.0;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:newton/newton.dart'; import 'package:newton/newton.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'arena.dart'; import 'arena.dart';
import 'recognizer.dart'; import 'recognizer.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'arena.dart'; import 'arena.dart';
import 'constants.dart'; import 'constants.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
/// A callback that receives a [sky.PointerEvent] /// A callback that receives a [sky.PointerEvent]
typedef void PointerRoute(sky.PointerEvent event); typedef void PointerRoute(sky.PointerEvent event);
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:async'; import 'dart:async';
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'arena.dart'; import 'arena.dart';
import 'constants.dart'; import 'constants.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'arena.dart'; import 'arena.dart';
import 'recognizer.dart'; import 'recognizer.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'arena.dart'; import 'arena.dart';
import 'constants.dart'; import 'constants.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'arena.dart'; import 'arena.dart';
import 'recognizer.dart'; import 'recognizer.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
import 'package:sky/widgets.dart'; import 'package:sky/widgets.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' show Color; import 'dart:ui' show Color;
/// [Color] constants which represent Material design's /// [Color] constants which represent Material design's
/// [color palette](http://www.google.com/design/spec/style/color.html). /// [color palette](http://www.google.com/design/spec/style/color.html).
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/gestures.dart'; import 'package:sky/gestures.dart';
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/services.dart'; import 'package:sky/services.dart';
import 'package:sky/widgets.dart'; import 'package:sky/widgets.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/gestures.dart'; import 'package:sky/gestures.dart';
import 'package:sky/widgets.dart'; import 'package:sky/widgets.dart';
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
import 'dart:async'; import 'dart:async';
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:sky/gestures.dart'; import 'package:sky/gestures.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
import 'package:sky/services.dart'; import 'package:sky/services.dart';
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:async'; import 'dart:async';
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:sky/widgets.dart'; import 'package:sky/widgets.dart';
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:async'; import 'dart:async';
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:sky' show Point, Offset, Color, Paint; import 'dart:ui' show Point, Offset, Color, Paint;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/widgets.dart'; import 'package:sky/widgets.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
import 'package:sky/widgets.dart'; import 'package:sky/widgets.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' show Color, Offset; import 'dart:ui' show Color, Offset;
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:async'; import 'dart:async';
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:newton/newton.dart'; import 'package:newton/newton.dart';
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky'; import 'dart:ui';
import 'package:sky/src/material/typography.dart'; import 'package:sky/src/material/typography.dart';
import 'package:sky/src/material/colors.dart'; import 'package:sky/src/material/colors.dart';
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// See http://www.google.com/design/spec/style/typography.html // See http://www.google.com/design/spec/style/typography.html
import 'dart:sky' show Color; import 'dart:ui' show Color;
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
import 'package:sky/src/material/colors.dart'; import 'package:sky/src/material/colors.dart';
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; import 'dart:ui' show Point, Offset, Size, Rect, Color, Paint, Path;
import 'package:sky/services.dart'; import 'package:sky/services.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
/// A helper class to build a [sky.DrawLooper] for drawing shadows /// A helper class to build a [sky.DrawLooper] for drawing shadows
class ShadowDrawLooperBuilder { class ShadowDrawLooperBuilder {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'text_style.dart'; import 'text_style.dart';
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path, FontWeight, FontStyle, TextAlign, TextBaseline, TextDecoration, TextDecorationStyle; import 'dart:ui' show Point, Offset, Size, Rect, Color, Paint, Path, FontWeight, FontStyle, TextAlign, TextBaseline, TextDecoration, TextDecorationStyle;
export 'dart:sky' show FontWeight, FontStyle, TextAlign, TextBaseline, TextDecoration, TextDecorationStyle; export 'dart:ui' show FontWeight, FontStyle, TextAlign, TextBaseline, TextDecoration, TextDecorationStyle;
/// A normal font weight /// A normal font weight
const normal = FontWeight.w400; const normal = FontWeight.w400;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:sky/gestures.dart'; import 'package:sky/gestures.dart';
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
import 'package:vector_math/vector_math_64.dart'; import 'package:vector_math/vector_math_64.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
/// Causes each RenderBox to paint a box around its bounds. /// Causes each RenderBox to paint a box around its bounds.
bool debugPaintSizeEnabled = false; bool debugPaintSizeEnabled = false;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
/// An object that can handle events. /// An object that can handle events.
abstract class HitTestTarget { abstract class HitTestTarget {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; import 'dart:ui' show Point, Offset, Size, Rect, Color, Paint, Path;
import 'package:vector_math/vector_math_64.dart'; import 'package:vector_math/vector_math_64.dart';
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; import 'dart:ui' show Point, Offset, Size, Rect, Color, Paint, Path;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:vector_math/vector_math_64.dart'; import 'package:vector_math/vector_math_64.dart';
...@@ -14,7 +14,7 @@ import 'hit_test.dart'; ...@@ -14,7 +14,7 @@ import 'hit_test.dart';
import 'layer.dart'; import 'layer.dart';
import 'node.dart'; import 'node.dart';
export 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; export 'dart:ui' show Point, Offset, Size, Rect, Color, Paint, Path;
export 'hit_test.dart' show HitTestTarget, HitTestEntry, HitTestResult; export 'hit_test.dart' show HitTestTarget, HitTestEntry, HitTestResult;
typedef sky.Shader ShaderCallback(Rect bounds); typedef sky.Shader ShaderCallback(Rect bounds);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
import 'package:vector_math/vector_math_64.dart'; import 'package:vector_math/vector_math_64.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:sky/gestures.dart'; import 'package:sky/gestures.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:vector_math/vector_math_64.dart'; import 'package:vector_math/vector_math_64.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:vector_math/vector_math_64.dart'; import 'package:vector_math/vector_math_64.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky'; import 'dart:ui';
import 'dart:async'; import 'dart:async';
import 'package:sky_services/activity/activity.mojom.dart'; import 'package:sky_services/activity/activity.mojom.dart';
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:async'; import 'dart:async';
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:sky.internals' as internals; import 'dart:ui_internals' as internals;
import 'dart:typed_data'; import 'dart:typed_data';
import 'package:mojo/core.dart' as core; import 'package:mojo/core.dart' as core;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky.internals' as internals; import 'dart:ui_internals' as internals;
import 'package:mojo/application.dart'; import 'package:mojo/application.dart';
import 'package:mojo/bindings.dart' as bindings; import 'package:mojo/bindings.dart' as bindings;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
import 'dart:async'; import 'dart:async';
import 'dart:collection'; import 'dart:collection';
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:mojo/mojo/url_response.mojom.dart'; import 'package:mojo/mojo/url_response.mojom.dart';
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:async'; import 'dart:async';
import 'dart:sky' show Image, ImageDecoder, ImageDecoderCallback; import 'dart:ui' show Image, ImageDecoder, ImageDecoderCallback;
import 'dart:typed_data'; import 'dart:typed_data';
import 'package:mojo/core.dart' show MojoDataPipeConsumer; import 'package:mojo/core.dart' show MojoDataPipeConsumer;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:async'; import 'dart:async';
import 'dart:sky' as sky; import 'dart:ui' as sky;
/// A callback for when the image is available. /// A callback for when the image is available.
typedef void ImageListener(sky.Image image); typedef void ImageListener(sky.Image image);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky.internals' as internals; import 'dart:ui_internals' as internals;
import 'package:mojo/application.dart'; import 'package:mojo/application.dart';
import 'package:mojo/core.dart' as core; import 'package:mojo/core.dart' as core;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
import 'package:sky/services.dart'; import 'package:sky/services.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:collection'; import 'dart:collection';
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/gestures.dart'; import 'package:sky/gestures.dart';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
import 'dart:async'; import 'dart:async';
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:newton/newton.dart'; import 'package:newton/newton.dart';
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
......
...@@ -8,7 +8,7 @@ import 'dart:async'; ...@@ -8,7 +8,7 @@ import 'dart:async';
import 'dart:convert'; import 'dart:convert';
import 'dart:math' as math; import 'dart:math' as math;
import 'dart:typed_data'; import 'dart:typed_data';
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:box2d/box2d.dart' as box2d; import 'package:box2d/box2d.dart' as box2d;
import 'package:mojo/core.dart'; import 'package:mojo/core.dart';
......
import 'dart:sky'; import 'dart:ui';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'dart:sky' show Rect, Color, Paint; import 'dart:ui' show Rect, Color, Paint;
import 'package:test/test.dart'; import 'package:test/test.dart';
import 'package:vector_math/vector_math_64.dart'; import 'package:vector_math/vector_math_64.dart';
......
import 'dart:sky'; import 'dart:ui';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky'; import 'dart:ui';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky'; import 'dart:ui';
int childNodeCount(parent) { int childNodeCount(parent) {
int count = 0; int count = 0;
......
import 'dart:sky'; import 'dart:ui';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky'; import 'dart:ui';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
export 'dart:sky' show Point; export 'dart:ui' show Point;
class TestPointerEvent extends sky.PointerEvent { class TestPointerEvent extends sky.PointerEvent {
TestPointerEvent({ TestPointerEvent({
......
import 'dart:sky'; import 'dart:ui';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky'; import 'dart:ui';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky'; import 'dart:ui';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky'; import 'dart:ui';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/gestures.dart'; import 'package:sky/gestures.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/gestures.dart'; import 'package:sky/gestures.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/gestures.dart'; import 'package:sky/gestures.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/painting.dart'; import 'package:sky/painting.dart';
import 'package:sky/widgets.dart'; import 'package:sky/widgets.dart';
......
import 'dart:sky' as sky; import 'dart:ui' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:sky/rendering.dart'; import 'package:sky/rendering.dart';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment