| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an overscroll effect implementation that mimics that of Android L. The
primary differences are the use of a single rasterized arc layer and the
inclusion of motion orthogonal to overscroll in computing the effect offset.
BUG=389744
Review URL: https://codereview.chromium.org/367173003
Cr-Commit-Position: refs/heads/master@{#290052}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290052 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/454863003/)
Reason for revert:
The ToT builder failures appear to be unrelated to this change, and the
upstream instrumentation already exercise these code paths. Tentatively
reverting the revert and will keep an eye on downstream rolls.
Original issue's description:
> Revert of [Android] Use UIResource for overscroll glow (https://codereview.chromium.org/422013003/)
>
> Reason for revert:
> This is breaking chrome ToT downstream and the change quie complex so
> I don't feel qualified to try to fix it in place.
>
> The failure we hit is
> F/chromium( 2961): [FATAL:system_ui_resource_manager_impl.cc(35)] Check failed: !bitmap.empty().
>
> See an example of a failed run in
> https://uberchromegw.corp.google.com/i/clank.tot/builders/instrumentation-yakju-clankium-tot/builds/32007
>
> (but just trying to boot clank with this patch will trigger it)
>
>
> Original issue's description:
> > [Android] Use UIResource for overscroll glow
> >
> > Introduce a SystemUIResourceManager class for loading and providing access to
> > shared UIResourceId's. Wire this class to the existing OverscrollGlow effect,
> > using the shared id's with a UIResourceLayer for both glow and edge layers.
> >
> > This patch is a subset of powei@'s original SystemUIResource patch found at
> > https://codereview.chromium.org/377013002/.
> >
> > BUG=326326
> >
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288095
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288330
TBR=aelias@chromium.org,powei@chromium.org,yfriedman@chromium.org,sky@chromium.org,miguelg@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=326326
Review URL: https://codereview.chromium.org/454113002
Cr-Commit-Position: refs/heads/master@{#288392}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288392 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/422013003/)
Reason for revert:
This is breaking chrome ToT downstream and the change quie complex so
I don't feel qualified to try to fix it in place.
The failure we hit is
F/chromium( 2961): [FATAL:system_ui_resource_manager_impl.cc(35)] Check failed: !bitmap.empty().
See an example of a failed run in
https://uberchromegw.corp.google.com/i/clank.tot/builders/instrumentation-yakju-clankium-tot/builds/32007
(but just trying to boot clank with this patch will trigger it)
Original issue's description:
> [Android] Use UIResource for overscroll glow
>
> Introduce a SystemUIResourceManager class for loading and providing access to
> shared UIResourceId's. Wire this class to the existing OverscrollGlow effect,
> using the shared id's with a UIResourceLayer for both glow and edge layers.
>
> This patch is a subset of powei@'s original SystemUIResource patch found at
> https://codereview.chromium.org/377013002/.
>
> BUG=326326
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288095
TBR=aelias@chromium.org,powei@chromium.org,yfriedman@chromium.org,sky@chromium.org,jdduke@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=326326
Review URL: https://codereview.chromium.org/454863003
Cr-Commit-Position: refs/heads/master@{#288330}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288330 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce a SystemUIResourceManager class for loading and providing access to
shared UIResourceId's. Wire this class to the existing OverscrollGlow effect,
using the shared id's with a UIResourceLayer for both glow and edge layers.
This patch is a subset of powei@'s original SystemUIResource patch found at
https://codereview.chromium.org/377013002/.
BUG=326326
Review URL: https://codereview.chromium.org/422013003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288095 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The effect layers were transformed to the wrong position, as the anchor
point has been replaced with transformed origin in
https://codereview.chromium.org/295193002.
BUG=382087
Review URL: https://codereview.chromium.org/319183011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275731 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change aligns overscroll glow behavior with the Android platform, where
the glow layers remain "fixed" to the content edges rather than the screen
edges as the user resumes scrolling.
BUG=360491
Review URL: https://codereview.chromium.org/227713006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263411 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This re-rasterizes CPU-rasterized layers animating scale at the
maximum scale that will be applied during the animation, if this
maximum scale can be computed.
BUG=224913
Review URL: https://codereview.chromium.org/226283004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Raise the beauty factor to the max.
NOTRY=true
BUG=308761
Review URL: https://codereview.chromium.org/27729003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229390 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Subsampling the overscroll images when they are first loaded reduces both the
their initial memory footprint and the time required to perform the final
resize.
BUG=245903
Review URL: https://chromiumcodereview.appspot.com/21206003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214874 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes clang build of Chrome-On-Android.
BUG=265563
TEST="ninja -C out/Debug -j512 -l15 chrome_apk" works.
R=thakis@chromium.org, yfriedman@chromium.org
Review URL: https://codereview.chromium.org/21116003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214361 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Android fixes and post-Linux cleanup
BUG=110610
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/16907002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206179 0039d316-1c4b-4281-b951-d872f2087c98
|
|
Android provides simple edge effect animations for scrollable widgets. However,
these are incompatible with performance constraints in the current compositing
architecture.
This patch implements a native version of the Android EdgeEffect and OverScroll
behaviors, with hooks for animation and addition to a given layer. The necessary
textures are also added as Android resources.
BUG=135975
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/14268004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200846 0039d316-1c4b-4281-b951-d872f2087c98
|