/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerCachedBordersTest.java | 56 for (int i = 0; i < lastVisible; i += mConfig.mSpanCount) { 57 if ((i + 1) * mConfig.mSpanCount - 1 < lastVisible) { 59 for (int j = 0; j < mConfig.mSpanCount; j++) { 60 View child = recyclerView.getChildAt(i * mConfig.mSpanCount + j);
|
GridLayoutManagerRtlTest.java | 77 if (mConfig.mSpanCount == 1) { 78 mConfig.mSpanCount = 2; 84 mConfig.mSpanCount = mConfig.mItemCount + 1; 86 mConfig.mSpanCount = Math.min(mConfig.mItemCount - 1, mConfig.mSpanCount); 121 : mConfig.mSpanCount;
|
StaggeredGridLayoutManagerGapTest.java | 51 for (int deleteCount = 1; deleteCount < config.mSpanCount * 2; deleteCount++) { 52 for (int deletePosition = config.mSpanCount - 1; 53 deletePosition < config.mSpanCount + 2; deletePosition++) { 63 if (mConfig.mSpanCount < 2 || mConfig.mGapStrategy == GAP_HANDLING_NONE) {
|
StaggeredGridLayoutManagerCacheTest.java | 78 int[] positions = new int[mConfig.mSpanCount]; 85 int[] positions = new int[mConfig.mSpanCount]; 88 return positions[mConfig.mSpanCount - 1]; 133 assertEquals(config.mSpanCount, cachedViews().size()); 139 for (int i = 0; i < config.mSpanCount; i++) {
|
GridLayoutManagerCacheTest.java | 119 assertEquals(config.mSpanCount, cachedViews().size()); 125 for (int i = 0; i < config.mSpanCount; i++) {
|
GridLayoutManagerWrapContentTest.java | 45 private int mSpanCount = 3; 66 GridLayoutManager lm = new GridLayoutManager(getActivity(), mSpanCount); 129 mSpanCount = 2; 202 mSpanCount = 1;
|
StaggeredGridLayoutManagerSavedStateTest.java | 120 if (config.mSpanCount < 2) { 124 clone.mItemCount = clone.mSpanCount - 1; 189 mLayoutManager = new WrappedLayoutManager(mConfig.mSpanCount, mConfig.mOrientation); 210 mConfig.mSpanCount, mLayoutManager.getSpanCount());
|
BaseGridLayoutManagerTest.java | 53 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation, 107 int mSpanCount; 114 mSpanCount = spanCount; 119 mSpanCount = spanCount; 132 "mSpanCount=" + mSpanCount +
|
GridLayoutManagerWrapContentWithAspectRatioTest.java | 145 mConfig.mSpanCount, parentSize); 222 int[] borders = GridLayoutManager.calculateItemBorders(null, mConfig.mSpanCount, 299 mConfig.mSpanCount, parentSize); 351 return new GridLayoutManager(getActivity(), mConfig.mSpanCount,
|
StaggeredGridLayoutManagerBaseConfigSetTest.java | 91 if (mConfig.mSpanCount == 1) { 92 mConfig.mSpanCount = 2; 126 : mConfig.mSpanCount); 163 lp.setFullSpan((position * 7) % (mConfig.mSpanCount + 1) == 0); 264 mLayoutManager = new WrappedLayoutManager(config.mSpanCount, 401 final Config config = ((Config) mConfig.clone()).itemCount(mConfig.mSpanCount + 1); 430 recyclerViewBounds.bottom -= recyclerViewBounds.height() % config.mSpanCount; 432 recyclerViewBounds.right -= recyclerViewBounds.width() % config.mSpanCount; [all...] |
BaseStaggeredGridLayoutManagerTest.java | 87 mLayoutManager = new WrappedLayoutManager(config.mSpanCount, config.mOrientation); 393 int mSpanCount = 3; 404 mSpanCount = spanCount; 423 mSpanCount = spanCount; 445 " span:" + mSpanCount + "," + [all...] |
GridLayoutManagerBaseConfigSetTest.java | 56 for (int i = 1; i < mAdapter.getItemCount(); i += config.mSpanCount + 2) {
|
StaggeredGridLayoutManagerTest.java | [all...] |
/frameworks/base/core/java/android/text/ |
SpannableStringInternal.java | 84 mSpanCount = src.mSpanCount; 90 int limit = src.mSpanCount; 101 mSpanCount = count; 102 mSpans = ArrayUtils.newUnpaddedObjectArray(mSpanCount); 177 int count = mSpanCount; 195 if (mSpanCount + 1 >= mSpans.length) { 197 GrowingArrayUtils.growSize(mSpanCount)); 200 System.arraycopy(mSpans, 0, newtags, 0, mSpanCount); 201 System.arraycopy(mSpanData, 0, newdata, 0, mSpanCount * 3) [all...] |
SpannableStringBuilder.java | 68 mSpanCount = 0; 158 if (mSpanCount != 0) { 159 for (int i = 0; i < mSpanCount; i++) { 182 if (mSpanCount != 0) { 183 for (int i = 0; i < mSpanCount; i++) { 246 for (int i = mSpanCount - 1; i >= 0; i--) { 256 mSpanCount = i; 308 if (i < mSpanCount) { 332 for (int i = mSpanCount - 1; i >= 0; i--) { 385 while (mSpanCount > 0 & [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
GridLayoutManager.java | 44 int mSpanCount = DEFAULT_SPAN_COUNT; 118 return mSpanCount; 132 return mSpanCount; 156 mSpanCount > 1 && glp.getSpanSize() == mSpanCount, false)); 161 mSpanCount > 1 && glp.getSpanSize() == mSpanCount, false)); 309 mCachedBorders = calculateItemBorders(mCachedBorders, mSpanCount, totalSpace); 344 return mCachedBorders[mSpanCount - startSpan] 345 - mCachedBorders[mSpanCount - startSpan - spanSize] [all...] |
StaggeredGridLayoutManager.java | 112 private int mSpanCount = -1; 320 for (int i = 0; i < mSpanCount; i++) { 335 BitSet mSpansToCheck = new BitSet(mSpanCount); 336 mSpansToCheck.set(0, mSpanCount, true); 424 if (spanCount != mSpanCount) { 426 mSpanCount = spanCount; 427 mRemainingSpans = new BitSet(mSpanCount); 428 mSpans = new Span[mSpanCount]; 429 for (int i = 0; i < mSpanCount; i++) { 534 return mSpanCount; [all...] |
/prebuilts/sdk/current/support/v7/recyclerview/libs/ |
android-support-v7-recyclerview.jar | |