Searched refs:mOrientationHelper (Results 1 – 10 of 10) sorted by relevance
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LinearLayoutManager.java | 82 OrientationHelper mOrientationHelper; field in LinearLayoutManager 246 state.mAnchorOffset = mOrientationHelper.getEndAfterPadding() - in onSaveInstanceState() 247 mOrientationHelper.getDecoratedEnd(refChild); in onSaveInstanceState() 252 state.mAnchorOffset = mOrientationHelper.getDecoratedStart(refChild) - in onSaveInstanceState() 253 mOrientationHelper.getStartAfterPadding(); in onSaveInstanceState() 331 mOrientationHelper = null; in setOrientation() 417 return mOrientationHelper.getTotalSpace(); in getExtraLayoutSpace() 507 extraForStart += mOrientationHelper.getStartAfterPadding(); 508 extraForEnd += mOrientationHelper.getEndPadding(); 519 current = mOrientationHelper.getEndAfterPadding() - [all …]
|
D | GridLayoutManager.java | 410 final int boundsStart = mOrientationHelper.getStartAfterPadding(); in findReferenceChild() 411 final int boundsEnd = mOrientationHelper.getEndAfterPadding(); in findReferenceChild() 425 } else if (mOrientationHelper.getDecoratedStart(view) >= boundsEnd || in findReferenceChild() 426 mOrientationHelper.getDecoratedEnd(view) < boundsStart) { in findReferenceChild() 500 final int otherDirSpecMode = mOrientationHelper.getModeInOther(); in layoutChunk() 571 final int mainSpec = getChildMeasureSpec(mOrientationHelper.getTotalSpace(), in layoutChunk() 572 mOrientationHelper.getMode(), 0, in layoutChunk() 584 final int size = mOrientationHelper.getDecoratedMeasurement(view); in layoutChunk() 588 final float otherSize = 1f * mOrientationHelper.getDecoratedMeasurementInOther(view) / in layoutChunk() 605 final int mainSpec = getChildMeasureSpec(mOrientationHelper.getTotalSpace(), in layoutChunk() [all …]
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseLinearLayoutManagerTest.java | 418 sb.append("view bounds:[start:").append(mOrientationHelper.getStartAfterPadding()) in getBoundsLog() 419 .append(",").append(" end").append(mOrientationHelper.getEndAfterPadding()); in getBoundsLog() 426 mOrientationHelper.getDecoratedStart(child)).append(", end:") in getBoundsLog() 427 .append(mOrientationHelper.getDecoratedEnd(child)).append("]\n"); in getBoundsLog() 454 final int start = mOrientationHelper.getStartAfterPadding(); in traverseAndFindVisibleChildren() 455 final int end = mOrientationHelper.getEndAfterPadding(); in traverseAndFindVisibleChildren() 458 final int childStart = mOrientationHelper.getDecoratedStart(child); in traverseAndFindVisibleChildren() 459 final int childEnd = mOrientationHelper.getDecoratedEnd(child); in traverseAndFindVisibleChildren() 493 mOrientationHelper.getDecoratedStart(view), in getViewBounds() 495 mOrientationHelper.getDecoratedEnd(view), in getViewBounds() [all …]
|
D | GridLayoutManagerBaseConfigSetTest.java | 62 final int scrollStep = (mGlm.mOrientationHelper.getTotalSpace() / 20) in scrollBackAndPreservePositionsTest() 84 mGlm.mOrientationHelper.getDecoratedEnd(child); in scrollBackAndPreservePositionsTest() 87 mGlm.mOrientationHelper.getDecoratedStart(child); in scrollBackAndPreservePositionsTest() 149 mGlm.mOrientationHelper.getDecoratedEnd(child); in scrollBackAndPreservePositionsTest() 152 mGlm.mOrientationHelper.getDecoratedStart(child); in scrollBackAndPreservePositionsTest()
|
D | ScrollToPositionWithAutoMeasure.java | 46 test(llm, llm.mOrientationHelper); in testLinearLayoutManager() 53 test(glm, glm.mOrientationHelper); in testGridLayoutManager()
|
D | LinearLayoutManagerBaseConfigSetTest.java | 86 mLayoutManager.mOrientationHelper.getEnd() - 500); in scrollToPositionWithOffsetTest() 212 final int totalSpace = mLayoutManager.mOrientationHelper.getTotalSpace(); in getFirstLastChildrenTest() 243 OrientationHelper helper = mLayoutManager.mOrientationHelper; in dontRecycleViewsTranslatedOutOfBoundsFromStart() 277 OrientationHelper helper = mLayoutManager.mOrientationHelper; in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
|
D | LinearLayoutManagerTest.java | 213 final int top = mLayoutManager.mOrientationHelper.getDecoratedStart(vh.itemView); in keepFocusOnRelayout() 227 mLayoutManager.mOrientationHelper.getDecoratedStart(postVH.itemView)); in keepFocusOnRelayout() 268 final OrientationHelper helper = mLayoutManager.mOrientationHelper; in keepFocusOnResizeTest()
|
D | LinearLayoutManagerPrepareForDropTest.java | 127 final OrientationHelper helper = mLayoutManager.mOrientationHelper; in prepareForDropTest()
|
D | GridLayoutManagerTest.java | 376 final OrientationHelper helper = mGlm.mOrientationHelper; in layoutParamsTest()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GridLayoutManager.java | 412 private OrientationHelper mOrientationHelper = OrientationHelper.createHorizontalHelper(this); field in GridLayoutManager 650 mOrientationHelper = OrientationHelper.createOrientationHelper(this, mOrientation); in setOrientation() 1023 return mOrientationHelper.getDecoratedStart(v); in getViewMin() 1027 return mOrientationHelper.getDecoratedEnd(v); in getViewMax()
|