HomeSort by relevance Sort by last modified time
    Searched refs:cellHeight (Results 1 - 25 of 36) sorted by null

1 2

  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
FixedTableModel.java 25 private float cellHeight;
26 protected FixedTableModel(float cellWidth, float cellHeight, TableOrder order) {
29 setCellHeight(cellHeight);
46 return cellHeight;
49 public void setCellHeight(float cellHeight) {
50 this.cellHeight = cellHeight;
DynamicTableModel.java 39 //private float cellHeight;
48 private Float cellHeight;
69 //this.cellHeight = cellHeight;
129 //elementSizeInPix = cellHeight;
175 return cellHeight;
178 public void setCellHeight(Float cellHeight) {
179 this.cellHeight = cellHeight;
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
GridPacker.java 38 int cellWidth = 0, cellHeight = 0;
42 cellHeight = Math.max(cellHeight, rect.height);
45 cellHeight += settings.paddingY;
51 Page result = packPage(inputRects, cellWidth, cellHeight);
57 private Page packPage (Array<Rect> inputRects, int cellWidth, int cellHeight) {
69 y += cellHeight;
70 if (y > maxHeight - cellHeight) break;
81 page.height = Math.max(page.height, y + cellHeight);
  /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;
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
CalendarPanel.java 227 double cellHeight = (d.height - labelHeight - 1) / numWeeks;
240 d.width - width, (int)cellHeight);
243 d.width - width, (int)cellHeight);
247 g.fillRect(0, (int)(labelHeight + cellHeight),
248 d.width, (int)(cellHeight * (numWeeks - 2)));
255 g.fillRect(0, (int)(labelHeight + (numWeeks-1) * cellHeight),
256 width, (int)cellHeight);
258 g.fillRect(d.width - width, (int)(labelHeight + (numWeeks-1) * cellHeight),
259 width, (int)cellHeight);
266 int y = (int)(labelHeight + i * cellHeight);
    [all...]
  /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 53 const int *const proximityCharsArray, const int cellHeight, const int cellWidth,
67 proximityCharsArray, cellHeight, cellWidth, gridWidth, mostCommonKeyWidth,
85 const int cellHeight, const int cellWidth, const int gridWidth) {
86 return ((y / cellHeight) * gridWidth + (x / cellWidth)) * MAX_PROXIMITY_CHARS_SIZE;
145 const int *const proximityCharsArray, const int cellHeight, const int cellWidth,
158 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 55 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap,
58 mCellHeight = cellHeight;
123 final int cellHeight = mCellHeight;
126 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
  /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 = ((float)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);
  /packages/apps/Messaging/src/com/android/messaging/ui/
MultiAttachmentLayout.java 99 public int getHeightMeasureSpec(final int cellHeight, final int padding) {
100 return MeasureSpec.makeMeasureSpec((endY - startY + 1) * cellHeight - padding * 2,
303 final int cellHeight = height / GRID_HEIGHT;
311 imageTile.getHeightMeasureSpec(cellHeight, padding));
326 imageTile.getHeightMeasureSpec(cellHeight, padding));
336 final int cellHeight = getMeasuredHeight() / GRID_HEIGHT;
345 final int tileTop = imageTile.startY * cellHeight;
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
HolidayCalendarDemo.java 615 double cellHeight = (d.height - labelHeight - 1) / numWeeks;
627 (int)(d.width - width), (int)cellHeight);
630 g.fillRect(0, (int)(labelHeight + cellHeight),
631 d.width, (int)(cellHeight * (numWeeks - 2)));
637 g.fillRect(0, (int)(labelHeight + (numWeeks-1) * cellHeight),
638 width, (int)(cellHeight));
644 int y = (int)(labelHeight + i * cellHeight);
667 int y = (int)(cellPos.y * cellHeight + labelHeight);
683 y = (int)((cellPos.y+1) * cellHeight) + labelHeight;
  /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 317 int cellHeight = viewport.height / gridHeight;
359 const int curY = cellHeight*gridY;
361 const int curH = gridY+1 == gridHeight ? (viewport.height-curY) : cellHeight;
411 const int curY = cellHeight*gridY;
413 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/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...]

Completed in 1270 milliseconds

1 2