/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
FixedGridLayout.java | 77 int cellHeight = mCellHeight; 93 int top = y + ((cellHeight-h)/2); 100 y += cellHeight;
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardContainerView.java | 51 int cellHeight = 0; 70 if (cellHeight <= 0) { 71 cellHeight = v.getMeasuredHeight(); 74 lp.height = cellHeight; 80 final int newHeight = (int) ((mNumRows * cellHeight) + ((mNumRows - 1) * mCellGapY)) +
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
FixedGridLayout.java | 88 int cellHeight = mCellHeight; 104 int top = y + ((cellHeight-h)/2); 111 y += cellHeight;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_utils.h | 52 const int *const proximityCharsArray, const int cellHeight, const int cellWidth, 66 proximityCharsArray, cellHeight, cellWidth, gridWidth, mostCommonKeyWidth, 84 const int cellHeight, const int cellWidth, const int gridWidth) { 85 return ((y / cellHeight) * gridWidth + (x / cellWidth)) * MAX_PROXIMITY_CHARS_SIZE; 144 const int *const proximityCharsArray, const int cellHeight, const int cellWidth, 157 const int startIndex = getStartIndexFromCoordinates(x, y, cellHeight, cellWidth, gridWidth);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ShortcutAndWidgetContainer.java | 51 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, 54 mCellHeight = cellHeight; 116 final int cellHeight = mCellHeight; 119 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), mCountX);
|
PagedViewCellLayout.java | 462 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, 472 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) - 477 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin; 480 y = myCellY * (cellHeight + heightGap) + topMargin;
|
AppWidgetResizeFrame.java | 357 int cellHeight = landMetrics.top; 361 int landHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density); 365 cellHeight = portMetrics.top; 369 int portHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
|
CellLayout.java | 307 int cellHeight = r.getDimensionPixelSize(R.dimen.workspace_cell_height); 311 return minGap * (numCells - 1) + cellHeight * numCells; [all...] |
AppsCustomizePagedView.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 54 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, 57 mCellHeight = cellHeight; 144 final int cellHeight = mCellHeight; 147 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
|
PagedViewCellLayout.java | 457 int cellWidth, int cellHeight, int widthGap, int heightGap, 467 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) - 472 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin; 475 y = myCellY * (cellHeight + heightGap) + topMargin;
|
AppWidgetResizeFrame.java | 354 int cellHeight = landMetrics.top; 358 int landHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density); 362 cellHeight = portMetrics.top; 366 int portHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
|
/external/deqp/framework/randomshaders/ |
rsgProgramExecutor.cpp | 188 inline tcu::IVec4 computeVertexIndices (float cellWidth, float cellHeight, int gridVtxWidth, int gridVtxHeight, int x, int y) 192 int y0 = (int)deFloatFloor((float)y / cellHeight); 196 inline tcu::Vec2 computeGridCellWeights (float cellWidth, float cellHeight, int x, int y) 199 float gy = (y + 0.5f) / cellHeight; 306 float cellHeight = (float)height / (float)m_gridHeight; 326 tcu::IVec4 vtxIndices = computeVertexIndices(cellWidth, cellHeight, gridVtxWidth, gridVtxHeight, x, y); 327 tcu::Vec2 weights = computeGridCellWeights(cellWidth, cellHeight, x, y);
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
EdgeDemo.cpp | 251 SkScalar cellHeight = overall.height() / divs * 2; 260 overall.fTop + (overall.height() - cellHeight) * yDiv / divs, 261 cellWidth, cellHeight);
|
/external/skia/experimental/Intersection/ |
EdgeDemo.cpp | 251 SkScalar cellHeight = overall.height() / divs * 2; 260 overall.fTop + (overall.height() - cellHeight) * yDiv / divs, 261 cellWidth, cellHeight);
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 202 int cellHeight = resources.getDimensionPixelSize(R.dimen.workspace_cell_height); 209 int smallerSize = Math.min(cellWidth, cellHeight);
|
/external/deqp/modules/gles3/functional/ |
es3fTextureMipmapTests.cpp | 319 int cellHeight = viewport.height / gridHeight; 361 const int curY = cellHeight*gridY; 363 const int curH = gridY+1 == gridHeight ? (viewport.height-curY) : cellHeight; 413 const int curY = cellHeight*gridY; 415 const int curH = gridY+1 == gridHeight ? (viewport.height-curY) : cellHeight; [all...] |
es3fStencilTests.cpp | 318 int cellHeight = height/gridSize; 321 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight));
|
/external/deqp/modules/gles2/functional/ |
es2fStencilTests.cpp | 315 int cellHeight = height/gridSize; 318 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight));
|
es2fTextureMipmapTests.cpp | 273 int cellHeight = viewport.height / gridHeight; 315 const int curY = cellHeight*gridY; 317 const int curH = gridY+1 == gridHeight ? (viewport.height-curY) : cellHeight; 367 const int curY = cellHeight*gridY; 369 const int curH = gridY+1 == gridHeight ? (viewport.height-curY) : cellHeight; [all...] |
/frameworks/base/core/java/android/widget/ |
SimpleMonthView.java | 659 final int cellHeight = mRowHeight; 665 final int y = (offsetY + (row * cellHeight)); 667 rect.set(x, y, (x + cellWidth), (y + cellHeight));
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthView.java | 777 final int cellHeight = mRowHeight; 783 final int y = (offsetY + (row * cellHeight)); 785 rect.set(x, y, (x + cellWidth), (y + cellHeight));
|
/external/deqp/modules/gles2/accuracy/ |
es2aTextureMipmapTests.cpp | 276 int cellHeight = viewport.height / gridHeight; 322 int curY = cellHeight*gridY; 324 int curH = gridY+1 == gridHeight ? (viewport.height-curY) : cellHeight;
|
/external/deqp/modules/gles3/accuracy/ |
es3aTextureMipmapTests.cpp | 269 int cellHeight = viewport.height / gridHeight; 315 int curY = cellHeight*gridY; 317 int curH = gridY+1 == gridHeight ? (viewport.height-curY) : cellHeight;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 207 int cellHeight = topDistance + bottomDistance; 223 && dragBounds != null && dragBounds.h < cellHeight - 10) { 227 int centerDistance = Math.abs(cellHeight / 2 - topDistance); [all...] |