Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
0e50ee6e
Commit
0e50ee6e
authored
Jun 14, 2016
by
Hans Muller
Committed by
GitHub
Jun 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove implicit dart:ui dependency (#4561)
parent
3f7dd710
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
6 deletions
+46
-6
transitions_perf_test.dart
...es/flutter_gallery/test_driver/transitions_perf_test.dart
+46
-6
No files found.
examples/flutter_gallery/test_driver/transitions_perf_test.dart
View file @
0e50ee6e
...
@@ -3,21 +3,61 @@
...
@@ -3,21 +3,61 @@
// found in the LICENSE file.
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:async'
;
import
'dart:collection'
show
LinkedHashSet
;
import
'dart:convert'
show
JsonEncoder
;
import
'dart:convert'
show
JsonEncoder
;
import
'package:file/file.dart'
;
import
'package:file/file.dart'
;
import
'package:file/io.dart'
;
import
'package:file/io.dart'
;
import
'package:flutter_driver/flutter_driver.dart'
;
import
'package:flutter_driver/flutter_driver.dart'
;
import
'package:flutter_gallery/gallery/item.dart'
show
GalleryItem
,
kAllGalleryItems
;
import
'package:path/path.dart'
as
path
;
import
'package:path/path.dart'
as
path
;
import
'package:test/test.dart'
;
import
'package:test/test.dart'
;
final
List
<
String
>
demoCategories
=
new
LinkedHashSet
<
String
>.
from
(
// Warning: this list must be kept in sync with the value of
kAllGalleryItems
.
map
((
GalleryItem
item
)
=>
item
.
category
)).
toList
();
// kAllGalleryItems.map((GalleryItem item) => item.category)).toList();
final
List
<
String
>
demoCategories
=
<
String
>[
'Demos'
,
'Components'
,
'Style'
];
final
List
<
String
>
demoTitles
=
// Warning: this list must be kept in sync with the value of
kAllGalleryItems
.
map
((
GalleryItem
item
)
=>
item
.
title
).
toList
();
// kAllGalleryItems.map((GalleryItem item) => item.title).toList();
final
List
<
String
>
demoTitles
=
<
String
>[
// Demos
// 'Pesto', TODO(hansmuller): restore when Pesto has a back button.
'Shrine'
,
'Calculator'
,
'Contacts'
,
// Components
'Buttons'
,
'Cards'
,
'Chips'
,
'Date picker'
,
'Data tables'
,
'Dialog'
,
'Expand/collapse list control'
,
'Floating action button'
,
'Grid'
,
'Icons'
,
'Leave-behind list items'
,
'List'
,
'Menus'
,
'Modal bottom sheet'
,
'Over-scroll'
,
'Page selector'
,
'Persistent bottom sheet'
,
'Progress indicators'
,
'Scrollable tabs'
,
'Selection controls'
,
'Sliders'
,
'Snackbar'
,
'Tabs'
,
'Text fields'
,
'Time picker'
,
'Tooltips'
,
// Style
'Colors'
,
'Typography'
];
Future
<
Null
>
saveDurationsHistogram
(
List
<
Map
<
String
,
dynamic
>>
events
)
async
{
Future
<
Null
>
saveDurationsHistogram
(
List
<
Map
<
String
,
dynamic
>>
events
)
async
{
final
Map
<
String
,
List
<
int
>>
durations
=
new
Map
<
String
,
List
<
int
>>();
final
Map
<
String
,
List
<
int
>>
durations
=
new
Map
<
String
,
List
<
int
>>();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment