OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mCellHeight
(Results
1 - 11
of
11
) sorted by null
/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
;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
ProximityInfo.java
40
private final int
mCellHeight
;
62
mCellHeight
= (height + mGridHeight - 1) / mGridHeight;
87
mCellHeight
= o.
mCellHeight
;
221
final int gridHeight = mGridHeight *
mCellHeight
;
223
for (int y = 0; y < gridHeight; y +=
mCellHeight
) {
225
final int centerY = y +
mCellHeight
/ 2;
233
mGridNeighbors[(y /
mCellHeight
) * mGridWidth + (x / mCellWidth)] =
269
int index = (y /
mCellHeight
) * mGridWidth + (x / mCellWidth);
/packages/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayout.java
42
private int
mCellHeight
;
67
mOriginalCellHeight =
mCellHeight
=
75
mChildren.setCellDimensions(mCellWidth,
mCellHeight
);
86
return
mCellHeight
;
215
newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY *
mCellHeight
) +
241
return mCellCountY *
mCellHeight
+ (mCellCountY - 1) * Math.max(0, mHeightGap);
274
bottom +=
mCellHeight
/ 2;
305
int smallerSize = Math.min(mCellWidth,
mCellHeight
);
348
int n = Math.max(1, (availHeight + mHeightGap) / (
mCellHeight
+ mHeightGap));
358
getPaddingTop() + (y *
mCellHeight
) + (y * mHeightGap) + (mCellHeight / 2
[
all
...]
PagedViewCellLayoutChildren.java
35
private int
mCellHeight
;
63
mCellHeight
= height;
94
lp.setup(mCellWidth,
mCellHeight
, mWidthGap, mHeightGap,
ShortcutAndWidgetContainer.java
37
private int
mCellHeight
;
53
mCellHeight
= cellHeight;
103
lp.setup(mCellWidth,
mCellHeight
, mWidthGap, mHeightGap);
108
final int cellHeight =
mCellHeight
;
CellLayout.java
65
private int
mCellHeight
;
186
mCellHeight
= a.getDimensionPixelSize(R.styleable.CellLayout_cellHeight, 10);
281
mShortcutsAndWidgets.setCellDimensions(mCellWidth,
mCellHeight
, mWidthGap, mHeightGap);
430
cd.setBounds(0, 0, mCellWidth,
mCellHeight
);
762
result[1] = (y - vStartPadding) / (
mCellHeight
+ mHeightGap);
780
pointToCellExact(x + (mCellWidth / 2), y + (
mCellHeight
/ 2), result);
796
result[1] = vStartPadding + cellY * (
mCellHeight
+ mHeightGap);
824
result[1] = vStartPadding + cellY * (
mCellHeight
+ mHeightGap) +
825
(spanY *
mCellHeight
+ (spanY - 1) * mHeightGap) / 2;
839
final int top = vStartPadding + cellY * (
mCellHeight
+ mHeightGap)
[
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/Calendar/src/com/android/calendar/
DayView.java
470
private static int
mCellHeight
= 0; // shared among all DayViews
762
if (
mCellHeight
== 0) {
763
mCellHeight
= Utils.getSharedPreference(mContext,
[
all
...]
/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
...]
/frameworks/base/core/java/android/inputmethodservice/
Keyboard.java
141
private int
mCellHeight
;
727
mCellHeight
= (getHeight() + GRID_HEIGHT - 1) / GRID_HEIGHT;
731
final int gridHeight = GRID_HEIGHT *
mCellHeight
;
733
for (int y = 0; y < gridHeight; y +=
mCellHeight
) {
739
key.squaredDistanceFrom(x + mCellWidth - 1, y +
mCellHeight
- 1)
741
key.squaredDistanceFrom(x, y +
mCellHeight
- 1) < mProximityThreshold) {
747
mGridNeighbors[(y /
mCellHeight
) * GRID_WIDTH + (x / mCellWidth)] = cell;
762
int index = (y /
mCellHeight
) * GRID_WIDTH + (x / mCellWidth);
[
all
...]
Completed in 412 milliseconds