/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
ThemePreviewLayout.java | 48 private int mNumColumns; 123 mNumColumns = Math.min((int) Math.ceil((double) wSize / itemWidth), mMaxColumns); 127 int wSizeNeeded = mNumColumns * itemWidth + (mNumColumns - 1) * mItemHorizontalMargin; 128 if (wSizeNeeded > wSize && mNumColumns > 1) { 129 mNumColumns--; 132 if (getChildCount() < mNumColumns) { 133 mNumColumns = getChildCount(); 135 if (mNumColumns == 0) { 136 mNumColumns = 1 [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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
PseudoGridView.java | 38 private int mNumColumns = 3; 52 mNumColumns = a.getInt(attr, 3); 73 int childWidth = (width - (mNumColumns - 1) * mHorizontalSpacing) / mNumColumns; 78 int rows = (children + mNumColumns - 1) / mNumColumns; 80 int startOfRow = row * mNumColumns; 81 int endOfRow = Math.min(startOfRow + mNumColumns, children); 108 int rows = (children + mNumColumns - 1) / mNumColumns; [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
MoreKeysKeyboardBuilderFixedOrderTests.java | 74 assertEquals("1 key fix 5 M0 columns", 1, params.mNumColumns); 86 assertEquals("1 key fix 5 L0 columns", 1, params.mNumColumns); 98 assertEquals("1 key fix 5 L1 columns", 1, params.mNumColumns); 110 assertEquals("1 key fix 5 L2 columns", 1, params.mNumColumns); 122 assertEquals("1 key fix 5 R0 columns", 1, params.mNumColumns); 134 assertEquals("1 key fix 5 R1 columns", 1, params.mNumColumns); 146 assertEquals("1 key fix 5 R2 columns", 1, params.mNumColumns); 158 assertEquals("2 key fix 5 M0 columns", 2, params.mNumColumns); 171 assertEquals("2 key fix 5 L0 columns", 2, params.mNumColumns); 184 assertEquals("2 key fix 5 L1 columns", 2, params.mNumColumns); [all...] |
MoreKeysKeyboardBuilderAutoOrderTests.java | 74 assertEquals("1 key auto 5 M0 columns", 1, params.mNumColumns); 86 assertEquals("1 key auto 5 L0 columns", 1, params.mNumColumns); 98 assertEquals("1 key auto 5 L1 columns", 1, params.mNumColumns); 110 assertEquals("1 key auto 5 L2 columns", 1, params.mNumColumns); 122 assertEquals("1 key auto 5 R0 columns", 1, params.mNumColumns); 134 assertEquals("1 key auto 5 R1 columns", 1, params.mNumColumns); 146 assertEquals("1 key auto 5 R2 columns", 1, params.mNumColumns); 158 assertEquals("2 key auto 5 M0 columns", 2, params.mNumColumns); 171 assertEquals("2 key auto 5 L0 columns", 2, params.mNumColumns); 184 assertEquals("2 key auto 5 L1 columns", 2, params.mNumColumns); [all...] |
MoreKeysKeyboardBuilderMaxOrderTests.java | 74 assertEquals("1 key max 5 M0 columns", 1, params.mNumColumns); 86 assertEquals("1 key max 5 L0 columns", 1, params.mNumColumns); 98 assertEquals("1 key max 5 L1 columns", 1, params.mNumColumns); 110 assertEquals("1 key max 5 L2 columns", 1, params.mNumColumns); 122 assertEquals("1 key max 5 R0 columns", 1, params.mNumColumns); 134 assertEquals("1 key max 5 R1 columns", 1, params.mNumColumns); 146 assertEquals("1 key max 5 R2 columns", 1, params.mNumColumns); 158 assertEquals("2 key max 5 M0 columns", 2, params.mNumColumns); 171 assertEquals("2 key max 5 L0 columns", 2, params.mNumColumns); 184 assertEquals("2 key max 5 L1 columns", 2, params.mNumColumns); [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageGridFragment.java | 219 private int mNumColumns = 0; 245 return Images.imageThumbUrls.length + mNumColumns; 250 return position < mNumColumns ? 251 null : Images.imageThumbUrls[position - mNumColumns]; 256 return position < mNumColumns ? 0 : position - mNumColumns; 267 return (position < mNumColumns) ? 1 : 0; 279 if (position < mNumColumns) { 306 mImageFetcher.loadImage(Images.imageThumbUrls[position - mNumColumns], imageView); 329 mNumColumns = numColumns [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageGridFragment.java | 219 private int mNumColumns = 0; 245 return Images.imageThumbUrls.length + mNumColumns; 250 return position < mNumColumns ? 251 null : Images.imageThumbUrls[position - mNumColumns]; 256 return position < mNumColumns ? 0 : position - mNumColumns; 267 return (position < mNumColumns) ? 1 : 0; 279 if (position < mNumColumns) { 306 mImageFetcher.loadImage(Images.imageThumbUrls[position - mNumColumns], imageView); 329 mNumColumns = numColumns [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/ |
ImageGridFragment.java | 219 private int mNumColumns = 0; 245 return Images.imageThumbUrls.length + mNumColumns; 250 return position < mNumColumns ? 251 null : Images.imageThumbUrls[position - mNumColumns]; 256 return position < mNumColumns ? 0 : position - mNumColumns; 267 return (position < mNumColumns) ? 1 : 0; 279 if (position < mNumColumns) { 306 mImageFetcher.loadImage(Images.imageThumbUrls[position - mNumColumns], imageView); 329 mNumColumns = numColumns [all...] |
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/ |
BandController_GridModelTest.java | 285 private final int mNumColumns; 296 mNumColumns = numColumns; 297 mSeparatorPosition = mNumColumns + 1; 312 for (int j = 0; j < mNumColumns && i < mNumChildren; j++) { 350 int mod = mSeparatorPosition % mNumColumns; 351 if (index == (mSeparatorPosition / mNumColumns)) { 353 return mod > 0 ? mod : mNumColumns; 358 int finalRowCount = (mNumChildren - mod) % mNumColumns; 359 return finalRowCount > 0 ? finalRowCount : mNumColumns; 362 return mNumColumns; [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
ColorPickerPalette.java | 43 private int mNumColumns; 58 mNumColumns = columns; 111 if (rowElements == mNumColumns) { 121 while (rowElements != mNumColumns) { 159 int rowMax = ((rowNumber + 1) * mNumColumns);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MoreKeysKeyboard.java | 49 public int mNumColumns; 93 mNumColumns = numColumns; 133 mBaseWidth = mOccupiedWidth = mNumColumns * mColumnWidth - mDividerWidth; 140 if (mNumRows == 1 || mTopKeys % 2 == 1 || mTopKeys == mNumColumns 148 if (mNumRows == 1 || mTopKeys == 1 || mNumColumns % 2 == mTopKeys % 2 161 final int col = n % mNumColumns; 162 final int row = n / mNumColumns; 181 final int col = n % mNumColumns; 182 final int row = n / mNumColumns; 340 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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
VerticalGridPresenter.java | 93 private int mNumColumns = -1; 151 if (mNumColumns != numColumns) { 152 mNumColumns = numColumns; 160 return mNumColumns; 261 if (mNumColumns == -1) { 264 if (DEBUG) Log.v(TAG, "mNumColumns " + mNumColumns); 265 vh.getGridView().setNumColumns(mNumColumns);
|
/frameworks/base/core/java/android/widget/ |
GridView.java | 104 private int mNumColumns = AUTO_FIT; 251 final int numColumns = mNumColumns; 316 pos += mNumColumns; 341 last = Math.min(startPos + mNumColumns, mItemCount); 344 startPos = Math.max(0, startPos - mNumColumns + 1); 346 if (last - startPos < mNumColumns) { 347 final int deltaLeft = (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing); 416 pos -= mNumColumns; 441 mFirstPosition -= mFirstPosition % mNumColumns; 450 lastPosition = mItemCount - 1 - (invertedPosition - (invertedPosition % mNumColumns)); [all...] |
TableRow.java | 47 private int mNumColumns = 0; 150 return mNumColumns; 174 mNumColumns = virtualCount;
|
/prebuilts/sdk/current/extras/constraint-layout-solver/ |
android-support-constraint-layout-solver.jar | |
/prebuilts/devtools/tools/lib/ |
sdkuilib.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdkuilib/24.4.0-beta6/ |
sdkuilib-24.4.0-beta6.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdkuilib/24.5.0/ |
sdkuilib-24.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdkuilib/25.0.0-alpha1/ |
sdkuilib-25.0.0-alpha1.jar | |
/prebuilts/sdk/current/support/v17/leanback/libs/ |
android-support-v17-leanback.jar | |