Home
last modified time | relevance | path

Searched refs:mColumns (Results 1 – 13 of 13) 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.java128 mColumns = COLUMNS_ELLIPSIZE; in StaticLayout()
130 mColumns = COLUMNS_NORMAL; in StaticLayout()
134 mLineDirections = ArrayUtils.newUnpaddedArray(Directions.class, 2 * mColumns); in StaticLayout()
151 mColumns = COLUMNS_ELLIPSIZE; in StaticLayout()
152 mLineDirections = ArrayUtils.newUnpaddedArray(Directions.class, 2 * mColumns); in StaticLayout()
520 int off = j * mColumns;
521 int want = off + mColumns + TOP;
602 lines[off + mColumns + START] = end;
603 lines[off + mColumns + TOP] = v;
648 mLines[mColumns * line + ELLIPSIS_START] = 0;
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DLensShadingMap.java65 mColumns = checkArgumentPositive(columns, "columns must be positive"); in LensShadingMap()
88 return mColumns; in getColumnCount()
98 return mRows * mColumns * COUNT; in getGainFactorCount()
131 } else if (column < 0 || column >= mColumns) { in getGainFactor()
137 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor()
157 if (column < 0 || column >= mColumns) { in getGainFactorVector()
163 final int offset = (row * mColumns + column) * COUNT; in getGainFactorVector()
226 && mColumns == other.mColumns in equals()
238 return HashCodeHelpers.hashCode(mRows, mColumns, elemsHash); in hashCode()
243 private final int mColumns; field in LensShadingMap
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DColumnAdapter.java37 private int mColumns = 1; field in ColumnAdapter
60 mColumns = columns; in setColumns()
74 return (mWrapped.getCount() + mColumns - 1) / mColumns; in getCount()
95 params.weight = 1f / mColumns; in getView()
98 final int first = position * mColumns; in getView()
101 for (int i = 0; i < mColumns; i++) { in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java124 private int mRows, mColumns; field in DessertCaseView
246 mColumns = mWidth / mCellSize; in onSizeChanged()
248 mCells = new View[mRows * mColumns]; in onSizeChanged()
250 if (DEBUG) Log.v(TAG, String.format("New dimensions: %dx%d", mColumns, mRows)); in onSizeChanged()
254 setTranslationX(0.5f * (mWidth - mCellSize * mColumns) * SCALE); in onSizeChanged()
258 for (int i=0; i<mColumns; i++) { in onSizeChanged()
282 if (mCells[j*mColumns+i] != null) continue; in fillFreeList()
326 place(v, new Point(irand(0, mColumns), irand(0, mRows)), animate); in place()
352 mCells[oc.y*mColumns + oc.x] = null;
357 if (!(i >= mColumns-3 || j >= mRows-3)) {
[all …]
/frameworks/base/core/java/android/database/
DBulkCursorToCursorAdaptor.java33 private String[] mColumns; field in BulkCursorToCursorAdaptor
43 mColumns = d.columnNames; in initialize()
44 mRowIdColumnIndex = DatabaseUtils.findRowIdColumnIndex(mColumns); in initialize()
161 return mColumns; in getColumnNames()
DDatabaseUtils.java987 private HashMap<String, Integer> mColumns; field in DatabaseUtils.InsertHelper
1031 mColumns = new HashMap<String, Integer>(cur.getCount()); in buildSQL()
1036 mColumns.put(columnName, i); in buildSQL()
1133 final Integer index = mColumns.get(key); in getColumnIndex()
1331 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()
108 mRowIdColumnIndex = DatabaseUtils.findRowIdColumnIndex(mColumns); in SQLiteCursor()
168 String[] columns = mColumns; in getColumnIndex()
195 return mColumns; in getColumnNames()
/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/opt/colorpicker/src/com/android/colorpicker/
DColorPickerDialog.java50 protected int mColumns; field in ColorPickerDialog
92 mColumns = getArguments().getInt(KEY_COLUMNS); in onCreate()
109 mPalette.init(mSize, mColumns, this); in onCreateDialog()
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java60 private String[] mColumns; field in MtpPropertyGroup
85 mColumns = new String[count]; in MtpPropertyGroup()
87 mColumns[i] = columns.get(i); in MtpPropertyGroup()
326 if (depth > 0 || handle == 0xFFFFFFFF || mColumns.length > 1) { in getPropertyList()
327 c = mProvider.query(mPackageName, mUri, mColumns, where, whereArgs, null, null); in getPropertyList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java62 private int mColumns; field in QSPanel
153 if (mColumns != columns) { in updateResources()
154 mColumns = columns; in updateResources()
395 if (r == -1 || c == (mColumns - 1) || rowIsDual != record.tile.supportsDualTargets()) { in onMeasure()