OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mNumColumns
(Results
1 - 9
of
9
) sorted by null
/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
);
/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/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
))) {
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/ui/
ImageGridFragment.java
209
private int
mNumColumns
= 0;
230
return Images.imageThumbUrls.length +
mNumColumns
;
235
return position <
mNumColumns
?
236
null : Images.imageThumbUrls[position -
mNumColumns
];
241
return position <
mNumColumns
? 0 : position -
mNumColumns
;
252
return (position <
mNumColumns
) ? 1 : 0;
263
if (position <
mNumColumns
) {
290
mImageFetcher.loadImage(Images.imageThumbUrls[position -
mNumColumns
], imageView);
312
mNumColumns
= numColumns
[
all
...]
/frameworks/base/core/java/android/widget/
TableRow.java
48
private int
mNumColumns
= 0;
151
return
mNumColumns
;
175
mNumColumns
= virtualCount;
GridView.java
88
private int
mNumColumns
= AUTO_FIT;
231
final int numColumns =
mNumColumns
;
296
pos +=
mNumColumns
;
321
last = Math.min(startPos +
mNumColumns
, mItemCount);
324
startPos = Math.max(0, startPos -
mNumColumns
+ 1);
326
if (last - startPos <
mNumColumns
) {
327
final int deltaLeft = (
mNumColumns
- (last - startPos)) * (columnWidth + horizontalSpacing);
395
pos -=
mNumColumns
;
420
mFirstPosition -= mFirstPosition %
mNumColumns
;
429
lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition %
mNumColumns
));
[
all
...]
/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
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MoreKeysKeyboard.java
50
public int
mNumColumns
;
88
mNumColumns
= numColumns;
128
mBaseWidth = mOccupiedWidth =
mNumColumns
* mColumnWidth - mDividerWidth;
135
if (mNumRows == 1 || mTopKeys % 2 == 1 || mTopKeys ==
mNumColumns
143
if (mNumRows == 1 || mTopKeys == 1 ||
mNumColumns
% 2 == mTopKeys % 2
156
final int col = n %
mNumColumns
;
157
final int row = n /
mNumColumns
;
176
final int col = n %
mNumColumns
;
177
final int row = n /
mNumColumns
;
343
final int row = n / params.
mNumColumns
;
[
all
...]
/prebuilts/devtools/tools/lib/
sdkuilib.jar
Completed in 109 milliseconds