Home
last modified time | relevance | path

Searched refs:mColumns (Results 1 – 15 of 15) 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.java33 private final int mColumns; field in PackedIntVector
49 mColumns = columns; in PackedIntVector()
72 final int columns = mColumns; in getValue()
103 if (((row | column) < 0) || (row >= size()) || (column >= mColumns)) { in setValue()
113 value -= valuegap[column + mColumns]; in setValue()
116 mValues[row * mColumns + column] = value; in setValue()
134 value -= valuegap[column + mColumns]; in setValueInternal()
137 mValues[row * mColumns + column] = value; in setValueInternal()
164 mValueGap[column + mColumns] += delta; in adjustValuesBelow()
199 for (int i = mColumns - 1; i >= 0; i--) { in insertAt()
[all …]
DStaticLayout.java638 mColumns = COLUMNS_ELLIPSIZE; in StaticLayout()
640 mLines = ArrayUtils.newUnpaddedIntArray(2 * mColumns); in StaticLayout()
715 mColumns = columnSize; in StaticLayout()
725 mLines = ArrayUtils.newUnpaddedIntArray(2 * mColumns); in StaticLayout()
1129 final int off = j * mColumns;
1130 final int want = off + mColumns + TOP;
1187 mLines[mColumns * j + ELLIPSIS_START] = 0;
1188 mLines[mColumns * j + ELLIPSIS_COUNT] = 0;
1255 lines[off + mColumns + START] = end;
1256 lines[off + mColumns + TOP] = v;
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DLensShadingMap.java72 mColumns = checkArgumentPositive(columns, "columns must be positive"); in LensShadingMap()
95 return mColumns; in getColumnCount()
105 return mRows * mColumns * COUNT; in getGainFactorCount()
138 } else if (column < 0 || column >= mColumns) { in getGainFactor()
144 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor()
164 if (column < 0 || column >= mColumns) { in getGainFactorVector()
170 final int offset = (row * mColumns + column) * COUNT; in getGainFactorVector()
233 && mColumns == other.mColumns in equals()
245 return HashCodeHelpers.hashCode(mRows, mColumns, elemsHash); in hashCode()
271 for (int c = 0; c < mColumns; c++) { in toString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileLayout.java35 protected int mColumns; field in TileLayout
192 int oldColumns = mColumns; in updateColumns()
193 mColumns = Math.min(mResourceColumns, mMaxColumns); in updateColumns()
194 return oldColumns != mColumns; in updateColumns()
207 mRows = (numTiles + mColumns - 1) / mColumns; in onMeasure()
209 final int gaps = mColumns - 1; in onMeasure()
211 (availableWidth - (mCellMarginHorizontal * gaps) - mSidePadding * 2) / mColumns; in onMeasure()
248 if (mRows > (tilesCount + mColumns - 1) / mColumns) { in updateMaxRows()
249 mRows = (tilesCount + mColumns - 1) / mColumns; in updateMaxRows()
289 final int tilesToLayout = Math.min(numRecords, mRows * mColumns); in layoutTileRecords()
[all …]
DSideLabelTileLayout.kt67 val row = index / mColumns in getPhantomTopPosition()
80 if (mRows > (tilesCount + mColumns - 1) / mColumns) { in updateMaxRows()
81 mRows = (tilesCount + mColumns - 1) / mColumns in updateMaxRows()
DPagedTileLayout.java579 return mPages.get(0).mColumns; in getColumnCount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java133 private int mRows, mColumns; field in DessertCaseView
255 mColumns = mWidth / mCellSize; in onSizeChanged()
257 mCells = new View[mRows * mColumns]; in onSizeChanged()
259 if (DEBUG) Log.v(TAG, String.format("New dimensions: %dx%d", mColumns, mRows)); in onSizeChanged()
263 setTranslationX(0.5f * (mWidth - mCellSize * mColumns) * SCALE); in onSizeChanged()
267 for (int i=0; i<mColumns; i++) { in onSizeChanged()
291 if (mCells[j*mColumns+i] != null) continue; in fillFreeList()
335 place(v, new Point(irand(0, mColumns), irand(0, mRows)), animate); in place()
361 mCells[oc.y*mColumns + oc.x] = null;
366 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.java1206 private HashMap<String, Integer> mColumns; field in DatabaseUtils.InsertHelper
1250 mColumns = new HashMap<String, Integer>(cur.getCount()); in buildSQL()
1255 mColumns.put(columnName, i); in buildSQL()
1352 final Integer index = mColumns.get(key); in getColumnIndex()
1550 mColumns = null; in close()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java47 private final String[] mColumns; field in SQLiteCursor
107 mColumns = query.getColumnNames(); in SQLiteCursor()
169 String[] columns = mColumns; in getColumnIndex()
196 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.java53 private String[] mColumns; field in MtpPropertyGroup
68 mColumns = new String[count]; in MtpPropertyGroup()
70 mColumns[i] = columns.get(i); in MtpPropertyGroup()
189 c = provider.query(uri, mColumns, in getPropertyList()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt14290 Landroid/database/BulkCursorToCursorAdaptor;->mColumns:[Ljava/lang/String;
14377 Landroid/database/DatabaseUtils$InsertHelper;->mColumns:Ljava/util/HashMap;
14653 Landroid/database/sqlite/SQLiteCursor;->mColumns:[Ljava/lang/String;
19322 Landroid/hardware/camera2/params/LensShadingMap;->mColumns:I
32285 Landroid/mtp/MtpPropertyGroup;->mColumns:[Ljava/lang/String;
55859 Landroid/text/PackedIntVector;->mColumns:I
55877 Landroid/text/PackedObjectVector;->mColumns:I