From 6debd47af20a3ca8a6c42cc339a384dd55d7a467 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Wed, 19 Apr 2017 09:56:22 -0700 Subject: [PATCH] Rename library to dart.ui (flutter/engine#3608) This name is consistent with how the other `dart:` libraries are named now. --- engine/src/flutter/lib/ui/compositing.dart | 2 +- engine/src/flutter/lib/ui/geometry.dart | 2 +- engine/src/flutter/lib/ui/hash_codes.dart | 2 +- engine/src/flutter/lib/ui/hooks.dart | 2 +- engine/src/flutter/lib/ui/lerp.dart | 2 +- engine/src/flutter/lib/ui/natives.dart | 2 +- engine/src/flutter/lib/ui/painting.dart | 2 +- engine/src/flutter/lib/ui/pointer.dart | 2 +- engine/src/flutter/lib/ui/semantics.dart | 2 +- engine/src/flutter/lib/ui/text.dart | 2 +- engine/src/flutter/lib/ui/ui.dart | 2 +- engine/src/flutter/lib/ui/window.dart | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/engine/src/flutter/lib/ui/compositing.dart b/engine/src/flutter/lib/ui/compositing.dart index a37af9c984..cab886f5c2 100644 --- a/engine/src/flutter/lib/ui/compositing.dart +++ b/engine/src/flutter/lib/ui/compositing.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. -part of dart_ui; +part of dart.ui; /// An opaque object representing a composited scene. /// diff --git a/engine/src/flutter/lib/ui/geometry.dart b/engine/src/flutter/lib/ui/geometry.dart index 7e81d53912..ad34558290 100644 --- a/engine/src/flutter/lib/ui/geometry.dart +++ b/engine/src/flutter/lib/ui/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. -part of dart_ui; +part of dart.ui; /// Base class for [Size] and [Offset], which are both ways to describe /// a distance as a two-dimensional axis-aligned vector. diff --git a/engine/src/flutter/lib/ui/hash_codes.dart b/engine/src/flutter/lib/ui/hash_codes.dart index 74e338180e..033133dae2 100644 --- a/engine/src/flutter/lib/ui/hash_codes.dart +++ b/engine/src/flutter/lib/ui/hash_codes.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. -part of dart_ui; +part of dart.ui; class _HashEnd { const _HashEnd(); } const _HashEnd _hashEnd = const _HashEnd(); diff --git a/engine/src/flutter/lib/ui/hooks.dart b/engine/src/flutter/lib/ui/hooks.dart index 089c08380f..94ad415bc0 100644 --- a/engine/src/flutter/lib/ui/hooks.dart +++ b/engine/src/flutter/lib/ui/hooks.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. -part of dart_ui; +part of dart.ui; String _decodeUTF8(ByteData message) { return message != null ? UTF8.decoder.convert(message.buffer.asUint8List()) : null; diff --git a/engine/src/flutter/lib/ui/lerp.dart b/engine/src/flutter/lib/ui/lerp.dart index d464dca273..76d2d10032 100644 --- a/engine/src/flutter/lib/ui/lerp.dart +++ b/engine/src/flutter/lib/ui/lerp.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. -part of dart_ui; +part of dart.ui; /// Linearly interpolate between two numbers. double lerpDouble(num a, num b, double t) { diff --git a/engine/src/flutter/lib/ui/natives.dart b/engine/src/flutter/lib/ui/natives.dart index ee794c25c1..9a9a4d4d45 100644 --- a/engine/src/flutter/lib/ui/natives.dart +++ b/engine/src/flutter/lib/ui/natives.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. -part of dart_ui; +part of dart.ui; // Corelib 'print' implementation. void _print(arg) { diff --git a/engine/src/flutter/lib/ui/painting.dart b/engine/src/flutter/lib/ui/painting.dart index 7ee9e9e1f0..1e635ffcb2 100644 --- a/engine/src/flutter/lib/ui/painting.dart +++ b/engine/src/flutter/lib/ui/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. -part of dart_ui; +part of dart.ui; Color _scaleAlpha(Color a, double factor) { return a.withAlpha((a.alpha * factor).round()); diff --git a/engine/src/flutter/lib/ui/pointer.dart b/engine/src/flutter/lib/ui/pointer.dart index a631a2bc6d..c9295dbe18 100644 --- a/engine/src/flutter/lib/ui/pointer.dart +++ b/engine/src/flutter/lib/ui/pointer.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. -part of dart_ui; +part of dart.ui; /// How the pointer has changed since the last report. enum PointerChange { diff --git a/engine/src/flutter/lib/ui/semantics.dart b/engine/src/flutter/lib/ui/semantics.dart index 7c7d608e76..471000a480 100644 --- a/engine/src/flutter/lib/ui/semantics.dart +++ b/engine/src/flutter/lib/ui/semantics.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. -part of dart_ui; +part of dart.ui; /// The possible actions that can be conveyed from the operating system /// accessibility APIs to a semantics node. diff --git a/engine/src/flutter/lib/ui/text.dart b/engine/src/flutter/lib/ui/text.dart index 88beb99839..21839e0cf5 100644 --- a/engine/src/flutter/lib/ui/text.dart +++ b/engine/src/flutter/lib/ui/text.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. -part of dart_ui; +part of dart.ui; /// Whether to slant the glyphs in the font enum FontStyle { diff --git a/engine/src/flutter/lib/ui/ui.dart b/engine/src/flutter/lib/ui/ui.dart index 2dd261d27b..06801404d8 100644 --- a/engine/src/flutter/lib/ui/ui.dart +++ b/engine/src/flutter/lib/ui/ui.dart @@ -9,7 +9,7 @@ /// This library exposes the lowest-level services that Flutter frameworks use /// to bootstrap applications, such as classes for driving the input, graphics /// text, layout, and rendering subsystems. -library dart_ui; +library dart.ui; import 'dart:_internal'; import 'dart:async'; diff --git a/engine/src/flutter/lib/ui/window.dart b/engine/src/flutter/lib/ui/window.dart index 650ae1fe59..614a597b19 100644 --- a/engine/src/flutter/lib/ui/window.dart +++ b/engine/src/flutter/lib/ui/window.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. -part of dart_ui; +part of dart.ui; /// Signature of callbacks that have no arguments and return no data. typedef void VoidCallback();