OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mNumRows
(Results
1 - 15
of
15
) sorted by null
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
StaggeredGridDefault.java
31
rowIndex = (mLocations.getLast().row + 1) %
mNumRows
;
34
rowIndex = mStartRow != START_DEFAULT ? mStartRow : itemIndex %
mNumRows
;
44
for (; rowIndex <
mNumRows
; rowIndex++) {
81
rowIndex =
mNumRows
- 1;
87
rowIndex = mStartRow != START_DEFAULT ? mStartRow : itemIndex %
mNumRows
;
114
rowIndex =
mNumRows
- 1;
133
while (endRow <
mNumRows
- 1 && endIndex < lastIndex) {
StaggeredGrid.java
96
protected int
mNumRows
= 1; // mRows.length
134
mNumRows
= row.length;
136
mTmpItemPositionsInRows = new ArrayList[
mNumRows
];
137
for (int i = 0; i <
mNumRows
; i++) {
146
return
mNumRows
;
218
for (int i = 1; i <
mNumRows
; i++) {
228
for (int i = 1; i <
mNumRows
; i++) {
253
for (int i = 1; i <
mNumRows
; i++) {
263
for (int i = 1; i <
mNumRows
; i++) {
285
for (int i = 0; i <
mNumRows
; i++)
[
all
...]
GridLayoutManager.java
276
private int
mNumRows
;
551
return mOrientation == HORIZONTAL ||
mNumRows
> 1;
558
return mOrientation == VERTICAL ||
mNumRows
> 1;
669
if (mRows != null &&
mNumRows
== mRows.length &&
689
for (int i = 0; i <
mNumRows
; i++) {
696
for (int i = 0; i <
mNumRows
; i++) {
728
for (int i = 0; i <
mNumRows
; i++) {
734
for (int i = 0; i <
mNumRows
; i++) {
747
mRows = new StaggeredGrid.Row[
mNumRows
];
749
for (int i = 0; i <
mNumRows
; i++)
[
all
...]
/frameworks/base/core/tests/coretests/src/android/util/
InternalSelectionView.java
58
private int
mNumRows
= 5;
67
mNumRows
= numRows;
77
mNumRows
= a.getInt(R.styleable.SelectableRowView_numRows, 5);
89
return
mNumRows
;
132
mNumRows
* mEstimatedPixelHeight + mPaddingTop + mPaddingBottom;
149
for (int i = 0; i <
mNumRows
; i++) {
187
final int desiredRowHeight = availableHeight /
mNumRows
;
188
if (row <
mNumRows
- 1) {
191
final int residualHeight = availableHeight %
mNumRows
;
223
if (mSelectedRow < (
mNumRows
- 1))
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
MoreKeysKeyboardBuilderFixedOrderTests.java
75
assertEquals("1 key fix 5 M0 rows", 1, params.
mNumRows
);
87
assertEquals("1 key fix 5 L0 rows", 1, params.
mNumRows
);
99
assertEquals("1 key fix 5 L1 rows", 1, params.
mNumRows
);
111
assertEquals("1 key fix 5 L2 rows", 1, params.
mNumRows
);
123
assertEquals("1 key fix 5 R0 rows", 1, params.
mNumRows
);
135
assertEquals("1 key fix 5 R1 rows", 1, params.
mNumRows
);
147
assertEquals("1 key fix 5 R2 rows", 1, params.
mNumRows
);
159
assertEquals("2 key fix 5 M0 rows", 1, params.
mNumRows
);
172
assertEquals("2 key fix 5 L0 rows", 1, params.
mNumRows
);
185
assertEquals("2 key fix 5 L1 rows", 1, params.
mNumRows
);
[
all
...]
MoreKeysKeyboardBuilderAutoOrderTests.java
75
assertEquals("1 key auto 5 M0 rows", 1, params.
mNumRows
);
87
assertEquals("1 key auto 5 L0 rows", 1, params.
mNumRows
);
99
assertEquals("1 key auto 5 L1 rows", 1, params.
mNumRows
);
111
assertEquals("1 key auto 5 L2 rows", 1, params.
mNumRows
);
123
assertEquals("1 key auto 5 R0 rows", 1, params.
mNumRows
);
135
assertEquals("1 key auto 5 R1 rows", 1, params.
mNumRows
);
147
assertEquals("1 key auto 5 R2 rows", 1, params.
mNumRows
);
159
assertEquals("2 key auto 5 M0 rows", 1, params.
mNumRows
);
172
assertEquals("2 key auto 5 L0 rows", 1, params.
mNumRows
);
185
assertEquals("2 key auto 5 L1 rows", 1, params.
mNumRows
);
[
all
...]
MoreKeysKeyboardBuilderMaxOrderTests.java
75
assertEquals("1 key max 5 M0 rows", 1, params.
mNumRows
);
87
assertEquals("1 key max 5 L0 rows", 1, params.
mNumRows
);
99
assertEquals("1 key max 5 L1 rows", 1, params.
mNumRows
);
111
assertEquals("1 key max 5 L2 rows", 1, params.
mNumRows
);
123
assertEquals("1 key max 5 R0 rows", 1, params.
mNumRows
);
135
assertEquals("1 key max 5 R1 rows", 1, params.
mNumRows
);
147
assertEquals("1 key max 5 R2 rows", 1, params.
mNumRows
);
159
assertEquals("2 key max 5 M0 rows", 1, params.
mNumRows
);
172
assertEquals("2 key max 5 L0 rows", 1, params.
mNumRows
);
185
assertEquals("2 key max 5 L1 rows", 1, params.
mNumRows
);
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/view/
InternalSelectionView.java
50
private int
mNumRows
= 5;
64
mNumRows
= numRows;
82
return
mNumRows
;
125
mNumRows
* mEstimatedPixelHeight + getPaddingTop() + getPaddingBottom();
145
for (int i = 0; i <
mNumRows
; i++) {
180
return (getHeight() - getPaddingTop() - getPaddingBottom()) /
mNumRows
;
214
if (mSelectedRow < (
mNumRows
- 1)) {
242
mSelectedRow =
mNumRows
- 1;
250
int yPerRow = getHeight() /
mNumRows
;
/packages/apps/Settings/src/com/android/settings/dashboard/
DashboardContainerView.java
31
private int
mNumRows
;
79
mNumRows
= (int) Math.ceil((float) cursor / mNumColumns);
80
final int newHeight = (int) ((
mNumRows
* cellHeight) + ((
mNumRows
- 1) * mCellGapY)) +
111
if (row ==
mNumRows
- 1) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MoreKeysKeyboard.java
46
public int
mNumRows
;
88
mNumRows
= numRows;
133
mBaseHeight = mOccupiedHeight =
mNumRows
* mDefaultRowHeight - mVerticalGap
138
if (
mNumRows
== 1 || mTopKeys % 2 == 1 || mTopKeys == mNumColumns
146
if (
mNumRows
== 1 || mTopKeys == 1 || mNumColumns % 2 == mTopKeys % 2
222
while (getTopRowEmptySlots(numKeys, numColumns) >=
mNumRows
) {
241
return (
mNumRows
- 1 - row) * mDefaultRowHeight + mTopPadding;
252
return
mNumRows
> 1 && rowCount ==
mNumRows
- 1;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
MoreSuggestions.java
48
private int
mNumRows
;
96
mNumRows
= row + 1;
99
mBaseHeight = mOccupiedHeight =
mNumRows
* mDefaultRowHeight + mVerticalGap;
114
for (int row = 0; row <
mNumRows
; row++) {
150
return (
mNumRows
-1 - row) * mDefaultRowHeight + mTopPadding;
162
if (row ==
mNumRows
- 1)
/frameworks/base/core/java/android/widget/
SimpleMonthView.java
137
private int
mNumRows
= DEFAULT_NUM_ROWS;
370
mNumRows
= calculateNumRows();
399
mNumRows
= DEFAULT_NUM_ROWS;
418
setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), mRowHeight *
mNumRows
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
MonthView.java
176
protected int
mNumRows
= DEFAULT_NUM_ROWS;
386
mNumRows
= calculateNumRows();
397
mNumRows
= DEFAULT_NUM_ROWS;
416
setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), mRowHeight *
mNumRows
/prebuilts/devtools/tools/lib/
traceview.jar
/prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar
Completed in 1562 milliseconds