99441c5d7da45c10b729185852be97cbb0bdc8d5 |
|
12-Oct-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix import statements in android.widget package. Additionally this CL removes spaces at the end of the line. Test: code still compiles. Change-Id: I1ce98b4e70aa3ae614f87966c3bc6181fa4389a4
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
80756e38882720860db52f1fcc21fa1505a02abf |
|
02-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate ARGB integer parameters with @ColorInt Change-Id: I307f72a382272cf18ddb6b07d9fcb81228568d9a
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
e573aa9371fc507075219cd078117f96ba8b3b02 |
|
11-Feb-2015 |
Neil Fuller <nfuller@google.com> |
Remove usages of FloatMath Bug: https://code.google.com/p/android/issues/detail?id=36199 Change-Id: Iec8fb663ed54eb967050f6ff25a36ba534204c4d
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
c6c744da75cfb79ba758a60baa3029495016fcfe |
|
19-Sep-2014 |
Adam Powell <adamp@google.com> |
Add colorEdgeEffect to themes, default it to colorPrimary Allow edgeeffect colors to be changed independently of the primary color for the current theme. Bug 16512225 Change-Id: Ibc13ad755f489fe1f6d16af0c61a1d12dd1a61f7
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
710c456ddb32fe05e13965183e7018015da52eae |
|
05-Sep-2014 |
Adam Powell <adamp@google.com> |
Material EdgeEffect refinements Add back auto-recede for EdgeEffect, but with a longer delay. Removing it caused compatibility issues in existing custom views that never call onRelease. The longer delay will be a signal that something is amiss without disrupting the UX too badly. Recede the glow more quickly on release. Start translucent and fade to more opaque as the glow grows and is pulled further. Make the opacity stronger in the extreme cases so the glow is more prominent. Equalize glow size across the width and height. Bug 15146438 Bug 15936708 Change-Id: I020d705906e6225b044d0f5303bafa733a679a66
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
8eeb729cf20b770823514d83d3c2b5391a3d51e1 |
|
16-Jul-2014 |
Chris Craik <ccraik@google.com> |
Avoid arc for edge effect drawing. b/16131698 Tessellation doesn't support joins, which filled arcs have. Change-Id: I566d0c1c39f058bb641aa24d2a4488b0aaa1b454
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
ccb2466b5db5314c3f2beed4ecb474373160ffc0 |
|
08-Jul-2014 |
Adam Powell <adamp@google.com> |
Avoid texture path drawing for EdgeEffect Make sure we stay on tesselated geometry code paths instead of texture generation. Bug 16131698 Change-Id: I6b934e718e1d3c5164a8ede71b1240ce761eaf71
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
a279918c5b709ce15edcccbd176108a0b0a07750 |
|
21-Jun-2014 |
Brian Attwell <brianattwell@google.com> |
Add EdgeEffect#setColor Bug: 15725269 Change-Id: Ifdb0a53d1f17e2433683e51d09588545b69e6238
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
9be22455ac2548dd822bdfa7e4091561eac67d57 |
|
04-Jun-2014 |
Adam Powell <adamp@google.com> |
Fix EdgeEffect clipping and AbsListView's use of it Make sure that we clip the edge glow against the edges of the view and not against padding. If we're clipping to padding already, this will happen automatically. Bug 15020863 Change-Id: I4645c92f2a372d3c9fa8bb5a9fda44c0d82ac4cf
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
dcf7b59f845297c6e96950615e439d96ce3fb739 |
|
03-Jun-2014 |
Alan Viverette <alanv@google.com> |
Update theme colors, fix EditText state transition BUG: 11218747 BUG: 15200201 Change-Id: I94368897ea9466ae971b25fc80d6ca43433aadd5
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
2897a6fdedd23efe96cd373886da78f1f1d18442 |
|
13-May-2014 |
Adam Powell <adamp@google.com> |
Tweak EdgeEffect Make the effect less prominent/bulbous and not hit limits quite so easily. Change-Id: Ib8fdc29867276e6d0db447b60db0d7be3503d4d8
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
c501db9f44f7967961f0ba61a0b3b63055ac1190 |
|
08-May-2014 |
Adam Powell <adamp@google.com> |
New, inkier EdgeEffect visual style Remove the two-part gradient and edge glow and replace it with a circular ink-like style instead. This now follows the theme color palette so that it can be more in tune with the app's overall visual design. Add API to EdgeEffect to specify a horizontal displacement for the effect. This lets the larger middle section follow relevant touch points. Fix a bug that caused EdgeEffect pulls to stutter in ListView/GridView as a result of some annoying state-fluttering. Change-Id: Ief144b06bd9d3dbe85d3154585a703fa552b0808
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
8eea3ea5591e59f55cbb4f6b2b7e9363a285ced3 |
|
04-Feb-2014 |
Alan Viverette <alanv@google.com> |
Add APIs for obtaining themed Drawable from Theme, Context BUG: 12611005 Change-Id: Ic0057be4e4c2d0c61ce02a019b3f7d0625e3a016
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
2d1acfc9f7e1502a5dbb8cab54289d6fbb880467 |
|
28-Sep-2013 |
Christian Robertson <robertsonc@google.com> |
New, less blue overscroll assets with tuned constants in EdgeEffect class. Glow absorb animation was very slow with high velocity flings. Clamped the velocity and adjusted constants for start values and duration of absorb animation. Change-Id: Id2a87814498e05f5f8ceb942dd1d765874461beb
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
a8bfeaf4f49fa33e96f37302f9c9b99c94aa1581 |
|
15-Mar-2012 |
Romain Guy <romainguy@google.com> |
Cleanup ListView glow's optimized invalidates Change-Id: Ie9759fd95366866512ec55072aa482f972650d15
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
9d849a2f6351caed83105b90cab79223ec2bfbd3 |
|
15-Mar-2012 |
Romain Guy <romainguy@google.com> |
Optimize invalidate calls in lists. AbsListView was doing too many invalidates during scrolls/flings. Some of them were also covering too large an area of the screen. Change-Id: I68fe5dda3657bddd673996e7cf4f3c3672c66cfc
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
539ee8716b4f81260bab2e9f3dc5d88d81c99985 |
|
04-Feb-2012 |
Adam Powell <adamp@google.com> |
Add transient state tracking to Views Transient state is temporary bookkeeping that Views need to perform that the app should not need to be aware of. Examples include text selection regions and animation state. Transient state is a problem for AdapterViews like ListView that do view recycling. Unless the app takes responsibility for tracking and restoring transient state as if it were a part of the adapter's data set, it cannot correctly recycle views. Selections disappear when an EditText is scrolled out of sight and animations seem to play on the wrong views. Views can now flag themselves as having transient state. (As the name implies, this should be a temporary condition.) If a ViewGroup contains a child with transient state, that ViewGroup also has transient state. AbsListView's recycler now tracks views with transient state separately. Views with transient state will be retained, and until a data set change occurs the same view will be reused for that position instead of calling the adapter's getView() method. The API to set and check transient state is currently hidden. Change-Id: Idfd8eaac2c548337686d8d9f98fda4c64be5b8a0
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
1373a8eb581fe3c8e9a036e69042015f98a7e346 |
|
11-Nov-2011 |
Christopher Tate <ctate@google.com> |
Localized optimizations in views and bitmaps * Don't call context.getResources() redundantly when unnecessary; similarly for Resources.getCompatibilityInfo() * During bitmap creation, don't bother clearing to 0: it's unnecessary because now that the raw bits are stored in a VM-side byte array, it was cleared at initialization time. Also, don't use the sanity- checking public entry point to erase to a color, because we know that we're by definition in a "legal" path to erase to the initial contents and don't need to incur the overhead of the (inappropriate) sanity checking. Change-Id: Idaca4d64fdecefd5d51337646ead32e1db510e02
/frameworks/base/core/java/android/widget/EdgeEffect.java
|
89935e41c593a599e8955388b27fb926e60e5e94 |
|
31-Aug-2011 |
Adam Powell <adamp@google.com> |
Make EdgeEffect public API. This enables apps to make use of the system's visual edge effect used during overscroll in 2D content. Also un-@hide the getCurrVelocity methods from Scroller/OverScroller, without which it becomes cumbersome to obtain values to pass to the EdgeEffect#onAbsorb method. Change-Id: I40e452455f5cb5d45d1fb3687f739fc8eae65560
/frameworks/base/core/java/android/widget/EdgeEffect.java
|