/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
InsertingCells.java | 50 private int mCellHeight; 63 mCellHeight = (int)(getResources().getDimension(R.dimen.cell_height)); 85 mCellHeight);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
FixedGridLayout.java | 39 int mCellHeight; 51 mCellHeight = px; 59 int cellHeightSpec = MeasureSpec.makeMeasureSpec(mCellHeight, 71 resolveSize(mCellHeight * minCount, heightMeasureSpec)); 77 int cellHeight = mCellHeight;
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
FixedGridLayout.java | 39 int mCellHeight; 53 mCellHeight = a.getDimensionPixelSize( 64 mCellHeight = px; 72 int cellHeightSpec = MeasureSpec.makeMeasureSpec(mCellHeight, 82 resolveSize(mCellHeight*count, heightMeasureSpec)); 88 int cellHeight = mCellHeight;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
TileLayout.java | 23 protected int mCellHeight; 78 mCellHeight = mContext.getResources().getDimensionPixelSize(R.dimen.qs_tile_height); 99 record.tileView.measure(exactly(mCellWidth), exactly(mCellHeight)); 102 int height = (mCellHeight + mCellMargin) * rows + (mCellMarginTop - mCellMargin); 137 return row * (mCellHeight + mCellMargin) + mCellMarginTop;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewCellLayoutChildren.java | 35 private int mCellHeight; 63 mCellHeight = height; 94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
|
ShortcutAndWidgetContainer.java | 37 private int mCellHeight; 54 mCellHeight = cellHeight; 105 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), 116 final int cellHeight = mCellHeight;
|
PagedViewCellLayout.java | 42 private int mCellHeight; 67 mOriginalCellHeight = mCellHeight = 75 mChildren.setCellDimensions(mCellWidth, mCellHeight); 86 return mCellHeight; 204 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) + 230 return mCellCountY * mCellHeight + (mCellCountY - 1) * Math.max(0, mHeightGap); 263 bottom += mCellHeight / 2; 294 int smallerSize = Math.min(mCellWidth, mCellHeight); 337 int n = Math.max(1, (availHeight + mHeightGap) / (mCellHeight + mHeightGap)); 347 getPaddingTop() + (y * mCellHeight) + (y * mHeightGap) + (mCellHeight / 2 [all...] |
CellLayout.java | 66 private int mCellHeight; 190 mCellHeight = a.getDimensionPixelSize(R.styleable.CellLayout_cellHeight, 10); 286 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 336 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 476 cd.setBounds(0, 0, mCellWidth, mCellHeight); 811 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap); 829 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result); 845 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap); [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_state.h | 49 mKeyCount(0), mCellHeight(0), mCellWidth(0), mGridHeight(0), mGridWidth(0), 202 int mCellHeight;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 38 private int mCellHeight; 54 mCellHeight = cellHeight; 92 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, 95 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX); 115 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, 119 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX);
|
CellLayout.java | 82 @Thunk int mCellHeight; 207 mCellWidth = mCellHeight = -1; 289 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); 368 mFixedCellHeight = mCellHeight = height; 369 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); 378 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); 484 cd.setBounds(0, 0, mCellWidth, mCellHeight); 700 result[1] = (y - vStartPadding) / mCellHeight; 718 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result); 734 result[1] = vStartPadding + cellY * mCellHeight; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
ProximityInfo.java | 49 private final int mCellHeight; 69 mCellHeight = (height + mGridHeight - 1) / mGridHeight; 252 final int lastPixelYCoordinate = mGridHeight * mCellHeight - 1; 264 final int halfCellHeight = mCellHeight / 2; 331 final int yDeltaToGrid = topPixelWithinThreshold % mCellHeight; 334 yMiddleOfTopCell + (yDeltaToGrid <= halfCellHeight ? 0 : mCellHeight)); 344 int baseIndexOfCurrentRow = (yStart / mCellHeight) * mGridWidth + (xStart / mCellWidth); 345 for (int centerY = yStart; centerY <= yEnd; centerY += mCellHeight) { 398 int index = (y / mCellHeight) * mGridWidth + (x / mCellWidth);
|
/frameworks/base/core/java/android/inputmethodservice/ |
Keyboard.java | 142 private int mCellHeight; 740 mCellHeight = (getHeight() + GRID_HEIGHT - 1) / GRID_HEIGHT; 744 final int gridHeight = GRID_HEIGHT * mCellHeight; 746 for (int y = 0; y < gridHeight; y += mCellHeight) { 752 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) 754 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold) { 760 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; 775 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth); [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
Keyboard.java | 157 private int mCellHeight; 703 mCellHeight = (getHeight() + GRID_HEIGHT - 1) / GRID_HEIGHT; 707 final int gridHeight = GRID_HEIGHT * mCellHeight; 709 for (int y = 0; y < gridHeight; y += mCellHeight) { 715 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) 717 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold || 718 key.isInside(x, y, mCellWidth, mCellHeight)) { 724 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; 739 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth);
|
/packages/apps/Gallery/src/com/android/camera/ |
GridViewSpecial.java | 83 mCellHeight = dpToPx(h, metrics); 87 int mCellWidth, mCellHeight; 138 private int mBlockHeight; // Cache mSpec.mCellSpacing + mSpec.mCellHeight 223 mBlockHeight = mSpec.mCellSpacing + mSpec.mCellHeight; 263 int h = mSpec.mCellHeight; 512 top + mSpec.mCellHeight + mSpec.mCellSpacing); 523 int row = (mScrollY + y - spacing) / (mSpec.mCellHeight + spacing); 679 mSpec.mCellWidth, mSpec.mCellHeight); 758 mBlockHeight = mSpec.mCellSpacing + mSpec.mCellHeight; [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
DayView.java | 470 private static int mCellHeight = 0; // shared among all DayViews 763 if (mCellHeight == 0) { 764 mCellHeight = Utils.getSharedPreference(mContext, [all...] |