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.java21 protected int mColumns; field in TileLayout
92 if (mColumns != columns) { in updateResources()
93 mColumns = columns; in updateResources()
110 mRows = (numTiles + mColumns - 1) / mColumns; in onMeasure()
113 (availableWidth - mSidePadding * 2 - (mCellMarginHorizontal * mColumns)) / mColumns; in onMeasure()
149 if (mRows > (tilesCount + mColumns - 1) / mColumns) { in updateMaxRows()
150 mRows = (tilesCount + mColumns - 1) / mColumns; in updateMaxRows()
171 final int tilesToLayout = Math.min(numRecords, mRows * mColumns); in layoutTileRecords()
174 if (column == mColumns) { in layoutTileRecords()
181 final int left = getColumnStart(isRtl ? mColumns - column - 1 : column); in layoutTileRecords()
DQuickQSPanel.java234 mRecords.get(i).tileView.setVisibility( i < mColumns ? View.VISIBLE : View.GONE); in onLayout()
238 layoutTileRecords(mColumns); in onLayout()
250 int prevNumColumns = mColumns;
254 mColumns = 0;
265 mColumns = maxTiles;
267 mColumns = mCellWidth == 0 ? 1 :
269 mCellMarginHorizontal = (availableWidth - mColumns * mCellWidth) / (mColumns - 1);
271 return mColumns != prevNumColumns;
302 return mColumns; in getNumVisibleTiles()
DPagedTileLayout.java347 return mPages.get(0).mColumns; in getColumnCount()
448 return Math.max(mColumns * mRows, 1); in maxTiles()
/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.java1097 private HashMap<String, Integer> mColumns; field in DatabaseUtils.InsertHelper
1141 mColumns = new HashMap<String, Integer>(cur.getCount()); in buildSQL()
1146 mColumns.put(columnName, i); in buildSQL()
1243 final Integer index = mColumns.get(key); in getColumnIndex()
1441 mColumns = null; in close()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java47 private final String[] mColumns; field in SQLiteCursor
115 mColumns = query.getColumnNames(); in SQLiteCursor()
177 String[] columns = mColumns; in getColumnIndex()
204 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()
183 c = provider.query(uri, mColumns, in getPropertyList()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java111 private String[] mColumns = {"name", "value"}; field in ContextFixture.FakeContentProvider
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt17177 Landroid/database/BulkCursorToCursorAdaptor;->mColumns:[Ljava/lang/String;
17264 Landroid/database/DatabaseUtils$InsertHelper;->mColumns:Ljava/util/HashMap;
17540 Landroid/database/sqlite/SQLiteCursor;->mColumns:[Ljava/lang/String;
22209 Landroid/hardware/camera2/params/LensShadingMap;->mColumns:I
42420 Landroid/mtp/MtpPropertyGroup;->mColumns:[Ljava/lang/String;
70525 Landroid/text/PackedIntVector;->mColumns:I
70543 Landroid/text/PackedObjectVector;->mColumns:I