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.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.java535 mColumns = COLUMNS_ELLIPSIZE; in StaticLayout()
537 mColumns = COLUMNS_NORMAL; in StaticLayout()
542 mLines = ArrayUtils.newUnpaddedIntArray(2 * mColumns); in StaticLayout()
556 mColumns = COLUMNS_ELLIPSIZE; in StaticLayout()
558 mLines = ArrayUtils.newUnpaddedIntArray(2 * mColumns); in StaticLayout()
577 mColumns = COLUMNS_ELLIPSIZE; in StaticLayout()
579 mColumns = COLUMNS_NORMAL; in StaticLayout()
584 mLines = ArrayUtils.newUnpaddedIntArray(2 * mColumns); in StaticLayout()
923 final int off = j * mColumns;
924 final int want = off + mColumns + TOP;
[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.java25 protected int mColumns; field in TileLayout
138 int oldColumns = mColumns; in updateColumns()
139 mColumns = Math.min(mResourceColumns, mMaxColumns); in updateColumns()
140 return oldColumns != mColumns; in updateColumns()
153 mRows = (numTiles + mColumns - 1) / mColumns; in onMeasure()
155 final int gaps = mColumns - 1; in onMeasure()
157 (availableWidth - (mCellMarginHorizontal * gaps) - mSidePadding * 2) / mColumns; in onMeasure()
194 if (mRows > (tilesCount + mColumns - 1) / mColumns) { in updateMaxRows()
195 mRows = (tilesCount + mColumns - 1) / mColumns; in updateMaxRows()
219 final int tilesToLayout = Math.min(numRecords, mRows * mColumns); in layoutTileRecords()
[all …]
DSideLabelTileLayout.kt49 val row = index / mColumns in getPhantomTopPosition()
62 if (mRows > (tilesCount + mColumns - 1) / mColumns) { in updateMaxRows()
63 mRows = (tilesCount + mColumns - 1) / mColumns in updateMaxRows()
DPagedTileLayout.java437 return mPages.get(0).mColumns; in getColumnCount()
/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.java1179 private HashMap<String, Integer> mColumns; field in DatabaseUtils.InsertHelper
1223 mColumns = new HashMap<String, Integer>(cur.getCount()); in buildSQL()
1228 mColumns.put(columnName, i); in buildSQL()
1325 final Integer index = mColumns.get(key); in getColumnIndex()
1523 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java119 private String[] mColumns = {"name", "value"}; field in ContextFixture.FakeContentProvider
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt17168 Landroid/database/BulkCursorToCursorAdaptor;->mColumns:[Ljava/lang/String;
17255 Landroid/database/DatabaseUtils$InsertHelper;->mColumns:Ljava/util/HashMap;
17531 Landroid/database/sqlite/SQLiteCursor;->mColumns:[Ljava/lang/String;
22200 Landroid/hardware/camera2/params/LensShadingMap;->mColumns:I
35163 Landroid/mtp/MtpPropertyGroup;->mColumns:[Ljava/lang/String;
59825 Landroid/text/PackedIntVector;->mColumns:I
59843 Landroid/text/PackedObjectVector;->mColumns:I