Home
last modified time | relevance | path

Searched refs:GridLayoutManager (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DGridLayoutManagerActivity.java24 import android.support.v7.widget.GridLayoutManager;
33 public class GridLayoutManagerActivity extends BaseLayoutManagerActivity<GridLayoutManager> {
36 protected GridLayoutManager createLayoutManager() { in createLayoutManager()
37 GridLayoutManager lm = new GridLayoutManager(this, 3); in createLayoutManager()
43 GridLayoutManager.SpanSizeLookup mSpanSizeLookup = new GridLayoutManager.SpanSizeLookup() {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java109 GridLayoutManager.LayoutParams params = (GridLayoutManager.LayoutParams) child in scrollToBadOffset()
577 mGlm.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { in predictiveSpanLookupTest()
616 mGlm.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { in movingAGroupOffScreenForAddedItems()
646 layoutParamsTest(GridLayoutManager.HORIZONTAL); in layoutParams()
648 layoutParamsTest(GridLayoutManager.VERTICAL); in layoutParams()
677 GridLayoutManager.SpanSizeLookup ssl = mGlm.mSpanSizeLookup; in accessibilitySpanIndicesTest()
692 public GridLayoutManager.LayoutParams ensureGridLp(View view) { in ensureGridLp()
694 GridLayoutManager.LayoutParams glp; in ensureGridLp()
695 if (lp instanceof GridLayoutManager.LayoutParams) { in ensureGridLp()
696 glp = (GridLayoutManager.LayoutParams) lp; in ensureGridLp()
[all …]
DBaseGridLayoutManagerTest.java96 if (mGlm.getOrientation() == GridLayoutManager.HORIZONTAL) { in getSize()
102 GridLayoutManager.LayoutParams getLp(View view) { in getLp()
103 return (GridLayoutManager.LayoutParams) view.getLayoutParams(); in getLp()
109 int mOrientation = GridLayoutManager.VERTICAL;
134 + ",mOrientation=" + (mOrientation == GridLayoutManager.HORIZONTAL ? "h" : "v") in toString()
151 class WrappedGridLayoutManager extends GridLayoutManager {
348 void assignSpanSizeLookup(final GridLayoutManager glm) {
349 glm.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
DGridLayoutManagerBaseConfigSetTest.java82 GridLayoutManager.LayoutParams lp = (GridLayoutManager.LayoutParams) in scrollBackAndPreservePositionsTest()
145 GridLayoutManager.LayoutParams lp = (GridLayoutManager.LayoutParams) in scrollBackAndPreservePositionsTest()
DGridLayoutManagerWrapContentWithAspectRatioTest.java126 ((GridLayoutManager) mLayoutManager).setSpanSizeLookup( in testChildWithMultipleSpans()
127 new GridLayoutManager.SpanSizeLookup() { in testChildWithMultipleSpans()
145 int[] borders = GridLayoutManager.calculateItemBorders(null, in testChildWithMultipleSpans()
223 int[] borders = GridLayoutManager.calculateItemBorders(null, mConfig.mSpanCount, in testChildWithMatchParentInOtherDirection()
299 int[] borders = GridLayoutManager.calculateItemBorders(null, in testAllChildrenWrapContentInOtherDirection()
352 return new GridLayoutManager(getActivity(), mConfig.mSpanCount, in createFromConfig()
DScrollToPositionWithAutoMeasure.java51 GridLayoutManager glm = new GridLayoutManager(getActivity(), 3); in testGridLayoutManager()
DGridLayoutManagerWrapContentTest.java67 GridLayoutManager lm = new GridLayoutManager(getActivity(), mSpanCount); in createLayoutManager()
DGridLayoutManagerCachedBordersTest.java58 final boolean vertical = mConfig.mOrientation == GridLayoutManager.VERTICAL; in gridCachedBorderstTest()
DTestResizingRelayoutWithAutoMeasure.java80 new GridLayoutManager(null, 3), w, h} in getParams()
DRecyclerViewCacheTest.java177 mRecyclerView.setLayoutManager(new GridLayoutManager(getContext(), 3)); in prefetchItemsNotEvictedWithInserts()
228 mRecyclerView.setLayoutManager(new GridLayoutManager(getContext(), 3)); in prefetchItemsNotEvictedOnScroll()
368 mRecyclerView.setLayoutManager(new GridLayoutManager(getContext(), 3)); in prefetchItemsRespectDeadline()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
DRecyclerViewTest.java33 import android.support.v7.widget.GridLayoutManager;
67 assertNotNull(GridLayoutManager.SavedState.class); in savedStateAccess()
87 layoutManager.getClass().getName(), GridLayoutManager.class.getName()); in inflation()
88 GridLayoutManager gridLayoutManager = ((GridLayoutManager) layoutManager); in inflation()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowBindRecyclerViewActivity.java20 import android.support.v7.widget.GridLayoutManager;
39 return new GridLayoutManager(context, 3); in createLayoutManager()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoDialog.java20 import android.support.v7.widget.GridLayoutManager;
41 view.setLayoutManager(new GridLayoutManager(getContext(), 2)); in NekoDialog()
DNekoLand.java34 import android.support.v7.widget.GridLayoutManager;
88 recyclerView.setLayoutManager(new GridLayoutManager(this, 3)); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java26 import android.support.v7.widget.GridLayoutManager;
105 GridLayoutManager layout = new GridLayoutManager(getContext(), 3); in QSCustomizer()
DTileAdapter.java27 import android.support.v7.widget.GridLayoutManager.SpanSizeLookup;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java27 import android.support.v7.widget.GridLayoutManager;
53 private final GridLayoutManager mLayoutManger;
75 mLayoutManger = new GridLayoutManager(mActivity, columnCount); in PrintPreviewController()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DItemAlignmentFacetHelper.java20 import android.support.v17.leanback.widget.GridLayoutManager.LayoutParams;
DBaseGridView.java193 final GridLayoutManager mLayoutManager;
217 mLayoutManager = new GridLayoutManager(this); in BaseGridView()
DGridLayoutManager.java55 final class GridLayoutManager extends RecyclerView.LayoutManager { class
669 public GridLayoutManager(BaseGridView baseGridView) { in GridLayoutManager() method in GridLayoutManager
3517 childStates = in.readBundle(GridLayoutManager.class.getClassLoader()); in SavedState()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java35 public class GridLayoutManager extends LinearLayoutManager { class
69 public GridLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, in GridLayoutManager() method in GridLayoutManager
82 public GridLayoutManager(Context context, int spanCount) { in GridLayoutManager() method in GridLayoutManager
94 public GridLayoutManager(Context context, int spanCount, int orientation, in GridLayoutManager() method in GridLayoutManager
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetPrefetchTest.java208 gridView.setLayoutParams(new GridLayoutManager.LayoutParams(350, 100));
DGridWidgetTest.java82 protected GridLayoutManager mLayoutManager;
83 private GridLayoutManager.OnLayoutCompleteListener mWaitLayoutListener;
386 mLayoutManager = (GridLayoutManager) mGridView.getLayoutManager(); in initActivity()
409 mock(GridLayoutManager.OnLayoutCompleteListener.class); in startWaitLayout()
756 mLayoutManager = (GridLayoutManager) mGridView.getLayoutManager(); in testRedundantAppendRemove2()
2594 final int lastVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDelta()
2601 final int firstVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDelta()
2663 final int lastVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDeltaInGrid()
2671 final int firstVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDeltaInGrid()
2768 final int lastVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDeltaInGrid1()
[all …]
/frameworks/support/api/
D22.0.0.txt690 field protected final android.support.v17.leanback.widget.GridLayoutManager mLayoutManager;
783 final class GridLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager {
784 ctor public GridLayoutManager(android.support.v17.leanback.widget.BaseGridView);
5417 public class GridLayoutManager extends android.support.v7.widget.LinearLayoutManager {
5418 ctor public GridLayoutManager(android.content.Context, int);
5419 ctor public GridLayoutManager(android.content.Context, int, int, boolean);
5421 method public android.support.v7.widget.GridLayoutManager.SpanSizeLookup getSpanSizeLookup();
5423 … method public void setSpanSizeLookup(android.support.v7.widget.GridLayoutManager.SpanSizeLookup);
5427 …public static final class GridLayoutManager.DefaultSpanSizeLookup extends android.support.v7.widge…
5428 ctor public GridLayoutManager.DefaultSpanSizeLookup();
[all …]
D22.1.0.txt673 field protected final android.support.v17.leanback.widget.GridLayoutManager mLayoutManager;
803 final class GridLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager {
804 ctor public GridLayoutManager(android.support.v17.leanback.widget.BaseGridView);
6041 public class GridLayoutManager extends android.support.v7.widget.LinearLayoutManager {
6042 ctor public GridLayoutManager(android.content.Context, int);
6043 ctor public GridLayoutManager(android.content.Context, int, int, boolean);
6045 method public android.support.v7.widget.GridLayoutManager.SpanSizeLookup getSpanSizeLookup();
6047 … method public void setSpanSizeLookup(android.support.v7.widget.GridLayoutManager.SpanSizeLookup);
6051 …public static final class GridLayoutManager.DefaultSpanSizeLookup extends android.support.v7.widge…
6052 ctor public GridLayoutManager.DefaultSpanSizeLookup();
[all …]

12