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

1 2 3 4

  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
grid_tbl.cpp 52 // grid[0] = 1.0;
53 // grid[grid_points+1] = -1.0;
55 // grid[i] = cos((6.283185307*i)/(2.0*grid_points));
95 const Word16 grid[grid_points + 1] = variable
149 [1] grid.tab, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001
  /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);
  /packages/apps/Launcher3/tests/src/com/android/launcher3/util/
GridOccupancyTest.java 14 GridOccupancy grid = initGrid(4, local
22 assertTrue(grid.findVacantCell(vacant, 2, 2));
26 assertTrue(grid.findVacantCell(vacant, 3, 2));
30 assertFalse(grid.findVacantCell(vacant, 3, 3));
34 GridOccupancy grid = initGrid(4, local
41 assertTrue(grid.isRegionVacant(4, 0, 1, 4));
42 assertTrue(grid.isRegionVacant(0, 1, 2, 2));
43 assertTrue(grid.isRegionVacant(2, 2, 3, 2));
45 assertFalse(grid.isRegionVacant(3, 0, 2, 4));
46 assertFalse(grid.isRegionVacant(0, 0, 2, 1))
52 GridOccupancy grid = new GridOccupancy(cols, rows); local
    [all...]
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/grid/
GridExampleActivity.java 15 package android.support.v17.leanback.supportleanbackshowcase.app.grid;
GridExampleFragment.java 15 package android.support.v17.leanback.supportleanbackshowcase.app.grid;
  /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);
  /external/replicaisland/src/com/replica/replicaisland/
BufferLibrary.java 23 private FixedSizeArray<Grid> mGridList;
28 mGridList = new FixedSizeArray<Grid>(GRID_LIST_SIZE);
36 public void add(Grid grid) {
37 mGridList.add(grid);
48 Grid grid = mGridList.get(x); local
49 grid.generateHardwareBuffers(gl);
58 Grid grid = mGridList.get(x) local
68 Grid grid = mGridList.get(x); local
    [all...]
TiledVertexGrid.java 23 private Grid mTileMap;
59 private Grid generateGrid(int width, int height, int startTileX, int startTileY) {
71 // Check to see if this entire grid is empty tiles. If so, we don't need to do anything.
84 Grid grid = null; local
86 grid = new Grid(tilesAcross, tilesDown, false);
122 grid.set(tileX, tileY, positions, uvs);
127 return grid;
145 Grid grid = generateGrid((int)mWorldPixelWidth, (int)mWorldPixelHeight, 0, 0) local
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
MultiLayersActivity.java 33 LinearLayout grid = new LinearLayout(this); local
34 grid.setOrientation(LinearLayout.VERTICAL);
38 grid.addView(row1, new LinearLayout.LayoutParams(
43 grid.addView(row2, new LinearLayout.LayoutParams(
56 setContentView(grid);
  /frameworks/base/core/java/android/text/method/
CharacterPickerDialog.java 77 GridView grid = (GridView) findViewById(R.id.characterPicker); local
78 grid.setAdapter(new OptionsAdapter(getContext()));
79 grid.setOnItemClickListener(this);
  /packages/apps/Launcher3/src/com/android/launcher3/
BaseContainerView.java 73 DeviceProfile grid = Launcher.getLauncher(getContext()).getDeviceProfile(); local
74 grid.addLauncherLayoutChangedListener(this);
81 DeviceProfile grid = Launcher.getLauncher(getContext()).getDeviceProfile(); local
82 grid.removeLauncherLayoutChangedListener(this);
122 DeviceProfile grid = launcher.getDeviceProfile(); local
123 int[] padding = grid.getContainerPadding(context);
124 mContainerPaddingLeft = padding[0] + grid.edgeMarginPx;
125 mContainerPaddingRight = padding[1] + grid.edgeMarginPx;
127 mContainerPaddingTop = mContainerPaddingBottom = grid.edgeMarginPx;
  /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;
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsRecyclerViewContainerView.java 53 DeviceProfile grid = launcher.getDeviceProfile(); local
58 int size = grid.allAppsIconSizePx + mTouchFeedbackView.getExtraSize();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridMatch.java 16 package com.android.ide.common.layout.grid;
18 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED;
GridLayoutPainter.java 16 package com.android.ide.common.layout.grid;
20 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED;
53 * Paints the structure (the grid model) of the given GridLayout.
56 * @param layout the grid layout node
58 * @param grid the grid model to be visualized
61 GridModel grid) {
65 for (int row = 0; row < grid.actualRowCount; row++) {
66 int y = grid.getRowY(row);
69 for (int column = 0; column < grid.actualColumnCount; column++)
155 GridModel grid = data.getGrid(); local
266 GridModel grid = data.getGrid(); local
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
minmaxloc.hpp 146 void getLaunchCfg(int rows, int cols, dim3& block, dim3& grid)
149 grid = dim3(divUp(cols, block.x * Policy::patch_size_x), divUp(rows, block.y * Policy::patch_size_y));
151 grid.x = ::min(grid.x, block.x);
152 grid.y = ::min(grid.y, block.y);
158 dim3 block, grid; local
159 getLaunchCfg<Policy>(rows, cols, block, grid);
161 const int patch_x = divUp(divUp(cols, grid.x), block.x);
162 const int patch_y = divUp(divUp(rows, grid.y), block.y)
    [all...]
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
GridTest.java 25 static class Provider implements Grid.Provider {
79 static String dump(Grid grid) {
81 grid.debugPrint(new PrintWriter(w));
  /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);
  /external/opencv3/modules/cudev/include/opencv2/cudev/grid/
reduce.hpp 217 dim3 grid, block; local
218 grid_minmaxloc_detail::getLaunchCfg<Policy>(rows, cols, block, grid);
220 valBuf.create(2, grid.x * grid.y);
221 locBuf.create(2, grid.x * grid.y);
236 dim3 grid, block; local
237 grid_minmaxloc_detail::getLaunchCfg<Policy>(rows, cols, block, grid);
239 valBuf.create(2, grid.x * grid.y)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
GridLayoutRule.java 54 import com.android.ide.common.layout.grid.GridDropHandler;
55 import com.android.ide.common.layout.grid.GridLayoutPainter;
56 import com.android.ide.common.layout.grid.GridModel;
57 import com.android.ide.common.layout.grid.GridModel.ViewData;
84 * The size of the visual regular grid that we snap to (if {@link #sSnapToGrid} is set
98 * grid mode)
133 * Whether the IDE should show diagnostics for debugging the grid layout - including
138 /** Whether the structure (grid model) should be displayed persistently to the user */
141 /** Whether the drop positions should snap to a regular grid */
145 * Whether the grid is edited in "grid mode" where the operations are row/column base
419 GridModel grid = GridModel.get(mRulesEngine, parent, null); local
427 GridModel grid = getGrid(state); local
434 GridModel grid = getGrid(state); local
451 GridModel grid = (GridModel) resizeState.clientData; local
466 GridModel grid = getGrid(state); local
500 GridModel grid = getGrid(state); local
563 GridModel grid = getGrid(state); local
663 GridModel grid = handler.getGrid(); local
    [all...]
  /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...]

Completed in 1210 milliseconds

1 2 3 4