Home
last modified time | relevance | path

Searched refs:getViewBounds (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DLinearLayoutManagerSnappingTest.java223 mLayoutManager.getViewBounds(view).centerX()); in assertCenterAligned()
226 mLayoutManager.getViewBounds(view).centerY()); in assertCenterAligned()
233 mLayoutManager.getViewBounds(view).centerX()); in distFromCenter()
236 mLayoutManager.getViewBounds(view).centerY()); in distFromCenter()
DStaggeredGridLayoutManagerSnappingTest.java250 mLayoutManager.getViewBounds(view).centerX()); in assertCenterAligned()
253 mLayoutManager.getViewBounds(view).centerY()); in assertCenterAligned()
272 mLayoutManager.getViewBounds(view).centerX()); in distFromCenter()
275 mLayoutManager.getViewBounds(view).centerY()); in distFromCenter()
DPagerSnapHelperTest.java254 mLayoutManager.getViewBounds(view).centerX()); in assertCenterAligned()
257 mLayoutManager.getViewBounds(view).centerY()); in assertCenterAligned()
264 - mLayoutManager.getViewBounds(view).centerX()); in distFromCenter()
267 - mLayoutManager.getViewBounds(view).centerY()); in distFromCenter()
DGridLayoutManagerSnappingTest.java217 return Math.abs(mRecyclerView.getWidth() / 2 - mGlm.getViewBounds(view).centerX()); in distFromCenter()
219 return Math.abs(mRecyclerView.getHeight() / 2 - mGlm.getViewBounds(view).centerY()); in distFromCenter()
DStaggeredGridLayoutManagerBaseConfigSetTest.java534 final Rect bounds = mLayoutManager.getViewBounds(child); in scrollToPositionWithOffsetTest()
567 Rect bounds = mLayoutManager.getViewBounds(view); in scrollToPositionTest()
585 Rect newBounds = mLayoutManager.getViewBounds(view); in scrollToPositionTest()
611 bounds = mLayoutManager.getViewBounds(view); in scrollToPositionTest()
640 final Rect bounds = mLayoutManager.getViewBounds(child); in scrollToPositionTest()
DBaseWrapContentTest.java288 mRvSize = getViewBounds(recyclerView); in Snapshot()
289 mRvParentSize = getViewBounds((View) recyclerView.getParent()); in Snapshot()
449 private Rect getViewBounds(View view) { in getViewBounds() method in BaseWrapContentTest.Snapshot
DBaseLinearLayoutManagerTest.java583 Rect getViewBounds(View view) { in getViewBounds() method
613 Rect childBounds = getViewBounds(child); in collectChildCoordinates()
DBaseGridLayoutManagerTest.java240 Rect getViewBounds(View view) { in getViewBounds() method
DLinearLayoutManagerBaseConfigSetTest.java129 final Rect bounds = mLayoutManager.getViewBounds(child); in scrollToPositionWithOffsetTest()
DBaseStaggeredGridLayoutManagerTest.java669 Rect getViewBounds(View view) { in getViewBounds() method in BaseStaggeredGridLayoutManagerTest.WrappedLayoutManager
762 items.put(vh.mBoundItem, getViewBounds(child)); in collectChildCoordinates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewTransform.java74 viewOutlineAlpha = tv.getViewBounds().getAlpha(); in fillIn()
195 v.getViewBounds().setClipBottom(0); in reset()
DTaskView.java120 tv.getViewBounds().setAlpha(alpha);
125 return tv.getViewBounds().getAlpha();
216 AnimateableViewBounds getViewBounds() { in getViewBounds() method in TaskView
336 getViewBounds().reset(); in resetViewProperties()
DTaskStackView.java811 tv.getViewBounds().setClipBottom(clipBottom); in clipTaskViews()