Home
last modified time | relevance | path

Searched refs:mColumnCount (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java34 private int mColumnCount; field in PrintOptionsLayout
41 mColumnCount = typedArray.getInteger(R.styleable.PrintOptionsLayout_columnCount, 0); in PrintOptionsLayout()
46 if (mColumnCount != columnCount) { in setColumnCount()
47 mColumnCount = columnCount; in setColumnCount()
58 ? (widthSize - mPaddingLeft - mPaddingRight) / mColumnCount : 0; in onMeasure()
65 final int rowCount = childCount / mColumnCount + childCount % mColumnCount; in onMeasure()
71 for (int col = 0; col < mColumnCount; col++) { in onMeasure()
72 final int childIndex = row * mColumnCount + col; in onMeasure()
128 final int rowCount = childCount / mColumnCount + childCount % mColumnCount; in onLayout()
136 for (int col = 0; col < mColumnCount; col++) { in onLayout()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1252 private final int mColumnCount = 4; field in ChooserActivity.ChooserRowAdapter
1344 + Math.ceil((float) mChooserListAdapter.getStandardTargetCount() / mColumnCount) in getCount()
1350 (float) mChooserListAdapter.getCallerTargetCount() / mColumnCount); in getCallerTargetRowCount()
1355 (float) mChooserListAdapter.getServiceTargetCount() / mColumnCount); in getServiceTargetRowCount()
1385 final RowViewHolder holder = new RowViewHolder(row, mColumnCount); in createViewHolder()
1388 for (int i = 0; i < mColumnCount; i++) { in createViewHolder()
1418 if (i != (mColumnCount - 1)) { in createViewHolder()
1441 int end = start + mColumnCount - 1; in bindViewHolder()
1484 for (int i = 0; i < mColumnCount; i++) { in bindViewHolder()
1503 final int callerRows = (int) Math.ceil((float) callerCount / mColumnCount); in getFirstRowPosition()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java109 private int mColumnCount; field in PageAdapter
148 mColumnCount = mContext.getResources().getInteger( in PageAdapter()
167 mColumnCount = mContext.getResources().getInteger( in onOrientationChanged()
436 final int columnCount = Math.min(mSelectedPageCount, mColumnCount); in updatePreviewAreaPageSizeAndEmptyState()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java4362 private int mColumnCount; field in AccessibilityNodeInfo.CollectionInfo
4373 return CollectionInfo.obtain(other.mRowCount, other.mColumnCount, other.mHierarchical, in obtain()
4410 info.mColumnCount = columnCount; in obtain()
4427 mColumnCount = columnCount; in CollectionInfo()
4447 return mColumnCount; in getColumnCount()
4483 mColumnCount = 0; in clear()