/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;
|
/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/chromium/chrome/browser/autocomplete/ |
autocomplete_popup_view_mac.h | 96 float cellWidth); 116 const float cellWidth);
|
/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; 163 const int *const proximityCharsArray, const int cellHeight, const int cellWidth, 170 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...] |
AppsCustomizePagedView.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 54 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, 56 mCellWidth = cellWidth; 143 final int cellWidth = mCellWidth; 147 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
|
PagedViewCellLayout.java | 457 int cellWidth, int cellHeight, int widthGap, int heightGap, 465 width = myCellHSpan * cellWidth + ((myCellHSpan - 1) * widthGap) - 471 x = hStartPadding + myCellX * (cellWidth + widthGap) + leftMargin; 474 x = myCellX * (cellWidth + widthGap) + leftMargin;
|
AppWidgetResizeFrame.java | 355 int cellWidth = landMetrics.left; 359 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density); 363 cellWidth = portMetrics.left; 367 int portWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
|
AppsCustomizePagedView.java | [all...] |
CellLayout.java | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsContainerView.java | 68 float cellWidth = (float) Math.ceil(((float) availableWidth) / mNumColumns); 80 lp.width = (int) ((colSpan * cellWidth) + (colSpan - 1) * mCellGap);
|
/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...] |
GridDropHandler.java | 206 int cellWidth = leftDistance + rightDistance; 212 && dragBounds != null && dragBounds.w < cellWidth - 10) { 217 int centerDistance = Math.abs(cellWidth / 2 - leftDistance); [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...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
SimpleMonthView.java | 631 final int cellWidth = ((mWidth - (2 * mPadding)) / mNumDays); 635 final int x = (offsetX + (column * cellWidth)); 638 rect.set(x, y, (x + cellWidth), (y + cellHeight));
|
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternView.java | [all...] |
/frameworks/base/core/java/android/widget/ |
GridLayout.java | [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
GridLayout.java | [all...] |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |