/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
FixedTableModel.java | 24 private float cellWidth;
26 protected FixedTableModel(float cellWidth, float cellHeight, TableOrder order) {
28 setCellWidth(cellWidth);
38 return cellWidth;
41 public void setCellWidth(float cellWidth) {
42 this.cellWidth = cellWidth;
|
DynamicTableModel.java | 38 //private float cellWidth;
47 private Float cellWidth;
66 //this.cellWidth = cellWidth;
84 cellWidth = colVal.floatValue();
134 //elementSizeInPix = cellWidth;
166 /* public void setCellWidth(Float cellWidth) {
167 this.cellWidth = cellWidth;
171 return cellWidth;
[all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
FixedGridLayout.java | 76 int cellWidth = mCellWidth; 78 int columns = (r - l) / cellWidth; 92 int left = x + ((cellWidth-w)/2); 103 x += cellWidth;
|
/packages/apps/Launcher3/src/com/android/launcher3/discovery/ |
RatingView.java | 71 int cellWidth = fullWidth / MAX_STARS; 72 int starWidth = (int) (cellWidth * WIDTH_FACTOR); 73 int padding = cellWidth - starWidth; 78 int x = i * cellWidth + padding; 85 int x = fullStars * cellWidth + padding;
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
FixedGridLayout.java | 87 int cellWidth = mCellWidth; 89 int columns = (r - l) / cellWidth; 103 int left = x + ((cellWidth-w)/2); 114 x += cellWidth;
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
CalendarPanel.java | 230 double cellWidth = (double)(d.width - 1) / daysInWeek; 238 int width = (int)(cellPos.x*cellWidth); // Width of unshaded area 254 width = (int)((cellPos.x+1)*cellWidth); // Width of shaded area 272 int x = (int)(i * cellWidth); 300 cellx = (int)((col) * cellWidth); 302 cellx = (int)((daysInWeek - col - 1) * cellWidth); 318 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(dayNum); 337 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(month);
|
/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/Calendar/src/com/android/calendar/ |
EventGeometry.java | 48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) { 100 float colWidth = (float) (cellWidth - (maxCols + 1) * mCellMargin) / (float) maxCols;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ShortcutAndWidgetContainer.java | 51 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, 53 mCellWidth = cellWidth; 115 final int cellWidth = mCellWidth; 119 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), mCountX);
|
PagedViewCellLayout.java | 462 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, 470 width = myCellHSpan * cellWidth + ((myCellHSpan - 1) * widthGap) - 476 x = hStartPadding + myCellX * (cellWidth + widthGap) + leftMargin; 479 x = myCellX * (cellWidth + widthGap) + leftMargin;
|
AppWidgetResizeFrame.java | 356 int cellWidth = landMetrics.left; 360 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density); 364 cellWidth = portMetrics.left; 368 int portWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
|
CellLayout.java | 296 int cellWidth = r.getDimensionPixelSize(R.dimen.workspace_cell_width); 300 return minGap * (numCells - 1) + cellWidth * numCells; [all...] |
/external/deqp/framework/randomshaders/ |
rsgProgramExecutor.cpp | 188 inline tcu::IVec4 computeVertexIndices (float cellWidth, float cellHeight, int gridVtxWidth, int gridVtxHeight, int x, int y) 191 int x0 = (int)deFloatFloor((float)x / cellWidth); 196 inline tcu::Vec2 computeGridCellWeights (float cellWidth, float cellHeight, int x, int y) 198 float gx = ((float)x + 0.5f) / cellWidth; 305 float cellWidth = (float)width / (float)m_gridWidth; 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 | 94 public int getWidthMeasureSpec(final int cellWidth, final int padding) { 95 return MeasureSpec.makeMeasureSpec((endX - startX + 1) * cellWidth - padding * 2, 302 final int cellWidth = width / GRID_WIDTH; 310 view.measure(imageTile.getWidthMeasureSpec(cellWidth, padding), 325 mPlusTextView.measure(imageTile.getWidthMeasureSpec(cellWidth, padding), 335 final int cellWidth = getMeasuredWidth() / GRID_WIDTH; 344 final int tileLeft = imageTile.startX * cellWidth;
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
HolidayCalendarDemo.java | 618 double cellWidth = (double)(d.width - 1) / daysInWeek; 626 int width = (int)(cellPos.x*cellWidth); // Width of unshaded area 637 width = (int)((cellPos.x+1)*cellWidth); // Width of shaded area 650 int x = (int)(i * cellWidth); 668 int x = (int)((cellPos.x + 1) * cellWidth); 684 x = (int)((cellPos.x) * cellWidth); 695 DemoTextBox box = new DemoTextBox(g, info.name, (int)(cellWidth - INSET));
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 52 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY) { 53 mCellWidth = cellWidth;
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureMipmapTests.cpp | 277 const int cellWidth = viewportWidth / gridWidth; 303 const int curX = cellWidth*gridX; 305 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; 352 const int curX = cellWidth*gridX; 354 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; 782 const int cellWidth = viewportWidth / gridWidth; 815 const int curX = cellWidth*gridX; 817 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; 866 const int curX = cellWidth*gridX; 868 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; [all...] |
/frameworks/base/core/java/android/widget/ |
DayPickerView.java | 231 final int cellWidth = monthView.getCellWidth(); 238 final int leftIconLeft = monthView.getPaddingLeft() + (cellWidth - leftDW) / 2; 244 final int rightIconRight = width - monthView.getPaddingRight() - (cellWidth - rightDW) / 2;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridModel.java | 693 int cellWidth = layoutBounds.w / CELL_COUNT; 697 xs[i] = i * cellWidth; [all...] |
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 201 int cellWidth = resources.getDimensionPixelSize(R.dimen.workspace_cell_width); 209 int smallerSize = Math.min(cellWidth, cellHeight);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RelativeLayoutConversionHelper.java | [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureMipmapTests.cpp | 317 int cellWidth = viewport.width / gridWidth; 359 const int curX = cellWidth*gridX; 361 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; 411 const int curX = cellWidth*gridX; 413 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; [all...] |
es3fStencilTests.cpp | 317 int cellWidth = width/gridSize; 321 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight));
|
/external/deqp/modules/gles2/functional/ |
es2fStencilTests.cpp | 314 int cellWidth = width/gridSize; 318 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight));
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthView.java | 778 final int cellWidth = ((mWidth - (2 * mEdgePadding)) / mNumDays); 782 final int x = (offsetX + (column * cellWidth)); 785 rect.set(x, y, (x + cellWidth), (y + cellHeight));
|