Searched defs:mCellHeight (Results 1 - 13 of 13) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayoutChildren.java35 private int mCellHeight; field in class:PagedViewCellLayoutChildren
63 mCellHeight = height;
94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
H A DShortcutAndWidgetContainer.java37 private int mCellHeight; field in class:ShortcutAndWidgetContainer
54 mCellHeight = cellHeight;
105 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
116 final int cellHeight = mCellHeight;
H A DPagedViewCellLayout.java42 private int mCellHeight; field in class:PagedViewCellLayout
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)
[all...]
H A DCellLayout.java66 private int mCellHeight; field in class:CellLayout
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);
873 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap) +
874 (spanY * mCellHeight
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedViewCellLayoutChildren.java35 private int mCellHeight; field in class:PagedViewCellLayoutChildren
63 mCellHeight = height;
95 mCellWidth, mCellHeight, mWidthGap, mHeightGap,
H A DShortcutAndWidgetContainer.java39 private int mCellHeight; field in class:ShortcutAndWidgetContainer
57 mCellHeight = cellHeight;
113 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
144 final int cellHeight = mCellHeight;
H A DPagedViewCellLayout.java39 private int mCellHeight; field in class:PagedViewCellLayout
63 mOriginalCellHeight = mCellHeight = grid.cellHeightPx;
69 mChildren.setCellDimensions(mCellWidth, mCellHeight);
80 return mCellHeight;
198 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) +
224 return mCellCountY * mCellHeight + (mCellCountY - 1) * Math.max(0, mHeightGap);
257 bottom += mCellHeight / 2;
288 int smallerSize = Math.min(mCellWidth, mCellHeight);
331 int n = Math.max(1, (availHeight + mHeightGap) / (mCellHeight + mHeightGap));
341 getPaddingTop() + (y * mCellHeight)
[all...]
H A DCellLayout.java62 private int mCellHeight; field in class:CellLayout
194 mCellWidth = mCellHeight = -1;
288 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
311 mFixedCellHeight = mCellHeight = height;
312 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
322 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
439 cd.setBounds(0, 0, mCellWidth, mCellHeight);
701 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap);
719 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result);
735 result[1] = vStartPadding + cellY * (mCellHeight
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DProximityInfo.java47 private final int mCellHeight; field in class:ProximityInfo
71 mCellHeight = (height + mGridHeight - 1) / mGridHeight;
254 final int lastPixelYCoordinate = mGridHeight * mCellHeight - 1;
266 final int halfCellHeight = mCellHeight / 2;
333 final int yDeltaToGrid = topPixelWithinThreshold % mCellHeight;
336 yMiddleOfTopCell + (yDeltaToGrid <= halfCellHeight ? 0 : mCellHeight));
346 int baseIndexOfCurrentRow = (yStart / mCellHeight) * mGridWidth + (xStart / mCellWidth);
347 for (int centerY = yStart; centerY <= yEnd; centerY += mCellHeight) {
402 int index = (y / mCellHeight) * mGridWidth + (x / mCellWidth);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info_state.h48 mKeyCount(0), mCellHeight(0), mCellWidth(0), mGridHeight(0), mGridWidth(0),
201 int mCellHeight; member in class:latinime::ProximityInfoState
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboard.java157 private int mCellHeight; field in class:Keyboard
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/
H A DGridViewSpecial.java83 mCellHeight = dpToPx(h, metrics);
87 int mCellWidth, mCellHeight; field in class:GridViewSpecial.LayoutSpec
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;
960 mEmptyBitmap = Bitmap.createBitmap(mSpec.mCellWidth, mSpec.mCellHeight,
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java470 private static int mCellHeight = 0; // shared among all DayViews field in class:DayView
763 if (mCellHeight == 0) {
764 mCellHeight = Utils.getSharedPreference(mContext,
1024 gotoY = mBaseDate.hour * (mCellHeight + HOUR_GAP);
1026 lastHour = (mGridAreaHeight - mFirstHourOffset) / (mCellHeight + HOUR_GAP)
1036 * (mCellHeight + HOUR_GAP) - mGridAreaHeight);
1042 + (mCellHeight + HOUR_GAP) + " lh " + lastHour + " gh " + mGridAreaHeight
1261 if (mCellHeight < mMinCellHeight) {
1262 mCellHeight = mMinCellHeight;
1319 mNumHours = mGridAreaHeight / (mCellHeight
[all...]

Completed in 269 milliseconds