HomeSort by relevance Sort by last modified time
    Searched defs:grid (Results 1 - 25 of 25) sorted by null

  /development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayoutTest.java 15 FixedGridLayout grid = (FixedGridLayout)findViewById(R.id.grid); local
16 grid.setCellWidth(80);
17 grid.setCellHeight(80);
  /external/chromium_org/ui/wm/core/
image_grid_unittest.cc 31 // Size of the images around the grid's border.
39 ImageGrid grid; local
40 grid.SetImages(image_BxB.get(), image_1xB.get(), image_BxB.get(),
44 ImageGrid::TestAPI test_api(&grid);
45 ASSERT_TRUE(grid.top_left_layer() != NULL);
46 ASSERT_TRUE(grid.top_layer() != NULL);
47 ASSERT_TRUE(grid.top_right_layer() != NULL);
48 ASSERT_TRUE(grid.left_layer() != NULL);
49 ASSERT_TRUE(grid.center_layer() != NULL);
50 ASSERT_TRUE(grid.right_layer() != NULL)
131 ImageGrid grid; local
156 ImageGrid grid; local
188 ImageGrid grid; local
236 ImageGrid grid; local
289 ImageGrid grid; local
    [all...]
  /developers/build/prebuilts/gradle/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/
FragmentTransitionFragment.java 46 // This is the adapter we use to populate the grid.
54 GridView grid = (GridView) view.findViewById(R.id.grid); local
55 grid.setAdapter(mAdapter);
56 grid.setOnItemClickListener(this);
  /developers/samples/android/ui/transition/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/
FragmentTransitionFragment.java 46 // This is the adapter we use to populate the grid.
54 GridView grid = (GridView) view.findViewById(R.id.grid); local
55 grid.setAdapter(mAdapter);
56 grid.setOnItemClickListener(this);
  /development/samples/browseable/FragmentTransition/src/com.example.android.fragmenttransition/
FragmentTransitionFragment.java 46 // This is the adapter we use to populate the grid.
54 GridView grid = (GridView) view.findViewById(R.id.grid); local
55 grid.setAdapter(mAdapter);
56 grid.setOnItemClickListener(this);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
LayoutAnimation1.java 41 GridView grid = (GridView) findViewById(R.id.grid); local
42 grid.setAdapter(new LayoutAnimation1.AppsAdapter());
LayoutAnimation4.java 41 GridView grid = (GridView) findViewById(R.id.grid); local
42 grid.setAdapter(new AppsAdapter());
LayoutAnimation5.java 41 GridView grid = (GridView) findViewById(R.id.grid); local
42 grid.setAdapter(new AppsAdapter());
LayoutAnimation6.java 41 GridView grid = (GridView) findViewById(R.id.grid); local
42 grid.setAdapter(new AppsAdapter());
  /external/llvm/test/tools/llvm-cov/Inputs/
test.cpp 6 double grid[10][10] = {0}; variable
29 grid[ii][jj] = (ii+1) * (jj+1);
72 return a + 8 + grid[2][3] + len;
  /external/chromium_org/cc/base/
region_unittest.cc 261 Region grid; local
264 grid.Union(gfx::Rect(i, j, 1, 1));
266 TEST_CONTAINS(gfx::Rect(10, 10, 9, 9), grid);
267 TEST_NO_CONTAINS(gfx::Rect(10, 10, 9, 8), grid);
268 TEST_NO_CONTAINS(gfx::Rect(10, 11, 9, 8), grid);
269 TEST_NO_CONTAINS(gfx::Rect(10, 10, 8, 9), grid);
270 TEST_NO_CONTAINS(gfx::Rect(11, 10, 8, 9), grid);
276 TEST_CONTAINS(grid, grid);
277 TEST_CONTAINS(h_lines, grid);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
RegionTest.cpp 281 Region grid; local
284 grid.unite(IntRect(i, j, 1, 1));
286 TEST_CONTAINS(IntRect(10, 10, 9, 9), grid);
287 TEST_NO_CONTAINS(IntRect(10, 10, 9, 8), grid);
288 TEST_NO_CONTAINS(IntRect(10, 11, 9, 8), grid);
289 TEST_NO_CONTAINS(IntRect(10, 10, 8, 9), grid);
290 TEST_NO_CONTAINS(IntRect(11, 10, 8, 9), grid);
296 TEST_CONTAINS(grid, grid);
297 TEST_CONTAINS(hLines, grid);
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintFlagsDrawFilterTest.java 118 Bitmap grid = Bitmap.createBitmap(kWidth, kHeight, Config.ARGB_8888); local
121 grid.setPixel(i, j, colors[k]);
136 canvas.drawBitmap(grid, 0, 0, simplePaint);
142 canvas.drawBitmap(grid, 0, 0, filterBitmapPaint);
150 canvas.drawBitmap(grid, 0, 0, filterBitmapPaint);
157 canvas.drawBitmap(grid, 0, 0, simplePaint);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
MatrixPaletteRenderer.java 44 private Grid mGrid;
47 /** A grid is a topologically rectangular array of vertices.
49 * This grid class is customized for the vertex data required for this
58 private static class Grid {
78 // constructing the grid. Once createBufferObjects() is called
89 public Grid(int w, int h) {
383 private Grid generateWeightedGrid(GL gl) {
389 Grid grid = new Grid(uSteps + 1, vSteps + 1) local
    [all...]
CubeMapActivity.java 52 private Grid mGrid;
165 private Grid generateTorusGrid(GL gl, int uSteps, int vSteps, float majorRadius, float minorRadius) {
166 Grid grid = new Grid(uSteps + 1, vSteps + 1); local
189 grid.set(i, j, x, y, z, nx, ny, nz);
192 grid.createBufferObjects(gl);
193 return grid;
219 /** A grid is a topologically rectangular array of vertices.
221 * This grid class is customized for the vertex data required for thi
    [all...]
  /external/chromium_org/ash/wm/overview/
window_selector.cc 69 // A comparator for locating a grid with a given root window.
76 bool operator()(WindowGrid* grid) const {
77 return (grid->root_window() == root_window_);
247 scoped_ptr<WindowGrid> grid(new WindowGrid(*iter, windows, this));
248 if (grid->empty())
250 num_items_ += grid->size();
251 grid_list_.push_back(grid.release());
346 void WindowSelector::OnGridEmpty(WindowGrid* grid) {
348 std::find(grid_list_.begin(), grid_list_.end(), grid);
448 ScopedVector<WindowGrid>::iterator grid local
    [all...]
  /external/chromium_org/ash/wm/
window_positioner.cc 423 // The window should get centered on the screen and not follow the grid.
434 int grid = kMinimumWindowOffset; local
435 popup_position_offset_from_screen_corner_x = grid;
436 popup_position_offset_from_screen_corner_y = grid;
443 pop_position_offset_increment_x = grid;
444 pop_position_offset_increment_y = grid;
457 return AlignPopupPosition(old_pos, work_area, grid);
458 const gfx::Rect result = SmartPopupPosition(old_pos, work_area, grid);
460 return AlignPopupPosition(result, work_area, grid);
505 int grid) {
    [all...]
  /external/chromium_org/third_party/skia/samplecode/
SampleFatBits.cpp 24 const SkScalar grid = 2; local
25 return SkScalarRoundToScalar(x * grid) / grid;
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
aria_util.js 47 'grid' : 'aria_role_grid',
389 if (targetNode.getAttribute('role') == 'grid') {
535 * Returns a string that gives information about the state of the grid node.
717 case 'grid':
895 * Checks to see whether or not a node is an ARIA grid.
898 * @return {boolean} Whether or not the node is an ARIA grid.
906 case 'grid':
  /external/opencv/ml/src/
mlsvm.cpp 101 // Param Grid
110 CV_ERROR( CV_StsBadArg, "Lower bound of the grid must be less then the upper one" );
112 CV_ERROR( CV_StsBadArg, "Lower bound of the grid must be positive" );
114 CV_ERROR( CV_StsBadArg, "Grid step must greater then 1" );
125 CvParamGrid grid; local
128 grid.min_val = 0.1;
129 grid.max_val = 500;
130 grid.step = 5; // total iterations = 5
134 grid.min_val = 1e-5;
135 grid.max_val = 0.6
    [all...]
  /external/chromium_org/third_party/accessibility-audit/
axs_testing.js 430 properties:["aria-expanded"]}, form:{namefrom:["author"], parent:["landmark"]}, grid:{mustcontain:["row", "rowgroup"], namefrom:["author"], namerequired:!0, parent:["composite", "region"], properties:["aria-level", "aria-multiselectable", "aria-readonly"]}, gridcell:{namefrom:["contents", "author"], namerequired:!0, parent:["section", "widget"], properties:["aria-readonly", "aria-required", "aria-selected"]}, group:{namefrom:[" author"], parent:["section"], properties:["aria-activedescendant"]},
441 namerequired:!0, parent:["grid", "tree"]}, treeitem:{namefrom:["contents", "author"], namerequired:!0, parent:["listitem", "option"]}, widget:{"abstract":!0, parent:["roletype"]}, window:{"abstract":!0, namefrom:[" author"], parent:["roletype"], properties:["aria-expanded"]}};
485 axs.constants.WIDGET_ROLE_TO_NAME = {alert:"aria_role_alert", alertdialog:"aria_role_alertdialog", button:"aria_role_button", checkbox:"aria_role_checkbox", columnheader:"aria_role_columnheader", combobox:"aria_role_combobox", dialog:"aria_role_dialog", grid:"aria_role_grid", gridcell:"aria_role_gridcell", link:"aria_role_link", listbox:"aria_role_listbox", log:"aria_role_log", marquee:"aria_role_marquee", menu:"aria_role_menu", menubar:"aria_role_menubar", menuitem:"aria_role_menuitem", menuitemcheckbox:"aria_role_menuitemcheckbox",
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ui.forms_3.5.2.r36_v20100702.jar 
org.eclipse.jface_3.6.1.M20100825-0800.jar 
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar 

Completed in 971 milliseconds