Home
last modified time | relevance | path

Searched refs:mGrid (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java581 Grid mGrid; field in GridLayoutManager
837 return mGrid != null; in hasDoneFirstLayout()
1179 if (!mState.didStructureChange() && mGrid != null && mGrid.getFirstVisibleIndex() >= 0 in layoutInit()
1180 && !mForceFullLayout && mGrid.getNumRows() == mNumRows) { in layoutInit()
1183 mGrid.setSpacing(mSpacingPrimary); in layoutInit()
1188 if (mGrid == null || mNumRows != mGrid.getNumRows() in layoutInit()
1189 || mReverseFlowPrimary != mGrid.isReversedFlow()) { in layoutInit()
1190 mGrid = Grid.createGrid(mNumRows); in layoutInit()
1191 mGrid.setProvider(mGridProvider); in layoutInit()
1192 mGrid.setReversedFlow(mReverseFlowPrimary); in layoutInit()
[all …]
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestView.java228 private Grid mGrid; field in TestView.Renderer
233 mGrid.draw(gl); in onDrawFrame()
249 mGrid = new Grid(2, 2); in createGrid()
255 mGrid.set(i,j, x, y, z); in createGrid()
258 mGrid.createBufferObjects(gl); in createGrid()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsRS.java40 private ScriptField_BallGrid mGrid; field in BallsRS
119 mGrid = ScriptField_BallGrid.create2D(mRS, (width + 99) / 100, (height + 99) / 100); in init()
132 mScript.set_gGrid(mGrid.getAllocation()); in init()
142 mPhysicsScript.set_gGrid(mGrid.getAllocation()); in init()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java772 100, ((StaggeredGrid) mLayoutManager.mGrid).mLocations.size()); in testRedundantAppendRemove2()
2696 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDelta()
2703 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDelta()
2765 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDeltaInGrid()
2773 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDeltaInGrid()
2870 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDeltaInGrid1()
2878 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDeltaInGrid1()