HomeSort by relevance Sort by last modified time
    Searched refs:mNumRows (Results 1 - 24 of 24) sorted by null

  /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...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
StaggeredGridDefault.java 113 for (int i = indexLimit + 1; visitedRows < mNumRows && i <= mLastVisibleIndex; i++) {
128 for (int i = indexLimit - 1; visitedRows < mNumRows && i >= mFirstVisibleIndex; i--) {
165 for (int i = indexLimit - 1; visitedRows < mNumRows && i >= mFirstVisibleIndex; i--) {
181 for (int i = indexLimit + 1; visitedRows < mNumRows && i <= mLastVisibleIndex; i++) {
209 } else if (wrapped && row == mNumRows - 1) {
216 if (row == mNumRows - 1) {
246 for (int i = 0; i < mNumRows; i++) {
260 if (rowIndex == mNumRows) {
271 % mNumRows;
281 for (; rowIndex < mNumRows; rowIndex++)
    [all...]
Grid.java 112 protected int mNumRows;
179 return mNumRows;
193 if (mNumRows == numRows) {
196 mNumRows = numRows;
197 mTmpItemPositionsInRows = new CircularIntArray[mNumRows];
198 for (int i = 0; i < mNumRows; i++) {
334 * (i.e. filled items from row 0 to row mNumRows - 1)
360 * (i.e. filled items from row 0 to row mNumRows - 1)
GridLayoutManager.java 284 * by skipping "mNumRows" per movement; staggered grid will have to wait the item
292 int startPos = mPendingMoves > 0 ? mFocusPosition + mNumRows :
293 mFocusPosition - mNumRows;
295 pos = mPendingMoves > 0 ? pos + mNumRows: pos - mNumRows) {
539 private int mNumRows;
936 return mOrientation == HORIZONTAL || mNumRows > 1;
943 return mOrientation == VERTICAL || mNumRows > 1;
    [all...]
StaggeredGrid.java 347 if (rowIndex == mNumRows - 1) {
411 for (int i = 0; i < mNumRows; i++) {
ListRowPresenter.java 272 private int mNumRows = 1;
398 this.mNumRows = numRows;
448 rowViewHolder.mGridView.setNumRows(mNumRows);
  /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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MoreKeysKeyboard.java 48 public int mNumRows;
90 mNumRows = numRows;
135 mBaseHeight = mOccupiedHeight = mNumRows * mDefaultRowHeight - mVerticalGap
140 if (mNumRows == 1 || mTopKeys % 2 == 1 || mTopKeys == mNumColumns
148 if (mNumRows == 1 || mTopKeys == 1 || mNumColumns % 2 == mTopKeys % 2
224 while (getTopRowEmptySlots(numKeys, numColumns) >= mNumRows) {
243 return (mNumRows - 1 - row) * mDefaultRowHeight + mTopPadding;
254 return mNumRows > 1 && rowCount == mNumRows - 1;
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
MultiSelectManager_GridModelTest.java 285 private final int mNumRows;
297 mNumRows = setupGrid();
334 return CHILD_VIEW_EDGE_PX * mNumRows + VIEW_PADDING_PX * (mNumRows + 1);
344 return Math.min(lastVisibleRowUncapped, mNumRows - 1);
348 assertTrue(index >= 0 && index < mNumRows);
355 if (index == 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/support/v17/tests/src/android/support/v17/leanback/widget/
GridWidgetTest.java 57 protected int mNumRows;
243 if (mNumRows != rows.size()) {
244 assertEquals("Dump Views by rows "+rows, mNumRows, rows.size());
378 mNumRows = 3;
450 mNumRows = 1;
505 mNumRows = 1;
565 mNumRows = 3;
593 mNumRows = 3;
617 mNumRows = 3;
655 mNumRows = 3
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
GsmInboundSmsHandlerTest.java 110 private int mNumRows = 0;
126 if (mNumRows > 0) {
165 mNumRows++;
166 newUri = Uri.withAppendedPath(uri, "" + mNumRows);
169 logd("insert called, new numRows: " + mNumRows);
179 newRow.add(mNumRows + 1);
244 if (mNumRows > 0) {
  /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/maven_repo/android/com/android/support/constraint/constraint-layout-solver/1.0.0-alpha1/
constraint-layout-solver-1.0.0-alpha1.jar 
  /prebuilts/tools/common/offline-m2/com/android/support/constraint/constraint-layout-solver/1.0.0-alpha3/
constraint-layout-solver-1.0.0-alpha3.jar 
  /prebuilts/tools/common/offline-m2/com/android/support/constraint/constraint-layout-solver/1.0.0-alpha4/
constraint-layout-solver-1.0.0-alpha4.jar 
  /prebuilts/devtools/tools/lib/
traceview.jar 
  /prebuilts/gradle-plugin/com/android/tools/traceview/24.4.0-beta6/
traceview-24.4.0-beta6.jar 
  /prebuilts/gradle-plugin/com/android/tools/traceview/24.5.0/
traceview-24.5.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/traceview/25.0.0-alpha1/
traceview-25.0.0-alpha1.jar 
  /prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar 

Completed in 3243 milliseconds