Searched defs:numRows (Results 1 - 17 of 17) sorted by relevance

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
H A DHeadersFragmentTest.java40 static void loadData(ArrayObjectAdapter adapter, int numRows) { argument
41 for (int i = 0; i < numRows; ++i) {
H A DHeadersSupportFragmentTest.java43 static void loadData(ArrayObjectAdapter adapter, int numRows) { argument
44 for (int i = 0; i < numRows; ++i) {
H A DRowsFragmentTest.java56 static void loadData(ArrayObjectAdapter adapter, int numRows, int repeatPerRow) { argument
57 for (int i = 0; i < numRows; ++i) {
H A DRowsSupportFragmentTest.java59 static void loadData(ArrayObjectAdapter adapter, int numRows, int repeatPerRow) { argument
60 for (int i = 0; i < numRows; ++i) {
/frameworks/base/core/tests/coretests/src/android/util/
H A DScrollViewScenario.java154 * @param numRows The number of rows in the internal selection view.
157 public Params addInternalSelectionView(final int numRows, float heightRatio) { argument
160 return new InternalSelectionView(context, numRows, "isv");
H A DInternalSelectionView.java65 public InternalSelectionView(Context context, int numRows, String label) { argument
67 mNumRows = numRows;
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp119 int numRows = (height - rowIndex) / 2; local
120 if (numRows > 8) numRows = 8;
121 for (int row = 0; row < numRows; ++row) {
194 int numRows = height - rowIndex; local
195 if (numRows > 16) numRows = 16;
196 for (int row = 0; row < numRows; ++row) {
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java210 private Cursor getCursor(ContentValues contentValues, int numRows) { argument
223 for (i = 0; i < numRows; i++) {
/frameworks/base/libs/androidfw/include/androidfw/
H A DCursorWindow.h92 inline uint32_t getNumRows() { return mHeader->numRows; }
151 uint32_t numRows; member in struct:android::CursorWindow::Header
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DAppearAnimationUtils.java250 float getRowTranslationScale(int row, int numRows); argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DHorizontalGridView.java102 public void setNumRows(int numRows) { argument
103 mLayoutManager.setNumRows(numRows);
H A DGrid.java206 * @param numRows numberOfRows
208 void setNumRows(int numRows) { argument
209 if (numRows <= 0) {
212 if (mNumRows == numRows) {
215 mNumRows = numRows;
H A DListRowPresenter.java409 public void setNumRows(int numRows) { argument
410 this.mNumRows = numRows;
H A DGridLayoutManager.java782 public void setNumRows(int numRows) { argument
783 if (numRows < 0) throw new IllegalArgumentException();
784 mNumRowsRequested = numRows;
2062 Log.v(getTag(), "layoutChildren start numRows " + mNumRows
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java215 * @param numRows The total number of rows for the menu view
220 private void layoutItemsUsingGravity(int numRows, int numItems) { argument
221 int numBaseItemsPerRow = numItems / numRows;
222 int numLeftoverItems = numItems % numRows;
229 int rowsThatGetALeftoverItem = numRows - numLeftoverItems;
232 for (int i = 0; i < numRows; i++) {
241 mLayoutNumRows = numRows;
255 int numRows = mLayoutNumRows;
256 for (int row = 0; row < numRows; row++) {
331 final int numRows
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp557 int numRows; local
698 numRows = numYDivs + 1;
700 numRows--;
703 numRows--;
708 if (numRows * numCols > 0x7F) {
713 numColors = numRows * numCols;
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp991 int numRows; local
1139 numRows = numYDivs + 1;
1141 numRows--;
1144 numRows--;
1149 if (numRows * numCols > 0x7F) {
1154 numColors = numRows * numCols;

Completed in 1444 milliseconds