/development/samples/ApiDemos/src/com/example/android/apis/view/ |
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());
|
/build/tools/droiddoc/templates-ds/ |
trailer.cs | 6 <!-- Grid - for dev 22 <link href="<?cs var:toroot ?>assets/js/grid/960.gridder.css" rel="stylesheet" type="text/css"> 23 <script src="<?cs var:toroot ?>assets/js/grid/960.gridder.js" type="text/javascript"></script>
|
/external/replicaisland/src/com/replica/replicaisland/ |
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...] |
/external/chromium_org/ash/wm/ |
window_positioner.h | 99 int grid); 105 // Align the location to the grid / snap to the right / bottom corner. 108 int grid);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 128 final DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 130 grid.hotseatCellWidthPx: grid.cellWidthPx); 135 final DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 137 grid.hotseatCellHeightPx : grid.cellHeightPx); 142 final DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 156 int cellPaddingX = (int) (grid.edgeMarginPx / 2f);
|
BubbleTextView.java | 101 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 102 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.iconTextSizePx); 129 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 130 setCompoundDrawablePadding(grid.iconDrawablePaddingPx); 145 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 148 topDrawable.setBounds(0, 0, grid.allAppsIconSizePx, grid.allAppsIconSizePx); 150 setCompoundDrawablePadding(grid.iconDrawablePaddingPx);
|
Hotseat.java | 127 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 129 mAllAppsButtonRank = grid.hotseatAllAppsRank; 131 if (grid.isLandscape && !grid.isLargeTablet()) { 132 mContent.setGridSize(1, (int) grid.numHotseatIcons); 134 mContent.setGridSize((int) grid.numHotseatIcons, 1);
|
PagedViewWidget.java | 84 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 87 name.setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.iconTextSizePx); 91 dims.setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.iconTextSizePx); 123 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 135 int hSpan = Math.min(cellSpan[0], (int) grid.numColumns); 136 int vSpan = Math.min(cellSpan[1], (int) grid.numRows);
|
/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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
keybindingDialog.py | 55 self.buttonOK.grid(row=0,column=0,padx=5,pady=5) 58 self.buttonCancel.grid(row=0,column=1,padx=5,pady=5) 63 self.frameKeySeqAdvanced.grid(row=0,column=0,sticky=NSEW,padx=5,pady=5) 64 self.frameKeySeqBasic.grid(row=0,column=0,sticky=NSEW,padx=5,pady=5) 66 self.frameHelpAdvanced.grid(row=1,column=0,sticky=NSEW,padx=5) 67 self.frameControlsBasic.grid(row=1,column=0,sticky=NSEW,padx=5) 71 self.buttonLevel.grid(row=2,column=0,stick=EW,padx=5,pady=5) 85 check.grid(row=0,column=column,padx=2,sticky=W) 96 labelFnAdvice.grid(row=1,column=0,columnspan=4,padx=2,sticky=W) 100 self.listKeysFinal.grid(row=0,column=4,rowspan=4,sticky=NS [all...] |
SearchDialogBase.py | 54 l.grid(row=self.row, column=0, sticky="nw") 56 e.grid(row=self.row, column=1, sticky="nwe") 63 l.grid(row=self.row, column=0, sticky="nw") 65 f.grid(row=self.row, column=1, columnspan=1, sticky="nwe") 74 b.grid(pady=1,row=rows,column=0,sticky="ew") 75 self.buttonframe.grid(rowspan=rows+1) 137 f.grid(row=0,column=2,padx=2,pady=2,ipadx=2,ipady=2)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
keybindingDialog.py | 55 self.buttonOK.grid(row=0,column=0,padx=5,pady=5) 58 self.buttonCancel.grid(row=0,column=1,padx=5,pady=5) 63 self.frameKeySeqAdvanced.grid(row=0,column=0,sticky=NSEW,padx=5,pady=5) 64 self.frameKeySeqBasic.grid(row=0,column=0,sticky=NSEW,padx=5,pady=5) 66 self.frameHelpAdvanced.grid(row=1,column=0,sticky=NSEW,padx=5) 67 self.frameControlsBasic.grid(row=1,column=0,sticky=NSEW,padx=5) 71 self.buttonLevel.grid(row=2,column=0,stick=EW,padx=5,pady=5) 85 check.grid(row=0,column=column,padx=2,sticky=W) 96 labelFnAdvice.grid(row=1,column=0,columnspan=4,padx=2,sticky=W) 100 self.listKeysFinal.grid(row=0,column=4,rowspan=4,sticky=NS [all...] |
SearchDialogBase.py | 54 l.grid(row=self.row, column=0, sticky="nw") 56 e.grid(row=self.row, column=1, sticky="nwe") 63 l.grid(row=self.row, column=0, sticky="nw") 65 f.grid(row=self.row, column=1, columnspan=1, sticky="nwe") 74 b.grid(pady=1,row=rows,column=0,sticky="ew") 75 self.buttonframe.grid(rowspan=rows+1) 137 f.grid(row=0,column=2,padx=2,pady=2,ipadx=2,ipady=2)
|
/external/deqp/modules/gles2/functional/ |
es2fVertexTextureTests.cpp | 163 * \brief Quad grid class containing position and texture coordinate data. 165 * A quad grid of size S means a grid consisting of S*S quads (S rows and 331 static void setPixelColors (const vector<Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst) 333 const int gridSize = grid.getSize(); 339 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] 360 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) 362 const int gridSize = grid.getSize(); 369 const typename TexTypeCoordVec<TexType>::t& coord = grid.getQuadTexCoord(x, y); 374 setPixelColors(quadColors, dstRegion, grid, dst) [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/host/ |
native-messaging-example-host | 61 self.text.grid(row=0, column=0, padx=10, pady=10, columnspan=2) 66 self.sendEntry.grid(row=1, column=0, padx=10, pady=10) 69 self.sendButton.grid(row=1, column=1, padx=10, pady=10)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
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...] |
GridMatch.java | 16 package com.android.ide.common.layout.grid; 18 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED;
|
/external/deqp/modules/gles3/functional/ |
es3fVertexTextureTests.cpp | 213 * \brief Quad grid class containing position and texture coordinate data. 215 * A quad grid of size S means a grid consisting of S*S quads (S rows and 427 static void setPixelColors (const vector<Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst) 429 const int gridSize = grid.getSize(); 435 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] 458 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) 460 const int gridSize = grid.getSize(); 467 const typename TexTypeCoordVec<TexType>::t& coord = grid.getQuadTexCoord(x, y); 472 setPixelColors(quadColors, dstRegion, grid, dst) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderFrameSet.cpp | 182 void RenderFrameSet::layOutAxis(GridAxis& axis, const Vector<HTMLDimension>& grid, int availableLen) 188 if (grid.isEmpty()) { 208 if (grid[i].isAbsolute()) { 209 gridLayout[i] = max<int>(grid[i].value(), 0); 216 if (grid[i].isPercentage()) { 217 gridLayout[i] = max<int>(grid[i].value() * availableLen / 100., 0); 224 if (grid[i].isRelative()) { 225 totalRelative += max<int>(grid[i].value(), 1); 238 if (grid[i].isAbsolute()) { 254 if (grid[i].isPercentage()) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridInHorizontal.java | 29 * Exercises a grid in a horizontal linear layout 49 mGridView = (GridView) findViewById(R.id.grid);
|
GridInVertical.java | 29 * Exercises a grid in a vertical linear layout 49 mGridView = (GridView) findViewById(R.id.grid);
|
GridPadding.java | 27 * Exercises a grid with padding 43 mGridView = (GridView) findViewById(R.id.grid);
|
/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);
|