Home
last modified time | relevance | path

Searched refs:mColumns (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/text/
DPackedObjectVector.java26 private int mColumns; field in PackedObjectVector
37 mColumns = columns; in PackedObjectVector()
51 Object value = mValues[row * mColumns + column]; in getValue()
62 mValues[row * mColumns + column] = value; in setValue()
77 for (int i = 0; i < mColumns; i++) in insertAt()
80 for (int i = 0; i < mColumns; i++) in insertAt()
108 return mColumns; in width()
115 GrowingArrayUtils.growSize(size()) * mColumns); in growBuffer()
116 int newsize = newvalues.length / mColumns; in growBuffer()
119 System.arraycopy(mValues, 0, newvalues, 0, mColumns * mRowGapStart); in growBuffer()
[all …]
DPackedIntVector.java29 private final int mColumns; field in PackedIntVector
45 mColumns = columns; in PackedIntVector()
68 final int columns = mColumns; in getValue()
99 if (((row | column) < 0) || (row >= size()) || (column >= mColumns)) { in setValue()
109 value -= valuegap[column + mColumns]; in setValue()
112 mValues[row * mColumns + column] = value; in setValue()
130 value -= valuegap[column + mColumns]; in setValueInternal()
133 mValues[row * mColumns + column] = value; in setValueInternal()
160 mValueGap[column + mColumns] += delta; in adjustValuesBelow()
195 for (int i = mColumns - 1; i >= 0; i--) { in insertAt()
[all …]
DStaticLayout.java509 mColumns = COLUMNS_ELLIPSIZE;
511 mColumns = COLUMNS_NORMAL;
515 mLineDirections = ArrayUtils.newUnpaddedArray(Directions.class, 2 * mColumns);
527 mColumns = COLUMNS_ELLIPSIZE;
528 mLineDirections = ArrayUtils.newUnpaddedArray(Directions.class, 2 * mColumns);
548 mColumns = COLUMNS_ELLIPSIZE;
550 mColumns = COLUMNS_NORMAL;
554 mLineDirections = ArrayUtils.newUnpaddedArray(Directions.class, 2 * mColumns);
882 int off = j * mColumns;
883 int want = off + mColumns + TOP;
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DLensShadingMap.java64 mColumns = checkArgumentPositive(columns, "columns must be positive"); in LensShadingMap()
87 return mColumns; in getColumnCount()
97 return mRows * mColumns * COUNT; in getGainFactorCount()
130 } else if (column < 0 || column >= mColumns) { in getGainFactor()
136 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor()
156 if (column < 0 || column >= mColumns) { in getGainFactorVector()
162 final int offset = (row * mColumns + column) * COUNT; in getGainFactorVector()
225 && mColumns == other.mColumns in equals()
237 return HashCodeHelpers.hashCode(mRows, mColumns, elemsHash); in hashCode()
263 for (int c = 0; c < mColumns; c++) { in toString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileLayout.java21 protected int mColumns; field in TileLayout
81 if (mColumns != columns) { in updateResources()
82 mColumns = columns; in updateResources()
93 final int rows = (numTiles + mColumns - 1) / mColumns; in onMeasure()
94 mCellWidth = (width - (mCellMargin * (mColumns + 1))) / mColumns; in onMeasure()
117 if (column == mColumns) { in onLayout()
119 column -= mColumns; in onLayout()
DPagedTileLayout.java253 return mPages.get(0).mColumns; in getColumnCount()
290 return mRecords.size() >= mColumns * mMaxRows; in isFull()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
DPicker.java63 private ArrayList<PickerColumn> mColumns; field in Picker
159 if (mColumns == null) { in getColumnAt()
162 return mColumns.get(colIndex); in getColumnAt()
170 if (mColumns == null) { in getColumnsCount()
173 return mColumns.size(); in getColumnsCount()
183 mColumns = new ArrayList<PickerColumn>(columns); in setColumns()
184 if (mSelectedColumn > mColumns.size() - 1) { in setColumns()
185 mSelectedColumn = mColumns.size() - 1; in setColumns()
225 mColumns.set(columnIndex, column); in setColumnAt()
241 PickerColumn column = mColumns.get(columnIndex); in setColumnValue()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java131 private int mRows, mColumns; field in DessertCaseView
253 mColumns = mWidth / mCellSize; in onSizeChanged()
255 mCells = new View[mRows * mColumns]; in onSizeChanged()
257 if (DEBUG) Log.v(TAG, String.format("New dimensions: %dx%d", mColumns, mRows)); in onSizeChanged()
261 setTranslationX(0.5f * (mWidth - mCellSize * mColumns) * SCALE); in onSizeChanged()
265 for (int i=0; i<mColumns; i++) { in onSizeChanged()
289 if (mCells[j*mColumns+i] != null) continue; in fillFreeList()
333 place(v, new Point(irand(0, mColumns), irand(0, mRows)), animate); in place()
359 mCells[oc.y*mColumns + oc.x] = null;
364 if (!(i >= mColumns-3 || j >= mRows-3)) {
[all …]
/frameworks/ex/common/java/com/android/common/content/
DProjectionMap.java60 mMap.mColumns = columns; in build()
66 private String[] mColumns; field in ProjectionMap
76 return mColumns; in getColumnNames()
/frameworks/base/core/java/android/database/
DBulkCursorToCursorAdaptor.java33 private String[] mColumns; field in BulkCursorToCursorAdaptor
43 mColumns = d.columnNames; in initialize()
160 return mColumns; in getColumnNames()
DDatabaseUtils.java1007 private HashMap<String, Integer> mColumns; field in DatabaseUtils.InsertHelper
1051 mColumns = new HashMap<String, Integer>(cur.getCount()); in buildSQL()
1056 mColumns.put(columnName, i); in buildSQL()
1153 final Integer index = mColumns.get(key); in getColumnIndex()
1351 mColumns = null; in close()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java43 private final String[] mColumns; field in SQLiteCursor
107 mColumns = query.getColumnNames(); in SQLiteCursor()
167 String[] columns = mColumns; in getColumnIndex()
194 return mColumns; in getColumnNames()
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerDialog.java52 protected int mColumns; field in ColorPickerDialog
94 mColumns = getArguments().getInt(KEY_COLUMNS); in onCreate()
113 mPalette.init(mSize, mColumns, this); in onCreateDialog()
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java59 private String[] mColumns; field in MtpPropertyGroup
83 mColumns = new String[count]; in MtpPropertyGroup()
85 mColumns[i] = columns.get(i); in MtpPropertyGroup()
335 if (depth > 0 || handle == 0xFFFFFFFF || mColumns.length > 1) { in getPropertyList()
336 c = mProvider.query(mUri, mColumns, where, whereArgs, null, null); in getPropertyList()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DMultiSelectManager.java1437 private final SparseArray<SparseIntArray> mColumns = new SparseArray<>(); field in MultiSelectManager.GridModel
1583 SparseIntArray columnList = mColumns.get(absoluteChildRect.left); in recordItemData()
1586 mColumns.put(absoluteChildRect.left, columnList); in recordItemData()
1680 SparseIntArray items = mColumns.get(mColumnBounds.get(column).lowerLimit); in updateSelection()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java97 private String[] mColumns = {"name", "value"}; field in ContextFixture.FakeContentProvider