Visitar URL original
Update version in CHANGELOG and pubspec by tarobins · Pull Request #70 · flutter/packages · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
140de2e
Add logs
tarobins Jan 18, 2020
5970861
Add timing to test
tarobins Jan 18, 2020
4550af2
add obama test
tarobins Jan 18, 2020
1867ce2
add obama to demo
tarobins Jan 19, 2020
9335412
track last color
tarobins Jan 18, 2020
207617f
Clean up code
tarobins Jan 19, 2020
869da5c
Clean up code
tarobins Jan 19, 2020
adde10c
Merge branch 'optimizeHistogram' of github.com:tarobins/packages into…
tarobins Jan 19, 2020
da3a598
Fix env file
tarobins Jan 19, 2020
f98b405
Switch to splay tree
tarobins Jan 19, 2020
0481cfd
Revert "Switch to splay tree"
tarobins Jan 19, 2020
b162805
Use multidimensional hashmap
tarobins Jan 20, 2020
659f279
Clean up code
tarobins Jan 19, 2020
9ae1747
Clean up code
tarobins Jan 19, 2020
bb6b281
Fix env file
tarobins Jan 19, 2020
9853557
Switch to splay tree
tarobins Jan 19, 2020
66228af
Revert "Switch to splay tree"
tarobins Jan 19, 2020
b654451
Merge branch 'optimizeHistogram' of github.com:tarobins/packages into…
tarobins Jan 20, 2020
d09db0f
fix type spec
tarobins Jan 20, 2020
027355c
Fix spacing
tarobins Jan 20, 2020
ac4034b
Use list for keys
tarobins Jan 21, 2020
6114c2f
Clean up code
tarobins Jan 19, 2020
11d896d
Clean up code
tarobins Jan 19, 2020
45794c6
Fix env file
tarobins Jan 19, 2020
a1bcf9b
Revert "Switch to splay tree"
tarobins Jan 19, 2020
61817d4
Clean up code
tarobins Jan 19, 2020
8de3b0a
Clean up code
tarobins Jan 19, 2020
2a7e71f
fix type spec
tarobins Jan 20, 2020
cd5c678
Fix spacing
tarobins Jan 20, 2020
8a11f81
Merge branch 'optimizeHistogram' of github.com:tarobins/packages into…
tarobins Jan 21, 2020
c9054b9
format fix
tarobins Jan 21, 2020
2a5f8d7
Merge branch 'master' of github.com:flutter/packages into optimizeHis…
tarobins Jan 23, 2020
8a65531
Update versions in CHANGELOG and pubspec.
tarobins Jan 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Clean up code
  • Loading branch information
tarobins committed Jan 21, 2020
commit 61817d4b897ebea1c7fc43e515d0dd4db559d731
2 changes: 0 additions & 2 deletions packages/palette_generator/lib/palette_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,6 @@ class _ColorCutQuantizer {
await image.toByteData(format: ui.ImageByteFormat.rawRgba);
final Iterable<Color> pixels =
_getImagePixels(imageData, image.width, image.height, region: region);

final _ColorHistogram hist = _ColorHistogram();
Color currentColor;
_ColorCount currentColorCount;
Expand All @@ -1203,7 +1202,6 @@ class _ColorCutQuantizer {
}
currentColorCount.value = currentColorCount.value + 1;
}
// Now let's remove any colors that the filters want to ignore.
hist.removeWhere((Color color) {
return _shouldIgnoreColor(color);
});
Expand Down