From 5b37f8750d4ffd1fc29cb9a6e75ed04c75200925 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Fri, 9 Oct 2015 19:27:13 -0700 Subject: [PATCH] Rename dart:sky to dart:ui --- examples/BUILD.gn | 2 +- examples/demo_launcher/BUILD.gn | 2 +- examples/game/lib/game_demo.dart | 2 +- examples/game/test_bed.dart | 2 +- examples/game/test_drawatlas.dart | 2 +- examples/game/test_performance.dart | 2 +- examples/game/test_physics.dart | 2 +- examples/mine_digger/lib/main.dart | 2 +- examples/raw/baseline.dart | 2 +- examples/raw/hello_world.dart | 2 +- examples/raw/mutating-dom.dart | 2 +- examples/raw/painting.dart | 2 +- examples/raw/shadow.dart | 2 +- examples/raw/spinning_arabic.dart | 2 +- examples/raw/spinning_image.dart | 2 +- examples/raw/spinning_square.dart | 2 +- examples/rendering/baseline.dart | 2 +- examples/rendering/borders.dart | 2 +- examples/rendering/flex.dart | 2 +- examples/rendering/interactive_flex.dart | 2 +- examples/rendering/sector_layout.dart | 2 +- examples/rendering/shadowed_box.dart | 2 +- examples/rendering/simple_autolayout.dart | 2 +- examples/rendering/solid_color_box.dart | 2 +- examples/rendering/spinning_flex.dart | 2 +- examples/rendering/touch_demo.dart | 2 +- examples/rendering/transform.dart | 2 +- examples/stocks/lib/main.dart | 2 +- examples/widgets/card_collection.dart | 2 +- examples/widgets/overlay_geometry.dart | 2 +- examples/widgets/spinning_mixed.dart | 2 +- packages/flutter/lib/src/animation/animated_value.dart | 2 +- packages/flutter/lib/src/animation/scheduler.dart | 2 +- packages/flutter/lib/src/animation/scroll_behavior.dart | 2 +- packages/flutter/lib/src/gestures/drag.dart | 2 +- packages/flutter/lib/src/gestures/long_press.dart | 2 +- packages/flutter/lib/src/gestures/pointer_router.dart | 2 +- packages/flutter/lib/src/gestures/recognizer.dart | 2 +- packages/flutter/lib/src/gestures/scale.dart | 2 +- packages/flutter/lib/src/gestures/show_press.dart | 2 +- packages/flutter/lib/src/gestures/tap.dart | 2 +- packages/flutter/lib/src/material/checkbox.dart | 2 +- packages/flutter/lib/src/material/colors.dart | 2 +- packages/flutter/lib/src/material/drawer_item.dart | 2 +- packages/flutter/lib/src/material/icon.dart | 2 +- packages/flutter/lib/src/material/icon_button.dart | 2 +- packages/flutter/lib/src/material/ink_well.dart | 2 +- packages/flutter/lib/src/material/material_app.dart | 2 +- packages/flutter/lib/src/material/popup_menu.dart | 2 +- packages/flutter/lib/src/material/progress_indicator.dart | 2 +- packages/flutter/lib/src/material/radial_reaction.dart | 4 ++-- packages/flutter/lib/src/material/radio.dart | 2 +- packages/flutter/lib/src/material/scaffold.dart | 2 +- packages/flutter/lib/src/material/shadows.dart | 2 +- packages/flutter/lib/src/material/switch.dart | 2 +- packages/flutter/lib/src/material/tabs.dart | 2 +- packages/flutter/lib/src/material/theme_data.dart | 2 +- packages/flutter/lib/src/material/typography.dart | 2 +- packages/flutter/lib/src/painting/box_painter.dart | 4 ++-- packages/flutter/lib/src/painting/shadows.dart | 2 +- packages/flutter/lib/src/painting/text_painter.dart | 2 +- packages/flutter/lib/src/painting/text_style.dart | 6 +++--- packages/flutter/lib/src/rendering/binding.dart | 2 +- packages/flutter/lib/src/rendering/box.dart | 2 +- packages/flutter/lib/src/rendering/debug.dart | 2 +- packages/flutter/lib/src/rendering/hit_test.dart | 2 +- packages/flutter/lib/src/rendering/image.dart | 2 +- packages/flutter/lib/src/rendering/layer.dart | 4 ++-- packages/flutter/lib/src/rendering/object.dart | 6 +++--- packages/flutter/lib/src/rendering/proxy_box.dart | 2 +- packages/flutter/lib/src/rendering/toggleable.dart | 2 +- packages/flutter/lib/src/rendering/view.dart | 2 +- packages/flutter/lib/src/rendering/viewport.dart | 2 +- packages/flutter/lib/src/services/activity.dart | 2 +- packages/flutter/lib/src/services/asset_bundle.dart | 4 ++-- packages/flutter/lib/src/services/embedder.dart | 2 +- packages/flutter/lib/src/services/image_cache.dart | 2 +- packages/flutter/lib/src/services/image_decoder.dart | 2 +- packages/flutter/lib/src/services/image_resource.dart | 2 +- packages/flutter/lib/src/services/shell.dart | 2 +- packages/flutter/lib/src/widgets/basic.dart | 2 +- packages/flutter/lib/src/widgets/dismissable.dart | 2 +- packages/flutter/lib/src/widgets/drag_target.dart | 2 +- packages/flutter/lib/src/widgets/gesture_detector.dart | 2 +- packages/flutter/lib/src/widgets/scrollable.dart | 2 +- packages/flutter_sprites/lib/skysprites.dart | 2 +- packages/unit/test/engine/append_child_test.dart | 2 +- packages/unit/test/engine/canvas_test.dart | 4 ++-- packages/unit/test/engine/color_test.dart | 2 +- .../unit/test/engine/document_child_mutations_test.dart | 2 +- packages/unit/test/engine/dom_utils.dart | 2 +- packages/unit/test/engine/get_child_elements_test.dart | 2 +- packages/unit/test/engine/inline_style_test.dart | 2 +- packages/unit/test/engine/insert_before_test.dart | 2 +- packages/unit/test/engine/mock_events.dart | 4 ++-- packages/unit/test/engine/owner_scope_test.dart | 2 +- packages/unit/test/engine/paragraph_builder_test.dart | 2 +- packages/unit/test/engine/rect_test.dart | 2 +- packages/unit/test/engine/replace_child_test.dart | 2 +- packages/unit/test/engine/text_test.dart | 2 +- packages/unit/test/gestures/pointer_router_test.dart | 2 +- packages/unit/test/gestures/scale_test.dart | 2 +- packages/unit/test/gestures/scroll_test.dart | 2 +- packages/unit/test/rendering/image_test.dart | 2 +- packages/unit/test/widget/shader_mask_test.dart | 2 +- packages/unit/test/widget/widget_tester.dart | 2 +- 106 files changed, 116 insertions(+), 116 deletions(-) diff --git a/examples/BUILD.gn b/examples/BUILD.gn index 5ead42c2f1..f8061ae382 100644 --- a/examples/BUILD.gn +++ b/examples/BUILD.gn @@ -7,7 +7,7 @@ group("examples") { deps = [ "//examples/demo_launcher", - "//examples/fitness", + #"//examples/fitness", "//examples/game", "//examples/mine_digger", "//examples/rendering", diff --git a/examples/demo_launcher/BUILD.gn b/examples/demo_launcher/BUILD.gn index a5cd5dae67..a934fb9932 100644 --- a/examples/demo_launcher/BUILD.gn +++ b/examples/demo_launcher/BUILD.gn @@ -12,7 +12,7 @@ sky_app("demo_launcher") { apk_name = "SkyDemo" bundles = [ - "//examples/fitness", + #"//examples/fitness", "//examples/game", "//examples/mine_digger", "//examples/rendering:interactive_flex", diff --git a/examples/game/lib/game_demo.dart b/examples/game/lib/game_demo.dart index 541edd2769..652067bd44 100644 --- a/examples/game/lib/game_demo.dart +++ b/examples/game/lib/game_demo.dart @@ -2,7 +2,7 @@ library game; import 'dart:async'; import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; import 'package:skysprites/skysprites.dart'; diff --git a/examples/game/test_bed.dart b/examples/game/test_bed.dart index b2dc7fbc6e..5588ae8d07 100644 --- a/examples/game/test_bed.dart +++ b/examples/game/test_bed.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:sky/material.dart'; import 'package:sky/rendering.dart'; diff --git a/examples/game/test_drawatlas.dart b/examples/game/test_drawatlas.dart index edf568e5ae..82422dd8a7 100644 --- a/examples/game/test_drawatlas.dart +++ b/examples/game/test_drawatlas.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:sky/material.dart'; import 'package:sky/rendering.dart'; diff --git a/examples/game/test_performance.dart b/examples/game/test_performance.dart index 44d363c12f..4bd4255987 100644 --- a/examples/game/test_performance.dart +++ b/examples/game/test_performance.dart @@ -1,4 +1,4 @@ -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:math' as math; import 'package:sky/material.dart'; diff --git a/examples/game/test_physics.dart b/examples/game/test_physics.dart index 4c2ecc10b6..4e8986e6dc 100644 --- a/examples/game/test_physics.dart +++ b/examples/game/test_physics.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:sky/material.dart'; import 'package:sky/rendering.dart'; diff --git a/examples/mine_digger/lib/main.dart b/examples/mine_digger/lib/main.dart index 095b010f09..23cc79ff30 100644 --- a/examples/mine_digger/lib/main.dart +++ b/examples/mine_digger/lib/main.dart @@ -1,7 +1,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:math'; import 'package:sky/material.dart'; diff --git a/examples/raw/baseline.dart b/examples/raw/baseline.dart index d0f083b55d..ef6d84c2a2 100644 --- a/examples/raw/baseline.dart +++ b/examples/raw/baseline.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:typed_data'; void drawText(sky.Canvas canvas, String lh) { diff --git a/examples/raw/hello_world.dart b/examples/raw/hello_world.dart index a63ad0e137..66b56630af 100644 --- a/examples/raw/hello_world.dart +++ b/examples/raw/hello_world.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:typed_data'; sky.Color color; diff --git a/examples/raw/mutating-dom.dart b/examples/raw/mutating-dom.dart index 208fa53719..0178584733 100644 --- a/examples/raw/mutating-dom.dart +++ b/examples/raw/mutating-dom.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:typed_data'; const kMaxIterations = 100; diff --git a/examples/raw/painting.dart b/examples/raw/painting.dart index b24f0f73cc..41273a0b8b 100644 --- a/examples/raw/painting.dart +++ b/examples/raw/painting.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:math' as math; import 'dart:typed_data'; diff --git a/examples/raw/shadow.dart b/examples/raw/shadow.dart index bb440f575f..453cbb5262 100644 --- a/examples/raw/shadow.dart +++ b/examples/raw/shadow.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:typed_data'; sky.Picture paint(sky.Rect paintBounds) { diff --git a/examples/raw/spinning_arabic.dart b/examples/raw/spinning_arabic.dart index 1d2389e5b7..09d1e0f203 100644 --- a/examples/raw/spinning_arabic.dart +++ b/examples/raw/spinning_arabic.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:typed_data'; double timeBase = null; diff --git a/examples/raw/spinning_image.dart b/examples/raw/spinning_image.dart index 03b4fd12a3..76e9c81155 100644 --- a/examples/raw/spinning_image.dart +++ b/examples/raw/spinning_image.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:typed_data'; import 'package:sky/services.dart'; diff --git a/examples/raw/spinning_square.dart b/examples/raw/spinning_square.dart index 3b036e6021..1cb85c884c 100644 --- a/examples/raw/spinning_square.dart +++ b/examples/raw/spinning_square.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:typed_data'; double timeBase = null; diff --git a/examples/rendering/baseline.dart b/examples/rendering/baseline.dart index 9237c9106d..3488e23df8 100644 --- a/examples/rendering/baseline.dart +++ b/examples/rendering/baseline.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; diff --git a/examples/rendering/borders.dart b/examples/rendering/borders.dart index 1f5777a852..8a9df8d41f 100644 --- a/examples/rendering/borders.dart +++ b/examples/rendering/borders.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; diff --git a/examples/rendering/flex.dart b/examples/rendering/flex.dart index f0ca8dafd3..a8b3a8b4cb 100644 --- a/examples/rendering/flex.dart +++ b/examples/rendering/flex.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; import 'solid_color_box.dart'; diff --git a/examples/rendering/interactive_flex.dart b/examples/rendering/interactive_flex.dart index cfebd7cc6f..aee0074544 100644 --- a/examples/rendering/interactive_flex.dart +++ b/examples/rendering/interactive_flex.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'dart:math' as math; import 'package:sky/services.dart'; diff --git a/examples/rendering/sector_layout.dart b/examples/rendering/sector_layout.dart index d57cb2a1bc..1bafaeb52f 100644 --- a/examples/rendering/sector_layout.dart +++ b/examples/rendering/sector_layout.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; diff --git a/examples/rendering/shadowed_box.dart b/examples/rendering/shadowed_box.dart index b48c532121..65f70d73c1 100644 --- a/examples/rendering/shadowed_box.dart +++ b/examples/rendering/shadowed_box.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky'; +import 'dart:ui'; import 'package:sky/rendering.dart'; import 'package:sky/material.dart'; diff --git a/examples/rendering/simple_autolayout.dart b/examples/rendering/simple_autolayout.dart index c8b65b94bf..a62dba873f 100644 --- a/examples/rendering/simple_autolayout.dart +++ b/examples/rendering/simple_autolayout.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky'; +import 'dart:ui'; import 'package:cassowary/cassowary.dart' as al; import 'package:sky/rendering.dart'; diff --git a/examples/rendering/solid_color_box.dart b/examples/rendering/solid_color_box.dart index 36b772e360..136cd6eeb8 100644 --- a/examples/rendering/solid_color_box.dart +++ b/examples/rendering/solid_color_box.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; diff --git a/examples/rendering/spinning_flex.dart b/examples/rendering/spinning_flex.dart index 1e72aac95a..6c1455f35b 100644 --- a/examples/rendering/spinning_flex.dart +++ b/examples/rendering/spinning_flex.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; import 'package:sky/rendering.dart'; diff --git a/examples/rendering/touch_demo.dart b/examples/rendering/touch_demo.dart index f00a781cc4..56c1d64aca 100644 --- a/examples/rendering/touch_demo.dart +++ b/examples/rendering/touch_demo.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/material.dart'; import 'package:sky/rendering.dart'; diff --git a/examples/rendering/transform.dart b/examples/rendering/transform.dart index 4e675327d3..9b5d3a041d 100644 --- a/examples/rendering/transform.dart +++ b/examples/rendering/transform.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; diff --git a/examples/stocks/lib/main.dart b/examples/stocks/lib/main.dart index f791c55e0c..1ba3fdd664 100644 --- a/examples/stocks/lib/main.dart +++ b/examples/stocks/lib/main.dart @@ -6,7 +6,7 @@ library stocks; import 'dart:async'; import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/gestures.dart'; import 'package:sky/material.dart'; diff --git a/examples/widgets/card_collection.dart b/examples/widgets/card_collection.dart index 0293a73d70..e2f45aee5f 100644 --- a/examples/widgets/card_collection.dart +++ b/examples/widgets/card_collection.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/material.dart'; import 'package:sky/painting.dart'; diff --git a/examples/widgets/overlay_geometry.dart b/examples/widgets/overlay_geometry.dart index bc55cafbbe..9b28ca113f 100644 --- a/examples/widgets/overlay_geometry.dart +++ b/examples/widgets/overlay_geometry.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/material.dart'; import 'package:sky/rendering.dart'; diff --git a/examples/widgets/spinning_mixed.dart b/examples/widgets/spinning_mixed.dart index eefb71fc26..cfde0b373a 100644 --- a/examples/widgets/spinning_mixed.dart +++ b/examples/widgets/spinning_mixed.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; import 'package:sky/material.dart'; diff --git a/packages/flutter/lib/src/animation/animated_value.dart b/packages/flutter/lib/src/animation/animated_value.dart index c237d39e64..47097d0f12 100644 --- a/packages/flutter/lib/src/animation/animated_value.dart +++ b/packages/flutter/lib/src/animation/animated_value.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' show Color, Rect; +import 'dart:ui' show Color, Rect; import 'curves.dart'; diff --git a/packages/flutter/lib/src/animation/scheduler.dart b/packages/flutter/lib/src/animation/scheduler.dart index bfa585e0f3..5b8b4b9aaa 100644 --- a/packages/flutter/lib/src/animation/scheduler.dart +++ b/packages/flutter/lib/src/animation/scheduler.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:collection'; -import 'dart:sky' as sky; +import 'dart:ui' as sky; /// Slows down animations by this factor to help in development. double timeDilation = 1.0; diff --git a/packages/flutter/lib/src/animation/scroll_behavior.dart b/packages/flutter/lib/src/animation/scroll_behavior.dart index 986caa04a8..b5be81572c 100644 --- a/packages/flutter/lib/src/animation/scroll_behavior.dart +++ b/packages/flutter/lib/src/animation/scroll_behavior.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:newton/newton.dart'; diff --git a/packages/flutter/lib/src/gestures/drag.dart b/packages/flutter/lib/src/gestures/drag.dart index b93631c918..b130441ffd 100644 --- a/packages/flutter/lib/src/gestures/drag.dart +++ b/packages/flutter/lib/src/gestures/drag.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'arena.dart'; import 'recognizer.dart'; diff --git a/packages/flutter/lib/src/gestures/long_press.dart b/packages/flutter/lib/src/gestures/long_press.dart index 6e1114ead7..4ffd348223 100644 --- a/packages/flutter/lib/src/gestures/long_press.dart +++ b/packages/flutter/lib/src/gestures/long_press.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'arena.dart'; import 'constants.dart'; diff --git a/packages/flutter/lib/src/gestures/pointer_router.dart b/packages/flutter/lib/src/gestures/pointer_router.dart index 5de518b1e4..6918b3dc80 100644 --- a/packages/flutter/lib/src/gestures/pointer_router.dart +++ b/packages/flutter/lib/src/gestures/pointer_router.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; /// A callback that receives a [sky.PointerEvent] typedef void PointerRoute(sky.PointerEvent event); diff --git a/packages/flutter/lib/src/gestures/recognizer.dart b/packages/flutter/lib/src/gestures/recognizer.dart index c36e4b162c..7c73f1988d 100644 --- a/packages/flutter/lib/src/gestures/recognizer.dart +++ b/packages/flutter/lib/src/gestures/recognizer.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:async'; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'arena.dart'; import 'constants.dart'; diff --git a/packages/flutter/lib/src/gestures/scale.dart b/packages/flutter/lib/src/gestures/scale.dart index 6f318b688c..dd0dfa094a 100644 --- a/packages/flutter/lib/src/gestures/scale.dart +++ b/packages/flutter/lib/src/gestures/scale.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'arena.dart'; import 'recognizer.dart'; diff --git a/packages/flutter/lib/src/gestures/show_press.dart b/packages/flutter/lib/src/gestures/show_press.dart index 85f4ede078..754aaa2ea1 100644 --- a/packages/flutter/lib/src/gestures/show_press.dart +++ b/packages/flutter/lib/src/gestures/show_press.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'arena.dart'; import 'constants.dart'; diff --git a/packages/flutter/lib/src/gestures/tap.dart b/packages/flutter/lib/src/gestures/tap.dart index 65bb5bcf0f..0c32edadbd 100644 --- a/packages/flutter/lib/src/gestures/tap.dart +++ b/packages/flutter/lib/src/gestures/tap.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'arena.dart'; import 'recognizer.dart'; diff --git a/packages/flutter/lib/src/material/checkbox.dart b/packages/flutter/lib/src/material/checkbox.dart index 17c57a2750..d02619e50e 100644 --- a/packages/flutter/lib/src/material/checkbox.dart +++ b/packages/flutter/lib/src/material/checkbox.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; import 'package:sky/widgets.dart'; diff --git a/packages/flutter/lib/src/material/colors.dart b/packages/flutter/lib/src/material/colors.dart index bde576a1df..7df8de2529 100644 --- a/packages/flutter/lib/src/material/colors.dart +++ b/packages/flutter/lib/src/material/colors.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' show Color; +import 'dart:ui' show Color; /// [Color] constants which represent Material design's /// [color palette](http://www.google.com/design/spec/style/color.html). diff --git a/packages/flutter/lib/src/material/drawer_item.dart b/packages/flutter/lib/src/material/drawer_item.dart index ac11f1900b..9a89515c65 100644 --- a/packages/flutter/lib/src/material/drawer_item.dart +++ b/packages/flutter/lib/src/material/drawer_item.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/gestures.dart'; import 'package:sky/painting.dart'; diff --git a/packages/flutter/lib/src/material/icon.dart b/packages/flutter/lib/src/material/icon.dart index 6d0d119410..32facf2a25 100644 --- a/packages/flutter/lib/src/material/icon.dart +++ b/packages/flutter/lib/src/material/icon.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/services.dart'; import 'package:sky/widgets.dart'; diff --git a/packages/flutter/lib/src/material/icon_button.dart b/packages/flutter/lib/src/material/icon_button.dart index 1103a3547a..dc355e9474 100644 --- a/packages/flutter/lib/src/material/icon_button.dart +++ b/packages/flutter/lib/src/material/icon_button.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/gestures.dart'; import 'package:sky/widgets.dart'; diff --git a/packages/flutter/lib/src/material/ink_well.dart b/packages/flutter/lib/src/material/ink_well.dart index f77563509c..5140bbf1a0 100644 --- a/packages/flutter/lib/src/material/ink_well.dart +++ b/packages/flutter/lib/src/material/ink_well.dart @@ -4,7 +4,7 @@ import 'dart:async'; import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; import 'package:sky/gestures.dart'; diff --git a/packages/flutter/lib/src/material/material_app.dart b/packages/flutter/lib/src/material/material_app.dart index 704d06c23e..f326b9ff04 100644 --- a/packages/flutter/lib/src/material/material_app.dart +++ b/packages/flutter/lib/src/material/material_app.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/painting.dart'; import 'package:sky/services.dart'; diff --git a/packages/flutter/lib/src/material/popup_menu.dart b/packages/flutter/lib/src/material/popup_menu.dart index 373ef046ee..eee0b9fe25 100644 --- a/packages/flutter/lib/src/material/popup_menu.dart +++ b/packages/flutter/lib/src/material/popup_menu.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:async'; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; import 'package:sky/painting.dart'; diff --git a/packages/flutter/lib/src/material/progress_indicator.dart b/packages/flutter/lib/src/material/progress_indicator.dart index 398b6040ef..cf640a48f5 100644 --- a/packages/flutter/lib/src/material/progress_indicator.dart +++ b/packages/flutter/lib/src/material/progress_indicator.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; import 'package:sky/widgets.dart'; diff --git a/packages/flutter/lib/src/material/radial_reaction.dart b/packages/flutter/lib/src/material/radial_reaction.dart index c2822cb9da..a3d68db5ee 100644 --- a/packages/flutter/lib/src/material/radial_reaction.dart +++ b/packages/flutter/lib/src/material/radial_reaction.dart @@ -3,8 +3,8 @@ // found in the LICENSE file. import 'dart:async'; -import 'dart:sky' as sky; -import 'dart:sky' show Point, Offset, Color, Paint; +import 'dart:ui' as sky; +import 'dart:ui' show Point, Offset, Color, Paint; import 'package:sky/animation.dart'; diff --git a/packages/flutter/lib/src/material/radio.dart b/packages/flutter/lib/src/material/radio.dart index 30ae00732c..fc54cc8893 100644 --- a/packages/flutter/lib/src/material/radio.dart +++ b/packages/flutter/lib/src/material/radio.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/widgets.dart'; diff --git a/packages/flutter/lib/src/material/scaffold.dart b/packages/flutter/lib/src/material/scaffold.dart index 76fbb5e84d..3d4fbd85d4 100644 --- a/packages/flutter/lib/src/material/scaffold.dart +++ b/packages/flutter/lib/src/material/scaffold.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; import 'package:sky/widgets.dart'; diff --git a/packages/flutter/lib/src/material/shadows.dart b/packages/flutter/lib/src/material/shadows.dart index dac0f3ed0e..17280dd092 100644 --- a/packages/flutter/lib/src/material/shadows.dart +++ b/packages/flutter/lib/src/material/shadows.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' show Color, Offset; +import 'dart:ui' show Color, Offset; import 'package:sky/painting.dart'; diff --git a/packages/flutter/lib/src/material/switch.dart b/packages/flutter/lib/src/material/switch.dart index c221028e10..ab9573078b 100644 --- a/packages/flutter/lib/src/material/switch.dart +++ b/packages/flutter/lib/src/material/switch.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:async'; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/painting.dart'; import 'package:sky/rendering.dart'; diff --git a/packages/flutter/lib/src/material/tabs.dart b/packages/flutter/lib/src/material/tabs.dart index d6df9b9972..8ef3ae424b 100644 --- a/packages/flutter/lib/src/material/tabs.dart +++ b/packages/flutter/lib/src/material/tabs.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:newton/newton.dart'; import 'package:sky/animation.dart'; diff --git a/packages/flutter/lib/src/material/theme_data.dart b/packages/flutter/lib/src/material/theme_data.dart index be3092fce6..bee746dd97 100644 --- a/packages/flutter/lib/src/material/theme_data.dart +++ b/packages/flutter/lib/src/material/theme_data.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky'; +import 'dart:ui'; import 'package:sky/src/material/typography.dart'; import 'package:sky/src/material/colors.dart'; diff --git a/packages/flutter/lib/src/material/typography.dart b/packages/flutter/lib/src/material/typography.dart index 599a273b99..28ad98ffb2 100644 --- a/packages/flutter/lib/src/material/typography.dart +++ b/packages/flutter/lib/src/material/typography.dart @@ -4,7 +4,7 @@ // 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/src/material/colors.dart'; diff --git a/packages/flutter/lib/src/painting/box_painter.dart b/packages/flutter/lib/src/painting/box_painter.dart index 9c3974aea9..4eb16eb1f4 100644 --- a/packages/flutter/lib/src/painting/box_painter.dart +++ b/packages/flutter/lib/src/painting/box_painter.dart @@ -3,8 +3,8 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; -import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; +import 'dart:ui' as sky; +import 'dart:ui' show Point, Offset, Size, Rect, Color, Paint, Path; import 'package:sky/services.dart'; diff --git a/packages/flutter/lib/src/painting/shadows.dart b/packages/flutter/lib/src/painting/shadows.dart index dd49e21bc6..b50341c9a7 100644 --- a/packages/flutter/lib/src/painting/shadows.dart +++ b/packages/flutter/lib/src/painting/shadows.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // 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 class ShadowDrawLooperBuilder { diff --git a/packages/flutter/lib/src/painting/text_painter.dart b/packages/flutter/lib/src/painting/text_painter.dart index 81bb8c5c57..cf9ac739d2 100644 --- a/packages/flutter/lib/src/painting/text_painter.dart +++ b/packages/flutter/lib/src/painting/text_painter.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'text_style.dart'; diff --git a/packages/flutter/lib/src/painting/text_style.dart b/packages/flutter/lib/src/painting/text_style.dart index 502c95cf76..74097aca0c 100644 --- a/packages/flutter/lib/src/painting/text_style.dart +++ b/packages/flutter/lib/src/painting/text_style.dart @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; -import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path, FontWeight, FontStyle, TextAlign, TextBaseline, TextDecoration, TextDecorationStyle; +import 'dart:ui' as sky; +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 const normal = FontWeight.w400; diff --git a/packages/flutter/lib/src/rendering/binding.dart b/packages/flutter/lib/src/rendering/binding.dart index 2771cfd4b2..8c1f9ab59e 100644 --- a/packages/flutter/lib/src/rendering/binding.dart +++ b/packages/flutter/lib/src/rendering/binding.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; import 'package:sky/gestures.dart'; diff --git a/packages/flutter/lib/src/rendering/box.dart b/packages/flutter/lib/src/rendering/box.dart index 57a79c5eab..96c107c261 100644 --- a/packages/flutter/lib/src/rendering/box.dart +++ b/packages/flutter/lib/src/rendering/box.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/painting.dart'; import 'package:vector_math/vector_math_64.dart'; diff --git a/packages/flutter/lib/src/rendering/debug.dart b/packages/flutter/lib/src/rendering/debug.dart index dbfa3f6b01..0e1e05090a 100644 --- a/packages/flutter/lib/src/rendering/debug.dart +++ b/packages/flutter/lib/src/rendering/debug.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // 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. bool debugPaintSizeEnabled = false; diff --git a/packages/flutter/lib/src/rendering/hit_test.dart b/packages/flutter/lib/src/rendering/hit_test.dart index 3df2852abf..a54feb16eb 100644 --- a/packages/flutter/lib/src/rendering/hit_test.dart +++ b/packages/flutter/lib/src/rendering/hit_test.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; /// An object that can handle events. abstract class HitTestTarget { diff --git a/packages/flutter/lib/src/rendering/image.dart b/packages/flutter/lib/src/rendering/image.dart index 656b5f28fd..c8022e1db3 100644 --- a/packages/flutter/lib/src/rendering/image.dart +++ b/packages/flutter/lib/src/rendering/image.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/painting.dart'; diff --git a/packages/flutter/lib/src/rendering/layer.dart b/packages/flutter/lib/src/rendering/layer.dart index efff6c4590..9afdad8798 100644 --- a/packages/flutter/lib/src/rendering/layer.dart +++ b/packages/flutter/lib/src/rendering/layer.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; -import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; +import 'dart:ui' as sky; +import 'dart:ui' show Point, Offset, Size, Rect, Color, Paint, Path; import 'package:vector_math/vector_math_64.dart'; diff --git a/packages/flutter/lib/src/rendering/object.dart b/packages/flutter/lib/src/rendering/object.dart index 451a35e594..f78673f2f1 100644 --- a/packages/flutter/lib/src/rendering/object.dart +++ b/packages/flutter/lib/src/rendering/object.dart @@ -3,8 +3,8 @@ // found in the LICENSE file. import 'dart:math' as math; -import 'dart:sky' as sky; -import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; +import 'dart:ui' as sky; +import 'dart:ui' show Point, Offset, Size, Rect, Color, Paint, Path; import 'package:sky/animation.dart'; import 'package:vector_math/vector_math_64.dart'; @@ -14,7 +14,7 @@ import 'hit_test.dart'; import 'layer.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; typedef sky.Shader ShaderCallback(Rect bounds); diff --git a/packages/flutter/lib/src/rendering/proxy_box.dart b/packages/flutter/lib/src/rendering/proxy_box.dart index 9c22ef6ef5..3ae758a924 100644 --- a/packages/flutter/lib/src/rendering/proxy_box.dart +++ b/packages/flutter/lib/src/rendering/proxy_box.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/painting.dart'; import 'package:vector_math/vector_math_64.dart'; diff --git a/packages/flutter/lib/src/rendering/toggleable.dart b/packages/flutter/lib/src/rendering/toggleable.dart index 71b83b15f0..f1b1b9b6f7 100644 --- a/packages/flutter/lib/src/rendering/toggleable.dart +++ b/packages/flutter/lib/src/rendering/toggleable.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; import 'package:sky/gestures.dart'; diff --git a/packages/flutter/lib/src/rendering/view.dart b/packages/flutter/lib/src/rendering/view.dart index bc1a5116b0..6289200eed 100644 --- a/packages/flutter/lib/src/rendering/view.dart +++ b/packages/flutter/lib/src/rendering/view.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; import 'package:vector_math/vector_math_64.dart'; diff --git a/packages/flutter/lib/src/rendering/viewport.dart b/packages/flutter/lib/src/rendering/viewport.dart index 7c0dece986..c27d4e148d 100644 --- a/packages/flutter/lib/src/rendering/viewport.dart +++ b/packages/flutter/lib/src/rendering/viewport.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:vector_math/vector_math_64.dart'; diff --git a/packages/flutter/lib/src/services/activity.dart b/packages/flutter/lib/src/services/activity.dart index c5374b8b40..0079a1573f 100644 --- a/packages/flutter/lib/src/services/activity.dart +++ b/packages/flutter/lib/src/services/activity.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky'; +import 'dart:ui'; import 'dart:async'; import 'package:sky_services/activity/activity.mojom.dart'; diff --git a/packages/flutter/lib/src/services/asset_bundle.dart b/packages/flutter/lib/src/services/asset_bundle.dart index 8294128776..9adb47a64b 100644 --- a/packages/flutter/lib/src/services/asset_bundle.dart +++ b/packages/flutter/lib/src/services/asset_bundle.dart @@ -3,8 +3,8 @@ // found in the LICENSE file. import 'dart:async'; -import 'dart:sky' as sky; -import 'dart:sky.internals' as internals; +import 'dart:ui' as sky; +import 'dart:ui_internals' as internals; import 'dart:typed_data'; import 'package:mojo/core.dart' as core; diff --git a/packages/flutter/lib/src/services/embedder.dart b/packages/flutter/lib/src/services/embedder.dart index 1d61267c5e..f2e21214cc 100644 --- a/packages/flutter/lib/src/services/embedder.dart +++ b/packages/flutter/lib/src/services/embedder.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // 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/bindings.dart' as bindings; diff --git a/packages/flutter/lib/src/services/image_cache.dart b/packages/flutter/lib/src/services/image_cache.dart index 52788a854b..19c823caf0 100644 --- a/packages/flutter/lib/src/services/image_cache.dart +++ b/packages/flutter/lib/src/services/image_cache.dart @@ -4,7 +4,7 @@ import 'dart:async'; import 'dart:collection'; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:mojo/mojo/url_response.mojom.dart'; diff --git a/packages/flutter/lib/src/services/image_decoder.dart b/packages/flutter/lib/src/services/image_decoder.dart index 375c31398e..2ce69a65ca 100644 --- a/packages/flutter/lib/src/services/image_decoder.dart +++ b/packages/flutter/lib/src/services/image_decoder.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:async'; -import 'dart:sky' show Image, ImageDecoder, ImageDecoderCallback; +import 'dart:ui' show Image, ImageDecoder, ImageDecoderCallback; import 'dart:typed_data'; import 'package:mojo/core.dart' show MojoDataPipeConsumer; diff --git a/packages/flutter/lib/src/services/image_resource.dart b/packages/flutter/lib/src/services/image_resource.dart index d8e6fc50ce..2f887d6a76 100644 --- a/packages/flutter/lib/src/services/image_resource.dart +++ b/packages/flutter/lib/src/services/image_resource.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:async'; -import 'dart:sky' as sky; +import 'dart:ui' as sky; /// A callback for when the image is available. typedef void ImageListener(sky.Image image); diff --git a/packages/flutter/lib/src/services/shell.dart b/packages/flutter/lib/src/services/shell.dart index 679f3c3e40..e2bbffad21 100644 --- a/packages/flutter/lib/src/services/shell.dart +++ b/packages/flutter/lib/src/services/shell.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // 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/core.dart' as core; diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index 340fa56e6f..99bf338173 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; import 'package:sky/services.dart'; diff --git a/packages/flutter/lib/src/widgets/dismissable.dart b/packages/flutter/lib/src/widgets/dismissable.dart index a4d43114c9..8114b58d07 100644 --- a/packages/flutter/lib/src/widgets/dismissable.dart +++ b/packages/flutter/lib/src/widgets/dismissable.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; diff --git a/packages/flutter/lib/src/widgets/drag_target.dart b/packages/flutter/lib/src/widgets/drag_target.dart index ddd98ba0c0..672dfbbca7 100644 --- a/packages/flutter/lib/src/widgets/drag_target.dart +++ b/packages/flutter/lib/src/widgets/drag_target.dart @@ -3,7 +3,7 @@ // found in the LICENSE file. import 'dart:collection'; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; import 'package:sky/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/gesture_detector.dart b/packages/flutter/lib/src/widgets/gesture_detector.dart index 6738389db4..22b9b7e347 100644 --- a/packages/flutter/lib/src/widgets/gesture_detector.dart +++ b/packages/flutter/lib/src/widgets/gesture_detector.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/gestures.dart'; import 'package:sky/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/scrollable.dart b/packages/flutter/lib/src/widgets/scrollable.dart index 36b1502155..6fe36e3394 100644 --- a/packages/flutter/lib/src/widgets/scrollable.dart +++ b/packages/flutter/lib/src/widgets/scrollable.dart @@ -4,7 +4,7 @@ import 'dart:async'; import 'dart:math' as math; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:newton/newton.dart'; import 'package:sky/animation.dart'; diff --git a/packages/flutter_sprites/lib/skysprites.dart b/packages/flutter_sprites/lib/skysprites.dart index 6ffd26de3d..6669d8071c 100644 --- a/packages/flutter_sprites/lib/skysprites.dart +++ b/packages/flutter_sprites/lib/skysprites.dart @@ -8,7 +8,7 @@ import 'dart:async'; import 'dart:convert'; import 'dart:math' as math; import 'dart:typed_data'; -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:box2d/box2d.dart' as box2d; import 'package:mojo/core.dart'; diff --git a/packages/unit/test/engine/append_child_test.dart b/packages/unit/test/engine/append_child_test.dart index fd80f5f9b9..f055661275 100644 --- a/packages/unit/test/engine/append_child_test.dart +++ b/packages/unit/test/engine/append_child_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:test/test.dart'; diff --git a/packages/unit/test/engine/canvas_test.dart b/packages/unit/test/engine/canvas_test.dart index 27a26bc0e8..31daaba371 100644 --- a/packages/unit/test/engine/canvas_test.dart +++ b/packages/unit/test/engine/canvas_test.dart @@ -1,5 +1,5 @@ -import 'dart:sky' as sky; -import 'dart:sky' show Rect, Color, Paint; +import 'dart:ui' as sky; +import 'dart:ui' show Rect, Color, Paint; import 'package:test/test.dart'; import 'package:vector_math/vector_math_64.dart'; diff --git a/packages/unit/test/engine/color_test.dart b/packages/unit/test/engine/color_test.dart index 53a74072a0..2a5c33fd10 100644 --- a/packages/unit/test/engine/color_test.dart +++ b/packages/unit/test/engine/color_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:test/test.dart'; diff --git a/packages/unit/test/engine/document_child_mutations_test.dart b/packages/unit/test/engine/document_child_mutations_test.dart index 40e039ab37..fd83ce64c0 100644 --- a/packages/unit/test/engine/document_child_mutations_test.dart +++ b/packages/unit/test/engine/document_child_mutations_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:test/test.dart'; diff --git a/packages/unit/test/engine/dom_utils.dart b/packages/unit/test/engine/dom_utils.dart index ceb96907db..f45299e2a8 100644 --- a/packages/unit/test/engine/dom_utils.dart +++ b/packages/unit/test/engine/dom_utils.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; int childNodeCount(parent) { int count = 0; diff --git a/packages/unit/test/engine/get_child_elements_test.dart b/packages/unit/test/engine/get_child_elements_test.dart index 0161c56980..cd81ebba82 100644 --- a/packages/unit/test/engine/get_child_elements_test.dart +++ b/packages/unit/test/engine/get_child_elements_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:test/test.dart'; diff --git a/packages/unit/test/engine/inline_style_test.dart b/packages/unit/test/engine/inline_style_test.dart index 148ffca8db..d8d0d6ec62 100644 --- a/packages/unit/test/engine/inline_style_test.dart +++ b/packages/unit/test/engine/inline_style_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:test/test.dart'; diff --git a/packages/unit/test/engine/insert_before_test.dart b/packages/unit/test/engine/insert_before_test.dart index 2e6a5fa1e2..4af3b4bbb3 100644 --- a/packages/unit/test/engine/insert_before_test.dart +++ b/packages/unit/test/engine/insert_before_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:test/test.dart'; diff --git a/packages/unit/test/engine/mock_events.dart b/packages/unit/test/engine/mock_events.dart index 184fa8f0e8..7604b0f9af 100644 --- a/packages/unit/test/engine/mock_events.dart +++ b/packages/unit/test/engine/mock_events.dart @@ -1,6 +1,6 @@ -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 { TestPointerEvent({ diff --git a/packages/unit/test/engine/owner_scope_test.dart b/packages/unit/test/engine/owner_scope_test.dart index 6f3d69e650..4b29b17c5f 100644 --- a/packages/unit/test/engine/owner_scope_test.dart +++ b/packages/unit/test/engine/owner_scope_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:test/test.dart'; diff --git a/packages/unit/test/engine/paragraph_builder_test.dart b/packages/unit/test/engine/paragraph_builder_test.dart index 2f24391ce3..7d88d40787 100644 --- a/packages/unit/test/engine/paragraph_builder_test.dart +++ b/packages/unit/test/engine/paragraph_builder_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:test/test.dart'; diff --git a/packages/unit/test/engine/rect_test.dart b/packages/unit/test/engine/rect_test.dart index 14d7303568..6f9ec1adb3 100644 --- a/packages/unit/test/engine/rect_test.dart +++ b/packages/unit/test/engine/rect_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:test/test.dart'; diff --git a/packages/unit/test/engine/replace_child_test.dart b/packages/unit/test/engine/replace_child_test.dart index d275693c3b..ba40e156e0 100644 --- a/packages/unit/test/engine/replace_child_test.dart +++ b/packages/unit/test/engine/replace_child_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky'; +import 'dart:ui'; import 'package:test/test.dart'; diff --git a/packages/unit/test/engine/text_test.dart b/packages/unit/test/engine/text_test.dart index acec02a66c..dcd92dfadc 100644 --- a/packages/unit/test/engine/text_test.dart +++ b/packages/unit/test/engine/text_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:test/test.dart'; diff --git a/packages/unit/test/gestures/pointer_router_test.dart b/packages/unit/test/gestures/pointer_router_test.dart index 8cedf5d2dc..e9a67f3f3c 100644 --- a/packages/unit/test/gestures/pointer_router_test.dart +++ b/packages/unit/test/gestures/pointer_router_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/gestures.dart'; import 'package:test/test.dart'; diff --git a/packages/unit/test/gestures/scale_test.dart b/packages/unit/test/gestures/scale_test.dart index 6d593a72e6..6e5d59e94d 100644 --- a/packages/unit/test/gestures/scale_test.dart +++ b/packages/unit/test/gestures/scale_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/gestures.dart'; import 'package:test/test.dart'; diff --git a/packages/unit/test/gestures/scroll_test.dart b/packages/unit/test/gestures/scroll_test.dart index bee66db54b..e0ded8ffce 100644 --- a/packages/unit/test/gestures/scroll_test.dart +++ b/packages/unit/test/gestures/scroll_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/gestures.dart'; import 'package:test/test.dart'; diff --git a/packages/unit/test/rendering/image_test.dart b/packages/unit/test/rendering/image_test.dart index 7e2785f49c..be0e6f7be9 100644 --- a/packages/unit/test/rendering/image_test.dart +++ b/packages/unit/test/rendering/image_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/rendering.dart'; import 'package:test/test.dart'; diff --git a/packages/unit/test/widget/shader_mask_test.dart b/packages/unit/test/widget/shader_mask_test.dart index c92122c663..9fc0bae9e2 100644 --- a/packages/unit/test/widget/shader_mask_test.dart +++ b/packages/unit/test/widget/shader_mask_test.dart @@ -1,4 +1,4 @@ -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/painting.dart'; import 'package:sky/widgets.dart'; diff --git a/packages/unit/test/widget/widget_tester.dart b/packages/unit/test/widget/widget_tester.dart index cf8f127ee1..95964f3e98 100644 --- a/packages/unit/test/widget/widget_tester.dart +++ b/packages/unit/test/widget/widget_tester.dart @@ -1,4 +1,4 @@ -import 'dart:sky' as sky; +import 'dart:ui' as sky; import 'package:sky/animation.dart'; import 'package:sky/rendering.dart';