OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mCellWidth
(Results
1 - 10
of
10
) sorted by null
/development/samples/ApiDemos/src/com/example/android/apis/animation/
FixedGridLayout.java
38
int
mCellWidth
;
46
mCellWidth
= px;
57
int cellWidthSpec = MeasureSpec.makeMeasureSpec(
mCellWidth
,
70
setMeasuredDimension(resolveSize(
mCellWidth
* minCount, widthMeasureSpec),
76
int cellWidth =
mCellWidth
;
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayout.java
38
int
mCellWidth
;
51
mCellWidth
= a.getDimensionPixelSize(
59
mCellWidth
= px;
70
int cellWidthSpec = MeasureSpec.makeMeasureSpec(
mCellWidth
,
81
setMeasuredDimension(resolveSize(
mCellWidth
*count, widthMeasureSpec),
87
int cellWidth =
mCellWidth
;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
ProximityInfo.java
39
private final int
mCellWidth
;
51
mCellWidth
= (minWidth + mGridWidth - 1) / mGridWidth;
182
final int gridWidth = mGridWidth *
mCellWidth
;
184
for (int x = 0; x < gridWidth; x +=
mCellWidth
) {
186
final int centerX = x +
mCellWidth
/ 2;
197
mGridNeighbors[(y / mCellHeight) * mGridWidth + (x /
mCellWidth
)] = cell;
209
int index = (y / mCellHeight) * mGridWidth + (x /
mCellWidth
);
/packages/apps/Launcher2/src/com/android/launcher2/
CellLayoutChildren.java
34
private int
mCellWidth
;
50
mCellWidth
= cellWidth;
83
lp.setup(
mCellWidth
, mCellHeight, mWidthGap, mHeightGap);
87
final int cellWidth =
mCellWidth
;
PagedViewCellLayout.java
42
private int
mCellWidth
;
66
mOriginalCellWidth =
mCellWidth
=
76
mChildren.setCellDimensions(
mCellWidth
, mCellHeight);
83
return
mCellWidth
;
213
newWidth = mPaddingLeft + mPaddingRight + (mCellCountX *
mCellWidth
) +
248
return mCellCountX *
mCellWidth
+ (mCellCountX - 1) * Math.max(0, mWidthGap);
305
int smallerSize = Math.min(
mCellWidth
, mCellHeight);
334
int n = Math.max(1, (availWidth + mWidthGap) / (
mCellWidth
+ mWidthGap));
358
mPaddingLeft + (x *
mCellWidth
) + (x * mWidthGap) + (
mCellWidth
/ 2)
[
all
...]
PagedViewCellLayoutChildren.java
34
private int
mCellWidth
;
62
mCellWidth
= width;
94
lp.setup(
mCellWidth
, mCellHeight, mWidthGap, mHeightGap,
CellLayout.java
64
private int
mCellWidth
;
168
mCellWidth
= a.getDimensionPixelSize(R.styleable.CellLayout_cellWidth, 10);
284
mChildren.setCellDimensions(
mCellWidth
, mCellHeight, mWidthGap, mHeightGap);
528
x +=
mCellWidth
+ mWidthGap;
566
int centerX = mTempLocation[0] +
mCellWidth
/ 2;
581
centerX = mTempLocation[0] +
mCellWidth
/ 2;
596
int centerX = mTempLocation[0] +
mCellWidth
/ 2;
[
all
...]
/packages/apps/Gallery/src/com/android/camera/
GridViewSpecial.java
82
mCellWidth
= dpToPx(w, metrics);
87
int
mCellWidth
, mCellHeight;
215
mColumns = 1 + (width - mSpec.
mCellWidth
)
216
/ (mSpec.
mCellWidth
+ mSpec.mCellSpacing);
220
- (mColumns * mSpec.
mCellWidth
)) / 2;
262
int w = mSpec.
mCellWidth
;
507
+ (col * (mSpec.
mCellWidth
+ mSpec.mCellSpacing));
511
left + mSpec.
mCellWidth
+ mSpec.mCellSpacing,
525
(x - leftSpacing) / (mSpec.
mCellWidth
+ spacing));
679
mSpec.
mCellWidth
, mSpec.mCellHeight)
[
all
...]
/frameworks/base/core/java/android/inputmethodservice/
Keyboard.java
140
private int
mCellWidth
;
726
mCellWidth
= (getMinWidth() + GRID_WIDTH - 1) / GRID_WIDTH;
730
final int gridWidth = GRID_WIDTH *
mCellWidth
;
732
for (int x = 0; x < gridWidth; x +=
mCellWidth
) {
738
key.squaredDistanceFrom(x +
mCellWidth
- 1, y) < mProximityThreshold ||
739
key.squaredDistanceFrom(x +
mCellWidth
- 1, y + mCellHeight - 1)
747
mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x /
mCellWidth
)] = cell;
762
int index = (y / mCellHeight) * GRID_WIDTH + (x /
mCellWidth
);
[
all
...]
/packages/apps/Calendar/src/com/android/calendar/
DayView.java
285
private int
mCellWidth
;
[
all
...]
Completed in 371 milliseconds