Eric Seidel
4b1def112b
Add ViewConfiguration and make our scrollbar size match Android
...
Turns out scrollbars are very inconsistent throughout Android apps.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/955653005
2015-02-24 14:23:54 -08:00
Adam Barth
bc9b3e319e
Fix subtle bugs in sky-scrollable
...
Previously the scrollbar wasn't constrained to the scrollable element and we
had messed up the math on the fling curve.
TBR=eseidel@chromium.org
Review URL: https://codereview.chromium.org/947303003
2015-02-23 14:20:52 -08:00
Adam Barth
798b67fe0c
Fix typos in sky-drawer and sky-scrollable
...
Now that I can test these with a touch device, I found a few runtime errors
that are fixed in this CL.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/948073002
2015-02-23 10:12:34 -08:00
Adam Barth
fe31fd0e4c
Port sky-scrollable to Dart
...
This CL ports sky-scrollable to the new sky-element.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/950603002
2015-02-21 09:56:22 -08:00
Adam Barth
63b6ffb281
Normalize import paths for Sky modules
...
This CL simplifies the sky_server to only map the build directory into /gen,
which will make the deploy script simpler. This CL updates all the imports to
use the /gen prefix when referring to generated files.
TBR=eseidel@chromium.org
Review URL: https://codereview.chromium.org/881093003
2015-01-27 17:04:40 -08:00
Adam Barth
a251a157a7
The scrollbar in sky-scrollable should fade in and out
...
Also, move the vbar after the scrollable div so that it draws on top.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/879003002
2015-01-27 11:11:49 -08:00
Adam Barth
c3fc9e9663
Add wheel support to sky-scrollable
...
This CL plumbs wheel events through Sky again and uses them in sky-scrollable.
R=ojan@chromium.org
Review URL: https://codereview.chromium.org/876853005
2015-01-27 09:58:22 -08:00
Adam Barth
73d3d84b27
Add a scrollbar to sky-scrollable
...
Ideally the scrollbar would animate out when you stop scrolling, but we're not
quite that good yet.
R=ojan@chromium.org
Review URL: https://codereview.chromium.org/882583002
2015-01-26 21:37:25 -08:00
Adam Barth
d05380e397
sky-scrollable should use a reasonable fling curve
...
This CL uses the aura fling curve to ease flings. Also, I've made Event#timeStamp
use consistent units and timebase with the requestAnimationFrame timestamp. Now
both are doubles of milliseconds since the epoch.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/880473003
2015-01-26 17:34:28 -08:00
Adam Barth
7ded81cc4f
Add a basic sky-scrollable element that scrolls
...
We still need to polish sky-scrollable, but it basically works.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/875953004
2015-01-26 13:29:38 -08:00