Searched refs:Grid (Results 1 - 7 of 7) sorted by relevance

/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DGridTest.java24 * Base class for testing Grid algorithm
29 static class Provider implements Grid.Provider {
83 static String dump(Grid grid) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGrid.java23 * Grid is the base class for single row, non-staggered grid and staggered grid.
25 * To use the Grid, user must implement a Provider to create or remove visible item.
26 * Grid maintains a list of visible items. Visible items are created when
29 * removeInvisibleItemsAtEnd() or removeInvisibleItemsAtFront(). Grid's algorithm
32 * invalidateItemsAfter() when it detects item size changed to ask Grid to remove cached
35 abstract class Grid { class
44 * When user uses Grid, he should provide count of items and
96 * Cached representation of an item in Grid. May be subclassed.
124 public static Grid createGrid(int rows) {
125 Grid gri
[all...]
H A DSingleRow.java21 * A Grid with restriction to single row.
23 class SingleRow extends Grid {
H A DStaggeredGrid.java41 abstract class StaggeredGrid extends Grid {
46 public static class Location extends Grid.Location {
H A DGridLayoutManager.java495 * the row height, equal for all rows. Grid items may have variable length
549 Grid mGrid;
1109 mGrid = Grid.createGrid(mNumRows);
1474 private Grid.Provider mGridProvider = new Grid.Provider() {
1744 Grid.Location location = mGrid.getLocation(position);
2500 Grid.Location location = mGrid.getLocation(pos);
2829 Grid.Location loc = mGrid.getLocation(position);
2900 Grid.Location loc = mGrid.getLocation(position);
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java84 private static class Grid { class in class:TestView
109 public Grid(int w, int h) { method in class:TestView.Grid
228 private Grid mGrid;
249 mGrid = new Grid(2, 2);
/frameworks/base/docs/html/guide/
H A Dguide_toc.cs217 <span class="en">Grid Layout</span>
224 <span class="en">Grid View</span>

Completed in 653 milliseconds