Home
last modified time | relevance | path

Searched refs:mPreLayoutPos (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewAnimationsTest.java543 int mPreLayoutPos; field in BaseRecyclerViewAnimationsTest.PositionConstraint
553 constraint.mPreLayoutPos = preLayoutPos; in scrap()
562 constraint.mPreLayoutPos = preLayoutPos; in adapterScrap()
570 constraint.mPreLayoutPos = RecyclerView.NO_POSITION; in adapter()
578 if (mPreLayoutPos >= 0) { in assertValidate()
592 ", pre=" + mPreLayoutPos + in toString()
612 assertEquals(this + ": pre-layout position should match\n" + log, mPreLayoutPos, in validate()
615 assertEquals(this + ": pre-layout getPosition should match\n" + log, mPreLayoutPos, in validate()
DRecyclerViewAnimationsTest.java1672 ids[i] = constraints[i].mPreLayoutPos; in positionStatesTest()
1682 if (constraint.mPreLayoutPos != -1) { in positionStatesTest()
1683 constraint.validate(state, positions.get(constraint.mPreLayoutPos), in positionStatesTest()