Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: samples-dev/swarm/swarm_ui_lib/touch/Geometry.dart

Issue 2828603002: Format samples and samples-dev directories. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: samples-dev/swarm/swarm_ui_lib/touch/Geometry.dart
diff --git a/samples-dev/swarm/swarm_ui_lib/touch/Geometry.dart b/samples-dev/swarm/swarm_ui_lib/touch/Geometry.dart
index db6067af728944af40828e588dc2ee0a939e7291..6f033c5990c30ef0768ffc2b340a7d2a63072617 100644
--- a/samples-dev/swarm/swarm_ui_lib/touch/Geometry.dart
+++ b/samples-dev/swarm/swarm_ui_lib/touch/Geometry.dart
@@ -8,7 +8,6 @@ part of touch;
* Represents a point in 2 dimensional space.
*/
class Coordinate {
-
/**
* X-value
*/
@@ -19,8 +18,7 @@ class Coordinate {
*/
num y;
- Coordinate([num this.x = 0, num this.y = 0]) {
- }
+ Coordinate([num this.x = 0, num this.y = 0]) {}
/**
* Gets the coordinates of a touch's location relative to the window's
@@ -66,7 +64,6 @@ class Coordinate {
* Represents the interval { x | start <= x < end }.
*/
class Interval {
-
final num start;
final num end;
@@ -83,8 +80,7 @@ class Interval {
int get hashCode => throw new UnimplementedError();
Interval union(Interval other) {
- return new Interval(Math.min(start, other.start),
- Math.max(end, other.end));
+ return new Interval(Math.min(start, other.start), Math.max(end, other.end));
}
bool contains(num value) {
« no previous file with comments | « samples-dev/swarm/swarm_ui_lib/touch/FxUtil.dart ('k') | samples-dev/swarm/swarm_ui_lib/touch/InfiniteScroller.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698