Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGridLayoutManager.java668 Grid mGrid; field in GridLayoutManager
876 return mGrid != null; in hasDoneFirstLayout()
1218 if (!mState.didStructureChange() && mGrid != null && mGrid.getFirstVisibleIndex() >= 0 in layoutInit()
1219 && (mFlag & PF_FORCE_FULL_LAYOUT) == 0 && mGrid.getNumRows() == mNumRows) { in layoutInit()
1222 mGrid.setSpacing(mSpacingPrimary); in layoutInit()
1227 if (mGrid == null || mNumRows != mGrid.getNumRows() in layoutInit()
1228 || ((mFlag & PF_REVERSE_FLOW_PRIMARY) != 0) != mGrid.isReversedFlow()) { in layoutInit()
1229 mGrid = Grid.createGrid(mNumRows); in layoutInit()
1230 mGrid.setProvider(mGridProvider); in layoutInit()
1231 mGrid.setReversedFlow((mFlag & PF_REVERSE_FLOW_PRIMARY) != 0); 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/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java777 100, ((StaggeredGrid) mLayoutManager.mGrid).mLocations.size()); in testRedundantAppendRemove2()
3096 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDelta()
3103 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDelta()
3165 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDeltaInGrid()
3173 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDeltaInGrid()
3270 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDeltaInGrid1()
3278 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDeltaInGrid1()