/frameworks/base/core/java/com/android/internal/widget/ |
D | LinearLayoutManager.java | 80 OrientationHelper mOrientationHelper; field in LinearLayoutManager 248 state.mAnchorOffset = mOrientationHelper.getEndAfterPadding() in onSaveInstanceState() 249 - mOrientationHelper.getDecoratedEnd(refChild); in onSaveInstanceState() 254 state.mAnchorOffset = mOrientationHelper.getDecoratedStart(refChild) in onSaveInstanceState() 255 - mOrientationHelper.getStartAfterPadding(); in onSaveInstanceState() 333 mOrientationHelper = null; in setOrientation() 427 return mOrientationHelper.getTotalSpace(); in getExtraLayoutSpace() 512 extraForStart += mOrientationHelper.getStartAfterPadding(); 513 extraForEnd += mOrientationHelper.getEndPadding(); 524 current = mOrientationHelper.getEndAfterPadding() [all …]
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | LinearLayoutManager.java | 80 OrientationHelper mOrientationHelper; field in LinearLayoutManager 256 state.mAnchorOffset = mOrientationHelper.getEndAfterPadding() in onSaveInstanceState() 257 - mOrientationHelper.getDecoratedEnd(refChild); in onSaveInstanceState() 262 state.mAnchorOffset = mOrientationHelper.getDecoratedStart(refChild) in onSaveInstanceState() 263 - mOrientationHelper.getStartAfterPadding(); in onSaveInstanceState() 340 if (orientation != mOrientation || mOrientationHelper == null) { in setOrientation() 341 mOrientationHelper = in setOrientation() 343 mAnchorInfo.mOrientationHelper = mOrientationHelper; in setOrientation() 439 return mOrientationHelper.getTotalSpace(); in getExtraLayoutSpace() 506 } else if (focused != null && (mOrientationHelper.getDecoratedStart(focused) [all …]
|
D | GridLayoutManager.java | 420 final int boundsStart = mOrientationHelper.getStartAfterPadding(); in findReferenceChild() 421 final int boundsEnd = mOrientationHelper.getEndAfterPadding(); in findReferenceChild() 436 } else if (mOrientationHelper.getDecoratedStart(view) >= boundsEnd in findReferenceChild() 437 || mOrientationHelper.getDecoratedEnd(view) < boundsStart) { in findReferenceChild() 526 final int otherDirSpecMode = mOrientationHelper.getModeInOther(); in layoutChunk() 594 final int size = mOrientationHelper.getDecoratedMeasurement(view); in layoutChunk() 599 final float otherSize = 1f * mOrientationHelper.getDecoratedMeasurementInOther(view) in layoutChunk() 613 final int size = mOrientationHelper.getDecoratedMeasurement(view); in layoutChunk() 624 if (mOrientationHelper.getDecoratedMeasurement(view) != maxSize) { in layoutChunk() 675 left = right - mOrientationHelper.getDecoratedMeasurementInOther(view); in layoutChunk() [all …]
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | GridLayoutManagerBaseConfigSetTest.java | 64 final int scrollStep = (mGlm.mOrientationHelper.getTotalSpace() / 20) in scrollBackAndPreservePositionsTest() 86 mGlm.mOrientationHelper.getDecoratedEnd(child); in scrollBackAndPreservePositionsTest() 89 mGlm.mOrientationHelper.getDecoratedStart(child); in scrollBackAndPreservePositionsTest() 151 mGlm.mOrientationHelper.getDecoratedEnd(child); in scrollBackAndPreservePositionsTest() 154 mGlm.mOrientationHelper.getDecoratedStart(child); in scrollBackAndPreservePositionsTest()
|
D | BaseLinearLayoutManagerTest.java | 511 sb.append("view bounds:[start:").append(mOrientationHelper.getStartAfterPadding()) in getBoundsLog() 512 .append(",").append(" end").append(mOrientationHelper.getEndAfterPadding()); in getBoundsLog() 519 mOrientationHelper.getDecoratedStart(child)).append(", end:") in getBoundsLog() 520 .append(mOrientationHelper.getDecoratedEnd(child)).append("]\n"); in getBoundsLog() 547 final int start = mOrientationHelper.getStartAfterPadding(); in traverseAndFindVisibleChildren() 548 final int end = mOrientationHelper.getEndAfterPadding(); in traverseAndFindVisibleChildren() 551 final int childStart = mOrientationHelper.getDecoratedStart(child); in traverseAndFindVisibleChildren() 552 final int childEnd = mOrientationHelper.getDecoratedEnd(child); in traverseAndFindVisibleChildren() 586 mOrientationHelper.getDecoratedStart(view), in getViewBounds() 588 mOrientationHelper.getDecoratedEnd(view), in getViewBounds() [all …]
|
D | ScrollToPositionWithAutoMeasure.java | 46 test(llm, llm.mOrientationHelper); in testLinearLayoutManager() 53 test(glm, glm.mOrientationHelper); in testGridLayoutManager()
|
D | BaseGridLayoutManagerTest.java | 243 mOrientationHelper.getDecoratedStart(view), in getViewBounds() 245 mOrientationHelper.getDecoratedEnd(view), in getViewBounds() 250 mOrientationHelper.getDecoratedStart(view), in getViewBounds() 252 mOrientationHelper.getDecoratedEnd(view)); in getViewBounds()
|
D | LinearLayoutManagerBaseConfigSetTest.java | 81 mLayoutManager.mOrientationHelper.getEnd() - 500); in scrollToPositionWithOffsetTest() 207 final int totalSpace = mLayoutManager.mOrientationHelper.getTotalSpace(); in getFirstLastChildrenTest() 238 OrientationHelper helper = mLayoutManager.mOrientationHelper; in dontRecycleViewsTranslatedOutOfBoundsFromStart() 272 OrientationHelper helper = mLayoutManager.mOrientationHelper; in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
|
D | LinearLayoutManagerPrepareForDropTest.java | 153 final OrientationHelper helper = mLayoutManager.mOrientationHelper; in prepareForDropTest()
|
D | LinearLayoutManagerTest.java | 968 final int top = mLayoutManager.mOrientationHelper.getDecoratedStart(vh.itemView); in keepFocusOnRelayout() 982 mLayoutManager.mOrientationHelper.getDecoratedStart(postVH.itemView)); in keepFocusOnRelayout() 1023 final OrientationHelper helper = mLayoutManager.mOrientationHelper; in keepFocusOnResizeTest()
|
D | GridLayoutManagerTest.java | 883 final OrientationHelper helper = mGlm.mOrientationHelper; in layoutParamsTest()
|
/frameworks/support/car/src/main/java/androidx/car/widget/ |
D | PagedListView.java | 130 private OrientationHelper mOrientationHelper; field in PagedListView 810 if (mOrientationHelper == null || mOrientationHelper.getLayoutManager() != layoutManager) { in getOrientationHelper() 812 mOrientationHelper = OrientationHelper.createVerticalHelper(layoutManager); in getOrientationHelper() 814 return mOrientationHelper; in getOrientationHelper()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | GridLayoutManager.java | 439 private OrientationHelper mOrientationHelper = OrientationHelper.createHorizontalHelper(this); field in GridLayoutManager 725 mOrientationHelper = OrientationHelper.createOrientationHelper(this, mOrientation); in setOrientation() 1136 return mOrientationHelper.getDecoratedStart(v); in getViewMin() 1140 return mOrientationHelper.getDecoratedEnd(v); in getViewMax()
|