/packages/apps/Launcher3/src/com/android/launcher3/ |
PagedViewWidget.java | 84 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 87 name.setTextSize(TypedValue.COMPLEX_UNIT_SP, grid.iconTextSize); 91 dims.setTextSize(TypedValue.COMPLEX_UNIT_SP, grid.iconTextSize); 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);
|
SearchDropTargetBar.java | 117 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 118 mBarHeight = grid.searchBarSpaceHeightPx;
|
Hotseat.java | 128 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 130 mAllAppsButtonRank = grid.hotseatAllAppsRank; 132 if (grid.isLandscape && !grid.isLargeTablet()) { 133 mContent.setGridSize(1, (int) grid.numHotseatIcons); 135 mContent.setGridSize((int) grid.numHotseatIcons, 1);
|
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 | 89 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 90 setTextSize(TypedValue.COMPLEX_UNIT_SP, grid.iconTextSize); 110 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 114 setCompoundDrawablePadding((int) ((grid.folderIconSizePx - grid.iconSizePx) / 2f));
|
Cling.java | 143 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 150 (grid.hotseatIconSize / grid.iconSize));
|
PagedViewCellLayout.java | 28 * which span multiple cells into a grid-like layout. Also supports dimming 61 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 62 mOriginalCellWidth = mCellWidth = grid.cellWidthPx; 63 mOriginalCellHeight = mCellHeight = grid.cellHeightPx; 64 mCellCountX = (int) grid.numColumns; 65 mCellCountY = (int) grid.numRows; 384 * Horizontal location of the item in the grid. 390 * Vertical location of the item in the grid.
|
WidgetPreviewLoader.java | 141 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 145 mAppIconSize = grid.iconSizePx;
|
CellLayout.java | 197 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 205 mCountX = (int) grid.numColumns; 206 mCountY = (int) grid.numRows; 217 mHotseatScale = (float) grid.hotseatIconSize / grid.iconSize; 228 grid.iconSizePx); 475 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 487 child.getPaddingTop() + grid.folderBackgroundOffset; 523 child.getPaddingTop() + grid.folderBackgroundOffset; 919 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 932 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 2967 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local [all...] |
FolderIcon.java | 144 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 148 lp.topMargin = grid.folderBackgroundOffset; 149 lp.width = grid.folderIconSizePx; 150 lp.height = grid.folderIconSizePx; 204 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 205 sPreviewSize = grid.folderIconSizePx; 449 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); 468 mPreviewOffsetY = previewPadding + grid.folderBackgroundOffset;
|
Folder.java | 140 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 146 mMaxCountX = (int) grid.numColumns; 147 mMaxCountY = (int) grid.numRows; 175 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 177 mContent.setCellDimensions(grid.folderCellWidthPx, grid.folderCellHeightPx); 853 // Current grid is too small, expand it 885 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 955 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local [all...] |
AppsCustomizePagedView.java | 258 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 259 mWidgetWidthGap = mWidgetHeightGap = grid.edgeMarginPx; 291 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 292 setPadding(grid.edgeMarginPx, 2 * grid.edgeMarginPx, 293 grid.edgeMarginPx, 2 * grid.edgeMarginPx); 368 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 371 mCellCountX = (int) grid.allAppsNumCols; 372 mCellCountY = (int) grid.allAppsNumRows 434 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/ |
SectionHelper.java | 220 Composite grid = toolkit.createComposite(composite); local 223 grid.setLayout(layout); 224 toolkit.paintBordersFor(grid); 226 ((Section) composite).setClient(grid); 228 return grid;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/ |
GridModelTest.java | 16 package com.android.ide.common.layout.grid; 29 import com.android.ide.common.layout.grid.GridModel.ViewData; [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
DirectoryFragment.java | 199 mGridView = (GridView) view.findViewById(R.id.grid); 750 // Apply padding to grid items 751 final FrameLayout grid = (FrameLayout) convertView; local 758 final Drawable fg = grid.getForeground(); 759 final Drawable bg = grid.getBackground(); 760 grid.setForeground(null); 761 grid.setBackground(null); 762 grid.setForeground(new InsetDrawable(fg, gridPadding)); 763 grid.setBackground(new InsetDrawable(bg, gridPadding)); [all...] |
DocumentsActivity.java | 537 final MenuItem grid = menu.findItem(R.id.menu_grid); local 546 grid.setVisible(false); 554 grid.setVisible(mState.derivedMode != MODE_GRID); 585 grid.setVisible(false); 827 // Start recents in grid when requesting visual things [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 16 package com.android.ide.common.layout.grid; 29 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED; 53 * GridLayout, computing guidelines, handling drops to edit the grid model, and so on. 65 * @param view the view instance of the grid layout receiving the drop 129 // Fallback: Split existing cell. Also do snap-to-grid. 461 * element into the grid and returns the newly created node. 505 // This is implemented in GridLayout by the following grid, where [all...] |
GridModel.java | 16 package com.android.ide.common.layout.grid; 106 /** The actual count of rows found in the grid */ 109 /** The actual count of columns found in the grid */ 114 * corresponds to the column positions in the grid 120 * corresponds to the row positions in the grid 151 * An actual instance of a GridLayout object that this grid model corresponds to. 173 // the grid model is called repeatedly for the same view object.) 178 * Factory which returns a grid model for the given node. 494 // column numbers until we get to the column count of the grid, at which 687 // Handle "blank" grid layouts: insert a fake grid of CELL_COUNT^2 cell [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
UiTreeBlock.java | 89 /** Height hint for the tree view. Helps the grid layout resize properly on smaller screens. */ 209 Composite grid = SectionHelper.createGridLayout(section, toolkit, 2); local 211 Tree tree = createTreeViewer(toolkit, grid, managedForm); 212 createButtons(toolkit, grid); 244 private Tree createTreeViewer(FormToolkit toolkit, Composite grid, 248 final Tree tree = toolkit.createTree(grid, SWT.MULTI); 425 private void createButtons(FormToolkit toolkit, Composite grid) { 429 Composite button_grid = SectionHelper.createGridLayout(grid, toolkit, 1); [all...] |
/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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RelativeLayoutConversionHelper.java | 191 // Attempt to lay the views out in a grid with constraints (though not that widgets 193 Grid grid = new Grid(views, left, top); local 195 computeHorizontalConstraints(grid); 196 computeVerticalConstraints(grid); [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
ScreenViewer.java | 251 private BufferedImage grid; field in class:ScreenViewer.LoupeViewer 303 grid = new BufferedImage(width + zoom + 1, height + zoom + 1, 306 g2 = grid.createGraphics(); 308 g2 = grid.createGraphics(); 310 g2.fillRect(0, 0, grid.getWidth(), grid.getHeight()); 335 g.drawImage(grid, clip.x - clip.x % zoom, clip.y - clip.y % zoom, null);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
Tix.py | 49 # A few useful constants for the Grid widget 253 def grid(self, xsize=0, ysize=0): member in class:Form 255 x = self.tk.call('tixForm', 'grid', self._w) 261 return self.tk.call('tixForm', 'grid', self._w, xsize, ysize) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
Tix.py | 49 # A few useful constants for the Grid widget 253 def grid(self, xsize=0, ysize=0): member in class:Form 255 x = self.tk.call('tixForm', 'grid', self._w) 261 return self.tk.call('tixForm', 'grid', self._w, xsize, ysize) [all...] |