Rename library to dart.ui (flutter/engine#3608)

This name is consistent with how the other `dart:` libraries are named now.
This commit is contained in:
Adam Barth
2017-04-19 09:56:22 -07:00
committed by GitHub
parent 18bfdff87e
commit 6debd47af2
12 changed files with 12 additions and 12 deletions

View File

@@ -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.
///

View File

@@ -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.

View File

@@ -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();

View File

@@ -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;

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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());

View File

@@ -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 {

View File

@@ -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.

View File

@@ -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 {

View File

@@ -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';

View File

@@ -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();