OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mNumColumns
(Results
1 - 11
of
11
) sorted by null
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
QuickSettingsContainerView.java
35
private int
mNumColumns
;
57
mNumColumns
= r.getInteger(R.integer.quick_settings_num_columns);
67
(
mNumColumns
- 1) * mCellGap);
68
float cellWidth = (float) Math.ceil(((float) availableWidth) /
mNumColumns
);
97
int numRows = (int) Math.ceil((float) cursor /
mNumColumns
);
117
final int col = cursor %
mNumColumns
;
123
int row = (int) (cursor /
mNumColumns
);
126
if ((col + colSpan) >
mNumColumns
) {
144
if (cursor < (((row + 1) *
mNumColumns
))) {
/packages/apps/Gallery2/src/com/android/photos/views/
HeaderGridView.java
221
private int
mNumColumns
= 1;
255
if (
mNumColumns
!= numColumns) {
256
mNumColumns
= numColumns;
291
return getHeadersCount() *
mNumColumns
+ mAdapter.getCount();
293
return getHeadersCount() *
mNumColumns
;
309
int numHeadersAndPlaceholders = getHeadersCount() *
mNumColumns
;
311
return (position %
mNumColumns
== 0)
312
&& mHeaderViewInfos.get(position /
mNumColumns
).isSelectable;
331
int numHeadersAndPlaceholders = getHeadersCount() *
mNumColumns
;
333
if (position %
mNumColumns
== 0)
[
all
...]
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/ui/
ImageGridFragment.java
206
private int
mNumColumns
= 0;
227
return Images.imageThumbUrls.length +
mNumColumns
;
232
return position <
mNumColumns
?
233
null : Images.imageThumbUrls[position -
mNumColumns
];
238
return position <
mNumColumns
? 0 : position -
mNumColumns
;
249
return (position <
mNumColumns
) ? 1 : 0;
260
if (position <
mNumColumns
) {
287
mImageFetcher.loadImage(Images.imageThumbUrls[position -
mNumColumns
], imageView);
309
mNumColumns
= numColumns
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
MoreKeysKeyboardBuilderFixedOrderTests.java
73
assertEquals("1 key fix 5 M0 columns", 1, params.
mNumColumns
);
85
assertEquals("1 key fix 5 L0 columns", 1, params.
mNumColumns
);
97
assertEquals("1 key fix 5 L1 columns", 1, params.
mNumColumns
);
109
assertEquals("1 key fix 5 L2 columns", 1, params.
mNumColumns
);
121
assertEquals("1 key fix 5 R0 columns", 1, params.
mNumColumns
);
133
assertEquals("1 key fix 5 R1 columns", 1, params.
mNumColumns
);
145
assertEquals("1 key fix 5 R2 columns", 1, params.
mNumColumns
);
157
assertEquals("2 key fix 5 M0 columns", 2, params.
mNumColumns
);
170
assertEquals("2 key fix 5 L0 columns", 2, params.
mNumColumns
);
183
assertEquals("2 key fix 5 L1 columns", 2, params.
mNumColumns
);
[
all
...]
MoreKeysKeyboardBuilderTests.java
73
assertEquals("1 key max 5 M0 columns", 1, params.
mNumColumns
);
85
assertEquals("1 key max 5 L0 columns", 1, params.
mNumColumns
);
97
assertEquals("1 key max 5 L1 columns", 1, params.
mNumColumns
);
109
assertEquals("1 key max 5 L2 columns", 1, params.
mNumColumns
);
121
assertEquals("1 key max 5 R0 columns", 1, params.
mNumColumns
);
133
assertEquals("1 key max 5 R1 columns", 1, params.
mNumColumns
);
145
assertEquals("1 key max 5 R2 columns", 1, params.
mNumColumns
);
157
assertEquals("2 key max 5 M0 columns", 2, params.
mNumColumns
);
170
assertEquals("2 key max 5 L0 columns", 2, params.
mNumColumns
);
183
assertEquals("2 key max 5 L1 columns", 2, params.
mNumColumns
);
[
all
...]
/frameworks/opt/colorpicker/src/com/android/colorpicker/
ColorPickerPalette.java
43
private int
mNumColumns
;
58
mNumColumns
= columns;
105
if (rowElements ==
mNumColumns
) {
115
while (rowElements !=
mNumColumns
) {
149
int rowMax = ((rowNumber + 1) *
mNumColumns
);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MoreKeysKeyboard.java
50
public int
mNumColumns
;
90
mNumColumns
= numColumns;
130
mBaseWidth = mOccupiedWidth =
mNumColumns
* mColumnWidth - mDividerWidth;
137
if (mNumRows == 1 || mTopKeys % 2 == 1 || mTopKeys ==
mNumColumns
145
if (mNumRows == 1 || mTopKeys == 1 ||
mNumColumns
% 2 == mTopKeys % 2
158
final int col = n %
mNumColumns
;
159
final int row = n /
mNumColumns
;
178
final int col = n %
mNumColumns
;
179
final int row = n /
mNumColumns
;
350
final int row = n / params.
mNumColumns
;
[
all
...]
/frameworks/base/core/tests/coretests/src/android/util/
GridScenario.java
56
private int
mNumColumns
;
99
private int
mNumColumns
= GridView.AUTO_FIT;
177
mNumColumns
= numColumns;
248
if (
mNumColumns
>= GridView.AUTO_FIT) {
249
mGridView.setNumColumns(
mNumColumns
);
310
mNumColumns
= params.
mNumColumns
;
/frameworks/base/core/java/android/widget/
GridView.java
84
private int
mNumColumns
= AUTO_FIT;
227
final int numColumns =
mNumColumns
;
292
pos +=
mNumColumns
;
317
last = Math.min(startPos +
mNumColumns
, mItemCount);
320
startPos = Math.max(0, startPos -
mNumColumns
+ 1);
322
if (last - startPos <
mNumColumns
) {
323
final int deltaLeft = (
mNumColumns
- (last - startPos)) * (columnWidth + horizontalSpacing);
391
pos -=
mNumColumns
;
416
mFirstPosition -= mFirstPosition %
mNumColumns
;
425
lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition %
mNumColumns
));
[
all
...]
TableRow.java
48
private int
mNumColumns
= 0;
151
return
mNumColumns
;
175
mNumColumns
= virtualCount;
/prebuilts/devtools/tools/lib/
sdkuilib.jar
Completed in 805 milliseconds