da85cbdb44e810c9c9ade11f65fdf36a795061ef |
|
09-Sep-2016 |
Aurimas Liutikas <aurimas@google.com> |
Stop running RecyclerView prefrech tests on pre API 21. Bug: 31399375 Change-Id: I944bf4dd8317ca83840f8b805508c43a8b785d21
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
8052423a9ffce385de32ae76fa962e6316f03677 |
|
08-Sep-2016 |
Aurimas Liutikas <aurimas@google.com> |
Convert remaining RecyclerView Android tests to JUnit4. Bug: 31101927 Change-Id: I007e6372c0870cc856168d5bb5a5eba278fa0239
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
ec4b5429886bfe93707a85823cf40de107bd9dc6 |
|
16-Aug-2016 |
Chris Craik <ccraik@google.com> |
RecyclerView item prefetching bug:27106058 If item inflation or binding are expensive, having them block the production of a frame can lead to jank/stuttering as frames with such work fail to meet rendering deadlines. RecyclerView will now query LayoutManagers for views in advance of them coming onscreen during scrolls and flings. These views are prefetched into the Recycler cache during the UI thread's idle time between handing a frame off to RenderThread, and the start of the next frame. Change-Id: If3e485231243c188efd4cf3e512b9e8e13a50d47
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
0a017072206f93474ccd2706e7983c2ff778b904 |
|
07-Jan-2016 |
Yigit Boyar <yboyar@google.com> |
Move all RecyclerView tests to Junit4 This CL moves all RecyclerView tests to Junit4 and uses the new ActivityTestRule instead of ActivityInstrumentationTest. Bug: 24494874 Change-Id: I049d8b1ac7869a6af13a3ee7905d6dd1f6eb418b
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
f1b288ec2104488f4a92e911b0ab80c8f0f3e9d1 |
|
28-Dec-2015 |
Yigit Boyar <yboyar@google.com> |
Add test size annotations to RecyclerView Tests Bug: 24494874 Change-Id: I0e7606d1c55017dc17467155372b708a0b1ea36d
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
71c54eb5572a3e93409024640b8af5740620085c |
|
30-Nov-2015 |
Yigit Boyar <yboyar@google.com> |
Use adapter position for cache invalidation Recycler was using LayoutPosition while calculating cache offsets which was wrong. This CL changes it to use adapter positions instead. Bug: 25923850 Change-Id: Ic446ec31f739fd46e54aa976ab6b02caf4a37176
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
6bc164c64d7f4cea6a1f155439269fd189a77d3b |
|
07-Jul-2015 |
Yigit Boyar <yboyar@google.com> |
Mark RecyclerView as scroll container This is necessary to properly handle window size changes. Bug: 22324832 Change-Id: I109db3db4a60eb43ea01e6d240e973bad9c3df57
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
429a9029d941a91972cd7601aa7e6d3718872c65 |
|
09-Jun-2015 |
Yigit Boyar <yboyar@google.com> |
Check for layout before handling touch events This CL fixes a bug where RecyclerView would access layout in motion event callbacks w/o checking if it exists Bug: 21614659 Change-Id: I2cc6eb3afa1d24404c00bcc6c0cc7a30d441a1de
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
ca570ddc976f20eae6dcc40bed9f6dee0e749353 |
|
04-Apr-2015 |
Yigit Boyar <yboyar@google.com> |
Exclude RecyclerView children from save state This CL fixes a small bug where RecyclerView would still call children's onSaveInstanceState although this state was never used. Now it blocks save instance state call similar to AdapterView. Bug: 20061783 Change-Id: I8bed04c2e05e473957b32f4fb70587d511af0d76
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
115ba0c7b2a14aa4cd0273952195e1d8f6468f87 |
|
10-Nov-2014 |
Yigit Boyar <yboyar@google.com> |
Deprecate ViewHolder#getPosition getPosition methods in RecyclerView were ambiguous because of the deferred handling of adapter updates. To avoid future confusion, this CL deprecates methods that receive or return "position" and introduces two methods that receive / return "layoutPosition" or "adapterPosition". This will help developers get the exact number they need (e.g. the position in adapter vs the position user is currently seeing) The following methods have been deprecated: RecyclerView#getChildPosition RecyclerView#findViewHolderForPosition ViewHolder#getPosition LayoutParams#getViewPosition Bug: 18213371 Change-Id: I52667bd43e32fc55de8861f5fdc01a0aa7fbe60f
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
abd0fbfcdd5b438909f126392eca5978b5939b6d |
|
19-Nov-2014 |
Yigit Boyar <yboyar@google.com> |
Guard layout managers calls not to crash Previously, RecyclerView would crash if a call should be handled by Layout Manager and it is not set yet. Although this makes sense, there are some cases where developer would like to set LayoutManager after checking some other logic or RecyclerView is attached/detached w/o being setup. This CL guards a bunch of public calls to print an error if LayoutManager is not present, instead of crashing. Bug: 18444564 Change-Id: I666ea346a615ca5338af32b25774bf90bbcb551c
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
bb6ebab3b3b85ec20b3bc262289a2460705322f5 |
|
25-Sep-2014 |
Yigit Boyar <yboyar@google.com> |
Set scroll state when stop scroll is called Bug: 17644072 Change-Id: Iac0b0cff4ee06b461cebb6e933a5a712a06a7a4e
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
f485be9def4c0f72cfdfa6b0c616c23f04652817 |
|
13-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Ignored views should be ignored by getViewForPosition Bug: 16950247 Change-Id: I3940ce3b049a3ae718706c503b0404f3fda43ffd
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
d4a794983364c7b1801638abc7f332abee12b6e6 |
|
28-May-2014 |
Yigit Boyar <yboyar@google.com> |
RecyclerView Cleanup Removed deprecated methods from RecyclerView. (cherry picked from commit 34106bc044343fdac6d16623166d17cda17c083e) Change-Id: Ie9de0aae4519b870302424deaf2326cbf9e4b7fc
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
b5f8b4fecb531aee6b359b4968409410aba90817 |
|
17-May-2014 |
Yigit Boyar <yboyar@google.com> |
Full animation support for LinearLayoutManager Change-Id: Ie3b265a9f880d68746d1bd193d787f34ea8d0045
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
d7d27e9ebe5c7325e67e1a8af265378bd2056cad |
|
28-Feb-2014 |
Chet Haase <chet@google.com> |
Add animations to RecyclerView This CL adds the basic plumbing for animating item changes in RecyclerView. It also implements the bare essentials add/delete animations. When the app specifies that items have been added/removed (by calling the appropriate Adapter methods), the RecyclerView will determine the appropriate fading and moving animations to animate the items being added, removed, and moved into new locations. Change-Id: I4fa8686f54c8bfa2ba29c399eea112d33f71689c
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
bde2d5e79f929ce8c54de29c8389695b4d4e9c25 |
|
15-May-2014 |
Chet Haase <chet@google.com> |
Revert "Remove adapter access from layout manager" This reverts commit 15a9db9177a871c7b1cd65b8923beac1b9b75174. Change-Id: Ia80ac4f093c49145a6a2c09d1ea4f9102b195f40
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|
15a9db9177a871c7b1cd65b8923beac1b9b75174 |
|
06-May-2014 |
Yigit Boyar <yboyar@google.com> |
Remove adapter access from layout manager Change-Id: I33a48528e3290fa78aaa67237f3b098e010e09d9
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/RecyclerViewBasicTest.java
|