Home
last modified time | relevance | path

Searched refs:COLUMNS (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/text/
DSpannableStringInternal.java91 int spanStart = srcData[i * COLUMNS + START]; in copySpans()
92 int spanEnd = srcData[i * COLUMNS + END]; in copySpans()
102 mSpanData = new int[mSpanCount * COLUMNS]; in copySpans()
104 int spanStart = srcData[i * COLUMNS + START]; in copySpans()
105 int spanEnd = srcData[i * COLUMNS + END]; in copySpans()
111 mSpanData[j * COLUMNS + START] = spanStart - start; in copySpans()
112 mSpanData[j * COLUMNS + END] = spanEnd - start; in copySpans()
113 mSpanData[j * COLUMNS + FLAGS] = srcData[i * COLUMNS + FLAGS]; in copySpans()
182 int ostart = data[i * COLUMNS + START]; in setSpan()
183 int oend = data[i * COLUMNS + END]; in setSpan()
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java173 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; field in NewDatabasePerformanceTests.Select100
201 .query("t1", COLUMNS, where[i], null, null, null, null); in testRun()
212 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; field in NewDatabasePerformanceTests.SelectStringComparison100
238 .query("t1", COLUMNS, where[i], null, null, null, null); in testRun()
249 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; field in NewDatabasePerformanceTests.SelectIndex100
278 .query("t1", COLUMNS, where[i], null, null, null, null); in testRun()
289 private static final String[] COLUMNS = {"t1.a"}; field in NewDatabasePerformanceTests.InnerJoin100
315 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null, in testRun()
326 private static final String[] COLUMNS = {"t1.a"}; field in NewDatabasePerformanceTests.InnerJoinOneSide100
354 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null, in testRun()
[all …]
DDatabasePerformanceTests.java266 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; field in DatabasePerformanceTests.Perf3Test
295 .query("t1", COLUMNS, where[i], null, null, null, null); in run()
306 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; field in DatabasePerformanceTests.Perf4Test
333 .query("t1", COLUMNS, where[i], null, null, null, null); in run()
344 private static final String[] COLUMNS = {"count(*)", "avg(b)"}; field in DatabasePerformanceTests.Perf5Test
374 .query("t1", COLUMNS, where[i], null, null, null, null); in run()
385 private static final String[] COLUMNS = {"t1.a"}; field in DatabasePerformanceTests.Perf6Test
412 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null, in run()
423 private static final String[] COLUMNS = {"t1.a"}; field in DatabasePerformanceTests.Perf7Test
452 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null, in run()
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DColorSpaceTransform.java42 private static final int COLUMNS = 3; field in ColorSpaceTransform
45 private static final int COUNT = ROWS * COLUMNS;
57 private static final int COUNT_INT = ROWS * COLUMNS * RATIONAL_SIZE;
136 if (column < 0 || column >= COLUMNS) { in getElement()
142 int numerator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_NUMERATOR]; in getElement()
143 int denominator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_DENOMINATOR]; in getElement()
279 for (int col = 0; col < COLUMNS; col++, i += RATIONAL_SIZE) { in toShortString()
285 if (col < COLUMNS - 1) { in toShortString()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DModelTest.java50 private static final String[] COLUMNS = new String[]{ field in ModelTest
83 MatrixCursor c = new MatrixCursor(COLUMNS); in setUp()
121 MatrixCursor cIn1 = new MatrixCursor(COLUMNS); in testModelIdIsUnique()
122 MatrixCursor cIn2 = new MatrixCursor(COLUMNS); in testModelIdIsUnique()
226 MatrixCursor c = new MatrixCursor(COLUMNS); in testSort_sizesWithBucketing()
276 MatrixCursor c = new MatrixCursor(COLUMNS); in testSort_time()
DTestModel.java29 static final String[] COLUMNS = new String[]{ field in TestModel
48 MatrixCursor c = new MatrixCursor(COLUMNS); in update()
DSectionBreakDocumentsAdapterWrapperTest.java68 MatrixCursor c = new MatrixCursor(TestModel.COLUMNS); in testItemCount_allDirs()
93 MatrixCursor c = new MatrixCursor(TestModel.COLUMNS); in testItemCount_mixed()
/frameworks/base/core/tests/coretests/src/android/app/
DSuggestionProvider.java47 private static final String[] COLUMNS = new String[] { field in SuggestionProvider
69 MatrixCursor cursor = new MatrixCursor(COLUMNS); in query()
/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java304 private static final String[] COLUMNS = { field in FileProvider
416 projection = COLUMNS; in query()